## Profile Comparison between http://fhir.hl7.nl/zorgviewer/StructureDefinition/Appointment vs http://fhir.hl7.nl/zorgviewer/StructureDefinition/Appointment

Left: | Appointment (http://fhir.hl7.nl/zorgviewer/StructureDefinition/Appointment)
Right: | Appointment (http://fhir.hl7.nl/zorgviewer/StructureDefinition/Appointment)

### Messages

Error | Appointment.participant.actor | Type Mismatch: Reference([CanonicalType[http://fhir.nl/fhir/StructureDefinition/nl-core-patient], CanonicalType[http://fhir.nl/fhir/StructureDefinition/nl-core-practitioner], CanonicalType[http://fhir.nl/fhir/StructureDefinition/nl-core-relatedperson], CanonicalType[http://hl7.org/fhir/StructureDefinition/Device], CanonicalType[http://hl7.org/fhir/StructureDefinition/HealthcareService], CanonicalType[http://fhir.nl/fhir/StructureDefinition/nl-core-location]]) vs Reference([CanonicalType[http://fhir.nl/fhir/StructureDefinition/nl-core-patient], CanonicalType[http://fhir.nl/fhir/StructureDefinition/nl-core-practitioner], CanonicalType[http://fhir.nl/fhir/StructureDefinition/nl-core-relatedperson], CanonicalType[http://hl7.org/fhir/StructureDefinition/Device], CanonicalType[http://hl7.org/fhir/StructureDefinition/HealthcareService], CanonicalType[http://fhir.nl/fhir/StructureDefinition/nl-core-location]])

### Metadata

Name | Value | Comments
--- | --- | ---
abstract | false |
baseDefinition | http://nictiz.nl/fhir/StructureDefinition/eAfspraak-Appointment |
copyright |  |
description | Afspraak |
experimental |  |
fhirVersion | 3.0.2 |
jurisdiction |  |
jurisdiction[0] | urn:iso:std:iso:3166#NL |
kind | resource |
name | Appointment |
publisher | RIVO-NN HL7NL |
purpose |  |
status | draft |
title | Appointment |
type | Appointment |
url | http://fhir.hl7.nl/zorgviewer/StructureDefinition/Appointment |

### Structure

Name | L Flags | L Card. | L Type | L Description & Constraints | R Flags | R Card. | R Type | R Description & Constraints | Comments
--- | --- | --- | --- | --- | --- | --- | --- | --- | ---
Appointment | C | 0..* | eAfspraakAppointment | A booking of a healthcare event among patient(s), practitioner(s), related person(s) and/or device(s) for a specific date/time. This may result in one or more Encounter(s) | C | 0..* | eAfspraakAppointment | A booking of a healthcare event among patient(s), practitioner(s), related person(s) and/or device(s) for a specific date/time. This may result in one or more Encounter(s) |
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: ?? (extensible): A human language.
Additional Bindings | Purpose
?? | Max Binding
|  | 0..1 | code | Language of the resource content Binding: ?? (extensible): A human language.
Additional Bindings | Purpose
?? | Max Binding
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 |
Slices for extension |  | 0..* | Extension | Extension Slice: Unordered, Open by value:url |  | 0..* | Extension | Extension Slice: Unordered, Open by value:url |
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored | ?! | 0..* | Extension | Extensions that cannot be ignored |
identifier | Σ | 1..* | Identifier | IdentificationNumber | Σ | 1..* | Identifier | IdentificationNumber |
status | ?!Σ | 1..1 | code | ContactStatus Binding: ?? (required): The free/busy status of an appointment. | ?!Σ | 1..1 | code | ContactStatus Binding: ?? (required): The free/busy status of an appointment. |
id |  | 0..1 | string | xml:id (or equivalent in JSON) |  | 0..1 | string | xml:id (or equivalent in JSON) |
Slices for extension |  | 0..* | Extension | Extension Slice: Unordered, Open by value:url |  | 0..* | Extension | Extension Slice: Unordered, Open by value:url |
value |  | 0..1 | code | Primitive value for code |  | 0..1 | code | Primitive value for code |
serviceCategory | Σ | 0..1 | CodeableConcept | ContactCategory Binding: ?? (example) | Σ | 0..1 | CodeableConcept | ContactCategory Binding: ?? (example) |
serviceType | Σ | 0..* | CodeableConcept | ContactProcedureType Binding: ?? (example) | Σ | 0..* | CodeableConcept | ContactProcedureType Binding: ?? (example) |
Slices for specialty | Σ | 0..* | CodeableConcept | The specialty of a practitioner that would be required to perform the service requested in this appointment Slice: Unordered, Open by value:coding.system Binding: ?? (preferred) | Σ | 0..* | CodeableConcept | The specialty of a practitioner that would be required to perform the service requested in this appointment Slice: Unordered, Open by value:coding.system Binding: ?? (preferred) |
appointmentType | Σ | 0..1 | CodeableConcept | ContactType Binding: ?? (extensible): ContactType and NHGTable14v7-ContactType | Σ | 0..1 | CodeableConcept | ContactType Binding: ?? (extensible): ContactType and NHGTable14v7-ContactType |
reason | Σ | 0..* | CodeableConcept | DeviatingResult Binding: ?? (preferred): The Reason for the appointment to take place. | Σ | 0..* | CodeableConcept | DeviatingResult Binding: ?? (preferred): The Reason for the appointment to take place. |
indication |  | 0..* | Reference(Condition | Procedure) | Procedure | Problem |  | 0..* | Reference(Condition | Procedure) | Procedure | Problem |
priority |  | 0..1 | unsignedInt | Used to make informed decisions if needing to re-prioritize |  | 0..1 | unsignedInt | Used to make informed decisions if needing to re-prioritize |
description |  | 0..1 | string | ContactSubject |  | 0..1 | string | ContactSubject |
supportingInformation |  | 0..* | Reference(Resource) | Additional information to support the appointment |  | 0..* | Reference(Resource) | Additional information to support the appointment |
start | Σ | 0..1 | instant | StartDateTime | Σ | 0..1 | instant | StartDateTime |
end | Σ | 0..1 | instant | EndDateTime | Σ | 0..1 | instant | EndDateTime |
minutesDuration |  | 0..1 | positiveInt | ContactDuration |  | 0..1 | positiveInt | ContactDuration |
slot |  | 0..* | Reference(Slot) | The slots that this appointment is filling |  | 0..* | Reference(Slot) | The slots that this appointment is filling |
created |  | 0..1 | dateTime | DateTime |  | 0..1 | dateTime | DateTime |
comment |  | 0..1 | string | ContactDescription |  | 0..1 | string | ContactDescription |
incomingReferral |  | 0..* | Reference(ReferralRequest) | The ReferralRequest provided as information to allocate to the Encounter |  | 0..* | Reference(ReferralRequest) | The ReferralRequest provided as information to allocate to the Encounter |
participant | C | 1..* | BackboneElement | ContactWith | C | 1..* | BackboneElement | ContactWith |
id |  | 0..1 | string | xml:id (or equivalent in JSON) |  | 0..1 | string | xml:id (or equivalent in JSON) |
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 |
type | Σ | 0..* | CodeableConcept | Role of participant in the appointment Binding: ?? (extensible): Role of participant in encounter. | Σ | 0..* | CodeableConcept | Role of participant in the appointment Binding: ?? (extensible): Role of participant in encounter. |
id |  | 0..1 | string | xml:id (or equivalent in JSON) |  | 0..1 | string | xml:id (or equivalent in JSON) |
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 |
Slices for coding | Σ | 0..* | Coding | Code defined by a terminology system Slice: Unordered, Open by value:$this | Σ | 0..* | Coding | Code defined by a terminology system Slice: Unordered, Open by value:$this |
text | Σ | 0..1 | string | Plain text representation of the concept | Σ | 0..1 | string | Plain text representation of the concept |
actor | Σ | 0..1 | Reference(nl-core-patient(2.2.4) | nl-core-practitioner(2.0.7) | nl-core-relatedperson(2.0.5) | Device | HealthcareService | nl-core-location(2.0.5)) | Person, Location/HealthcareService or Device | Σ | 0..1 | Reference(nl-core-patient(2.2.5) | nl-core-practitioner(2.0.7) | nl-core-relatedperson(2.0.5) | Device | HealthcareService | nl-core-location(2.0.5)) | Person, Location/HealthcareService or Device | Type Mismatch: Reference([CanonicalType[http://fhir.nl/fhir/StructureDefinition/nl-core-patient], CanonicalType[http://fhir.nl/fhir/StructureDefinition/nl-core-practitioner], CanonicalType[http://fhir.nl/fhir/StructureDefinition/nl-core-relatedperson], CanonicalType[http://hl7.org/fhir/StructureDefinition/Device], CanonicalType[http://hl7.org/fhir/StructureDefinition/HealthcareService], CanonicalType[http://fhir.nl/fhir/StructureDefinition/nl-core-location]]) vs Reference([CanonicalType[http://fhir.nl/fhir/StructureDefinition/nl-core-patient], CanonicalType[http://fhir.nl/fhir/StructureDefinition/nl-core-practitioner], CanonicalType[http://fhir.nl/fhir/StructureDefinition/nl-core-relatedperson], CanonicalType[http://hl7.org/fhir/StructureDefinition/Device], CanonicalType[http://hl7.org/fhir/StructureDefinition/HealthcareService], CanonicalType[http://fhir.nl/fhir/StructureDefinition/nl-core-location]])
id |  | 0..1 | string | xml:id (or equivalent in JSON) |  | 0..1 | string | xml:id (or equivalent in JSON) |
Slices for extension |  | 0..* | Extension | Extension Slice: Unordered, Open by value:url |  | 0..* | Extension | Extension 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 |
identifier | Σ | 0..1 | Identifier | Logical reference, when literal reference is not known | Σ | 0..1 | Identifier | Logical reference, when literal reference is not known |
display | Σ | 0..1 | string | Text alternative for the resource | Σ | 0..1 | string | Text alternative for the resource |
required | Σ | 0..1 | code | ContactWithRequired Binding: ?? (required): Is the Participant required to attend the appointment. | Σ | 0..1 | code | ContactWithRequired Binding: ?? (required): Is the Participant required to attend the appointment. |
status |  | 1..1 | code | ContactWithStatus Binding: ?? (required): The Participation status of an appointment. |  | 1..1 | code | ContactWithStatus Binding: ?? (required): The Participation status of an appointment. |
requestedPeriod |  | 0..* | Period | Potential date/time interval(s) requested to allocate the appointment within |  | 0..* | Period | Potential date/time interval(s) requested to allocate the appointment within |
Documentation for this format