ERA FHIR specification
1.0.0 - draft
ERA FHIR specification - Local Development build (v1.0.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions
| Official URL: https://pta.kanta.fi/fhir/StructureDefinition/AppointmentPatient | Version: 1.0.0 | |||
| Draft as of 2026-10-28 | Computable Name: AppointmentPatient | |||
Patient profile used in appointment booking.
Usages:
You can also check for usages in the FHIR IG Statistics
Description of Profiles, Differentials, Snapshots and how the different presentations work.
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
C | 0..* | KantaPatient | Customer details related to the appointment Constraints: PTA-PAT-1, PTA-PAT-2, PTA-PAT-3, PTA-PAT-4, PTA-PAT-5, PTA-PAT-6 | ||||
![]() ![]() |
1..1 | id | Logical id of this artifact | |||||
![]() ![]() |
0..1 | Meta | Metadata about the resource | |||||
![]() ![]() ![]() |
1..1 | canonical(StructureDefinition) | Profiles this resource claims to conform to Fixed Value: https://pta.kanta.fi/fhir/StructureDefinition/AppointmentPatient (no extensions allowed) | |||||
![]() ![]() |
0..1 | uri | A set of rules under which this content was created | |||||
![]() ![]() |
Content/Rules for all slices | |||||||
![]() ![]() ![]() |
0..1 | Coding | Official communication language URL: https://pta.kanta.fi/fhir/StructureDefinition/OfficialCommunicationLanguage Binding: CommonLanguages (preferred) | |||||
![]() ![]() |
0..* | Extension | Extensions that cannot be ignored | |||||
![]() ![]() |
1..* | Identifier | Customer unique identifier Slice: Unordered, Closed by value:use Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them | |||||
![]() ![]() ![]() |
0..1 | Identifier | Finnish personal identity code | |||||
![]() ![]() ![]() ![]() |
1..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . Fixed Value: official (no extensions allowed) | |||||
![]() ![]() ![]() ![]() |
1..1 | uri | Namespace of the Finnish personal identity code Fixed Value: urn:oid:1.2.246.21 (no extensions allowed) | |||||
![]() ![]() ![]() ![]() |
1..1 | string | Finnish personal identity code Example General: 123456 | |||||
![]() ![]() ![]() |
0..1 | Identifier | Temporary identifier | |||||
![]() ![]() ![]() ![]() |
1..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . Fixed Value: temp (no extensions allowed) | |||||
![]() ![]() ![]() ![]() |
1..1 | uri | Namespace used Example General: http://www.acme.com/identifiers/patient | |||||
![]() ![]() ![]() ![]() |
1..1 | string | Temporary identifier Example General: 123456 | |||||
![]() ![]() ![]() |
0..* | Identifier | Customer's previous unique identifier | |||||
![]() ![]() ![]() ![]() |
1..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . Fixed Value: old (no extensions allowed) | |||||
![]() ![]() ![]() ![]() |
1..1 | uri | Namespace Example General: http://www.acme.com/identifiers/patient | |||||
![]() ![]() ![]() ![]() |
1..1 | string | Previous unique identifier Example General: 123456 | |||||
![]() ![]() |
1..1 | HumanName | Customer name information | |||||
![]() ![]() ![]() |
0..1 | code | usual | official | temp | nickname | anonymous | old | maiden Binding: NameUse (required): The use of a human name. Fixed Value: official (no extensions allowed) | |||||
![]() ![]() ![]() |
1..1 | string | Customer family name | |||||
![]() ![]() ![]() |
1..4 | string | Customer given names This repeating element order: Given Names appear in the correct order for presenting the name | |||||
![]() ![]() |
0..1 | date | Customer date of birth | |||||
![]() ![]() |
C | 0..* | BackboneElement | Contact details of the contact person Constraints: pat-1 | ||||
![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||
![]() ![]() ![]() |
0..1 | CodeableConcept | Contact person type Binding: fipta-vs-contactrelationship (required) | |||||
![]() ![]() ![]() ![]() |
1..1 | Coding | Code defined by a terminology system | |||||
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system | |||||
![]() ![]() ![]() ![]() ![]() |
1..1 | code | Code value of the contact person type | |||||
![]() ![]() ![]() ![]() ![]() |
1..1 | string | Name of the contact person type | |||||
![]() ![]() ![]() |
1..1 | HumanName | Name information of the contact person | |||||
![]() ![]() ![]() ![]() |
1..1 | code | usual | official | temp | nickname | anonymous | old | maiden Binding: NameUse (required): The use of a human name. Fixed Value: official (no extensions allowed) | |||||
![]() ![]() ![]() ![]() |
1..1 | string | Family name of the contact person | |||||
![]() ![]() ![]() ![]() |
1..4 | string | Given names of the contact person This repeating element order: Given Names appear in the correct order for presenting the name | |||||
![]() ![]() |
0..1 | BackboneElement | Customer mother tongue | |||||
![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||
![]() ![]() ![]() |
1..1 | CodeableConcept | Customer mother tongue Binding: CommonLanguages (preferred): A human language.
| |||||
![]() ![]() ![]() ![]() |
1..1 | Coding | Code defined by a terminology system | |||||
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system | |||||
![]() ![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system | |||||
![]() ![]() ![]() ![]() ![]() |
1..1 | string | Representation defined by the system | |||||
![]() ![]() ![]() |
1..1 | boolean | Language preference indicator Fixed Value: true (no extensions allowed) | |||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| Patient.identifier:PIC.use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std. |
| Patient.identifier:temp.use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std. |
| Patient.identifier:old.use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std. |
| Patient.name.use | Base | required | NameUse | 📍4.0.1 | FHIR Std. |
| Patient.contact.relationship | Base | required | fipta-vs-contactrelationship | 📦1.0.0 | This IG |
| Patient.contact.name.use | Base | required | NameUse | 📍4.0.1 | FHIR Std. |
| Patient.communication.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std. |
| Patient.link.type | Base | required | LinkType | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| PTA-PAT-1 | error | Patient | Date of birth is mandatory when a temporary identifier is used as the patient's identifier. |
Patient.identifier.where(use='temp').exists() implies Patient.birthDate.exists()
|
| PTA-PAT-2 | error | Patient | Either an official identifier or a temporary identifier is provided as the patient's identifier. |
Patient.identifier.where(use='official').exists() implies Patient.identifier.where(use='temp').empty()
|
| PTA-PAT-3 | error | Patient | Either an official identifier or a temporary identifier is provided as the patient's identifier. |
Patient.identifier.where(use='official').empty() implies Patient.identifier.where(use='temp').exists()
|
| PTA-PAT-4 | error | Patient | Date of birth must be given in the format yyyy-mm-dd. |
Patient.birthDate.exists() implies Patient.birthDate.toString().length()=10
|
| PTA-PAT-5 | error | Patient | The customer's temporary identifier (Patient.identifier) exceeds the allowed maximum length. |
Patient.identifier.where(use='temp').exists() implies Patient.identifier.where(use='temp').system.length()+Patient.identifier.where(use='temp').value.length() < 125
|
| PTA-PAT-6 | error | Patient | The OID value of official identifier is used as the system value of the customer's temporary identifier. |
Patient.identifier.where(use = 'temp' and system = 'urn:oid:1.2.246.21').empty()
|
| 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().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(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())
|
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
| pat-1 | error | Patient.contact | SHALL at least contain a contact's details or a reference to an organization |
name.exists() or telecom.exists() or address.exists() or organization.exists()
|
This structure is derived from KantaPatient
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | KantaPatient | Customer details related to the appointment Constraints: PTA-PAT-1, PTA-PAT-2, PTA-PAT-3, PTA-PAT-4, PTA-PAT-5, PTA-PAT-6 |
![]() ![]() |
1..1 | id | Logical id of this artifact | |
![]() ![]() |
0..1 | Meta | Metadata about the resource | |
![]() ![]() ![]() |
1..1 | canonical(StructureDefinition) | Profiles this resource claims to conform to Fixed Value: https://pta.kanta.fi/fhir/StructureDefinition/AppointmentPatient (no extensions allowed) | |
![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() |
0..1 | Coding | Official communication language URL: https://pta.kanta.fi/fhir/StructureDefinition/OfficialCommunicationLanguage Binding: CommonLanguages (preferred) | |
![]() ![]() |
1..* | Identifier | Customer unique identifier | |
![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() |
0..1 | Identifier | Finnish personal identity code | |
![]() ![]() ![]() ![]() |
0..0 | Unique id for inter-element referencing | ||
![]() ![]() ![]() ![]() |
0..0 | Description of identifier | ||
![]() ![]() ![]() ![]() |
1..1 | uri | Namespace of the Finnish personal identity code | |
![]() ![]() ![]() ![]() |
1..1 | string | Finnish personal identity code | |
![]() ![]() ![]() ![]() |
0..0 | Time period when id is/was valid for use | ||
![]() ![]() ![]() ![]() |
0..0 | Organization that issued id (may be just text) | ||
![]() ![]() ![]() |
0..1 | Identifier | Temporary identifier | |
![]() ![]() ![]() ![]() |
0..0 | Unique id for inter-element referencing | ||
![]() ![]() ![]() ![]() |
0..0 | Description of identifier | ||
![]() ![]() ![]() ![]() |
1..1 | uri | Namespace used | |
![]() ![]() ![]() ![]() |
1..1 | string | Temporary identifier | |
![]() ![]() ![]() ![]() |
0..0 | Time period when id is/was valid for use | ||
![]() ![]() ![]() ![]() |
0..0 | Organization that issued id (may be just text) | ||
![]() ![]() ![]() |
0..* | Identifier | Customer's previous unique identifier | |
![]() ![]() ![]() ![]() |
0..0 | Unique id for inter-element referencing | ||
![]() ![]() ![]() ![]() |
1..1 | code | usual | official | temp | secondary | old (If known) | |
![]() ![]() ![]() ![]() |
0..0 | Description of identifier | ||
![]() ![]() ![]() ![]() |
1..1 | uri | Namespace | |
![]() ![]() ![]() ![]() |
1..1 | string | Previous unique identifier | |
![]() ![]() ![]() ![]() |
0..0 | Time period when id is/was valid for use | ||
![]() ![]() ![]() ![]() |
0..0 | Organization that issued id (may be just text) | ||
![]() ![]() |
0..0 | Whether this patient's record is in active use | ||
![]() ![]() |
1..1 | HumanName | Customer name information | |
![]() ![]() ![]() |
0..0 | Unique id for inter-element referencing | ||
![]() ![]() ![]() |
0..1 | code | usual | official | temp | nickname | anonymous | old | maiden Fixed Value: official (no extensions allowed) | |
![]() ![]() ![]() |
0..0 | Text representation of the full name | ||
![]() ![]() ![]() |
1..1 | string | Customer family name | |
![]() ![]() ![]() |
1..4 | string | Customer given names | |
![]() ![]() ![]() |
0..0 | Parts that come before the name | ||
![]() ![]() ![]() |
0..0 | Parts that come after the name | ||
![]() ![]() ![]() |
0..0 | Time period when name was/is in use | ||
![]() ![]() |
0..0 | A contact detail for the individual | ||
![]() ![]() |
0..0 | male | female | other | unknown | ||
![]() ![]() |
0..1 | date | Customer date of birth | |
![]() ![]() |
0..0 | Indicates if the individual is deceased or not | ||
![]() ![]() |
0..0 | An address for the individual | ||
![]() ![]() |
0..0 | Marital (civil) status of a patient | ||
![]() ![]() |
0..0 | Whether patient is part of a multiple birth | ||
![]() ![]() |
0..0 | Image of the patient | ||
![]() ![]() |
0..* | BackboneElement | Contact details of the contact person | |
![]() ![]() ![]() |
0..0 | Unique id for inter-element referencing | ||
![]() ![]() ![]() |
0..1 | CodeableConcept | Contact person type Binding: fipta-vs-contactrelationship (required) | |
![]() ![]() ![]() ![]() |
0..0 | Unique id for inter-element referencing | ||
![]() ![]() ![]() ![]() |
1..1 | Coding | Code defined by a terminology system | |
![]() ![]() ![]() ![]() ![]() |
0..0 | Unique id for inter-element referencing | ||
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system | |
![]() ![]() ![]() ![]() ![]() |
0..0 | Version of the system - if relevant | ||
![]() ![]() ![]() ![]() ![]() |
1..1 | code | Code value of the contact person type | |
![]() ![]() ![]() ![]() ![]() |
1..1 | string | Name of the contact person type | |
![]() ![]() ![]() ![]() ![]() |
0..0 | If this coding was chosen directly by the user | ||
![]() ![]() ![]() ![]() |
0..0 | Plain text representation of the concept | ||
![]() ![]() ![]() |
1..1 | HumanName | Name information of the contact person | |
![]() ![]() ![]() ![]() |
0..0 | Unique id for inter-element referencing | ||
![]() ![]() ![]() ![]() |
1..1 | code | usual | official | temp | nickname | anonymous | old | maiden Fixed Value: official (no extensions allowed) | |
![]() ![]() ![]() ![]() |
0..0 | Text representation of the full name | ||
![]() ![]() ![]() ![]() |
1..1 | string | Family name of the contact person | |
![]() ![]() ![]() ![]() |
1..4 | string | Given names of the contact person | |
![]() ![]() ![]() ![]() |
0..0 | Parts that come before the name | ||
![]() ![]() ![]() ![]() |
0..0 | Parts that come after the name | ||
![]() ![]() ![]() ![]() |
0..0 | Time period when name was/is in use | ||
![]() ![]() ![]() |
0..0 | A contact detail for the person | ||
![]() ![]() ![]() |
0..0 | Address for the contact person | ||
![]() ![]() ![]() |
0..0 | male | female | other | unknown | ||
![]() ![]() ![]() |
0..0 | Organization that is associated with the contact | ||
![]() ![]() ![]() |
0..0 | The period during which this contact person or organization is valid to be contacted relating to this patient | ||
![]() ![]() |
0..1 | BackboneElement | Customer mother tongue | |
![]() ![]() ![]() |
0..0 | Unique id for inter-element referencing | ||
![]() ![]() ![]() |
1..1 | CodeableConcept | Customer mother tongue | |
![]() ![]() ![]() ![]() |
0..0 | Unique id for inter-element referencing | ||
![]() ![]() ![]() ![]() |
1..1 | Coding | Code defined by a terminology system | |
![]() ![]() ![]() ![]() ![]() |
0..0 | Unique id for inter-element referencing | ||
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system | |
![]() ![]() ![]() ![]() ![]() |
0..0 | Version of the system - if relevant | ||
![]() ![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system | |
![]() ![]() ![]() ![]() ![]() |
1..1 | string | Representation defined by the system | |
![]() ![]() ![]() ![]() ![]() |
0..0 | If this coding was chosen directly by the user | ||
![]() ![]() ![]() ![]() |
0..0 | Plain text representation of the concept | ||
![]() ![]() ![]() |
1..1 | boolean | Language preference indicator Fixed Value: true (no extensions allowed) | |
![]() ![]() |
0..0 | Patient's nominated primary care provider | ||
![]() ![]() |
0..0 | Organization that is the custodian of the patient record | ||
![]() ![]() |
0..0 | Link to another patient resource that concerns the same actual person | ||
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Patient.contact.relationship | Base | required | fipta-vs-contactrelationship | 📦1.0.0 | This IG |
| Id | Grade | Path(s) | Description | Expression |
| PTA-PAT-1 | error | Patient | Date of birth is mandatory when a temporary identifier is used as the patient's identifier. |
Patient.identifier.where(use='temp').exists() implies Patient.birthDate.exists()
|
| PTA-PAT-2 | error | Patient | Either an official identifier or a temporary identifier is provided as the patient's identifier. |
Patient.identifier.where(use='official').exists() implies Patient.identifier.where(use='temp').empty()
|
| PTA-PAT-3 | error | Patient | Either an official identifier or a temporary identifier is provided as the patient's identifier. |
Patient.identifier.where(use='official').empty() implies Patient.identifier.where(use='temp').exists()
|
| PTA-PAT-4 | error | Patient | Date of birth must be given in the format yyyy-mm-dd. |
Patient.birthDate.exists() implies Patient.birthDate.toString().length()=10
|
| PTA-PAT-5 | error | Patient | The customer's temporary identifier (Patient.identifier) exceeds the allowed maximum length. |
Patient.identifier.where(use='temp').exists() implies Patient.identifier.where(use='temp').system.length()+Patient.identifier.where(use='temp').value.length() < 125
|
| PTA-PAT-6 | error | Patient | The OID value of official identifier is used as the system value of the customer's temporary identifier. |
Patient.identifier.where(use = 'temp' and system = 'urn:oid:1.2.246.21').empty()
|
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
C | 0..* | KantaPatient | Customer details related to the appointment Constraints: PTA-PAT-1, PTA-PAT-2, PTA-PAT-3, PTA-PAT-4, PTA-PAT-5, PTA-PAT-6 | ||||
![]() ![]() |
1..1 | id | Logical id of this artifact | |||||
![]() ![]() |
0..1 | Meta | Metadata about the resource | |||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
0..1 | id | Version specific identifier | |||||
![]() ![]() ![]() |
0..1 | instant | When the resource version last changed | |||||
![]() ![]() ![]() |
0..1 | uri | Identifies where the resource comes from | |||||
![]() ![]() ![]() |
1..1 | canonical(StructureDefinition) | Profiles this resource claims to conform to Fixed Value: https://pta.kanta.fi/fhir/StructureDefinition/AppointmentPatient (no extensions allowed) | |||||
![]() ![]() ![]() |
0..* | Coding | Security Labels applied to this resource Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System. | |||||
![]() ![]() ![]() |
0..* | Coding | Tags applied to this resource Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones". | |||||
![]() ![]() |
0..1 | uri | A set of rules under which this content was created | |||||
![]() ![]() |
0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||
![]() ![]() |
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 | |||||
![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
0..1 | Coding | Official communication language URL: https://pta.kanta.fi/fhir/StructureDefinition/OfficialCommunicationLanguage Binding: CommonLanguages (preferred) | |||||
![]() ![]() |
0..* | Extension | Extensions that cannot be ignored | |||||
![]() ![]() |
1..* | Identifier | Customer unique identifier Slice: Unordered, Closed by value:use Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them | |||||
![]() ![]() ![]() |
0..1 | Identifier | Finnish personal identity code | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
1..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . Fixed Value: official (no extensions allowed) | |||||
![]() ![]() ![]() ![]() |
1..1 | uri | Namespace of the Finnish personal identity code Fixed Value: urn:oid:1.2.246.21 (no extensions allowed) | |||||
![]() ![]() ![]() ![]() |
1..1 | string | Finnish personal identity code Example General: 123456 | |||||
![]() ![]() ![]() |
0..1 | Identifier | Temporary identifier | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
1..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . Fixed Value: temp (no extensions allowed) | |||||
![]() ![]() ![]() ![]() |
1..1 | uri | Namespace used Example General: http://www.acme.com/identifiers/patient | |||||
![]() ![]() ![]() ![]() |
1..1 | string | Temporary identifier Example General: 123456 | |||||
![]() ![]() ![]() |
0..* | Identifier | Customer's previous unique identifier | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
1..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . Fixed Value: old (no extensions allowed) | |||||
![]() ![]() ![]() ![]() |
1..1 | uri | Namespace Example General: http://www.acme.com/identifiers/patient | |||||
![]() ![]() ![]() ![]() |
1..1 | string | Previous unique identifier Example General: 123456 | |||||
![]() ![]() |
1..1 | HumanName | Customer name information | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
0..1 | code | usual | official | temp | nickname | anonymous | old | maiden Binding: NameUse (required): The use of a human name. Fixed Value: official (no extensions allowed) | |||||
![]() ![]() ![]() |
1..1 | string | Customer family name | |||||
![]() ![]() ![]() |
1..4 | string | Customer given names This repeating element order: Given Names appear in the correct order for presenting the name | |||||
![]() ![]() |
0..1 | date | Customer date of birth | |||||
![]() ![]() |
C | 0..* | BackboneElement | Contact details of the contact person Constraints: pat-1 | ||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||
![]() ![]() ![]() |
0..1 | CodeableConcept | Contact person type Binding: fipta-vs-contactrelationship (required) | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
1..1 | Coding | Code defined by a terminology system | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system | |||||
![]() ![]() ![]() ![]() ![]() |
1..1 | code | Code value of the contact person type | |||||
![]() ![]() ![]() ![]() ![]() |
1..1 | string | Name of the contact person type | |||||
![]() ![]() ![]() |
1..1 | HumanName | Name information of the contact person | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
1..1 | code | usual | official | temp | nickname | anonymous | old | maiden Binding: NameUse (required): The use of a human name. Fixed Value: official (no extensions allowed) | |||||
![]() ![]() ![]() ![]() |
1..1 | string | Family name of the contact person | |||||
![]() ![]() ![]() ![]() |
1..4 | string | Given names of the contact person This repeating element order: Given Names appear in the correct order for presenting the name | |||||
![]() ![]() |
0..1 | BackboneElement | Customer mother tongue | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||
![]() ![]() ![]() |
1..1 | CodeableConcept | Customer mother tongue Binding: CommonLanguages (preferred): A human language.
| |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
1..1 | Coding | Code defined by a terminology system | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system | |||||
![]() ![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system | |||||
![]() ![]() ![]() ![]() ![]() |
1..1 | string | Representation defined by the system | |||||
![]() ![]() ![]() |
1..1 | boolean | Language preference indicator Fixed Value: true (no extensions allowed) | |||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| Patient.meta.security | Base | extensible | SecurityLabels | 📍4.0.1 | FHIR Std. |
| Patient.meta.tag | Base | example | Common Tags | 📍4.0.1 | FHIR Std. |
| Patient.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std. |
| Patient.identifier:PIC.use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std. |
| Patient.identifier:temp.use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std. |
| Patient.identifier:old.use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std. |
| Patient.name.use | Base | required | NameUse | 📍4.0.1 | FHIR Std. |
| Patient.contact.relationship | Base | required | fipta-vs-contactrelationship | 📦1.0.0 | This IG |
| Patient.contact.name.use | Base | required | NameUse | 📍4.0.1 | FHIR Std. |
| Patient.communication.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std. |
| Patient.link.type | Base | required | LinkType | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| PTA-PAT-1 | error | Patient | Date of birth is mandatory when a temporary identifier is used as the patient's identifier. |
Patient.identifier.where(use='temp').exists() implies Patient.birthDate.exists()
|
| PTA-PAT-2 | error | Patient | Either an official identifier or a temporary identifier is provided as the patient's identifier. |
Patient.identifier.where(use='official').exists() implies Patient.identifier.where(use='temp').empty()
|
| PTA-PAT-3 | error | Patient | Either an official identifier or a temporary identifier is provided as the patient's identifier. |
Patient.identifier.where(use='official').empty() implies Patient.identifier.where(use='temp').exists()
|
| PTA-PAT-4 | error | Patient | Date of birth must be given in the format yyyy-mm-dd. |
Patient.birthDate.exists() implies Patient.birthDate.toString().length()=10
|
| PTA-PAT-5 | error | Patient | The customer's temporary identifier (Patient.identifier) exceeds the allowed maximum length. |
Patient.identifier.where(use='temp').exists() implies Patient.identifier.where(use='temp').system.length()+Patient.identifier.where(use='temp').value.length() < 125
|
| PTA-PAT-6 | error | Patient | The OID value of official identifier is used as the system value of the customer's temporary identifier. |
Patient.identifier.where(use = 'temp' and system = 'urn:oid:1.2.246.21').empty()
|
| 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().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(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())
|
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
| pat-1 | error | Patient.contact | SHALL at least contain a contact's details or a reference to an organization |
name.exists() or telecom.exists() or address.exists() or organization.exists()
|
This structure is derived from KantaPatient
Key Elements View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
C | 0..* | KantaPatient | Customer details related to the appointment Constraints: PTA-PAT-1, PTA-PAT-2, PTA-PAT-3, PTA-PAT-4, PTA-PAT-5, PTA-PAT-6 | ||||
![]() ![]() |
1..1 | id | Logical id of this artifact | |||||
![]() ![]() |
0..1 | Meta | Metadata about the resource | |||||
![]() ![]() ![]() |
1..1 | canonical(StructureDefinition) | Profiles this resource claims to conform to Fixed Value: https://pta.kanta.fi/fhir/StructureDefinition/AppointmentPatient (no extensions allowed) | |||||
![]() ![]() |
0..1 | uri | A set of rules under which this content was created | |||||
![]() ![]() |
Content/Rules for all slices | |||||||
![]() ![]() ![]() |
0..1 | Coding | Official communication language URL: https://pta.kanta.fi/fhir/StructureDefinition/OfficialCommunicationLanguage Binding: CommonLanguages (preferred) | |||||
![]() ![]() |
0..* | Extension | Extensions that cannot be ignored | |||||
![]() ![]() |
1..* | Identifier | Customer unique identifier Slice: Unordered, Closed by value:use Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them | |||||
![]() ![]() ![]() |
0..1 | Identifier | Finnish personal identity code | |||||
![]() ![]() ![]() ![]() |
1..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . Fixed Value: official (no extensions allowed) | |||||
![]() ![]() ![]() ![]() |
1..1 | uri | Namespace of the Finnish personal identity code Fixed Value: urn:oid:1.2.246.21 (no extensions allowed) | |||||
![]() ![]() ![]() ![]() |
1..1 | string | Finnish personal identity code Example General: 123456 | |||||
![]() ![]() ![]() |
0..1 | Identifier | Temporary identifier | |||||
![]() ![]() ![]() ![]() |
1..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . Fixed Value: temp (no extensions allowed) | |||||
![]() ![]() ![]() ![]() |
1..1 | uri | Namespace used Example General: http://www.acme.com/identifiers/patient | |||||
![]() ![]() ![]() ![]() |
1..1 | string | Temporary identifier Example General: 123456 | |||||
![]() ![]() ![]() |
0..* | Identifier | Customer's previous unique identifier | |||||
![]() ![]() ![]() ![]() |
1..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . Fixed Value: old (no extensions allowed) | |||||
![]() ![]() ![]() ![]() |
1..1 | uri | Namespace Example General: http://www.acme.com/identifiers/patient | |||||
![]() ![]() ![]() ![]() |
1..1 | string | Previous unique identifier Example General: 123456 | |||||
![]() ![]() |
1..1 | HumanName | Customer name information | |||||
![]() ![]() ![]() |
0..1 | code | usual | official | temp | nickname | anonymous | old | maiden Binding: NameUse (required): The use of a human name. Fixed Value: official (no extensions allowed) | |||||
![]() ![]() ![]() |
1..1 | string | Customer family name | |||||
![]() ![]() ![]() |
1..4 | string | Customer given names This repeating element order: Given Names appear in the correct order for presenting the name | |||||
![]() ![]() |
0..1 | date | Customer date of birth | |||||
![]() ![]() |
C | 0..* | BackboneElement | Contact details of the contact person Constraints: pat-1 | ||||
![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||
![]() ![]() ![]() |
0..1 | CodeableConcept | Contact person type Binding: fipta-vs-contactrelationship (required) | |||||
![]() ![]() ![]() ![]() |
1..1 | Coding | Code defined by a terminology system | |||||
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system | |||||
![]() ![]() ![]() ![]() ![]() |
1..1 | code | Code value of the contact person type | |||||
![]() ![]() ![]() ![]() ![]() |
1..1 | string | Name of the contact person type | |||||
![]() ![]() ![]() |
1..1 | HumanName | Name information of the contact person | |||||
![]() ![]() ![]() ![]() |
1..1 | code | usual | official | temp | nickname | anonymous | old | maiden Binding: NameUse (required): The use of a human name. Fixed Value: official (no extensions allowed) | |||||
![]() ![]() ![]() ![]() |
1..1 | string | Family name of the contact person | |||||
![]() ![]() ![]() ![]() |
1..4 | string | Given names of the contact person This repeating element order: Given Names appear in the correct order for presenting the name | |||||
![]() ![]() |
0..1 | BackboneElement | Customer mother tongue | |||||
![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||
![]() ![]() ![]() |
1..1 | CodeableConcept | Customer mother tongue Binding: CommonLanguages (preferred): A human language.
| |||||
![]() ![]() ![]() ![]() |
1..1 | Coding | Code defined by a terminology system | |||||
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system | |||||
![]() ![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system | |||||
![]() ![]() ![]() ![]() ![]() |
1..1 | string | Representation defined by the system | |||||
![]() ![]() ![]() |
1..1 | boolean | Language preference indicator Fixed Value: true (no extensions allowed) | |||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| Patient.identifier:PIC.use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std. |
| Patient.identifier:temp.use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std. |
| Patient.identifier:old.use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std. |
| Patient.name.use | Base | required | NameUse | 📍4.0.1 | FHIR Std. |
| Patient.contact.relationship | Base | required | fipta-vs-contactrelationship | 📦1.0.0 | This IG |
| Patient.contact.name.use | Base | required | NameUse | 📍4.0.1 | FHIR Std. |
| Patient.communication.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std. |
| Patient.link.type | Base | required | LinkType | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| PTA-PAT-1 | error | Patient | Date of birth is mandatory when a temporary identifier is used as the patient's identifier. |
Patient.identifier.where(use='temp').exists() implies Patient.birthDate.exists()
|
| PTA-PAT-2 | error | Patient | Either an official identifier or a temporary identifier is provided as the patient's identifier. |
Patient.identifier.where(use='official').exists() implies Patient.identifier.where(use='temp').empty()
|
| PTA-PAT-3 | error | Patient | Either an official identifier or a temporary identifier is provided as the patient's identifier. |
Patient.identifier.where(use='official').empty() implies Patient.identifier.where(use='temp').exists()
|
| PTA-PAT-4 | error | Patient | Date of birth must be given in the format yyyy-mm-dd. |
Patient.birthDate.exists() implies Patient.birthDate.toString().length()=10
|
| PTA-PAT-5 | error | Patient | The customer's temporary identifier (Patient.identifier) exceeds the allowed maximum length. |
Patient.identifier.where(use='temp').exists() implies Patient.identifier.where(use='temp').system.length()+Patient.identifier.where(use='temp').value.length() < 125
|
| PTA-PAT-6 | error | Patient | The OID value of official identifier is used as the system value of the customer's temporary identifier. |
Patient.identifier.where(use = 'temp' and system = 'urn:oid:1.2.246.21').empty()
|
| 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().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(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())
|
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
| pat-1 | error | Patient.contact | SHALL at least contain a contact's details or a reference to an organization |
name.exists() or telecom.exists() or address.exists() or organization.exists()
|
Differential View
This structure is derived from KantaPatient
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | KantaPatient | Customer details related to the appointment Constraints: PTA-PAT-1, PTA-PAT-2, PTA-PAT-3, PTA-PAT-4, PTA-PAT-5, PTA-PAT-6 |
![]() ![]() |
1..1 | id | Logical id of this artifact | |
![]() ![]() |
0..1 | Meta | Metadata about the resource | |
![]() ![]() ![]() |
1..1 | canonical(StructureDefinition) | Profiles this resource claims to conform to Fixed Value: https://pta.kanta.fi/fhir/StructureDefinition/AppointmentPatient (no extensions allowed) | |
![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() |
0..1 | Coding | Official communication language URL: https://pta.kanta.fi/fhir/StructureDefinition/OfficialCommunicationLanguage Binding: CommonLanguages (preferred) | |
![]() ![]() |
1..* | Identifier | Customer unique identifier | |
![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() |
0..1 | Identifier | Finnish personal identity code | |
![]() ![]() ![]() ![]() |
0..0 | Unique id for inter-element referencing | ||
![]() ![]() ![]() ![]() |
0..0 | Description of identifier | ||
![]() ![]() ![]() ![]() |
1..1 | uri | Namespace of the Finnish personal identity code | |
![]() ![]() ![]() ![]() |
1..1 | string | Finnish personal identity code | |
![]() ![]() ![]() ![]() |
0..0 | Time period when id is/was valid for use | ||
![]() ![]() ![]() ![]() |
0..0 | Organization that issued id (may be just text) | ||
![]() ![]() ![]() |
0..1 | Identifier | Temporary identifier | |
![]() ![]() ![]() ![]() |
0..0 | Unique id for inter-element referencing | ||
![]() ![]() ![]() ![]() |
0..0 | Description of identifier | ||
![]() ![]() ![]() ![]() |
1..1 | uri | Namespace used | |
![]() ![]() ![]() ![]() |
1..1 | string | Temporary identifier | |
![]() ![]() ![]() ![]() |
0..0 | Time period when id is/was valid for use | ||
![]() ![]() ![]() ![]() |
0..0 | Organization that issued id (may be just text) | ||
![]() ![]() ![]() |
0..* | Identifier | Customer's previous unique identifier | |
![]() ![]() ![]() ![]() |
0..0 | Unique id for inter-element referencing | ||
![]() ![]() ![]() ![]() |
1..1 | code | usual | official | temp | secondary | old (If known) | |
![]() ![]() ![]() ![]() |
0..0 | Description of identifier | ||
![]() ![]() ![]() ![]() |
1..1 | uri | Namespace | |
![]() ![]() ![]() ![]() |
1..1 | string | Previous unique identifier | |
![]() ![]() ![]() ![]() |
0..0 | Time period when id is/was valid for use | ||
![]() ![]() ![]() ![]() |
0..0 | Organization that issued id (may be just text) | ||
![]() ![]() |
0..0 | Whether this patient's record is in active use | ||
![]() ![]() |
1..1 | HumanName | Customer name information | |
![]() ![]() ![]() |
0..0 | Unique id for inter-element referencing | ||
![]() ![]() ![]() |
0..1 | code | usual | official | temp | nickname | anonymous | old | maiden Fixed Value: official (no extensions allowed) | |
![]() ![]() ![]() |
0..0 | Text representation of the full name | ||
![]() ![]() ![]() |
1..1 | string | Customer family name | |
![]() ![]() ![]() |
1..4 | string | Customer given names | |
![]() ![]() ![]() |
0..0 | Parts that come before the name | ||
![]() ![]() ![]() |
0..0 | Parts that come after the name | ||
![]() ![]() ![]() |
0..0 | Time period when name was/is in use | ||
![]() ![]() |
0..0 | A contact detail for the individual | ||
![]() ![]() |
0..0 | male | female | other | unknown | ||
![]() ![]() |
0..1 | date | Customer date of birth | |
![]() ![]() |
0..0 | Indicates if the individual is deceased or not | ||
![]() ![]() |
0..0 | An address for the individual | ||
![]() ![]() |
0..0 | Marital (civil) status of a patient | ||
![]() ![]() |
0..0 | Whether patient is part of a multiple birth | ||
![]() ![]() |
0..0 | Image of the patient | ||
![]() ![]() |
0..* | BackboneElement | Contact details of the contact person | |
![]() ![]() ![]() |
0..0 | Unique id for inter-element referencing | ||
![]() ![]() ![]() |
0..1 | CodeableConcept | Contact person type Binding: fipta-vs-contactrelationship (required) | |
![]() ![]() ![]() ![]() |
0..0 | Unique id for inter-element referencing | ||
![]() ![]() ![]() ![]() |
1..1 | Coding | Code defined by a terminology system | |
![]() ![]() ![]() ![]() ![]() |
0..0 | Unique id for inter-element referencing | ||
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system | |
![]() ![]() ![]() ![]() ![]() |
0..0 | Version of the system - if relevant | ||
![]() ![]() ![]() ![]() ![]() |
1..1 | code | Code value of the contact person type | |
![]() ![]() ![]() ![]() ![]() |
1..1 | string | Name of the contact person type | |
![]() ![]() ![]() ![]() ![]() |
0..0 | If this coding was chosen directly by the user | ||
![]() ![]() ![]() ![]() |
0..0 | Plain text representation of the concept | ||
![]() ![]() ![]() |
1..1 | HumanName | Name information of the contact person | |
![]() ![]() ![]() ![]() |
0..0 | Unique id for inter-element referencing | ||
![]() ![]() ![]() ![]() |
1..1 | code | usual | official | temp | nickname | anonymous | old | maiden Fixed Value: official (no extensions allowed) | |
![]() ![]() ![]() ![]() |
0..0 | Text representation of the full name | ||
![]() ![]() ![]() ![]() |
1..1 | string | Family name of the contact person | |
![]() ![]() ![]() ![]() |
1..4 | string | Given names of the contact person | |
![]() ![]() ![]() ![]() |
0..0 | Parts that come before the name | ||
![]() ![]() ![]() ![]() |
0..0 | Parts that come after the name | ||
![]() ![]() ![]() ![]() |
0..0 | Time period when name was/is in use | ||
![]() ![]() ![]() |
0..0 | A contact detail for the person | ||
![]() ![]() ![]() |
0..0 | Address for the contact person | ||
![]() ![]() ![]() |
0..0 | male | female | other | unknown | ||
![]() ![]() ![]() |
0..0 | Organization that is associated with the contact | ||
![]() ![]() ![]() |
0..0 | The period during which this contact person or organization is valid to be contacted relating to this patient | ||
![]() ![]() |
0..1 | BackboneElement | Customer mother tongue | |
![]() ![]() ![]() |
0..0 | Unique id for inter-element referencing | ||
![]() ![]() ![]() |
1..1 | CodeableConcept | Customer mother tongue | |
![]() ![]() ![]() ![]() |
0..0 | Unique id for inter-element referencing | ||
![]() ![]() ![]() ![]() |
1..1 | Coding | Code defined by a terminology system | |
![]() ![]() ![]() ![]() ![]() |
0..0 | Unique id for inter-element referencing | ||
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system | |
![]() ![]() ![]() ![]() ![]() |
0..0 | Version of the system - if relevant | ||
![]() ![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system | |
![]() ![]() ![]() ![]() ![]() |
1..1 | string | Representation defined by the system | |
![]() ![]() ![]() ![]() ![]() |
0..0 | If this coding was chosen directly by the user | ||
![]() ![]() ![]() ![]() |
0..0 | Plain text representation of the concept | ||
![]() ![]() ![]() |
1..1 | boolean | Language preference indicator Fixed Value: true (no extensions allowed) | |
![]() ![]() |
0..0 | Patient's nominated primary care provider | ||
![]() ![]() |
0..0 | Organization that is the custodian of the patient record | ||
![]() ![]() |
0..0 | Link to another patient resource that concerns the same actual person | ||
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Patient.contact.relationship | Base | required | fipta-vs-contactrelationship | 📦1.0.0 | This IG |
| Id | Grade | Path(s) | Description | Expression |
| PTA-PAT-1 | error | Patient | Date of birth is mandatory when a temporary identifier is used as the patient's identifier. |
Patient.identifier.where(use='temp').exists() implies Patient.birthDate.exists()
|
| PTA-PAT-2 | error | Patient | Either an official identifier or a temporary identifier is provided as the patient's identifier. |
Patient.identifier.where(use='official').exists() implies Patient.identifier.where(use='temp').empty()
|
| PTA-PAT-3 | error | Patient | Either an official identifier or a temporary identifier is provided as the patient's identifier. |
Patient.identifier.where(use='official').empty() implies Patient.identifier.where(use='temp').exists()
|
| PTA-PAT-4 | error | Patient | Date of birth must be given in the format yyyy-mm-dd. |
Patient.birthDate.exists() implies Patient.birthDate.toString().length()=10
|
| PTA-PAT-5 | error | Patient | The customer's temporary identifier (Patient.identifier) exceeds the allowed maximum length. |
Patient.identifier.where(use='temp').exists() implies Patient.identifier.where(use='temp').system.length()+Patient.identifier.where(use='temp').value.length() < 125
|
| PTA-PAT-6 | error | Patient | The OID value of official identifier is used as the system value of the customer's temporary identifier. |
Patient.identifier.where(use = 'temp' and system = 'urn:oid:1.2.246.21').empty()
|
Snapshot View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
C | 0..* | KantaPatient | Customer details related to the appointment Constraints: PTA-PAT-1, PTA-PAT-2, PTA-PAT-3, PTA-PAT-4, PTA-PAT-5, PTA-PAT-6 | ||||
![]() ![]() |
1..1 | id | Logical id of this artifact | |||||
![]() ![]() |
0..1 | Meta | Metadata about the resource | |||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
0..1 | id | Version specific identifier | |||||
![]() ![]() ![]() |
0..1 | instant | When the resource version last changed | |||||
![]() ![]() ![]() |
0..1 | uri | Identifies where the resource comes from | |||||
![]() ![]() ![]() |
1..1 | canonical(StructureDefinition) | Profiles this resource claims to conform to Fixed Value: https://pta.kanta.fi/fhir/StructureDefinition/AppointmentPatient (no extensions allowed) | |||||
![]() ![]() ![]() |
0..* | Coding | Security Labels applied to this resource Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System. | |||||
![]() ![]() ![]() |
0..* | Coding | Tags applied to this resource Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones". | |||||
![]() ![]() |
0..1 | uri | A set of rules under which this content was created | |||||
![]() ![]() |
0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||
![]() ![]() |
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 | |||||
![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
0..1 | Coding | Official communication language URL: https://pta.kanta.fi/fhir/StructureDefinition/OfficialCommunicationLanguage Binding: CommonLanguages (preferred) | |||||
![]() ![]() |
0..* | Extension | Extensions that cannot be ignored | |||||
![]() ![]() |
1..* | Identifier | Customer unique identifier Slice: Unordered, Closed by value:use Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them | |||||
![]() ![]() ![]() |
0..1 | Identifier | Finnish personal identity code | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
1..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . Fixed Value: official (no extensions allowed) | |||||
![]() ![]() ![]() ![]() |
1..1 | uri | Namespace of the Finnish personal identity code Fixed Value: urn:oid:1.2.246.21 (no extensions allowed) | |||||
![]() ![]() ![]() ![]() |
1..1 | string | Finnish personal identity code Example General: 123456 | |||||
![]() ![]() ![]() |
0..1 | Identifier | Temporary identifier | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
1..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . Fixed Value: temp (no extensions allowed) | |||||
![]() ![]() ![]() ![]() |
1..1 | uri | Namespace used Example General: http://www.acme.com/identifiers/patient | |||||
![]() ![]() ![]() ![]() |
1..1 | string | Temporary identifier Example General: 123456 | |||||
![]() ![]() ![]() |
0..* | Identifier | Customer's previous unique identifier | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
1..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . Fixed Value: old (no extensions allowed) | |||||
![]() ![]() ![]() ![]() |
1..1 | uri | Namespace Example General: http://www.acme.com/identifiers/patient | |||||
![]() ![]() ![]() ![]() |
1..1 | string | Previous unique identifier Example General: 123456 | |||||
![]() ![]() |
1..1 | HumanName | Customer name information | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
0..1 | code | usual | official | temp | nickname | anonymous | old | maiden Binding: NameUse (required): The use of a human name. Fixed Value: official (no extensions allowed) | |||||
![]() ![]() ![]() |
1..1 | string | Customer family name | |||||
![]() ![]() ![]() |
1..4 | string | Customer given names This repeating element order: Given Names appear in the correct order for presenting the name | |||||
![]() ![]() |
0..1 | date | Customer date of birth | |||||
![]() ![]() |
C | 0..* | BackboneElement | Contact details of the contact person Constraints: pat-1 | ||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||
![]() ![]() ![]() |
0..1 | CodeableConcept | Contact person type Binding: fipta-vs-contactrelationship (required) | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
1..1 | Coding | Code defined by a terminology system | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system | |||||
![]() ![]() ![]() ![]() ![]() |
1..1 | code | Code value of the contact person type | |||||
![]() ![]() ![]() ![]() ![]() |
1..1 | string | Name of the contact person type | |||||
![]() ![]() ![]() |
1..1 | HumanName | Name information of the contact person | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
1..1 | code | usual | official | temp | nickname | anonymous | old | maiden Binding: NameUse (required): The use of a human name. Fixed Value: official (no extensions allowed) | |||||
![]() ![]() ![]() ![]() |
1..1 | string | Family name of the contact person | |||||
![]() ![]() ![]() ![]() |
1..4 | string | Given names of the contact person This repeating element order: Given Names appear in the correct order for presenting the name | |||||
![]() ![]() |
0..1 | BackboneElement | Customer mother tongue | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||
![]() ![]() ![]() |
1..1 | CodeableConcept | Customer mother tongue Binding: CommonLanguages (preferred): A human language.
| |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
1..1 | Coding | Code defined by a terminology system | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system | |||||
![]() ![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system | |||||
![]() ![]() ![]() ![]() ![]() |
1..1 | string | Representation defined by the system | |||||
![]() ![]() ![]() |
1..1 | boolean | Language preference indicator Fixed Value: true (no extensions allowed) | |||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| Patient.meta.security | Base | extensible | SecurityLabels | 📍4.0.1 | FHIR Std. |
| Patient.meta.tag | Base | example | Common Tags | 📍4.0.1 | FHIR Std. |
| Patient.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std. |
| Patient.identifier:PIC.use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std. |
| Patient.identifier:temp.use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std. |
| Patient.identifier:old.use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std. |
| Patient.name.use | Base | required | NameUse | 📍4.0.1 | FHIR Std. |
| Patient.contact.relationship | Base | required | fipta-vs-contactrelationship | 📦1.0.0 | This IG |
| Patient.contact.name.use | Base | required | NameUse | 📍4.0.1 | FHIR Std. |
| Patient.communication.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std. |
| Patient.link.type | Base | required | LinkType | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| PTA-PAT-1 | error | Patient | Date of birth is mandatory when a temporary identifier is used as the patient's identifier. |
Patient.identifier.where(use='temp').exists() implies Patient.birthDate.exists()
|
| PTA-PAT-2 | error | Patient | Either an official identifier or a temporary identifier is provided as the patient's identifier. |
Patient.identifier.where(use='official').exists() implies Patient.identifier.where(use='temp').empty()
|
| PTA-PAT-3 | error | Patient | Either an official identifier or a temporary identifier is provided as the patient's identifier. |
Patient.identifier.where(use='official').empty() implies Patient.identifier.where(use='temp').exists()
|
| PTA-PAT-4 | error | Patient | Date of birth must be given in the format yyyy-mm-dd. |
Patient.birthDate.exists() implies Patient.birthDate.toString().length()=10
|
| PTA-PAT-5 | error | Patient | The customer's temporary identifier (Patient.identifier) exceeds the allowed maximum length. |
Patient.identifier.where(use='temp').exists() implies Patient.identifier.where(use='temp').system.length()+Patient.identifier.where(use='temp').value.length() < 125
|
| PTA-PAT-6 | error | Patient | The OID value of official identifier is used as the system value of the customer's temporary identifier. |
Patient.identifier.where(use = 'temp' and system = 'urn:oid:1.2.246.21').empty()
|
| 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().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(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())
|
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
| pat-1 | error | Patient.contact | SHALL at least contain a contact's details or a reference to an organization |
name.exists() or telecom.exists() or address.exists() or organization.exists()
|
This structure is derived from KantaPatient
Other representations of profile: CSV, Excel, Schematron