No Basis Appointment and NO Basis AppointmentResponse
2.2.0-alpha - draft

No Basis Appointment and NO Basis AppointmentResponse - Local Development build (v2.2.0-alpha). See the Directory of published versions

Resource Profile: no-basis-AppointmentResponse

Official URL: http://hl7.no/fhir/StructureDefinition/no-basis-AppointmentResponse Version: 2.2.0-alpha
Active as of 2023-10-05 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 C0..*AppointmentResponseA 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..*ExtensionExtension
Slice: Unordered, Open by value:url
... shortNotice 0..1booleanno-basis-shortnotice
URL: http://hl7.no/fhir/StructureDefinition/no-basis-shortnotice
.... value[x] 0..1booleanPatient 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 C0..*AppointmentResponseA 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'.
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
... shortNotice 0..1booleanno-basis-shortnotice
URL: http://hl7.no/fhir/StructureDefinition/no-basis-shortnotice
.... extension 0..0
.... url 1..1uri"http://hl7.no/fhir/StructureDefinition/no-basis-shortnotice"
.... value[x] 0..1booleanPatient can come on short notice.
... appointment Σ1..1Reference(Appointment)Appointment this response relates to
... participantStatus ?!Σ1..1codeaccepted | declined | tentative | needs-action
Binding: ParticipationStatus (required): The Participation status of an appointment.


doco Documentation for this format

Terminology Bindings

PathConformanceValueSet
AppointmentResponse.participantStatusrequiredParticipationStatus

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 C0..*AppointmentResponseA 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'.
... id Σ0..1idLogical id of this artifact
... meta Σ0..1MetaMetadata about the resource
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... text 0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
... shortNotice 0..1booleanno-basis-shortnotice
URL: http://hl7.no/fhir/StructureDefinition/no-basis-shortnotice
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..0
.... url 1..1uri"http://hl7.no/fhir/StructureDefinition/no-basis-shortnotice"
.... value[x] 0..1booleanPatient can come on short notice.
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... identifier Σ0..*IdentifierExternal Ids for this item
... appointment Σ1..1Reference(Appointment)Appointment this response relates to
... start 0..1instantTime from appointment, or requested new start time
... end 0..1instantTime from appointment, or requested new end time
... participantType Σ0..*CodeableConceptRole of participant in the appointment
Binding: ParticipantType (extensible): Role of participant in encounter.


... actor Σ0..1Reference(Patient | Practitioner | PractitionerRole | RelatedPerson | Device | HealthcareService | Location)Person, Location, HealthcareService, or Device
... participantStatus ?!Σ1..1codeaccepted | declined | tentative | needs-action
Binding: ParticipationStatus (required): The Participation status of an appointment.

... comment 0..1stringAdditional comments

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet
AppointmentResponse.languagepreferredCommonLanguages
Additional Bindings Purpose
AllLanguages Max Binding
AppointmentResponse.participantTypeextensibleParticipantType
AppointmentResponse.participantStatusrequiredParticipationStatus

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 C0..*AppointmentResponseA 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..*ExtensionExtension
Slice: Unordered, Open by value:url
... shortNotice 0..1booleanno-basis-shortnotice
URL: http://hl7.no/fhir/StructureDefinition/no-basis-shortnotice
.... value[x] 0..1booleanPatient 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 C0..*AppointmentResponseA 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'.
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
... shortNotice 0..1booleanno-basis-shortnotice
URL: http://hl7.no/fhir/StructureDefinition/no-basis-shortnotice
.... extension 0..0
.... url 1..1uri"http://hl7.no/fhir/StructureDefinition/no-basis-shortnotice"
.... value[x] 0..1booleanPatient can come on short notice.
... appointment Σ1..1Reference(Appointment)Appointment this response relates to
... participantStatus ?!Σ1..1codeaccepted | declined | tentative | needs-action
Binding: ParticipationStatus (required): The Participation status of an appointment.


doco Documentation for this format

Terminology Bindings

PathConformanceValueSet
AppointmentResponse.participantStatusrequiredParticipationStatus

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 C0..*AppointmentResponseA 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'.
... id Σ0..1idLogical id of this artifact
... meta Σ0..1MetaMetadata about the resource
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... text 0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
... shortNotice 0..1booleanno-basis-shortnotice
URL: http://hl7.no/fhir/StructureDefinition/no-basis-shortnotice
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..0
.... url 1..1uri"http://hl7.no/fhir/StructureDefinition/no-basis-shortnotice"
.... value[x] 0..1booleanPatient can come on short notice.
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... identifier Σ0..*IdentifierExternal Ids for this item
... appointment Σ1..1Reference(Appointment)Appointment this response relates to
... start 0..1instantTime from appointment, or requested new start time
... end 0..1instantTime from appointment, or requested new end time
... participantType Σ0..*CodeableConceptRole of participant in the appointment
Binding: ParticipantType (extensible): Role of participant in encounter.


... actor Σ0..1Reference(Patient | Practitioner | PractitionerRole | RelatedPerson | Device | HealthcareService | Location)Person, Location, HealthcareService, or Device
... participantStatus ?!Σ1..1codeaccepted | declined | tentative | needs-action
Binding: ParticipationStatus (required): The Participation status of an appointment.

... comment 0..1stringAdditional comments

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet
AppointmentResponse.languagepreferredCommonLanguages
Additional Bindings Purpose
AllLanguages Max Binding
AppointmentResponse.participantTypeextensibleParticipantType
AppointmentResponse.participantStatusrequiredParticipationStatus

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