2.2.0-test - ci-build Norway flag

Publication Build: This will be filled in by the publication tooling

Resource Profile: no-basis-AppointmentResponse

Official URL: http://hl7.no/fhir/StructureDefinition/no-basis-AppointmentResponse Version: 2.2.0-test
Active as of 2024-05-29 Computable Name: NoBasisAppointmentResponse

Basisprofil for Norwegian AppointmentResponse information. Defined by HL7 Norway. Should be used as a basis for further profiling in use-cases where specific appointment respons information is needed. The basis profile is open, but derived profiles should close down the information elements according to specification relevant to each use-case.

Usage:

Formal Views of Profile Content

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

This structure is derived from AppointmentResponse

NameFlagsCard.TypeDescription & Constraintsdoco
.. AppointmentResponse C 0..* AppointmentResponse A reply to an appointment request for a patient and/or practitioner(s), such as a confirmation or rejection
inv-1: The 'shortNotice' extension can only be used when the 'actor' is of type 'Patient'.
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... shortNotice 0..1 (Complex) Extension
URL: http://hl7.no/fhir/StructureDefinition/no-basis-shortnotice
..... value[x] 0..1 boolean Patient can come on short notice.

doco Documentation for this format

Constraints

IdGradePath(s)DetailsRequirements
inv-1errorAppointmentResponseThe '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'
NameFlagsCard.TypeDescription & Constraintsdoco
.. AppointmentResponse C 0..* AppointmentResponse A reply to an appointment request for a patient and/or practitioner(s), such as a confirmation or rejection
apr-1: Either the participantType or actor must be specified
inv-1: The 'shortNotice' extension can only be used when the 'actor' is of type 'Patient'.
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... shortNotice 0..1 (Complex) Extension
URL: http://hl7.no/fhir/StructureDefinition/no-basis-shortnotice
..... extension 0..0
..... url 1..1 uri "http://hl7.no/fhir/StructureDefinition/no-basis-shortnotice"
..... value[x] 0..1 boolean Patient can come on short notice.
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... 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

PathConformanceValueSetURI
AppointmentResponse.participantStatusrequiredParticipationStatus
http://hl7.org/fhir/ValueSet/participationstatus|4.0.1
from the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
apr-1errorAppointmentResponseEither the participantType or actor must be specified
: participantType.exists() or actor.exists()
dom-2errorAppointmentResponseIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorAppointmentResponseIf 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-4errorAppointmentResponseIf 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-5errorAppointmentResponseIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceAppointmentResponseA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
inv-1errorAppointmentResponseThe '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'
NameFlagsCard.TypeDescription & Constraintsdoco
.. AppointmentResponse C 0..* AppointmentResponse A reply to an appointment request for a patient and/or practitioner(s), such as a confirmation or rejection
apr-1: Either the participantType or actor must be specified
inv-1: The 'shortNotice' extension can only be used when the 'actor' is of type 'Patient'.
... 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
... contained 0..* Resource Contained, inline Resources
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... shortNotice 0..1 (Complex) Extension
URL: http://hl7.no/fhir/StructureDefinition/no-basis-shortnotice
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0
..... url 1..1 uri "http://hl7.no/fhir/StructureDefinition/no-basis-shortnotice"
..... value[x] 0..1 boolean Patient can come on short notice.
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... identifier Σ 0..* Identifier External Ids for this item
... appointment Σ 1..1 Reference(Appointment) Appointment this response relates to
... 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.


... actor Σ 0..1 Reference(Patient | Practitioner | PractitionerRole | RelatedPerson | Device | HealthcareService | Location) Person, Location, HealthcareService, or Device
... 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

PathConformanceValueSetURI
AppointmentResponse.languagepreferredCommonLanguages
Additional Bindings Purpose
AllLanguages Max Binding
http://hl7.org/fhir/ValueSet/languages
from the FHIR Standard
AppointmentResponse.participantTypeextensibleParticipantType
http://hl7.org/fhir/ValueSet/encounter-participant-type
from the FHIR Standard
AppointmentResponse.participantStatusrequiredParticipationStatus
http://hl7.org/fhir/ValueSet/participationstatus|4.0.1
from the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
apr-1errorAppointmentResponseEither the participantType or actor must be specified
: participantType.exists() or actor.exists()
dom-2errorAppointmentResponseIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorAppointmentResponseIf 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-4errorAppointmentResponseIf 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-5errorAppointmentResponseIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceAppointmentResponseA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
inv-1errorAppointmentResponseThe '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'

This structure is derived from AppointmentResponse

Summary

Extensions

This structure refers to these extensions:

Differential View

This structure is derived from AppointmentResponse

NameFlagsCard.TypeDescription & Constraintsdoco
.. AppointmentResponse C 0..* AppointmentResponse A reply to an appointment request for a patient and/or practitioner(s), such as a confirmation or rejection
inv-1: The 'shortNotice' extension can only be used when the 'actor' is of type 'Patient'.
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... shortNotice 0..1 (Complex) Extension
URL: http://hl7.no/fhir/StructureDefinition/no-basis-shortnotice
..... value[x] 0..1 boolean Patient can come on short notice.

doco Documentation for this format

Constraints

IdGradePath(s)DetailsRequirements
inv-1errorAppointmentResponseThe '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'

Key Elements View

NameFlagsCard.TypeDescription & Constraintsdoco
.. AppointmentResponse C 0..* AppointmentResponse A reply to an appointment request for a patient and/or practitioner(s), such as a confirmation or rejection
apr-1: Either the participantType or actor must be specified
inv-1: The 'shortNotice' extension can only be used when the 'actor' is of type 'Patient'.
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... shortNotice 0..1 (Complex) Extension
URL: http://hl7.no/fhir/StructureDefinition/no-basis-shortnotice
..... extension 0..0
..... url 1..1 uri "http://hl7.no/fhir/StructureDefinition/no-basis-shortnotice"
..... value[x] 0..1 boolean Patient can come on short notice.
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... 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

PathConformanceValueSetURI
AppointmentResponse.participantStatusrequiredParticipationStatus
http://hl7.org/fhir/ValueSet/participationstatus|4.0.1
from the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
apr-1errorAppointmentResponseEither the participantType or actor must be specified
: participantType.exists() or actor.exists()
dom-2errorAppointmentResponseIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorAppointmentResponseIf 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-4errorAppointmentResponseIf 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-5errorAppointmentResponseIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceAppointmentResponseA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
inv-1errorAppointmentResponseThe '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'

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. AppointmentResponse C 0..* AppointmentResponse A reply to an appointment request for a patient and/or practitioner(s), such as a confirmation or rejection
apr-1: Either the participantType or actor must be specified
inv-1: The 'shortNotice' extension can only be used when the 'actor' is of type 'Patient'.
... 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
... contained 0..* Resource Contained, inline Resources
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... shortNotice 0..1 (Complex) Extension
URL: http://hl7.no/fhir/StructureDefinition/no-basis-shortnotice
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0
..... url 1..1 uri "http://hl7.no/fhir/StructureDefinition/no-basis-shortnotice"
..... value[x] 0..1 boolean Patient can come on short notice.
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... identifier Σ 0..* Identifier External Ids for this item
... appointment Σ 1..1 Reference(Appointment) Appointment this response relates to
... 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.


... actor Σ 0..1 Reference(Patient | Practitioner | PractitionerRole | RelatedPerson | Device | HealthcareService | Location) Person, Location, HealthcareService, or Device
... 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

PathConformanceValueSetURI
AppointmentResponse.languagepreferredCommonLanguages
Additional Bindings Purpose
AllLanguages Max Binding
http://hl7.org/fhir/ValueSet/languages
from the FHIR Standard
AppointmentResponse.participantTypeextensibleParticipantType
http://hl7.org/fhir/ValueSet/encounter-participant-type
from the FHIR Standard
AppointmentResponse.participantStatusrequiredParticipationStatus
http://hl7.org/fhir/ValueSet/participationstatus|4.0.1
from the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
apr-1errorAppointmentResponseEither the participantType or actor must be specified
: participantType.exists() or actor.exists()
dom-2errorAppointmentResponseIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorAppointmentResponseIf 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-4errorAppointmentResponseIf 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-5errorAppointmentResponseIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceAppointmentResponseA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
inv-1errorAppointmentResponseThe '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'

This structure is derived from AppointmentResponse

Summary

Extensions

This structure refers to these extensions:

 

Other representations of profile: CSV, Excel, Schematron