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
| 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:
You can also check for usages in the FHIR IG Statistics
Description of Profiles, Differentials, Snapshots and how the different presentations work.
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
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 |
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() |
0..1 | (Complex) | no-basis-shortnotice URL: http://hl7.no/fhir/StructureDefinition/no-basis-shortnotice | |
![]() ![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url | ||
![]() ![]() ![]() ![]() |
1..1 | uri | "http://hl7.no/fhir/StructureDefinition/no-basis-shortnotice" | |
![]() ![]() ![]() |
0..1 | (Complex) | hn-basis-changeConferenceType URL: http://helsenorge.no/fhir/StructureDefinition/hn-basis-changeConferenceType | |
![]() ![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url | ||
![]() ![]() ![]() ![]() |
1..1 | uri | "http://helsenorge.no/fhir/StructureDefinition/hn-basis-changeConferenceType" | |
![]() ![]() ![]() ![]() |
0..1 | Coding | Pasient askes for changed conference type. Binding: No Basis VirtualServiceType Value Set (required) | |
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() |
Σ | 1..1 | Identifier | External Ids for this item |
![]() ![]() ![]() |
?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . |
![]() ![]() ![]() |
Σ | 1..1 | uri | The namespace for the identifier value Example General: http://www.acme.com/identifiers/patient |
![]() ![]() ![]() |
Σ | 1..1 | string | The value that is unique Example General: 123456 |
![]() ![]() |
Σ | 1..1 | Reference(Appointment) | Appointment this response relates to |
![]() ![]() |
Σ | 1..1 | Reference(Patient) | Use only logical reference |
![]() ![]() ![]() |
Σ | 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 |
![]() ![]() ![]() |
ΣC | 1..1 | Identifier | Logical reference, when literal reference is not known Constraints: inv-a |
![]() ![]() ![]() ![]() |
?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . |
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | The namespace for the identifier value Example General: http://www.acme.com/identifiers/patient |
![]() ![]() ![]() ![]() |
Σ | 1..1 | string | The value that is unique Example General: 123456 |
![]() ![]() |
?!Σ | 1..1 | code | accepted | declined | tentative | needs-action Binding: ParticipationStatus (required): The Participation status of an appointment. |
Documentation for this format | ||||
| 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. |
| 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
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | NoBasisAppointmentResponse | A reply to an appointment request for a patient and/or practitioner(s), such as a confirmation or rejection | |
![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() |
0..1 | (Complex) | hn-basis-changeConferenceType URL: http://helsenorge.no/fhir/StructureDefinition/hn-basis-changeConferenceType | |
![]() ![]() ![]() ![]() |
0..1 | Coding | Pasient askes for changed conference type. | |
![]() ![]() |
1..1 | Identifier | External Ids for this item | |
![]() ![]() ![]() |
1..1 | uri | The namespace for the identifier value | |
![]() ![]() ![]() |
1..1 | string | The value that is unique | |
![]() ![]() |
||||
![]() ![]() ![]() |
0..0 | Literal reference, Relative, internal or absolute URL | ||
![]() ![]() |
||||
![]() ![]() ![]() |
C | 0..* | Coding | Code defined by a terminology system Constraints: inv-4 |
![]() ![]() |
1..1 | Reference(Patient) | Use only logical reference | |
![]() ![]() ![]() |
0..0 | Literal reference, Relative, internal or absolute URL | ||
![]() ![]() ![]() |
1..1 | uri | Type the reference refers to (e.g. "Patient") Required Pattern: Patient | |
![]() ![]() ![]() |
C | 1..1 | Identifier | Logical reference, when literal reference is not known Constraints: inv-a |
![]() ![]() ![]() ![]() |
||||
![]() ![]() ![]() ![]() ![]() |
C | 0..* | Coding | Code defined by a terminology system Constraints: inv-3 |
![]() ![]() ![]() ![]() |
1..1 | uri | The namespace for the identifier value | |
![]() ![]() ![]() ![]() |
1..1 | string | The value that is unique | |
Documentation for this format | ||||
| 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'
|
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
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 | ||||
![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() |
0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||
![]() ![]() |
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..* | Resource | Contained, inline Resources | |||||
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
0..1 | (Complex) | no-basis-shortnotice URL: http://hl7.no/fhir/StructureDefinition/no-basis-shortnotice | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url | ||||||
![]() ![]() ![]() ![]() |
1..1 | uri | "http://hl7.no/fhir/StructureDefinition/no-basis-shortnotice" | |||||
![]() ![]() ![]() ![]() |
0..1 | boolean | Patient can come on short notice. | |||||
![]() ![]() ![]() |
0..1 | (Complex) | hn-basis-changeConferenceType URL: http://helsenorge.no/fhir/StructureDefinition/hn-basis-changeConferenceType | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url | ||||||
![]() ![]() ![]() ![]() |
1..1 | uri | "http://helsenorge.no/fhir/StructureDefinition/hn-basis-changeConferenceType" | |||||
![]() ![]() ![]() ![]() |
0..1 | Coding | Pasient askes for changed conference type. Binding: No Basis VirtualServiceType Value Set (required) | |||||
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() |
Σ | 1..1 | Identifier | External Ids for this item | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . | ||||
![]() ![]() ![]() |
Σ | 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. | ||||
![]() ![]() ![]() |
Σ | 1..1 | uri | The namespace for the identifier value Example General: http://www.acme.com/identifiers/patient | ||||
![]() ![]() ![]() |
Σ | 1..1 | string | The value that is unique Example General: 123456 | ||||
![]() ![]() ![]() |
Σ | 0..1 | Period | Time period when id is/was valid for use | ||||
![]() ![]() ![]() |
Σ | 0..1 | Reference(Organization) | Organization that issued id (may be just text) | ||||
![]() ![]() |
Σ | 1..1 | Reference(Appointment) | Appointment this response relates to | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
Σ | 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). | ||||
![]() ![]() ![]() |
Σ | 0..1 | Identifier | Logical reference, when literal reference is not known | ||||
![]() ![]() ![]() |
Σ | 0..1 | string | Text alternative for the resource | ||||
![]() ![]() |
0..1 | instant | Time from appointment, or requested new start time | |||||
![]() ![]() |
0..1 | instant | Time from appointment, or requested new end time | |||||
![]() ![]() |
Σ | 0..* | CodeableConcept | Role of participant in the appointment Binding: ParticipantType (extensible): Role of participant in encounter. | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
ΣC | 0..* | Coding | Code defined by a terminology system Constraints: inv-4 | ||||
![]() ![]() ![]() |
Σ | 0..1 | string | Plain text representation of the concept | ||||
![]() ![]() |
Σ | 1..1 | Reference(Patient) | Use only logical reference | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
Σ | 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 | ||||
![]() ![]() ![]() |
ΣC | 1..1 | Identifier | Logical reference, when literal reference is not known Constraints: inv-a | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . | ||||
![]() ![]() ![]() ![]() |
Σ | 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. | ||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() |
ΣC | 0..* | Coding | Code defined by a terminology system Constraints: inv-3 | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Plain text representation of the concept | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | The namespace for the identifier value Example General: http://www.acme.com/identifiers/patient | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | string | The value that is unique Example General: 123456 | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | Period | Time period when id is/was valid for use | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | Reference(Organization) | Organization that issued id (may be just text) | ||||
![]() ![]() ![]() |
Σ | 0..1 | string | Text alternative for the resource | ||||
![]() ![]() |
?!Σ | 1..1 | code | accepted | declined | tentative | needs-action Binding: ParticipationStatus (required): The Participation status of an appointment. | ||||
![]() ![]() |
0..1 | string | Additional comments | |||||
Documentation for this format | ||||||||
| 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. |
| 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
Key Elements View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
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 |
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() |
0..1 | (Complex) | no-basis-shortnotice URL: http://hl7.no/fhir/StructureDefinition/no-basis-shortnotice | |
![]() ![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url | ||
![]() ![]() ![]() ![]() |
1..1 | uri | "http://hl7.no/fhir/StructureDefinition/no-basis-shortnotice" | |
![]() ![]() ![]() |
0..1 | (Complex) | hn-basis-changeConferenceType URL: http://helsenorge.no/fhir/StructureDefinition/hn-basis-changeConferenceType | |
![]() ![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url | ||
![]() ![]() ![]() ![]() |
1..1 | uri | "http://helsenorge.no/fhir/StructureDefinition/hn-basis-changeConferenceType" | |
![]() ![]() ![]() ![]() |
0..1 | Coding | Pasient askes for changed conference type. Binding: No Basis VirtualServiceType Value Set (required) | |
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() |
Σ | 1..1 | Identifier | External Ids for this item |
![]() ![]() ![]() |
?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . |
![]() ![]() ![]() |
Σ | 1..1 | uri | The namespace for the identifier value Example General: http://www.acme.com/identifiers/patient |
![]() ![]() ![]() |
Σ | 1..1 | string | The value that is unique Example General: 123456 |
![]() ![]() |
Σ | 1..1 | Reference(Appointment) | Appointment this response relates to |
![]() ![]() |
Σ | 1..1 | Reference(Patient) | Use only logical reference |
![]() ![]() ![]() |
Σ | 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 |
![]() ![]() ![]() |
ΣC | 1..1 | Identifier | Logical reference, when literal reference is not known Constraints: inv-a |
![]() ![]() ![]() ![]() |
?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . |
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | The namespace for the identifier value Example General: http://www.acme.com/identifiers/patient |
![]() ![]() ![]() ![]() |
Σ | 1..1 | string | The value that is unique Example General: 123456 |
![]() ![]() |
?!Σ | 1..1 | code | accepted | declined | tentative | needs-action Binding: ParticipationStatus (required): The Participation status of an appointment. |
Documentation for this format | ||||
| 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. |
| 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
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | NoBasisAppointmentResponse | A reply to an appointment request for a patient and/or practitioner(s), such as a confirmation or rejection | |
![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() |
0..1 | (Complex) | hn-basis-changeConferenceType URL: http://helsenorge.no/fhir/StructureDefinition/hn-basis-changeConferenceType | |
![]() ![]() ![]() ![]() |
0..1 | Coding | Pasient askes for changed conference type. | |
![]() ![]() |
1..1 | Identifier | External Ids for this item | |
![]() ![]() ![]() |
1..1 | uri | The namespace for the identifier value | |
![]() ![]() ![]() |
1..1 | string | The value that is unique | |
![]() ![]() |
||||
![]() ![]() ![]() |
0..0 | Literal reference, Relative, internal or absolute URL | ||
![]() ![]() |
||||
![]() ![]() ![]() |
C | 0..* | Coding | Code defined by a terminology system Constraints: inv-4 |
![]() ![]() |
1..1 | Reference(Patient) | Use only logical reference | |
![]() ![]() ![]() |
0..0 | Literal reference, Relative, internal or absolute URL | ||
![]() ![]() ![]() |
1..1 | uri | Type the reference refers to (e.g. "Patient") Required Pattern: Patient | |
![]() ![]() ![]() |
C | 1..1 | Identifier | Logical reference, when literal reference is not known Constraints: inv-a |
![]() ![]() ![]() ![]() |
||||
![]() ![]() ![]() ![]() ![]() |
C | 0..* | Coding | Code defined by a terminology system Constraints: inv-3 |
![]() ![]() ![]() ![]() |
1..1 | uri | The namespace for the identifier value | |
![]() ![]() ![]() ![]() |
1..1 | string | The value that is unique | |
Documentation for this format | ||||
| 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
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
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 | ||||
![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() |
0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||
![]() ![]() |
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..* | Resource | Contained, inline Resources | |||||
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
0..1 | (Complex) | no-basis-shortnotice URL: http://hl7.no/fhir/StructureDefinition/no-basis-shortnotice | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url | ||||||
![]() ![]() ![]() ![]() |
1..1 | uri | "http://hl7.no/fhir/StructureDefinition/no-basis-shortnotice" | |||||
![]() ![]() ![]() ![]() |
0..1 | boolean | Patient can come on short notice. | |||||
![]() ![]() ![]() |
0..1 | (Complex) | hn-basis-changeConferenceType URL: http://helsenorge.no/fhir/StructureDefinition/hn-basis-changeConferenceType | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url | ||||||
![]() ![]() ![]() ![]() |
1..1 | uri | "http://helsenorge.no/fhir/StructureDefinition/hn-basis-changeConferenceType" | |||||
![]() ![]() ![]() ![]() |
0..1 | Coding | Pasient askes for changed conference type. Binding: No Basis VirtualServiceType Value Set (required) | |||||
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() |
Σ | 1..1 | Identifier | External Ids for this item | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . | ||||
![]() ![]() ![]() |
Σ | 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. | ||||
![]() ![]() ![]() |
Σ | 1..1 | uri | The namespace for the identifier value Example General: http://www.acme.com/identifiers/patient | ||||
![]() ![]() ![]() |
Σ | 1..1 | string | The value that is unique Example General: 123456 | ||||
![]() ![]() ![]() |
Σ | 0..1 | Period | Time period when id is/was valid for use | ||||
![]() ![]() ![]() |
Σ | 0..1 | Reference(Organization) | Organization that issued id (may be just text) | ||||
![]() ![]() |
Σ | 1..1 | Reference(Appointment) | Appointment this response relates to | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
Σ | 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). | ||||
![]() ![]() ![]() |
Σ | 0..1 | Identifier | Logical reference, when literal reference is not known | ||||
![]() ![]() ![]() |
Σ | 0..1 | string | Text alternative for the resource | ||||
![]() ![]() |
0..1 | instant | Time from appointment, or requested new start time | |||||
![]() ![]() |
0..1 | instant | Time from appointment, or requested new end time | |||||
![]() ![]() |
Σ | 0..* | CodeableConcept | Role of participant in the appointment Binding: ParticipantType (extensible): Role of participant in encounter. | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
ΣC | 0..* | Coding | Code defined by a terminology system Constraints: inv-4 | ||||
![]() ![]() ![]() |
Σ | 0..1 | string | Plain text representation of the concept | ||||
![]() ![]() |
Σ | 1..1 | Reference(Patient) | Use only logical reference | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
Σ | 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 | ||||
![]() ![]() ![]() |
ΣC | 1..1 | Identifier | Logical reference, when literal reference is not known Constraints: inv-a | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . | ||||
![]() ![]() ![]() ![]() |
Σ | 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. | ||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() |
ΣC | 0..* | Coding | Code defined by a terminology system Constraints: inv-3 | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Plain text representation of the concept | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | The namespace for the identifier value Example General: http://www.acme.com/identifiers/patient | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | string | The value that is unique Example General: 123456 | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | Period | Time period when id is/was valid for use | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | Reference(Organization) | Organization that issued id (may be just text) | ||||
![]() ![]() ![]() |
Σ | 0..1 | string | Text alternative for the resource | ||||
![]() ![]() |
?!Σ | 1..1 | code | accepted | declined | tentative | needs-action Binding: ParticipationStatus (required): The Participation status of an appointment. | ||||
![]() ![]() |
0..1 | string | Additional comments | |||||
Documentation for this format | ||||||||
| 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. |
| 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
Other representations of profile: CSV, Excel, Schematron