1.0.1 - draft

NyTimelosingIG - Local Development build (v1.0.1) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

Resource Profile: hn-basis-AppointmentResponse

Official URL: http://helsenorge.no/fhir/StructureDefinition/hn-basis-AppointmentResponse Version: 1.0.1
Draft as of 2025-12-02 Computable Name: HnBasisAppointmentResponse

Basisprofil for AppointmentResponse used in 'ny timeløsning'.

Usages:

  • This Profile is not used by any profiles in this Implementation Guide

You can also check for usages in the FHIR IG Statistics

Formal Views of Profile Content

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

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. AppointmentResponse C 0..* NoBasisAppointmentResponse A reply to an appointment request for a patient and/or practitioner(s), such as a confirmation or rejection
Constraints: apr-1, inv-1
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... Slices for extension Content/Rules for all slices
.... extension:shortNotice 0..1 (Complex) no-basis-shortnotice
URL: http://hl7.no/fhir/StructureDefinition/no-basis-shortnotice
..... extension 0..0 Extension
Slice: Unordered, Open by value:url
..... url 1..1 uri "http://hl7.no/fhir/StructureDefinition/no-basis-shortnotice"
.... extension:changeConferenceType 0..1 (Complex) hn-basis-changeConferenceType
URL: http://helsenorge.no/fhir/StructureDefinition/hn-basis-changeConferenceType
..... extension 0..0 Extension
Slice: Unordered, Open by value:url
..... url 1..1 uri "http://helsenorge.no/fhir/StructureDefinition/hn-basis-changeConferenceType"
..... value[x] 0..1 Coding Pasient askes for changed conference type.
Binding: No Basis VirtualServiceType Value Set (required)
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
.... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
.... system Σ 1..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
.... value Σ 1..1 string The value that is unique
Example General: 123456
... appointment Σ 1..1 Reference(Appointment) Appointment this response relates to
... actor Σ 1..1 Reference(Patient) Use only logical reference
.... type Σ 1..1 uri Type the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
Required Pattern: Patient
.... identifier ΣC 1..1 Identifier Logical reference, when literal reference is not known
Constraints: inv-a
..... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
..... system Σ 1..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
..... value Σ 1..1 string The value that is unique
Example General: 123456
... participantStatus ?!Σ 1..1 code accepted | declined | tentative | needs-action
Binding: ParticipationStatus (required): The Participation status of an appointment.

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
AppointmentResponse.​extension:changeConferenceType.​value[x] Base required No Basis VirtualServiceType Value Set 📦2.2.0 hl7.fhir.no.basis v2.2
AppointmentResponse.​identifier.use Base required IdentifierUse 📍4.0.1 FHIR Std.
AppointmentResponse.​actor.type Base extensible ResourceType 📍4.0.1 FHIR Std.
AppointmentResponse.​actor.identifier.use Base required IdentifierUse 📍4.0.1 FHIR Std.
AppointmentResponse.​participantStatus Base required ParticipationStatus 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
apr-1 error AppointmentResponse Either the participantType or actor must be specified participantType.exists() or actor.exists()
dom-2 error AppointmentResponse If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error AppointmentResponse 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 AppointmentResponse 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 AppointmentResponse If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice AppointmentResponse 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()
inv-1 error AppointmentResponse The 'shortNotice' extension can only be used when the 'actor' is of type 'Patient'. extension.where(url = 'http://hl7.no/fhir/StructureDefinition/no-basis-shortnotice').value.exists() and actor.type.value = 'Patient'
inv-a error AppointmentResponse.actor.identifier Only urn:oid:2.16.578.1.12.4.1.4.1 (FNR) or urn:oid:2.16.578.1.12.4.1.4.2 (DNR) are allowed as systems to identify patient in this profile. system = 'urn:oid:2.16.578.1.12.4.1.4.1' or system = 'urn:oid:2.16.578.1.12.4.1.4.2'

This structure is derived from NoBasisAppointmentResponse

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. AppointmentResponse 0..* NoBasisAppointmentResponse A reply to an appointment request for a patient and/or practitioner(s), such as a confirmation or rejection
... Slices for extension Content/Rules for all slices
.... extension:changeConferenceType 0..1 (Complex) hn-basis-changeConferenceType
URL: http://helsenorge.no/fhir/StructureDefinition/hn-basis-changeConferenceType
..... value[x] 0..1 Coding Pasient askes for changed conference type.
... identifier 1..1 Identifier External Ids for this item
.... system 1..1 uri The namespace for the identifier value
.... value 1..1 string The value that is unique
... appointment
.... reference 0..0 Literal reference, Relative, internal or absolute URL
.... coding C 0..* Coding Code defined by a terminology system
Constraints: inv-4
... actor 1..1 Reference(Patient) Use only logical reference
.... reference 0..0 Literal reference, Relative, internal or absolute URL
.... type 1..1 uri Type the reference refers to (e.g. "Patient")
Required Pattern: Patient
.... identifier C 1..1 Identifier Logical reference, when literal reference is not known
Constraints: inv-a
..... type
...... coding C 0..* Coding Code defined by a terminology system
Constraints: inv-3
..... system 1..1 uri The namespace for the identifier value
..... value 1..1 string The value that is unique

doco Documentation for this format

Constraints

Id Grade Path(s) Description Expression
inv-3 error AppointmentResponse.actor.identifier.type.coding Only FNR or DNR number are allowed as codes to identify patient in this profile. code = 'FNR' or code = 'DNR'
inv-4 error AppointmentResponse.participantType.coding If code is used in a codable consept the system must be used code > '' implies (system > '' )
inv-a error AppointmentResponse.actor.identifier Only urn:oid:2.16.578.1.12.4.1.4.1 (FNR) or urn:oid:2.16.578.1.12.4.1.4.2 (DNR) are allowed as systems to identify patient in this profile. system = 'urn:oid:2.16.578.1.12.4.1.4.1' or system = 'urn:oid:2.16.578.1.12.4.1.4.2'
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. AppointmentResponse C 0..* NoBasisAppointmentResponse A reply to an appointment request for a patient and/or practitioner(s), such as a confirmation or rejection
Constraints: apr-1, inv-1
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... text 0..1 Narrative Text summary of the resource, for human interpretation
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
... contained 0..* Resource Contained, inline Resources
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:shortNotice 0..1 (Complex) no-basis-shortnotice
URL: http://hl7.no/fhir/StructureDefinition/no-basis-shortnotice
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0 Extension
Slice: Unordered, Open by value:url
..... url 1..1 uri "http://hl7.no/fhir/StructureDefinition/no-basis-shortnotice"
..... value[x] 0..1 boolean Patient can come on short notice.
.... extension:changeConferenceType 0..1 (Complex) hn-basis-changeConferenceType
URL: http://helsenorge.no/fhir/StructureDefinition/hn-basis-changeConferenceType
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0 Extension
Slice: Unordered, Open by value:url
..... url 1..1 uri "http://helsenorge.no/fhir/StructureDefinition/hn-basis-changeConferenceType"
..... value[x] 0..1 Coding Pasient askes for changed conference type.
Binding: No Basis VirtualServiceType Value Set (required)
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... identifier Σ 1..1 Identifier External Ids for this item
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
.... type Σ 0..1 CodeableConcept Description of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
.... system Σ 1..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
.... value Σ 1..1 string The value that is unique
Example General: 123456
.... period Σ 0..1 Period Time period when id is/was valid for use
.... assigner Σ 0..1 Reference(Organization) Organization that issued id (may be just text)
... appointment Σ 1..1 Reference(Appointment) Appointment this response relates to
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... type Σ 0..1 uri Type the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
.... identifier Σ 0..1 Identifier Logical reference, when literal reference is not known
.... display Σ 0..1 string Text alternative for the resource
... start 0..1 instant Time from appointment, or requested new start time
... end 0..1 instant Time from appointment, or requested new end time
... participantType Σ 0..* CodeableConcept Role of participant in the appointment
Binding: ParticipantType (extensible): Role of participant in encounter.
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... coding ΣC 0..* Coding Code defined by a terminology system
Constraints: inv-4
.... text Σ 0..1 string Plain text representation of the concept
... actor Σ 1..1 Reference(Patient) Use only logical reference
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... type Σ 1..1 uri Type the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
Required Pattern: Patient
.... identifier ΣC 1..1 Identifier Logical reference, when literal reference is not known
Constraints: inv-a
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
..... type Σ 0..1 CodeableConcept Description of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... coding ΣC 0..* Coding Code defined by a terminology system
Constraints: inv-3
...... text Σ 0..1 string Plain text representation of the concept
..... system Σ 1..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
..... value Σ 1..1 string The value that is unique
Example General: 123456
..... period Σ 0..1 Period Time period when id is/was valid for use
..... assigner Σ 0..1 Reference(Organization) Organization that issued id (may be just text)
.... display Σ 0..1 string Text alternative for the resource
... participantStatus ?!Σ 1..1 code accepted | declined | tentative | needs-action
Binding: ParticipationStatus (required): The Participation status of an appointment.
... comment 0..1 string Additional comments

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
AppointmentResponse.​language Base preferred Common Languages 📦4.0.1 FHIR Std.
AppointmentResponse.​extension:changeConferenceType.​value[x] Base required No Basis VirtualServiceType Value Set 📦2.2.0 hl7.fhir.no.basis v2.2
AppointmentResponse.​identifier.use Base required IdentifierUse 📍4.0.1 FHIR Std.
AppointmentResponse.​identifier.type Base extensible IdentifierType 📍4.0.1 FHIR Std.
AppointmentResponse.​appointment.type Base extensible ResourceType 📍4.0.1 FHIR Std.
AppointmentResponse.​participantType Base extensible Participant type 📦4.0.1 FHIR Std.
AppointmentResponse.​actor.type Base extensible ResourceType 📍4.0.1 FHIR Std.
AppointmentResponse.​actor.identifier.use Base required IdentifierUse 📍4.0.1 FHIR Std.
AppointmentResponse.​actor.identifier.type Base extensible IdentifierType 📍4.0.1 FHIR Std.
AppointmentResponse.​participantStatus Base required ParticipationStatus 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
apr-1 error AppointmentResponse Either the participantType or actor must be specified participantType.exists() or actor.exists()
dom-2 error AppointmentResponse If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error AppointmentResponse 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 AppointmentResponse 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 AppointmentResponse If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice AppointmentResponse 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()
inv-1 error AppointmentResponse The 'shortNotice' extension can only be used when the 'actor' is of type 'Patient'. extension.where(url = 'http://hl7.no/fhir/StructureDefinition/no-basis-shortnotice').value.exists() and actor.type.value = 'Patient'
inv-3 error AppointmentResponse.actor.identifier.type.coding Only FNR or DNR number are allowed as codes to identify patient in this profile. code = 'FNR' or code = 'DNR'
inv-4 error AppointmentResponse.participantType.coding If code is used in a codable consept the system must be used code > '' implies (system > '' )
inv-a error AppointmentResponse.actor.identifier Only urn:oid:2.16.578.1.12.4.1.4.1 (FNR) or urn:oid:2.16.578.1.12.4.1.4.2 (DNR) are allowed as systems to identify patient in this profile. system = 'urn:oid:2.16.578.1.12.4.1.4.1' or system = 'urn:oid:2.16.578.1.12.4.1.4.2'

This structure is derived from NoBasisAppointmentResponse

Summary

Mandatory: 8 elements
Prohibited: 2 elements

Extensions

This structure refers to these extensions:

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. AppointmentResponse C 0..* NoBasisAppointmentResponse A reply to an appointment request for a patient and/or practitioner(s), such as a confirmation or rejection
Constraints: apr-1, inv-1
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... Slices for extension Content/Rules for all slices
.... extension:shortNotice 0..1 (Complex) no-basis-shortnotice
URL: http://hl7.no/fhir/StructureDefinition/no-basis-shortnotice
..... extension 0..0 Extension
Slice: Unordered, Open by value:url
..... url 1..1 uri "http://hl7.no/fhir/StructureDefinition/no-basis-shortnotice"
.... extension:changeConferenceType 0..1 (Complex) hn-basis-changeConferenceType
URL: http://helsenorge.no/fhir/StructureDefinition/hn-basis-changeConferenceType
..... extension 0..0 Extension
Slice: Unordered, Open by value:url
..... url 1..1 uri "http://helsenorge.no/fhir/StructureDefinition/hn-basis-changeConferenceType"
..... value[x] 0..1 Coding Pasient askes for changed conference type.
Binding: No Basis VirtualServiceType Value Set (required)
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
.... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
.... system Σ 1..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
.... value Σ 1..1 string The value that is unique
Example General: 123456
... appointment Σ 1..1 Reference(Appointment) Appointment this response relates to
... actor Σ 1..1 Reference(Patient) Use only logical reference
.... type Σ 1..1 uri Type the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
Required Pattern: Patient
.... identifier ΣC 1..1 Identifier Logical reference, when literal reference is not known
Constraints: inv-a
..... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
..... system Σ 1..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
..... value Σ 1..1 string The value that is unique
Example General: 123456
... participantStatus ?!Σ 1..1 code accepted | declined | tentative | needs-action
Binding: ParticipationStatus (required): The Participation status of an appointment.

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
AppointmentResponse.​extension:changeConferenceType.​value[x] Base required No Basis VirtualServiceType Value Set 📦2.2.0 hl7.fhir.no.basis v2.2
AppointmentResponse.​identifier.use Base required IdentifierUse 📍4.0.1 FHIR Std.
AppointmentResponse.​actor.type Base extensible ResourceType 📍4.0.1 FHIR Std.
AppointmentResponse.​actor.identifier.use Base required IdentifierUse 📍4.0.1 FHIR Std.
AppointmentResponse.​participantStatus Base required ParticipationStatus 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
apr-1 error AppointmentResponse Either the participantType or actor must be specified participantType.exists() or actor.exists()
dom-2 error AppointmentResponse If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error AppointmentResponse 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 AppointmentResponse 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 AppointmentResponse If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice AppointmentResponse 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()
inv-1 error AppointmentResponse The 'shortNotice' extension can only be used when the 'actor' is of type 'Patient'. extension.where(url = 'http://hl7.no/fhir/StructureDefinition/no-basis-shortnotice').value.exists() and actor.type.value = 'Patient'
inv-a error AppointmentResponse.actor.identifier Only urn:oid:2.16.578.1.12.4.1.4.1 (FNR) or urn:oid:2.16.578.1.12.4.1.4.2 (DNR) are allowed as systems to identify patient in this profile. system = 'urn:oid:2.16.578.1.12.4.1.4.1' or system = 'urn:oid:2.16.578.1.12.4.1.4.2'

Differential View

This structure is derived from NoBasisAppointmentResponse

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. AppointmentResponse 0..* NoBasisAppointmentResponse A reply to an appointment request for a patient and/or practitioner(s), such as a confirmation or rejection
... Slices for extension Content/Rules for all slices
.... extension:changeConferenceType 0..1 (Complex) hn-basis-changeConferenceType
URL: http://helsenorge.no/fhir/StructureDefinition/hn-basis-changeConferenceType
..... value[x] 0..1 Coding Pasient askes for changed conference type.
... identifier 1..1 Identifier External Ids for this item
.... system 1..1 uri The namespace for the identifier value
.... value 1..1 string The value that is unique
... appointment
.... reference 0..0 Literal reference, Relative, internal or absolute URL
.... coding C 0..* Coding Code defined by a terminology system
Constraints: inv-4
... actor 1..1 Reference(Patient) Use only logical reference
.... reference 0..0 Literal reference, Relative, internal or absolute URL
.... type 1..1 uri Type the reference refers to (e.g. "Patient")
Required Pattern: Patient
.... identifier C 1..1 Identifier Logical reference, when literal reference is not known
Constraints: inv-a
..... type
...... coding C 0..* Coding Code defined by a terminology system
Constraints: inv-3
..... system 1..1 uri The namespace for the identifier value
..... value 1..1 string The value that is unique

doco Documentation for this format

Constraints

Id Grade Path(s) Description Expression
inv-3 error AppointmentResponse.actor.identifier.type.coding Only FNR or DNR number are allowed as codes to identify patient in this profile. code = 'FNR' or code = 'DNR'
inv-4 error AppointmentResponse.participantType.coding If code is used in a codable consept the system must be used code > '' implies (system > '' )
inv-a error AppointmentResponse.actor.identifier Only urn:oid:2.16.578.1.12.4.1.4.1 (FNR) or urn:oid:2.16.578.1.12.4.1.4.2 (DNR) are allowed as systems to identify patient in this profile. system = 'urn:oid:2.16.578.1.12.4.1.4.1' or system = 'urn:oid:2.16.578.1.12.4.1.4.2'

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. AppointmentResponse C 0..* NoBasisAppointmentResponse A reply to an appointment request for a patient and/or practitioner(s), such as a confirmation or rejection
Constraints: apr-1, inv-1
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... text 0..1 Narrative Text summary of the resource, for human interpretation
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
... contained 0..* Resource Contained, inline Resources
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:shortNotice 0..1 (Complex) no-basis-shortnotice
URL: http://hl7.no/fhir/StructureDefinition/no-basis-shortnotice
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0 Extension
Slice: Unordered, Open by value:url
..... url 1..1 uri "http://hl7.no/fhir/StructureDefinition/no-basis-shortnotice"
..... value[x] 0..1 boolean Patient can come on short notice.
.... extension:changeConferenceType 0..1 (Complex) hn-basis-changeConferenceType
URL: http://helsenorge.no/fhir/StructureDefinition/hn-basis-changeConferenceType
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0 Extension
Slice: Unordered, Open by value:url
..... url 1..1 uri "http://helsenorge.no/fhir/StructureDefinition/hn-basis-changeConferenceType"
..... value[x] 0..1 Coding Pasient askes for changed conference type.
Binding: No Basis VirtualServiceType Value Set (required)
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... identifier Σ 1..1 Identifier External Ids for this item
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
.... type Σ 0..1 CodeableConcept Description of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
.... system Σ 1..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
.... value Σ 1..1 string The value that is unique
Example General: 123456
.... period Σ 0..1 Period Time period when id is/was valid for use
.... assigner Σ 0..1 Reference(Organization) Organization that issued id (may be just text)
... appointment Σ 1..1 Reference(Appointment) Appointment this response relates to
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... type Σ 0..1 uri Type the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
.... identifier Σ 0..1 Identifier Logical reference, when literal reference is not known
.... display Σ 0..1 string Text alternative for the resource
... start 0..1 instant Time from appointment, or requested new start time
... end 0..1 instant Time from appointment, or requested new end time
... participantType Σ 0..* CodeableConcept Role of participant in the appointment
Binding: ParticipantType (extensible): Role of participant in encounter.
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... coding ΣC 0..* Coding Code defined by a terminology system
Constraints: inv-4
.... text Σ 0..1 string Plain text representation of the concept
... actor Σ 1..1 Reference(Patient) Use only logical reference
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... type Σ 1..1 uri Type the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).
Required Pattern: Patient
.... identifier ΣC 1..1 Identifier Logical reference, when literal reference is not known
Constraints: inv-a
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
..... type Σ 0..1 CodeableConcept Description of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... coding ΣC 0..* Coding Code defined by a terminology system
Constraints: inv-3
...... text Σ 0..1 string Plain text representation of the concept
..... system Σ 1..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
..... value Σ 1..1 string The value that is unique
Example General: 123456
..... period Σ 0..1 Period Time period when id is/was valid for use
..... assigner Σ 0..1 Reference(Organization) Organization that issued id (may be just text)
.... display Σ 0..1 string Text alternative for the resource
... participantStatus ?!Σ 1..1 code accepted | declined | tentative | needs-action
Binding: ParticipationStatus (required): The Participation status of an appointment.
... comment 0..1 string Additional comments

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
AppointmentResponse.​language Base preferred Common Languages 📦4.0.1 FHIR Std.
AppointmentResponse.​extension:changeConferenceType.​value[x] Base required No Basis VirtualServiceType Value Set 📦2.2.0 hl7.fhir.no.basis v2.2
AppointmentResponse.​identifier.use Base required IdentifierUse 📍4.0.1 FHIR Std.
AppointmentResponse.​identifier.type Base extensible IdentifierType 📍4.0.1 FHIR Std.
AppointmentResponse.​appointment.type Base extensible ResourceType 📍4.0.1 FHIR Std.
AppointmentResponse.​participantType Base extensible Participant type 📦4.0.1 FHIR Std.
AppointmentResponse.​actor.type Base extensible ResourceType 📍4.0.1 FHIR Std.
AppointmentResponse.​actor.identifier.use Base required IdentifierUse 📍4.0.1 FHIR Std.
AppointmentResponse.​actor.identifier.type Base extensible IdentifierType 📍4.0.1 FHIR Std.
AppointmentResponse.​participantStatus Base required ParticipationStatus 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
apr-1 error AppointmentResponse Either the participantType or actor must be specified participantType.exists() or actor.exists()
dom-2 error AppointmentResponse If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error AppointmentResponse 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 AppointmentResponse 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 AppointmentResponse If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice AppointmentResponse 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()
inv-1 error AppointmentResponse The 'shortNotice' extension can only be used when the 'actor' is of type 'Patient'. extension.where(url = 'http://hl7.no/fhir/StructureDefinition/no-basis-shortnotice').value.exists() and actor.type.value = 'Patient'
inv-3 error AppointmentResponse.actor.identifier.type.coding Only FNR or DNR number are allowed as codes to identify patient in this profile. code = 'FNR' or code = 'DNR'
inv-4 error AppointmentResponse.participantType.coding If code is used in a codable consept the system must be used code > '' implies (system > '' )
inv-a error AppointmentResponse.actor.identifier Only urn:oid:2.16.578.1.12.4.1.4.1 (FNR) or urn:oid:2.16.578.1.12.4.1.4.2 (DNR) are allowed as systems to identify patient in this profile. system = 'urn:oid:2.16.578.1.12.4.1.4.1' or system = 'urn:oid:2.16.578.1.12.4.1.4.2'

This structure is derived from NoBasisAppointmentResponse

Summary

Mandatory: 8 elements
Prohibited: 2 elements

Extensions

This structure refers to these extensions:

 

Other representations of profile: CSV, Excel, Schematron