## Profile Comparison between http://hl7.eu/fhir/ig/pcsp/StructureDefinition/Encounter-eu-pcsp vs http://hl7.eu/fhir/ig/pcsp/StructureDefinition/Encounter-eu-pcsp

Left: | Encounter: Treatment Center (http://hl7.eu/fhir/ig/pcsp/StructureDefinition/Encounter-eu-pcsp)
Right: | Encounter: Treatment Center (http://hl7.eu/fhir/ig/pcsp/StructureDefinition/Encounter-eu-pcsp)

### Messages

Error | StructureDefinition.version | Values for version differ: '0.1.0' vs '1.0.0'
Information | StructureDefinition.date | Values for date differ: '2023-01-26T09:50:21+01:00' vs '2026-01-16T12:01:48+00:00'
Information | Encounter.language | Example/preferred bindings differ at Encounter.language using binding from EncounterPcsp
Information | Encounter.reasonCode | Example/preferred bindings differ at Encounter.reasonCode using binding from EncounterPcsp
Information | Encounter.diagnosis.use | Example/preferred bindings differ at Encounter.diagnosis.use using binding from EncounterPcsp
Information | Encounter.hospitalization.admitSource | Example/preferred bindings differ at Encounter.hospitalization.admitSource using binding from EncounterPcsp
Information | Encounter.hospitalization.specialCourtesy | Example/preferred bindings differ at Encounter.hospitalization.specialCourtesy using binding from EncounterPcsp
Information | Encounter.hospitalization.specialArrangement | Example/preferred bindings differ at Encounter.hospitalization.specialArrangement using binding from EncounterPcsp

### Metadata

Name | Value | Comments
--- | --- | ---
abstract | false |
baseDefinition | http://hl7.org/fhir/StructureDefinition/Encounter |
copyright |  |
date | 2023-01-26T09:50:21+01:00 | 2026-01-16T12:01:48+00:00 | Values Differ
description | This profile defines how to represent data of arrival to the center and Center information in FHIR for the purpose of the PanCareSurPass project. |
experimental |  |
fhirVersion | 4.0.1 |
jurisdiction |  |
jurisdiction[0] | http://unstats.un.org/unsd/methods/m49/m49.htm#150 |
kind | resource |
name | EncounterPcsp |
publisher | PanCareSurPass Project |
purpose |  |
status | active |
title | Encounter: Treatment Center |
type | Encounter |
url | http://hl7.eu/fhir/ig/pcsp/StructureDefinition/Encounter-eu-pcsp |
version | 0.1.0 | 1.0.0 | Values Differ

### Structure

Name | L Flags | L Card. | L Type | L Description & Constraints | R Flags | R Card. | R Type | R Description & Constraints | Comments
--- | --- | --- | --- | --- | --- | --- | --- | --- | ---
Encounter |  | 0..* | Encounter | An interaction during which services are provided to the patient |  | 0..* | Encounter | An interaction during which services are provided to the patient |
id | Σ | 0..1 | id | Logical id of this artifact | Σ | 0..1 | id | Logical id of this artifact |
meta | Σ | 0..1 | Meta | Metadata about the resource | Σ | 0..1 | Meta | Metadata about the resource |
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created | ?!Σ | 0..1 | uri | A set of rules under which this content was created |
language |  | 0..1 | code | Language of the resource content Binding: ?? (preferred): A human language.
Additional Bindings | Purpose
?? | Max Binding
|  | 0..1 | code | Language of the resource content Binding: ?? (preferred): A human language.
Additional Bindings | Purpose
?? | Max Binding
| Example/preferred bindings differ at Encounter.language using binding from EncounterPcsp
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 |  | 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 |  | 0..* | Resource | Contained, inline Resources |
extension |  | 0..* | Extension | Additional content defined by implementations |  | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored | ?! | 0..* | Extension | Extensions that cannot be ignored |
identifier | Σ | 0..* | Identifier | Identifier(s) by which this encounter is known | Σ | 0..* | Identifier | Identifier(s) by which this encounter is known |
status | ?!S Σ | 1..1 | code | planned | arrived | triaged | in-progress | onleave | finished | cancelled + Binding: ?? (required): Current state of the encounter. | ?!S Σ | 1..1 | code | planned | arrived | triaged | in-progress | onleave | finished | cancelled + Binding: ?? (required): Current state of the encounter. |
statusHistory |  | 0..* | BackboneElement | List of past encounter statuses |  | 0..* | BackboneElement | List of past encounter statuses |
id |  | 0..1 | string | Unique id for inter-element referencing |  | 0..1 | string | Unique id for inter-element referencing |
extension |  | 0..* | Extension | Additional content defined by implementations |  | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
status |  | 1..1 | code | planned | arrived | triaged | in-progress | onleave | finished | cancelled + Binding: ?? (required): Current state of the encounter. |  | 1..1 | code | planned | arrived | triaged | in-progress | onleave | finished | cancelled + Binding: ?? (required): Current state of the encounter. |
period |  | 1..1 | Period | The time that the episode was in the specified status |  | 1..1 | Period | The time that the episode was in the specified status |
class | S Σ | 1..1 | Coding | Classification of patient encounter Binding: ?? (extensible): Classification of the encounter. | S Σ | 1..1 | Coding | Classification of patient encounter Binding: ?? (extensible): Classification of the encounter. |
classHistory |  | 0..* | BackboneElement | List of past encounter classes |  | 0..* | BackboneElement | List of past encounter classes |
id |  | 0..1 | string | Unique id for inter-element referencing |  | 0..1 | string | Unique id for inter-element referencing |
extension |  | 0..* | Extension | Additional content defined by implementations |  | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
class |  | 1..1 | Coding | inpatient | outpatient | ambulatory | emergency + Binding: ?? (extensible): Classification of the encounter. |  | 1..1 | Coding | inpatient | outpatient | ambulatory | emergency + Binding: ?? (extensible): Classification of the encounter. |
period |  | 1..1 | Period | The time that the episode was in the specified class |  | 1..1 | Period | The time that the episode was in the specified class |
type | Σ | 0..* | CodeableConcept | Specific type of encounter Binding: ?? (example): The type of encounter. | Σ | 0..* | CodeableConcept | Specific type of encounter Binding: ?? (example): The type of encounter. |
serviceType | Σ | 0..1 | CodeableConcept | Specific type of service Binding: ?? (example): Broad categorization of the service that is to be provided. | Σ | 0..1 | CodeableConcept | Specific type of service Binding: ?? (example): Broad categorization of the service that is to be provided. |
priority |  | 0..1 | CodeableConcept | Indicates the urgency of the encounter Binding: ?? (example): Indicates the urgency of the encounter. |  | 0..1 | CodeableConcept | Indicates the urgency of the encounter Binding: ?? (example): Indicates the urgency of the encounter. |
subject | Σ | 0..1 | Reference(Patient | Group) | The patient or group present at the encounter | Σ | 0..1 | Reference(Patient | Group) | The patient or group present at the encounter |
episodeOfCare | Σ | 0..* | Reference(EpisodeOfCare) | Episode(s) of care that this encounter should be recorded against | Σ | 0..* | Reference(EpisodeOfCare) | Episode(s) of care that this encounter should be recorded against |
basedOn |  | 0..* | Reference(ServiceRequest) | The ServiceRequest that initiated this encounter |  | 0..* | Reference(ServiceRequest) | The ServiceRequest that initiated this encounter |
participant | Σ | 0..* | BackboneElement | List of participants involved in the encounter | Σ | 0..* | BackboneElement | List of participants involved in the encounter |
id |  | 0..1 | string | Unique id for inter-element referencing |  | 0..1 | string | Unique id for inter-element referencing |
extension |  | 0..* | Extension | Additional content defined by implementations |  | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
type | Σ | 0..* | CodeableConcept | Role of participant in encounter Binding: ?? (extensible): Role of participant in encounter. | Σ | 0..* | CodeableConcept | Role of participant in encounter Binding: ?? (extensible): Role of participant in encounter. |
period |  | 0..1 | Period | Period of time during the encounter that the participant participated |  | 0..1 | Period | Period of time during the encounter that the participant participated |
individual | Σ | 0..1 | Reference(Practitioner | PractitionerRole | RelatedPerson) | Persons involved in the encounter other than the patient | Σ | 0..1 | Reference(Practitioner | PractitionerRole | RelatedPerson) | Persons involved in the encounter other than the patient |
appointment | Σ | 0..* | Reference(Appointment) | The appointment that scheduled this encounter | Σ | 0..* | Reference(Appointment) | The appointment that scheduled this encounter |
period |  | 0..1 | Period | The start and end time of the encounter |  | 0..1 | Period | The start and end time of the encounter |
id |  | 0..1 | string | Unique id for inter-element referencing |  | 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 |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url |
start | S Σ C | 0..1 | dateTime | Starting time with inclusive boundary | S Σ C | 0..1 | dateTime | Starting time with inclusive boundary |
end | Σ C | 0..1 | dateTime | End time with inclusive boundary, if not ongoing | Σ C | 0..1 | dateTime | End time with inclusive boundary, if not ongoing |
length |  | 0..1 | Duration | Quantity of time the encounter lasted (less time absent) |  | 0..1 | Duration | Quantity of time the encounter lasted (less time absent) |
reasonCode | Σ | 0..* | CodeableConcept | Coded reason the encounter takes place Binding: ?? (preferred): Reason why the encounter takes place. | Σ | 0..* | CodeableConcept | Coded reason the encounter takes place Binding: ?? (preferred): Reason why the encounter takes place. | Example/preferred bindings differ at Encounter.reasonCode using binding from EncounterPcsp
reasonReference | Σ | 0..* | Reference(Condition | Procedure | Observation | ImmunizationRecommendation) | Reason the encounter takes place (reference) | Σ | 0..* | Reference(Condition | Procedure | Observation | ImmunizationRecommendation) | Reason the encounter takes place (reference) |
diagnosis | Σ | 0..* | BackboneElement | The list of diagnosis relevant to this encounter | Σ | 0..* | BackboneElement | The list of diagnosis relevant to this encounter |
id |  | 0..1 | string | Unique id for inter-element referencing |  | 0..1 | string | Unique id for inter-element referencing |
extension |  | 0..* | Extension | Additional content defined by implementations |  | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
condition | Σ | 1..1 | Reference(Condition | Procedure) | The diagnosis or procedure relevant to the encounter | Σ | 1..1 | Reference(Condition | Procedure) | The diagnosis or procedure relevant to the encounter |
use |  | 0..1 | CodeableConcept | Role that this diagnosis has within the encounter (e.g. admission, billing, discharge …) Binding: ?? (preferred): The type of diagnosis this condition represents. |  | 0..1 | CodeableConcept | Role that this diagnosis has within the encounter (e.g. admission, billing, discharge …) Binding: ?? (preferred): The type of diagnosis this condition represents. | Example/preferred bindings differ at Encounter.diagnosis.use using binding from EncounterPcsp
rank |  | 0..1 | positiveInt | Ranking of the diagnosis (for each role type) |  | 0..1 | positiveInt | Ranking of the diagnosis (for each role type) |
account |  | 0..* | Reference(Account) | The set of accounts that may be used for billing for this Encounter |  | 0..* | Reference(Account) | The set of accounts that may be used for billing for this Encounter |
hospitalization |  | 0..1 | BackboneElement | Details about the admission to a healthcare service |  | 0..1 | BackboneElement | Details about the admission to a healthcare service |
id |  | 0..1 | string | Unique id for inter-element referencing |  | 0..1 | string | Unique id for inter-element referencing |
extension |  | 0..* | Extension | Additional content defined by implementations |  | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
preAdmissionIdentifier |  | 0..1 | Identifier | Pre-admission identifier |  | 0..1 | Identifier | Pre-admission identifier |
origin |  | 0..1 | Reference(Location | Organization) | The location/organization from which the patient came before admission |  | 0..1 | Reference(Location | Organization) | The location/organization from which the patient came before admission |
admitSource |  | 0..1 | CodeableConcept | From where patient was admitted (physician referral, transfer) Binding: ?? (preferred): From where the patient was admitted. |  | 0..1 | CodeableConcept | From where patient was admitted (physician referral, transfer) Binding: ?? (preferred): From where the patient was admitted. | Example/preferred bindings differ at Encounter.hospitalization.admitSource using binding from EncounterPcsp
reAdmission |  | 0..1 | CodeableConcept | The type of hospital re-admission that has occurred (if any). If the value is absent, then this is not identified as a readmission Binding: ?? (example): The reason for re-admission of this hospitalization encounter. |  | 0..1 | CodeableConcept | The type of hospital re-admission that has occurred (if any). If the value is absent, then this is not identified as a readmission Binding: ?? (example): The reason for re-admission of this hospitalization encounter. |
dietPreference |  | 0..* | CodeableConcept | Diet preferences reported by the patient Binding: ?? (example): Medical, cultural or ethical food preferences to help with catering requirements. |  | 0..* | CodeableConcept | Diet preferences reported by the patient Binding: ?? (example): Medical, cultural or ethical food preferences to help with catering requirements. |
specialCourtesy |  | 0..* | CodeableConcept | Special courtesies (VIP, board member) Binding: ?? (preferred): Special courtesies. |  | 0..* | CodeableConcept | Special courtesies (VIP, board member) Binding: ?? (preferred): Special courtesies. | Example/preferred bindings differ at Encounter.hospitalization.specialCourtesy using binding from EncounterPcsp
specialArrangement |  | 0..* | CodeableConcept | Wheelchair, translator, stretcher, etc. Binding: ?? (preferred): Special arrangements. |  | 0..* | CodeableConcept | Wheelchair, translator, stretcher, etc. Binding: ?? (preferred): Special arrangements. | Example/preferred bindings differ at Encounter.hospitalization.specialArrangement using binding from EncounterPcsp
destination |  | 0..1 | Reference(Location | Organization) | Location/organization to which the patient is discharged |  | 0..1 | Reference(Location | Organization) | Location/organization to which the patient is discharged |
dischargeDisposition |  | 0..1 | CodeableConcept | Category or kind of location after discharge Binding: ?? (example): Discharge Disposition. |  | 0..1 | CodeableConcept | Category or kind of location after discharge Binding: ?? (example): Discharge Disposition. |
location |  | 0..* | BackboneElement | List of locations where the patient has been |  | 0..* | BackboneElement | List of locations where the patient has been |
id |  | 0..1 | string | Unique id for inter-element referencing |  | 0..1 | string | Unique id for inter-element referencing |
extension |  | 0..* | Extension | Additional content defined by implementations |  | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
location |  | 1..1 | Reference(Location) | Location the encounter takes place |  | 1..1 | Reference(Location) | Location the encounter takes place |
status |  | 0..1 | code | planned | active | reserved | completed Binding: ?? (required): The status of the location. |  | 0..1 | code | planned | active | reserved | completed Binding: ?? (required): The status of the location. |
physicalType |  | 0..1 | CodeableConcept | The physical type of the location (usually the level in the location hierachy - bed room ward etc.) Binding: ?? (example): Physical form of the location. |  | 0..1 | CodeableConcept | The physical type of the location (usually the level in the location hierachy - bed room ward etc.) Binding: ?? (example): Physical form of the location. |
period |  | 0..1 | Period | Time period during which the patient was present at the location |  | 0..1 | Period | Time period during which the patient was present at the location |
serviceProvider |  | 0..1 | Reference(Organization: Primary Treatment Center / Center of diagnosis) | Primary treatment center |  | 0..1 | Reference(Organization: Primary Treatment Center / Center of diagnosis) | Primary treatment center |
id |  | 0..1 | string | Unique id for inter-element referencing |  | 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 |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url |
reference | Σ C | 0..1 | string | Literal reference, Relative, internal or absolute URL | Σ C | 0..1 | string | Literal reference, Relative, internal or absolute URL |
type | Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ?? (extensible): Aa resource (or, for logical models, the URI of the logical model). | Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ?? (extensible): Aa resource (or, for logical models, the URI of the logical model). |
identifier | Σ | 0..1 | Identifier | Business identifier of the Primary treatment center | Σ | 0..1 | Identifier | Business identifier of the Primary treatment center |
display | Σ | 0..1 | string | Short textual description of the Primary treatment center | Σ | 0..1 | string | Short textual description of the Primary treatment center |
partOf |  | 0..1 | Reference(Encounter) | Another Encounter this encounter is part of |  | 0..1 | Reference(Encounter) | Another Encounter this encounter is part of |
Documentation for this format