0.9.0 - draft
NyTimelosingIG - Local Development build (v0.9.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions
Official URL: http://helsenorge.no/fhir/StructureDefinition/hn-basis-appointment | Version: 0.9.0 | |||
Draft as of 2025-02-15 | Computable Name: HnBasisAppointment |
Base profile for Helsenorge Appointment information. Defined by Helsenorge based on national profile.
Usage:
Description of Profiles, Differentials, Snapshots and how the different presentations work.
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() |
C | 0..* | NoBasisAppointment | A booking of a healthcare event among patient(s), practitioner(s), related person(s) and/or device(s) for a specific date/time. This may result in one or more Encounter(s) dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated dom-3: 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 dom-6: A resource should have narrative for robust management dom-5: If a resource is contained in another resource, it SHALL NOT have a security label app-4: Cancelation reason is only used for appointments that have been cancelled, or no-show app-3: Only proposed or cancelled appointments can be missing start/end dates app-2: Either start and end are specified, or neither cancelationReason-inv: Cancelation reason MUST be set when status=cancelled and serviceCategory=27 (that is Specialist Medical) contained-location-must-have-managingorganization: Contained location must have managing organization |
![]() ![]() ![]() |
Σ | 0..1 | Meta | Information about use of metadata in FHIR resources in helsenorge: ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() |
Σ | 1..1 | instant | LastUpdated should always be present ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() |
S | 0..* | (Complex) | Virtual Service URL: http://hl7.no/fhir/StructureDefinition/no-basis-virtual-service ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
![]() ![]() ![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | Extension | Extension ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
N | 0..0 | ||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "channelType" | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | Coding | Valuset for virtual servie. Binding: Hn Basis VirtualServiceType Value Set (required) ele-1: All FHIR elements must have a @value or children | |
![]() ![]() ![]() ![]() ![]() ![]() |
N | 0..1 | Extension | Contact address/number ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
N | 0..0 | ||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "virtualAddress" | |
![]() ![]() ![]() ![]() ![]() ![]() |
N | 0..* | Extension | Address to see alternative connection details ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
N | 0..0 | ||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "additionalInfo" | |
![]() ![]() ![]() ![]() ![]() ![]() |
N | 0..1 | Extension | Maximum number of participants supported by the virtual service. ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
N | 0..0 | ||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "maxParticipants" | |
![]() ![]() ![]() ![]() ![]() ![]() |
N | 0..1 | Extension | Session Key required by the virtual service ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
N | 0..0 | ||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "sessionKey" | |
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "http://hl7.no/fhir/StructureDefinition/no-basis-virtual-service" | |
![]() ![]() ![]() ![]() |
SN | 0..1 | boolean | no-basis-group URL: http://hl7.no/fhir/StructureDefinition/no-basis-group ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
![]() ![]() ![]() ![]() |
SN | 0..1 | Reference(no-basis-Appointment) | no-basis-partof URL: http://hl7.no/fhir/StructureDefinition/no-basis-partof ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
![]() ![]() ![]() ![]() |
S | 0..1 | boolean | no-basis-recurring URL: http://helsenorge.no/fhir/StructureDefinition/hn-basis-Recurring ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
![]() ![]() ![]() ![]() |
0..1 | Coding | hn-basis-postponementreason URL: http://helsenorge.no/fhir/StructureDefinition/hn-basis-postponementreason Binding: urn:oid:2.16.578.1.12.4.1.1.8446 (preferred): Volven ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both | |
![]() ![]() ![]() ![]() |
S | 0..1 | Coding | hn-basis-consultationType URL: http://helsenorge.no/fhir/StructureDefinition/hn-basis-consultationType Binding: urn:oid:2.16.578.1.12.4.1.1.9505 (preferred) ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
![]() ![]() ![]() |
?!N | 0..* | Extension | Extensions that cannot be ignored Slice: Unordered, Open by value:url ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
![]() ![]() ![]() |
Σ | 1..1 | Identifier | External Ids for this item ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() |
?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | The namespace for the identifier value ele-1: All FHIR elements must have a @value or children Example General: http://www.acme.com/identifiers/patient |
![]() ![]() ![]() ![]() |
Σ | 1..1 | string | The value that is unique ele-1: All FHIR elements must have a @value or children Example General: 123456 |
![]() ![]() ![]() ![]() |
ΣC | 1..1 | Reference(Organization | no-basis-Organization) | Organization that issued id (may be just text) ele-1: All FHIR elements must have a @value or children ref-1: SHALL have a contained resource if a local reference is provided |
![]() ![]() ![]() |
?!Σ | 1..1 | code | proposed | pending | booked | arrived | fulfilled | cancelled | noshow | entered-in-error | checked-in | waitlist Binding: AppointmentStatus (required): The free/busy status of an appointment. ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | Reason for cancelation Binding: urn:oid:2.16.578.1.12.4.1.1.8445 (preferred) ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() |
ΣC | 0..* | Coding | Code defined by a terminology system ele-1: All FHIR elements must have a @value or children inv-4: If code is used in a codable consept the system must be used |
![]() ![]() ![]() |
Σ | 1..1 | CodeableConcept | A broad categorization of the service that is to be performed during this appointment Binding: hn-appointment-ServiceCategory-code-vs (required) ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() |
ΣC | 0..* | Coding | Code defined by a terminology system ele-1: All FHIR elements must have a @value or children inv-4: If code is used in a codable consept the system must be used |
![]() ![]() ![]() |
Σ | 1..1 | CodeableConcept | The style of appointment or patient that has been booked in the slot (not service type) Binding: hl7VS-appointmentReasonCodes (preferred) ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() |
ΣC | 0..* | Coding | Recomended code systems for no-basis-Appointment. Slice: Unordered, Open by value:$this ele-1: All FHIR elements must have a @value or children inv-4: If code is used in a codable consept the system must be used |
![]() ![]() ![]() ![]() ![]() |
ΣN | 0..1 | Coding | Volven 8406 Binding: urn:oid:2.16.578.1.12.4.1.1.8406 (required): Volven ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() ![]() |
ΣN | 0..1 | Coding | Volven 8432 Binding: urn:oid:2.16.578.1.12.4.1.1.8432 (required): Volven ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() ![]() |
ΣN | 0..1 | Coding | Volven 7617 Binding: urn:oid:2.16.578.1.12.4.1.1.7617 (required): Volven ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() ![]() |
SΣ | 0..1 | Coding | Codes from value set Binding: hn-appointment-AppointmentType-code-vs (required) ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
C | 0..1 | string | Shown on a subject line in a meeting request, or appointment list ele-1: All FHIR elements must have a @value or children must-be-max-1000-chars: Length MUST be <= 1000 |
![]() ![]() ![]() |
C | 1..* | Reference(Resource) | Spesial instructions for use. ele-1: All FHIR elements must have a @value or children ref-1: SHALL have a contained resource if a local reference is provided |
![]() ![]() ![]() |
C | 0..1 | string | Detailed information and instructions for the patient ele-1: All FHIR elements must have a @value or children must-be-max-1000-chars: Length MUST be <= 1000 |
![]() ![]() ![]() |
C | 1..* | BackboneElement | Participants involved in appointment ele-1: All FHIR elements must have a @value or children app-1: Either the type or actor on the participant SHALL be specified appointment-participant-actor-patient-reference-identifier: When actor is a Patient logical reference MUST be used appointment-participant-actor-patient-reference-reference: When actor is a Patient literal reference (relative, internal or absolute) reference MUST not be used |
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
![]() ![]() ![]() ![]() |
ΣC | 1..1 | Reference(no-basis-Patient | no-basis-Practitioner | no-basis-PractitionerRole | no-basis-Location | no-basis-RelatedPerson | Device | no-basis-HealthcareService) | When actor is a Patient logical reference MUST be used ele-1: All FHIR elements must have a @value or children ref-1: SHALL have a contained resource if a local reference is provided |
![]() ![]() ![]() ![]() |
Σ | 1..1 | code | accepted | declined | tentative | needs-action Binding: ParticipationStatus (required): The Participation status of an appointment. ele-1: All FHIR elements must have a @value or children |
![]() |
Path | Conformance | ValueSet | URI |
Appointment.extension:virtualService.extension:channelType.value[x] | required | HnBasisVirtualServiceTypehttp://helsenorge.no/fhir/ValueSet/hn-basis-virtual-service-type.valueset from this IG | |
Appointment.identifier.use | required | IdentifierUsehttp://hl7.org/fhir/ValueSet/identifier-use|4.0.1 from the FHIR Standard | |
Appointment.status | required | AppointmentStatushttp://hl7.org/fhir/ValueSet/appointmentstatus|4.0.1 from the FHIR Standard | |
Appointment.cancelationReason | preferred |
urn:oid:2.16.578.1.12.4.1.1.8445 | |
Appointment.serviceCategory | required | HnAppointmentServiceCategoryVShttp://helsenorge.no/fhir/ValueSet/hn-appointment-ServiceCategory-code-vs from this IG | |
Appointment.appointmentType | preferred | Hl7VSAppointmentReasonCodeshttp://terminology.hl7.org/ValueSet/v2-0276 | |
Appointment.appointmentType.coding:omsorgsNiva | required |
urn:oid:2.16.578.1.12.4.1.1.8406 | |
Appointment.appointmentType.coding:kontaktType | required |
urn:oid:2.16.578.1.12.4.1.1.8432 | |
Appointment.appointmentType.coding:innbygger | required |
urn:oid:2.16.578.1.12.4.1.1.7617 | |
Appointment.appointmentType.coding:helsenorge | required | HnAppointmentAppointmentTypeVShttp://helsenorge.no/fhir/ValueSet/hn-appointment-AppointmentType-code-vs from this IG | |
Appointment.participant.status | required | ParticipationStatushttp://hl7.org/fhir/ValueSet/participationstatus|4.0.1 from the FHIR Standard |
Id | Grade | Path(s) | Details | Requirements |
app-1 | error | Appointment.participant | Either the type or actor on the participant SHALL be specified : type.exists() or actor.exists() | |
app-2 | error | Appointment | Either start and end are specified, or neither : start.exists() = end.exists() | |
app-3 | error | Appointment | Only proposed or cancelled appointments can be missing start/end dates : (start.exists() and end.exists()) or (status in ('proposed' | 'cancelled' | 'waitlist')) | |
app-4 | error | Appointment | Cancelation reason is only used for appointments that have been cancelled, or no-show : Appointment.cancelationReason.exists() implies (Appointment.status='no-show' or Appointment.status='cancelled') | |
appointment-participant-actor-patient-reference-identifier | warning | Appointment.participant | When actor is a Patient logical reference MUST be used : actor.type = 'Patient' implies actor.identifier.exists() | |
appointment-participant-actor-patient-reference-reference | warning | Appointment.participant | When actor is a Patient literal reference (relative, internal or absolute) reference MUST not be used : (actor.type = 'Patient') implies actor.reference.exists().not() | |
cancelationReason-inv | error | Appointment | Cancelation reason MUST be set when status=cancelled and serviceCategory=27 (that is Specialist Medical) : (status='canceled' and serviceCategory.coding.code='27') implies cancelationReason.exists() | |
contained-location-must-have-managingorganization | error | Appointment | Contained location must have managing organization : Appointment.contained.where($this is Location).empty() or Appointment.contained.where($this is Location).all(managingOrganization.exists()) | |
dom-2 | error | Appointment | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
dom-3 | error | Appointment | 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 | Appointment | 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 | Appointment | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
dom-6 | best practice | Appointment | 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** elements | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
inv-4 | error | Appointment.cancelationReason.coding, Appointment.serviceCategory.coding, Appointment.appointmentType.coding | If code is used in a codable consept the system must be used : code > '' implies (system > '' ) | |
must-be-max-1000-chars | error | Appointment.description, Appointment.patientInstruction | Length MUST be <= 1000 : $this.length() <= 1000 | |
ref-1 | error | Appointment.identifier.assigner, Appointment.supportingInformation, Appointment.participant.actor | SHALL have a contained resource if a local reference is provided : reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) |
This structure is derived from NoBasisAppointment
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() |
C | 0..* | NoBasisAppointment | A booking of a healthcare event among patient(s), practitioner(s), related person(s) and/or device(s) for a specific date/time. This may result in one or more Encounter(s) cancelationReason-inv: Cancelation reason MUST be set when status=cancelled and serviceCategory=27 (that is Specialist Medical) contained-location-must-have-managingorganization: Contained location must have managing organization |
![]() ![]() ![]() |
0..1 | Meta | Information about use of metadata in FHIR resources in helsenorge: | |
![]() ![]() ![]() ![]() |
1..1 | instant | LastUpdated should always be present | |
![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() |
0..* | NoBasisVirtualService | Virtual Service | |
![]() ![]() ![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | Extension | Extension | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | Coding | Valuset for virtual servie. Binding: Hn Basis VirtualServiceType Value Set (required) | |
![]() ![]() ![]() ![]() |
S | 0..1 | boolean | no-basis-recurring URL: http://helsenorge.no/fhir/StructureDefinition/hn-basis-Recurring |
![]() ![]() ![]() ![]() |
0..1 | Coding | hn-basis-postponementreason URL: http://helsenorge.no/fhir/StructureDefinition/hn-basis-postponementreason Binding: urn:oid:2.16.578.1.12.4.1.1.8446 (preferred): Volven | |
![]() ![]() ![]() ![]() |
S | 0..1 | Coding | hn-basis-consultationType URL: http://helsenorge.no/fhir/StructureDefinition/hn-basis-consultationType Binding: urn:oid:2.16.578.1.12.4.1.1.9505 (preferred) |
![]() ![]() ![]() |
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 | |
![]() ![]() ![]() ![]() |
1..1 | Reference(Organization | no-basis-Organization) | Organization that issued id (may be just text) | |
![]() ![]() ![]() |
0..1 | CodeableConcept | Reason for cancelation Binding: urn:oid:2.16.578.1.12.4.1.1.8445 (preferred) | |
![]() ![]() ![]() ![]() |
C | 0..* | Coding | Code defined by a terminology system inv-4: If code is used in a codable consept the system must be used |
![]() ![]() ![]() |
1..1 | CodeableConcept | A broad categorization of the service that is to be performed during this appointment Binding: hn-appointment-ServiceCategory-code-vs (required) | |
![]() ![]() ![]() ![]() |
C | 0..* | Coding | Code defined by a terminology system inv-4: If code is used in a codable consept the system must be used |
![]() ![]() ![]() |
||||
![]() ![]() ![]() ![]() |
C | 0..* | Coding | Code defined by a terminology system inv-4: If code is used in a codable consept the system must be used |
![]() ![]() ![]() |
||||
![]() ![]() ![]() ![]() |
C | 0..* | Coding | Code defined by a terminology system inv-4: If code is used in a codable consept the system must be used |
![]() ![]() ![]() |
1..1 | CodeableConcept | The style of appointment or patient that has been booked in the slot (not service type) | |
![]() ![]() ![]() ![]() |
C | 0..* | Coding | Recomended code systems for no-basis-Appointment. inv-4: If code is used in a codable consept the system must be used |
![]() ![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() ![]() |
S | 0..1 | Coding | Codes from value set Binding: hn-appointment-AppointmentType-code-vs (required) |
![]() ![]() ![]() |
||||
![]() ![]() ![]() ![]() |
C | 0..* | Coding | Code defined by a terminology system inv-4: If code is used in a codable consept the system must be used |
![]() ![]() ![]() |
C | 0..1 | string | Shown on a subject line in a meeting request, or appointment list must-be-max-1000-chars: Length MUST be <= 1000 |
![]() ![]() ![]() |
1..* | Reference(Resource) | Spesial instructions for use. | |
![]() ![]() ![]() |
C | 0..1 | string | Detailed information and instructions for the patient must-be-max-1000-chars: Length MUST be <= 1000 |
![]() ![]() ![]() |
C | 1..* | BackboneElement | Participants involved in appointment appointment-participant-actor-patient-reference-identifier: When actor is a Patient logical reference MUST be used appointment-participant-actor-patient-reference-reference: When actor is a Patient literal reference (relative, internal or absolute) reference MUST not be used |
![]() ![]() ![]() ![]() |
||||
![]() ![]() ![]() ![]() ![]() |
C | 0..* | Coding | Code defined by a terminology system inv-4: If code is used in a codable consept the system must be used |
![]() ![]() ![]() ![]() |
1..1 | Reference(no-basis-Patient | no-basis-Practitioner | no-basis-PractitionerRole | no-basis-Location | no-basis-RelatedPerson | Device | no-basis-HealthcareService) | When actor is a Patient logical reference MUST be used | |
![]() |
Path | Conformance | ValueSet | URI |
Appointment.extension:virtualService.extension:channelType.value[x] | required | HnBasisVirtualServiceTypehttp://helsenorge.no/fhir/ValueSet/hn-basis-virtual-service-type.valueset from this IG | |
Appointment.cancelationReason | preferred |
urn:oid:2.16.578.1.12.4.1.1.8445 | |
Appointment.serviceCategory | required | HnAppointmentServiceCategoryVShttp://helsenorge.no/fhir/ValueSet/hn-appointment-ServiceCategory-code-vs from this IG | |
Appointment.appointmentType.coding:helsenorge | required | HnAppointmentAppointmentTypeVShttp://helsenorge.no/fhir/ValueSet/hn-appointment-AppointmentType-code-vs from this IG |
Id | Grade | Path(s) | Details | Requirements |
appointment-participant-actor-patient-reference-identifier | warning | Appointment.participant | When actor is a Patient logical reference MUST be used : actor.type = 'Patient' implies actor.identifier.exists() | |
appointment-participant-actor-patient-reference-reference | warning | Appointment.participant | When actor is a Patient literal reference (relative, internal or absolute) reference MUST not be used : (actor.type = 'Patient') implies actor.reference.exists().not() | |
cancelationReason-inv | error | Appointment | Cancelation reason MUST be set when status=cancelled and serviceCategory=27 (that is Specialist Medical) : (status='canceled' and serviceCategory.coding.code='27') implies cancelationReason.exists() | |
contained-location-must-have-managingorganization | error | Appointment | Contained location must have managing organization : Appointment.contained.where($this is Location).empty() or Appointment.contained.where($this is Location).all(managingOrganization.exists()) | |
inv-4 | error | Appointment.cancelationReason.coding, Appointment.serviceCategory.coding, Appointment.serviceType.coding, Appointment.specialty.coding, Appointment.appointmentType.coding, Appointment.reasonCode.coding, Appointment.participant.type.coding | If code is used in a codable consept the system must be used : code > '' implies (system > '' ) | |
must-be-max-1000-chars | error | Appointment.description, Appointment.patientInstruction | Length MUST be <= 1000 : $this.length() <= 1000 |
Name | Flags | Card. | Type | Description & Constraints![]() | ||||
---|---|---|---|---|---|---|---|---|
![]() ![]() |
C | 0..* | NoBasisAppointment | A booking of a healthcare event among patient(s), practitioner(s), related person(s) and/or device(s) for a specific date/time. This may result in one or more Encounter(s) app-4: Cancelation reason is only used for appointments that have been cancelled, or no-show app-3: Only proposed or cancelled appointments can be missing start/end dates app-2: Either start and end are specified, or neither cancelationReason-inv: Cancelation reason MUST be set when status=cancelled and serviceCategory=27 (that is Specialist Medical) contained-location-must-have-managingorganization: Contained location must have managing organization | ||||
![]() ![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]() ![]() |
Σ | 0..1 | Meta | Information about use of metadata in FHIR resources in helsenorge: | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
N | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | id | Version specific identifier | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | instant | LastUpdated should always be present | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | uri | Identifies where the resource comes from | ||||
![]() ![]() ![]() ![]() |
Σ | 0..* | canonical(StructureDefinition) | Profiles this resource claims to conform to | ||||
![]() ![]() ![]() ![]() |
Σ | 0..* | Coding | Security Labels applied to this resource Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System. | ||||
![]() ![]() ![]() ![]() |
Σ | 0..* | Coding | Tags applied to this resource Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones". | ||||
![]() ![]() ![]() |
?!Σ | 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 | |||||
![]() ![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() ![]() |
N | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | ||||
![]() ![]() ![]() ![]() |
S | 0..* | (Complex) | Virtual Service URL: http://hl7.no/fhir/StructureDefinition/no-basis-virtual-service | ||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() |
N | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | Extension | Extension | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
N | 0..0 | ||||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "channelType" | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | Coding | Valuset for virtual servie. Binding: Hn Basis VirtualServiceType Value Set (required) | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
N | 0..1 | Extension | Contact address/number | ||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
N | 0..0 | ||||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "virtualAddress" | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
N | 0..1 | Value of extension | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
string | |||||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
url | |||||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
ContactPoint | |||||||
![]() ![]() ![]() ![]() ![]() ![]() |
N | 0..* | Extension | Address to see alternative connection details | ||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
N | 0..0 | ||||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "additionalInfo" | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
N | 0..1 | url | Value of extension | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
N | 0..1 | Extension | Maximum number of participants supported by the virtual service. | ||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
N | 0..0 | ||||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "maxParticipants" | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
N | 0..1 | positiveInt | Value of extension | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
N | 0..1 | Extension | Session Key required by the virtual service | ||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
N | 0..0 | ||||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "sessionKey" | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
N | 0..1 | string | Value of extension | ||||
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "http://hl7.no/fhir/StructureDefinition/no-basis-virtual-service" | |||||
![]() ![]() ![]() ![]() |
SN | 0..1 | boolean | no-basis-group URL: http://hl7.no/fhir/StructureDefinition/no-basis-group | ||||
![]() ![]() ![]() ![]() |
SN | 0..1 | Reference(no-basis-Appointment) | no-basis-partof URL: http://hl7.no/fhir/StructureDefinition/no-basis-partof | ||||
![]() ![]() ![]() ![]() |
S | 0..1 | boolean | no-basis-recurring URL: http://helsenorge.no/fhir/StructureDefinition/hn-basis-Recurring | ||||
![]() ![]() ![]() ![]() |
0..1 | Coding | hn-basis-postponementreason URL: http://helsenorge.no/fhir/StructureDefinition/hn-basis-postponementreason Binding: urn:oid:2.16.578.1.12.4.1.1.8446 (preferred): Volven | |||||
![]() ![]() ![]() ![]() |
S | 0..1 | Coding | hn-basis-consultationType URL: http://helsenorge.no/fhir/StructureDefinition/hn-basis-consultationType Binding: urn:oid:2.16.578.1.12.4.1.1.9505 (preferred) | ||||
![]() ![]() ![]() |
?!N | 0..* | Extension | Extensions that cannot be ignored Slice: Unordered, Open by value:url | ||||
![]() ![]() ![]() |
Σ | 1..1 | Identifier | External Ids for this item | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
N | 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 | ||||
![]() ![]() ![]() ![]() |
ΣC | 0..1 | Period | Time period when id is/was valid for use per-1: If present, start SHALL have a lower value than end | ||||
![]() ![]() ![]() ![]() |
ΣC | 1..1 | Reference(Organization | no-basis-Organization) | Organization that issued id (may be just text) ref-1: SHALL have a contained resource if a local reference is provided | ||||
![]() ![]() ![]() |
?!Σ | 1..1 | code | proposed | pending | booked | arrived | fulfilled | cancelled | noshow | entered-in-error | checked-in | waitlist Binding: AppointmentStatus (required): The free/busy status of an appointment. | ||||
![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | Reason for cancelation Binding: urn:oid:2.16.578.1.12.4.1.1.8445 (preferred) | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
N | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | ||||
![]() ![]() ![]() ![]() |
ΣC | 0..* | Coding | Code defined by a terminology system inv-4: If code is used in a codable consept the system must be used | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Plain text representation of the concept | ||||
![]() ![]() ![]() |
Σ | 1..1 | CodeableConcept | A broad categorization of the service that is to be performed during this appointment Binding: hn-appointment-ServiceCategory-code-vs (required) | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
N | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | ||||
![]() ![]() ![]() ![]() |
ΣC | 0..* | Coding | Code defined by a terminology system inv-4: If code is used in a codable consept the system must be used | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Plain text representation of the concept | ||||
![]() ![]() ![]() |
Σ | 0..* | CodeableConcept | The specific service that is to be performed during this appointment Binding: ServiceType (example) | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
N | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | ||||
![]() ![]() ![]() ![]() |
ΣC | 0..* | Coding | Code defined by a terminology system inv-4: If code is used in a codable consept the system must be used | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Plain text representation of the concept | ||||
![]() ![]() ![]() |
Σ | 0..* | CodeableConcept | The specialty of a practitioner that would be required to perform the service requested in this appointment Binding: PracticeSettingCodeValueSet (preferred) | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
N | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | ||||
![]() ![]() ![]() ![]() |
ΣC | 0..* | Coding | Code defined by a terminology system inv-4: If code is used in a codable consept the system must be used | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Plain text representation of the concept | ||||
![]() ![]() ![]() |
Σ | 1..1 | CodeableConcept | The style of appointment or patient that has been booked in the slot (not service type) Binding: hl7VS-appointmentReasonCodes (preferred) | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
N | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | ||||
![]() ![]() ![]() ![]() |
ΣC | 0..* | Coding | Recomended code systems for no-basis-Appointment. Slice: Unordered, Open by value:$this inv-4: If code is used in a codable consept the system must be used | ||||
![]() ![]() ![]() ![]() ![]() |
ΣN | 0..1 | Coding | Volven 8406 Binding: urn:oid:2.16.578.1.12.4.1.1.8406 (required): Volven | ||||
![]() ![]() ![]() ![]() ![]() |
ΣN | 0..1 | Coding | Volven 8432 Binding: urn:oid:2.16.578.1.12.4.1.1.8432 (required): Volven | ||||
![]() ![]() ![]() ![]() ![]() |
ΣN | 0..1 | Coding | Volven 7617 Binding: urn:oid:2.16.578.1.12.4.1.1.7617 (required): Volven | ||||
![]() ![]() ![]() ![]() ![]() |
SΣ | 0..1 | Coding | Codes from value set Binding: hn-appointment-AppointmentType-code-vs (required) | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Plain text representation of the concept | ||||
![]() ![]() ![]() |
Σ | 0..* | CodeableConcept | Coded reason this appointment is scheduled Binding: EncounterReasonCodes (preferred): The Reason for the appointment to take place. | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
N | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | ||||
![]() ![]() ![]() ![]() |
ΣC | 0..* | Coding | Code defined by a terminology system inv-4: If code is used in a codable consept the system must be used | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Plain text representation of the concept | ||||
![]() ![]() ![]() |
C | 0..* | Reference(Condition | Procedure | Observation | ImmunizationRecommendation) | Reason the appointment is to take place (resource) ref-1: SHALL have a contained resource if a local reference is provided | ||||
![]() ![]() ![]() |
0..1 | unsignedInt | Used to make informed decisions if needing to re-prioritize | |||||
![]() ![]() ![]() |
C | 0..1 | string | Shown on a subject line in a meeting request, or appointment list must-be-max-1000-chars: Length MUST be <= 1000 | ||||
![]() ![]() ![]() |
C | 1..* | Reference(Resource) | Spesial instructions for use. ref-1: SHALL have a contained resource if a local reference is provided | ||||
![]() ![]() ![]() |
Σ | 0..1 | instant | When appointment is to take place | ||||
![]() ![]() ![]() |
Σ | 0..1 | instant | When appointment is to conclude | ||||
![]() ![]() ![]() |
0..1 | positiveInt | Can be less than start/end (e.g. estimate) | |||||
![]() ![]() ![]() |
C | 0..* | Reference(Slot) | The slots that this appointment is filling ref-1: SHALL have a contained resource if a local reference is provided | ||||
![]() ![]() ![]() |
0..1 | dateTime | The date that this appointment was initially created | |||||
![]() ![]() ![]() |
0..1 | string | Additional comments | |||||
![]() ![]() ![]() |
C | 0..1 | string | Detailed information and instructions for the patient must-be-max-1000-chars: Length MUST be <= 1000 | ||||
![]() ![]() ![]() |
C | 0..* | Reference(ServiceRequest) | The service request this appointment is allocated to assess ref-1: SHALL have a contained resource if a local reference is provided | ||||
![]() ![]() ![]() |
C | 1..* | BackboneElement | Participants involved in appointment app-1: Either the type or actor on the participant SHALL be specified appointment-participant-actor-patient-reference-identifier: When actor is a Patient logical reference MUST be used appointment-participant-actor-patient-reference-reference: When actor is a Patient literal reference (relative, internal or absolute) reference MUST not be used | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
N | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | ||||
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() |
Σ | 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 | |||||
![]() ![]() ![]() ![]() ![]() |
N | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | ||||
![]() ![]() ![]() ![]() ![]() |
ΣC | 0..* | Coding | Code defined by a terminology system inv-4: If code is used in a codable consept the system must be used | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Plain text representation of the concept | ||||
![]() ![]() ![]() ![]() |
ΣC | 1..1 | Reference(no-basis-Patient | no-basis-Practitioner | no-basis-PractitionerRole | no-basis-Location | no-basis-RelatedPerson | Device | no-basis-HealthcareService) | When actor is a Patient logical reference MUST be used ref-1: SHALL have a contained resource if a local reference is provided | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | code | required | optional | information-only Binding: ParticipantRequired (required): Is the Participant required to attend the appointment. | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | code | accepted | declined | tentative | needs-action Binding: ParticipationStatus (required): The Participation status of an appointment. | ||||
![]() ![]() ![]() ![]() |
C | 0..1 | Period | Participation period of the actor per-1: If present, start SHALL have a lower value than end | ||||
![]() ![]() ![]() |
C | 0..* | Period | Potential date/time interval(s) requested to allocate the appointment within per-1: If present, start SHALL have a lower value than end | ||||
![]() |
Path | Conformance | ValueSet | URI | |||
Appointment.meta.security | extensible | All Security Labelshttp://hl7.org/fhir/ValueSet/security-labels from the FHIR Standard | ||||
Appointment.meta.tag | example | CommonTagshttp://hl7.org/fhir/ValueSet/common-tags from the FHIR Standard | ||||
Appointment.language | preferred | CommonLanguageshttp://hl7.org/fhir/ValueSet/languages from the FHIR Standard
| ||||
Appointment.extension:virtualService.extension:channelType.value[x] | required | HnBasisVirtualServiceTypehttp://helsenorge.no/fhir/ValueSet/hn-basis-virtual-service-type.valueset from this IG | ||||
Appointment.identifier.use | required | IdentifierUsehttp://hl7.org/fhir/ValueSet/identifier-use|4.0.1 from the FHIR Standard | ||||
Appointment.identifier.type | extensible | Identifier Type Codeshttp://hl7.org/fhir/ValueSet/identifier-type from the FHIR Standard | ||||
Appointment.status | required | AppointmentStatushttp://hl7.org/fhir/ValueSet/appointmentstatus|4.0.1 from the FHIR Standard | ||||
Appointment.cancelationReason | preferred |
urn:oid:2.16.578.1.12.4.1.1.8445 | ||||
Appointment.serviceCategory | required | HnAppointmentServiceCategoryVShttp://helsenorge.no/fhir/ValueSet/hn-appointment-ServiceCategory-code-vs from this IG | ||||
Appointment.serviceType | example | ServiceTypehttp://hl7.org/fhir/ValueSet/service-type from the FHIR Standard | ||||
Appointment.specialty | preferred | PracticeSettingCodeValueSethttp://hl7.org/fhir/ValueSet/c80-practice-codes from the FHIR Standard | ||||
Appointment.appointmentType | preferred | Hl7VSAppointmentReasonCodeshttp://terminology.hl7.org/ValueSet/v2-0276 | ||||
Appointment.appointmentType.coding:omsorgsNiva | required |
urn:oid:2.16.578.1.12.4.1.1.8406 | ||||
Appointment.appointmentType.coding:kontaktType | required |
urn:oid:2.16.578.1.12.4.1.1.8432 | ||||
Appointment.appointmentType.coding:innbygger | required |
urn:oid:2.16.578.1.12.4.1.1.7617 | ||||
Appointment.appointmentType.coding:helsenorge | required | HnAppointmentAppointmentTypeVShttp://helsenorge.no/fhir/ValueSet/hn-appointment-AppointmentType-code-vs from this IG | ||||
Appointment.reasonCode | preferred | EncounterReasonCodeshttp://hl7.org/fhir/ValueSet/encounter-reason from the FHIR Standard | ||||
Appointment.participant.type | extensible | ParticipantTypehttp://hl7.org/fhir/ValueSet/encounter-participant-type from the FHIR Standard | ||||
Appointment.participant.required | required | ParticipantRequiredhttp://hl7.org/fhir/ValueSet/participantrequired|4.0.1 from the FHIR Standard | ||||
Appointment.participant.status | required | ParticipationStatushttp://hl7.org/fhir/ValueSet/participationstatus|4.0.1 from the FHIR Standard |
Id | Grade | Path(s) | Details | Requirements |
app-1 | error | Appointment.participant | Either the type or actor on the participant SHALL be specified : type.exists() or actor.exists() | |
app-2 | error | Appointment | Either start and end are specified, or neither : start.exists() = end.exists() | |
app-3 | error | Appointment | Only proposed or cancelled appointments can be missing start/end dates : (start.exists() and end.exists()) or (status in ('proposed' | 'cancelled' | 'waitlist')) | |
app-4 | error | Appointment | Cancelation reason is only used for appointments that have been cancelled, or no-show : Appointment.cancelationReason.exists() implies (Appointment.status='no-show' or Appointment.status='cancelled') | |
appointment-participant-actor-patient-reference-identifier | warning | Appointment.participant | When actor is a Patient logical reference MUST be used : actor.type = 'Patient' implies actor.identifier.exists() | |
appointment-participant-actor-patient-reference-reference | warning | Appointment.participant | When actor is a Patient literal reference (relative, internal or absolute) reference MUST not be used : (actor.type = 'Patient') implies actor.reference.exists().not() | |
cancelationReason-inv | error | Appointment | Cancelation reason MUST be set when status=cancelled and serviceCategory=27 (that is Specialist Medical) : (status='canceled' and serviceCategory.coding.code='27') implies cancelationReason.exists() | |
contained-location-must-have-managingorganization | error | Appointment | Contained location must have managing organization : Appointment.contained.where($this is Location).empty() or Appointment.contained.where($this is Location).all(managingOrganization.exists()) | |
dom-2 | error | Appointment | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
dom-3 | error | Appointment | 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 | Appointment | 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 | Appointment | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
dom-6 | best practice | Appointment | 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** elements | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
inv-4 | error | Appointment.cancelationReason.coding, Appointment.serviceCategory.coding, Appointment.serviceType.coding, Appointment.specialty.coding, Appointment.appointmentType.coding, Appointment.reasonCode.coding, Appointment.participant.type.coding | If code is used in a codable consept the system must be used : code > '' implies (system > '' ) | |
must-be-max-1000-chars | error | Appointment.description, Appointment.patientInstruction | Length MUST be <= 1000 : $this.length() <= 1000 | |
per-1 | error | Appointment.identifier.period, Appointment.participant.period, Appointment.requestedPeriod | If present, start SHALL have a lower value than end : start.hasValue().not() or end.hasValue().not() or (start <= end) | |
ref-1 | error | Appointment.identifier.assigner, Appointment.reasonReference, Appointment.supportingInformation, Appointment.slot, Appointment.basedOn, Appointment.participant.actor | SHALL have a contained resource if a local reference is provided : reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) |
This structure is derived from NoBasisAppointment
Summary
Mandatory: 8 elements(1 nested mandatory element)
Must-Support: 3 elements
Structures
This structure refers to these other structures:
Extensions
This structure refers to these extensions:
Key Elements View
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() |
C | 0..* | NoBasisAppointment | A booking of a healthcare event among patient(s), practitioner(s), related person(s) and/or device(s) for a specific date/time. This may result in one or more Encounter(s) dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated dom-3: 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 dom-6: A resource should have narrative for robust management dom-5: If a resource is contained in another resource, it SHALL NOT have a security label app-4: Cancelation reason is only used for appointments that have been cancelled, or no-show app-3: Only proposed or cancelled appointments can be missing start/end dates app-2: Either start and end are specified, or neither cancelationReason-inv: Cancelation reason MUST be set when status=cancelled and serviceCategory=27 (that is Specialist Medical) contained-location-must-have-managingorganization: Contained location must have managing organization |
![]() ![]() ![]() |
Σ | 0..1 | Meta | Information about use of metadata in FHIR resources in helsenorge: ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() |
Σ | 1..1 | instant | LastUpdated should always be present ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() |
S | 0..* | (Complex) | Virtual Service URL: http://hl7.no/fhir/StructureDefinition/no-basis-virtual-service ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
![]() ![]() ![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | Extension | Extension ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
N | 0..0 | ||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "channelType" | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | Coding | Valuset for virtual servie. Binding: Hn Basis VirtualServiceType Value Set (required) ele-1: All FHIR elements must have a @value or children | |
![]() ![]() ![]() ![]() ![]() ![]() |
N | 0..1 | Extension | Contact address/number ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
N | 0..0 | ||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "virtualAddress" | |
![]() ![]() ![]() ![]() ![]() ![]() |
N | 0..* | Extension | Address to see alternative connection details ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
N | 0..0 | ||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "additionalInfo" | |
![]() ![]() ![]() ![]() ![]() ![]() |
N | 0..1 | Extension | Maximum number of participants supported by the virtual service. ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
N | 0..0 | ||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "maxParticipants" | |
![]() ![]() ![]() ![]() ![]() ![]() |
N | 0..1 | Extension | Session Key required by the virtual service ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
N | 0..0 | ||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "sessionKey" | |
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "http://hl7.no/fhir/StructureDefinition/no-basis-virtual-service" | |
![]() ![]() ![]() ![]() |
SN | 0..1 | boolean | no-basis-group URL: http://hl7.no/fhir/StructureDefinition/no-basis-group ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
![]() ![]() ![]() ![]() |
SN | 0..1 | Reference(no-basis-Appointment) | no-basis-partof URL: http://hl7.no/fhir/StructureDefinition/no-basis-partof ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
![]() ![]() ![]() ![]() |
S | 0..1 | boolean | no-basis-recurring URL: http://helsenorge.no/fhir/StructureDefinition/hn-basis-Recurring ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
![]() ![]() ![]() ![]() |
0..1 | Coding | hn-basis-postponementreason URL: http://helsenorge.no/fhir/StructureDefinition/hn-basis-postponementreason Binding: urn:oid:2.16.578.1.12.4.1.1.8446 (preferred): Volven ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both | |
![]() ![]() ![]() ![]() |
S | 0..1 | Coding | hn-basis-consultationType URL: http://helsenorge.no/fhir/StructureDefinition/hn-basis-consultationType Binding: urn:oid:2.16.578.1.12.4.1.1.9505 (preferred) ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
![]() ![]() ![]() |
?!N | 0..* | Extension | Extensions that cannot be ignored Slice: Unordered, Open by value:url ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
![]() ![]() ![]() |
Σ | 1..1 | Identifier | External Ids for this item ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() |
?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | The namespace for the identifier value ele-1: All FHIR elements must have a @value or children Example General: http://www.acme.com/identifiers/patient |
![]() ![]() ![]() ![]() |
Σ | 1..1 | string | The value that is unique ele-1: All FHIR elements must have a @value or children Example General: 123456 |
![]() ![]() ![]() ![]() |
ΣC | 1..1 | Reference(Organization | no-basis-Organization) | Organization that issued id (may be just text) ele-1: All FHIR elements must have a @value or children ref-1: SHALL have a contained resource if a local reference is provided |
![]() ![]() ![]() |
?!Σ | 1..1 | code | proposed | pending | booked | arrived | fulfilled | cancelled | noshow | entered-in-error | checked-in | waitlist Binding: AppointmentStatus (required): The free/busy status of an appointment. ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | Reason for cancelation Binding: urn:oid:2.16.578.1.12.4.1.1.8445 (preferred) ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() |
ΣC | 0..* | Coding | Code defined by a terminology system ele-1: All FHIR elements must have a @value or children inv-4: If code is used in a codable consept the system must be used |
![]() ![]() ![]() |
Σ | 1..1 | CodeableConcept | A broad categorization of the service that is to be performed during this appointment Binding: hn-appointment-ServiceCategory-code-vs (required) ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() |
ΣC | 0..* | Coding | Code defined by a terminology system ele-1: All FHIR elements must have a @value or children inv-4: If code is used in a codable consept the system must be used |
![]() ![]() ![]() |
Σ | 1..1 | CodeableConcept | The style of appointment or patient that has been booked in the slot (not service type) Binding: hl7VS-appointmentReasonCodes (preferred) ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() |
ΣC | 0..* | Coding | Recomended code systems for no-basis-Appointment. Slice: Unordered, Open by value:$this ele-1: All FHIR elements must have a @value or children inv-4: If code is used in a codable consept the system must be used |
![]() ![]() ![]() ![]() ![]() |
ΣN | 0..1 | Coding | Volven 8406 Binding: urn:oid:2.16.578.1.12.4.1.1.8406 (required): Volven ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() ![]() |
ΣN | 0..1 | Coding | Volven 8432 Binding: urn:oid:2.16.578.1.12.4.1.1.8432 (required): Volven ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() ![]() |
ΣN | 0..1 | Coding | Volven 7617 Binding: urn:oid:2.16.578.1.12.4.1.1.7617 (required): Volven ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() ![]() |
SΣ | 0..1 | Coding | Codes from value set Binding: hn-appointment-AppointmentType-code-vs (required) ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
C | 0..1 | string | Shown on a subject line in a meeting request, or appointment list ele-1: All FHIR elements must have a @value or children must-be-max-1000-chars: Length MUST be <= 1000 |
![]() ![]() ![]() |
C | 1..* | Reference(Resource) | Spesial instructions for use. ele-1: All FHIR elements must have a @value or children ref-1: SHALL have a contained resource if a local reference is provided |
![]() ![]() ![]() |
C | 0..1 | string | Detailed information and instructions for the patient ele-1: All FHIR elements must have a @value or children must-be-max-1000-chars: Length MUST be <= 1000 |
![]() ![]() ![]() |
C | 1..* | BackboneElement | Participants involved in appointment ele-1: All FHIR elements must have a @value or children app-1: Either the type or actor on the participant SHALL be specified appointment-participant-actor-patient-reference-identifier: When actor is a Patient logical reference MUST be used appointment-participant-actor-patient-reference-reference: When actor is a Patient literal reference (relative, internal or absolute) reference MUST not be used |
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
![]() ![]() ![]() ![]() |
ΣC | 1..1 | Reference(no-basis-Patient | no-basis-Practitioner | no-basis-PractitionerRole | no-basis-Location | no-basis-RelatedPerson | Device | no-basis-HealthcareService) | When actor is a Patient logical reference MUST be used ele-1: All FHIR elements must have a @value or children ref-1: SHALL have a contained resource if a local reference is provided |
![]() ![]() ![]() ![]() |
Σ | 1..1 | code | accepted | declined | tentative | needs-action Binding: ParticipationStatus (required): The Participation status of an appointment. ele-1: All FHIR elements must have a @value or children |
![]() |
Path | Conformance | ValueSet | URI |
Appointment.extension:virtualService.extension:channelType.value[x] | required | HnBasisVirtualServiceTypehttp://helsenorge.no/fhir/ValueSet/hn-basis-virtual-service-type.valueset from this IG | |
Appointment.identifier.use | required | IdentifierUsehttp://hl7.org/fhir/ValueSet/identifier-use|4.0.1 from the FHIR Standard | |
Appointment.status | required | AppointmentStatushttp://hl7.org/fhir/ValueSet/appointmentstatus|4.0.1 from the FHIR Standard | |
Appointment.cancelationReason | preferred |
urn:oid:2.16.578.1.12.4.1.1.8445 | |
Appointment.serviceCategory | required | HnAppointmentServiceCategoryVShttp://helsenorge.no/fhir/ValueSet/hn-appointment-ServiceCategory-code-vs from this IG | |
Appointment.appointmentType | preferred | Hl7VSAppointmentReasonCodeshttp://terminology.hl7.org/ValueSet/v2-0276 | |
Appointment.appointmentType.coding:omsorgsNiva | required |
urn:oid:2.16.578.1.12.4.1.1.8406 | |
Appointment.appointmentType.coding:kontaktType | required |
urn:oid:2.16.578.1.12.4.1.1.8432 | |
Appointment.appointmentType.coding:innbygger | required |
urn:oid:2.16.578.1.12.4.1.1.7617 | |
Appointment.appointmentType.coding:helsenorge | required | HnAppointmentAppointmentTypeVShttp://helsenorge.no/fhir/ValueSet/hn-appointment-AppointmentType-code-vs from this IG | |
Appointment.participant.status | required | ParticipationStatushttp://hl7.org/fhir/ValueSet/participationstatus|4.0.1 from the FHIR Standard |
Id | Grade | Path(s) | Details | Requirements |
app-1 | error | Appointment.participant | Either the type or actor on the participant SHALL be specified : type.exists() or actor.exists() | |
app-2 | error | Appointment | Either start and end are specified, or neither : start.exists() = end.exists() | |
app-3 | error | Appointment | Only proposed or cancelled appointments can be missing start/end dates : (start.exists() and end.exists()) or (status in ('proposed' | 'cancelled' | 'waitlist')) | |
app-4 | error | Appointment | Cancelation reason is only used for appointments that have been cancelled, or no-show : Appointment.cancelationReason.exists() implies (Appointment.status='no-show' or Appointment.status='cancelled') | |
appointment-participant-actor-patient-reference-identifier | warning | Appointment.participant | When actor is a Patient logical reference MUST be used : actor.type = 'Patient' implies actor.identifier.exists() | |
appointment-participant-actor-patient-reference-reference | warning | Appointment.participant | When actor is a Patient literal reference (relative, internal or absolute) reference MUST not be used : (actor.type = 'Patient') implies actor.reference.exists().not() | |
cancelationReason-inv | error | Appointment | Cancelation reason MUST be set when status=cancelled and serviceCategory=27 (that is Specialist Medical) : (status='canceled' and serviceCategory.coding.code='27') implies cancelationReason.exists() | |
contained-location-must-have-managingorganization | error | Appointment | Contained location must have managing organization : Appointment.contained.where($this is Location).empty() or Appointment.contained.where($this is Location).all(managingOrganization.exists()) | |
dom-2 | error | Appointment | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
dom-3 | error | Appointment | 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 | Appointment | 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 | Appointment | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
dom-6 | best practice | Appointment | 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** elements | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
inv-4 | error | Appointment.cancelationReason.coding, Appointment.serviceCategory.coding, Appointment.appointmentType.coding | If code is used in a codable consept the system must be used : code > '' implies (system > '' ) | |
must-be-max-1000-chars | error | Appointment.description, Appointment.patientInstruction | Length MUST be <= 1000 : $this.length() <= 1000 | |
ref-1 | error | Appointment.identifier.assigner, Appointment.supportingInformation, Appointment.participant.actor | SHALL have a contained resource if a local reference is provided : reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) |
Differential View
This structure is derived from NoBasisAppointment
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() |
C | 0..* | NoBasisAppointment | A booking of a healthcare event among patient(s), practitioner(s), related person(s) and/or device(s) for a specific date/time. This may result in one or more Encounter(s) cancelationReason-inv: Cancelation reason MUST be set when status=cancelled and serviceCategory=27 (that is Specialist Medical) contained-location-must-have-managingorganization: Contained location must have managing organization |
![]() ![]() ![]() |
0..1 | Meta | Information about use of metadata in FHIR resources in helsenorge: | |
![]() ![]() ![]() ![]() |
1..1 | instant | LastUpdated should always be present | |
![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() |
0..* | NoBasisVirtualService | Virtual Service | |
![]() ![]() ![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | Extension | Extension | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | Coding | Valuset for virtual servie. Binding: Hn Basis VirtualServiceType Value Set (required) | |
![]() ![]() ![]() ![]() |
S | 0..1 | boolean | no-basis-recurring URL: http://helsenorge.no/fhir/StructureDefinition/hn-basis-Recurring |
![]() ![]() ![]() ![]() |
0..1 | Coding | hn-basis-postponementreason URL: http://helsenorge.no/fhir/StructureDefinition/hn-basis-postponementreason Binding: urn:oid:2.16.578.1.12.4.1.1.8446 (preferred): Volven | |
![]() ![]() ![]() ![]() |
S | 0..1 | Coding | hn-basis-consultationType URL: http://helsenorge.no/fhir/StructureDefinition/hn-basis-consultationType Binding: urn:oid:2.16.578.1.12.4.1.1.9505 (preferred) |
![]() ![]() ![]() |
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 | |
![]() ![]() ![]() ![]() |
1..1 | Reference(Organization | no-basis-Organization) | Organization that issued id (may be just text) | |
![]() ![]() ![]() |
0..1 | CodeableConcept | Reason for cancelation Binding: urn:oid:2.16.578.1.12.4.1.1.8445 (preferred) | |
![]() ![]() ![]() ![]() |
C | 0..* | Coding | Code defined by a terminology system inv-4: If code is used in a codable consept the system must be used |
![]() ![]() ![]() |
1..1 | CodeableConcept | A broad categorization of the service that is to be performed during this appointment Binding: hn-appointment-ServiceCategory-code-vs (required) | |
![]() ![]() ![]() ![]() |
C | 0..* | Coding | Code defined by a terminology system inv-4: If code is used in a codable consept the system must be used |
![]() ![]() ![]() |
||||
![]() ![]() ![]() ![]() |
C | 0..* | Coding | Code defined by a terminology system inv-4: If code is used in a codable consept the system must be used |
![]() ![]() ![]() |
||||
![]() ![]() ![]() ![]() |
C | 0..* | Coding | Code defined by a terminology system inv-4: If code is used in a codable consept the system must be used |
![]() ![]() ![]() |
1..1 | CodeableConcept | The style of appointment or patient that has been booked in the slot (not service type) | |
![]() ![]() ![]() ![]() |
C | 0..* | Coding | Recomended code systems for no-basis-Appointment. inv-4: If code is used in a codable consept the system must be used |
![]() ![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() ![]() |
S | 0..1 | Coding | Codes from value set Binding: hn-appointment-AppointmentType-code-vs (required) |
![]() ![]() ![]() |
||||
![]() ![]() ![]() ![]() |
C | 0..* | Coding | Code defined by a terminology system inv-4: If code is used in a codable consept the system must be used |
![]() ![]() ![]() |
C | 0..1 | string | Shown on a subject line in a meeting request, or appointment list must-be-max-1000-chars: Length MUST be <= 1000 |
![]() ![]() ![]() |
1..* | Reference(Resource) | Spesial instructions for use. | |
![]() ![]() ![]() |
C | 0..1 | string | Detailed information and instructions for the patient must-be-max-1000-chars: Length MUST be <= 1000 |
![]() ![]() ![]() |
C | 1..* | BackboneElement | Participants involved in appointment appointment-participant-actor-patient-reference-identifier: When actor is a Patient logical reference MUST be used appointment-participant-actor-patient-reference-reference: When actor is a Patient literal reference (relative, internal or absolute) reference MUST not be used |
![]() ![]() ![]() ![]() |
||||
![]() ![]() ![]() ![]() ![]() |
C | 0..* | Coding | Code defined by a terminology system inv-4: If code is used in a codable consept the system must be used |
![]() ![]() ![]() ![]() |
1..1 | Reference(no-basis-Patient | no-basis-Practitioner | no-basis-PractitionerRole | no-basis-Location | no-basis-RelatedPerson | Device | no-basis-HealthcareService) | When actor is a Patient logical reference MUST be used | |
![]() |
Path | Conformance | ValueSet | URI |
Appointment.extension:virtualService.extension:channelType.value[x] | required | HnBasisVirtualServiceTypehttp://helsenorge.no/fhir/ValueSet/hn-basis-virtual-service-type.valueset from this IG | |
Appointment.cancelationReason | preferred |
urn:oid:2.16.578.1.12.4.1.1.8445 | |
Appointment.serviceCategory | required | HnAppointmentServiceCategoryVShttp://helsenorge.no/fhir/ValueSet/hn-appointment-ServiceCategory-code-vs from this IG | |
Appointment.appointmentType.coding:helsenorge | required | HnAppointmentAppointmentTypeVShttp://helsenorge.no/fhir/ValueSet/hn-appointment-AppointmentType-code-vs from this IG |
Id | Grade | Path(s) | Details | Requirements |
appointment-participant-actor-patient-reference-identifier | warning | Appointment.participant | When actor is a Patient logical reference MUST be used : actor.type = 'Patient' implies actor.identifier.exists() | |
appointment-participant-actor-patient-reference-reference | warning | Appointment.participant | When actor is a Patient literal reference (relative, internal or absolute) reference MUST not be used : (actor.type = 'Patient') implies actor.reference.exists().not() | |
cancelationReason-inv | error | Appointment | Cancelation reason MUST be set when status=cancelled and serviceCategory=27 (that is Specialist Medical) : (status='canceled' and serviceCategory.coding.code='27') implies cancelationReason.exists() | |
contained-location-must-have-managingorganization | error | Appointment | Contained location must have managing organization : Appointment.contained.where($this is Location).empty() or Appointment.contained.where($this is Location).all(managingOrganization.exists()) | |
inv-4 | error | Appointment.cancelationReason.coding, Appointment.serviceCategory.coding, Appointment.serviceType.coding, Appointment.specialty.coding, Appointment.appointmentType.coding, Appointment.reasonCode.coding, Appointment.participant.type.coding | If code is used in a codable consept the system must be used : code > '' implies (system > '' ) | |
must-be-max-1000-chars | error | Appointment.description, Appointment.patientInstruction | Length MUST be <= 1000 : $this.length() <= 1000 |
Snapshot View
Name | Flags | Card. | Type | Description & Constraints![]() | ||||
---|---|---|---|---|---|---|---|---|
![]() ![]() |
C | 0..* | NoBasisAppointment | A booking of a healthcare event among patient(s), practitioner(s), related person(s) and/or device(s) for a specific date/time. This may result in one or more Encounter(s) app-4: Cancelation reason is only used for appointments that have been cancelled, or no-show app-3: Only proposed or cancelled appointments can be missing start/end dates app-2: Either start and end are specified, or neither cancelationReason-inv: Cancelation reason MUST be set when status=cancelled and serviceCategory=27 (that is Specialist Medical) contained-location-must-have-managingorganization: Contained location must have managing organization | ||||
![]() ![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]() ![]() |
Σ | 0..1 | Meta | Information about use of metadata in FHIR resources in helsenorge: | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
N | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | id | Version specific identifier | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | instant | LastUpdated should always be present | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | uri | Identifies where the resource comes from | ||||
![]() ![]() ![]() ![]() |
Σ | 0..* | canonical(StructureDefinition) | Profiles this resource claims to conform to | ||||
![]() ![]() ![]() ![]() |
Σ | 0..* | Coding | Security Labels applied to this resource Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System. | ||||
![]() ![]() ![]() ![]() |
Σ | 0..* | Coding | Tags applied to this resource Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones". | ||||
![]() ![]() ![]() |
?!Σ | 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 | |||||
![]() ![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() ![]() |
N | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | ||||
![]() ![]() ![]() ![]() |
S | 0..* | (Complex) | Virtual Service URL: http://hl7.no/fhir/StructureDefinition/no-basis-virtual-service | ||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() |
N | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | Extension | Extension | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
N | 0..0 | ||||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "channelType" | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | Coding | Valuset for virtual servie. Binding: Hn Basis VirtualServiceType Value Set (required) | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
N | 0..1 | Extension | Contact address/number | ||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
N | 0..0 | ||||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "virtualAddress" | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
N | 0..1 | Value of extension | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
string | |||||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
url | |||||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
ContactPoint | |||||||
![]() ![]() ![]() ![]() ![]() ![]() |
N | 0..* | Extension | Address to see alternative connection details | ||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
N | 0..0 | ||||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "additionalInfo" | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
N | 0..1 | url | Value of extension | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
N | 0..1 | Extension | Maximum number of participants supported by the virtual service. | ||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
N | 0..0 | ||||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "maxParticipants" | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
N | 0..1 | positiveInt | Value of extension | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
N | 0..1 | Extension | Session Key required by the virtual service | ||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
N | 0..0 | ||||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "sessionKey" | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
N | 0..1 | string | Value of extension | ||||
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "http://hl7.no/fhir/StructureDefinition/no-basis-virtual-service" | |||||
![]() ![]() ![]() ![]() |
SN | 0..1 | boolean | no-basis-group URL: http://hl7.no/fhir/StructureDefinition/no-basis-group | ||||
![]() ![]() ![]() ![]() |
SN | 0..1 | Reference(no-basis-Appointment) | no-basis-partof URL: http://hl7.no/fhir/StructureDefinition/no-basis-partof | ||||
![]() ![]() ![]() ![]() |
S | 0..1 | boolean | no-basis-recurring URL: http://helsenorge.no/fhir/StructureDefinition/hn-basis-Recurring | ||||
![]() ![]() ![]() ![]() |
0..1 | Coding | hn-basis-postponementreason URL: http://helsenorge.no/fhir/StructureDefinition/hn-basis-postponementreason Binding: urn:oid:2.16.578.1.12.4.1.1.8446 (preferred): Volven | |||||
![]() ![]() ![]() ![]() |
S | 0..1 | Coding | hn-basis-consultationType URL: http://helsenorge.no/fhir/StructureDefinition/hn-basis-consultationType Binding: urn:oid:2.16.578.1.12.4.1.1.9505 (preferred) | ||||
![]() ![]() ![]() |
?!N | 0..* | Extension | Extensions that cannot be ignored Slice: Unordered, Open by value:url | ||||
![]() ![]() ![]() |
Σ | 1..1 | Identifier | External Ids for this item | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
N | 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 | ||||
![]() ![]() ![]() ![]() |
ΣC | 0..1 | Period | Time period when id is/was valid for use per-1: If present, start SHALL have a lower value than end | ||||
![]() ![]() ![]() ![]() |
ΣC | 1..1 | Reference(Organization | no-basis-Organization) | Organization that issued id (may be just text) ref-1: SHALL have a contained resource if a local reference is provided | ||||
![]() ![]() ![]() |
?!Σ | 1..1 | code | proposed | pending | booked | arrived | fulfilled | cancelled | noshow | entered-in-error | checked-in | waitlist Binding: AppointmentStatus (required): The free/busy status of an appointment. | ||||
![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | Reason for cancelation Binding: urn:oid:2.16.578.1.12.4.1.1.8445 (preferred) | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
N | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | ||||
![]() ![]() ![]() ![]() |
ΣC | 0..* | Coding | Code defined by a terminology system inv-4: If code is used in a codable consept the system must be used | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Plain text representation of the concept | ||||
![]() ![]() ![]() |
Σ | 1..1 | CodeableConcept | A broad categorization of the service that is to be performed during this appointment Binding: hn-appointment-ServiceCategory-code-vs (required) | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
N | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | ||||
![]() ![]() ![]() ![]() |
ΣC | 0..* | Coding | Code defined by a terminology system inv-4: If code is used in a codable consept the system must be used | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Plain text representation of the concept | ||||
![]() ![]() ![]() |
Σ | 0..* | CodeableConcept | The specific service that is to be performed during this appointment Binding: ServiceType (example) | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
N | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | ||||
![]() ![]() ![]() ![]() |
ΣC | 0..* | Coding | Code defined by a terminology system inv-4: If code is used in a codable consept the system must be used | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Plain text representation of the concept | ||||
![]() ![]() ![]() |
Σ | 0..* | CodeableConcept | The specialty of a practitioner that would be required to perform the service requested in this appointment Binding: PracticeSettingCodeValueSet (preferred) | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
N | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | ||||
![]() ![]() ![]() ![]() |
ΣC | 0..* | Coding | Code defined by a terminology system inv-4: If code is used in a codable consept the system must be used | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Plain text representation of the concept | ||||
![]() ![]() ![]() |
Σ | 1..1 | CodeableConcept | The style of appointment or patient that has been booked in the slot (not service type) Binding: hl7VS-appointmentReasonCodes (preferred) | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
N | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | ||||
![]() ![]() ![]() ![]() |
ΣC | 0..* | Coding | Recomended code systems for no-basis-Appointment. Slice: Unordered, Open by value:$this inv-4: If code is used in a codable consept the system must be used | ||||
![]() ![]() ![]() ![]() ![]() |
ΣN | 0..1 | Coding | Volven 8406 Binding: urn:oid:2.16.578.1.12.4.1.1.8406 (required): Volven | ||||
![]() ![]() ![]() ![]() ![]() |
ΣN | 0..1 | Coding | Volven 8432 Binding: urn:oid:2.16.578.1.12.4.1.1.8432 (required): Volven | ||||
![]() ![]() ![]() ![]() ![]() |
ΣN | 0..1 | Coding | Volven 7617 Binding: urn:oid:2.16.578.1.12.4.1.1.7617 (required): Volven | ||||
![]() ![]() ![]() ![]() ![]() |
SΣ | 0..1 | Coding | Codes from value set Binding: hn-appointment-AppointmentType-code-vs (required) | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Plain text representation of the concept | ||||
![]() ![]() ![]() |
Σ | 0..* | CodeableConcept | Coded reason this appointment is scheduled Binding: EncounterReasonCodes (preferred): The Reason for the appointment to take place. | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
N | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | ||||
![]() ![]() ![]() ![]() |
ΣC | 0..* | Coding | Code defined by a terminology system inv-4: If code is used in a codable consept the system must be used | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Plain text representation of the concept | ||||
![]() ![]() ![]() |
C | 0..* | Reference(Condition | Procedure | Observation | ImmunizationRecommendation) | Reason the appointment is to take place (resource) ref-1: SHALL have a contained resource if a local reference is provided | ||||
![]() ![]() ![]() |
0..1 | unsignedInt | Used to make informed decisions if needing to re-prioritize | |||||
![]() ![]() ![]() |
C | 0..1 | string | Shown on a subject line in a meeting request, or appointment list must-be-max-1000-chars: Length MUST be <= 1000 | ||||
![]() ![]() ![]() |
C | 1..* | Reference(Resource) | Spesial instructions for use. ref-1: SHALL have a contained resource if a local reference is provided | ||||
![]() ![]() ![]() |
Σ | 0..1 | instant | When appointment is to take place | ||||
![]() ![]() ![]() |
Σ | 0..1 | instant | When appointment is to conclude | ||||
![]() ![]() ![]() |
0..1 | positiveInt | Can be less than start/end (e.g. estimate) | |||||
![]() ![]() ![]() |
C | 0..* | Reference(Slot) | The slots that this appointment is filling ref-1: SHALL have a contained resource if a local reference is provided | ||||
![]() ![]() ![]() |
0..1 | dateTime | The date that this appointment was initially created | |||||
![]() ![]() ![]() |
0..1 | string | Additional comments | |||||
![]() ![]() ![]() |
C | 0..1 | string | Detailed information and instructions for the patient must-be-max-1000-chars: Length MUST be <= 1000 | ||||
![]() ![]() ![]() |
C | 0..* | Reference(ServiceRequest) | The service request this appointment is allocated to assess ref-1: SHALL have a contained resource if a local reference is provided | ||||
![]() ![]() ![]() |
C | 1..* | BackboneElement | Participants involved in appointment app-1: Either the type or actor on the participant SHALL be specified appointment-participant-actor-patient-reference-identifier: When actor is a Patient logical reference MUST be used appointment-participant-actor-patient-reference-reference: When actor is a Patient literal reference (relative, internal or absolute) reference MUST not be used | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
N | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | ||||
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() ![]() |
Σ | 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 | |||||
![]() ![]() ![]() ![]() ![]() |
N | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | ||||
![]() ![]() ![]() ![]() ![]() |
ΣC | 0..* | Coding | Code defined by a terminology system inv-4: If code is used in a codable consept the system must be used | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Plain text representation of the concept | ||||
![]() ![]() ![]() ![]() |
ΣC | 1..1 | Reference(no-basis-Patient | no-basis-Practitioner | no-basis-PractitionerRole | no-basis-Location | no-basis-RelatedPerson | Device | no-basis-HealthcareService) | When actor is a Patient logical reference MUST be used ref-1: SHALL have a contained resource if a local reference is provided | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | code | required | optional | information-only Binding: ParticipantRequired (required): Is the Participant required to attend the appointment. | ||||
![]() ![]() ![]() ![]() |
Σ | 1..1 | code | accepted | declined | tentative | needs-action Binding: ParticipationStatus (required): The Participation status of an appointment. | ||||
![]() ![]() ![]() ![]() |
C | 0..1 | Period | Participation period of the actor per-1: If present, start SHALL have a lower value than end | ||||
![]() ![]() ![]() |
C | 0..* | Period | Potential date/time interval(s) requested to allocate the appointment within per-1: If present, start SHALL have a lower value than end | ||||
![]() |
Path | Conformance | ValueSet | URI | |||
Appointment.meta.security | extensible | All Security Labelshttp://hl7.org/fhir/ValueSet/security-labels from the FHIR Standard | ||||
Appointment.meta.tag | example | CommonTagshttp://hl7.org/fhir/ValueSet/common-tags from the FHIR Standard | ||||
Appointment.language | preferred | CommonLanguageshttp://hl7.org/fhir/ValueSet/languages from the FHIR Standard
| ||||
Appointment.extension:virtualService.extension:channelType.value[x] | required | HnBasisVirtualServiceTypehttp://helsenorge.no/fhir/ValueSet/hn-basis-virtual-service-type.valueset from this IG | ||||
Appointment.identifier.use | required | IdentifierUsehttp://hl7.org/fhir/ValueSet/identifier-use|4.0.1 from the FHIR Standard | ||||
Appointment.identifier.type | extensible | Identifier Type Codeshttp://hl7.org/fhir/ValueSet/identifier-type from the FHIR Standard | ||||
Appointment.status | required | AppointmentStatushttp://hl7.org/fhir/ValueSet/appointmentstatus|4.0.1 from the FHIR Standard | ||||
Appointment.cancelationReason | preferred |
urn:oid:2.16.578.1.12.4.1.1.8445 | ||||
Appointment.serviceCategory | required | HnAppointmentServiceCategoryVShttp://helsenorge.no/fhir/ValueSet/hn-appointment-ServiceCategory-code-vs from this IG | ||||
Appointment.serviceType | example | ServiceTypehttp://hl7.org/fhir/ValueSet/service-type from the FHIR Standard | ||||
Appointment.specialty | preferred | PracticeSettingCodeValueSethttp://hl7.org/fhir/ValueSet/c80-practice-codes from the FHIR Standard | ||||
Appointment.appointmentType | preferred | Hl7VSAppointmentReasonCodeshttp://terminology.hl7.org/ValueSet/v2-0276 | ||||
Appointment.appointmentType.coding:omsorgsNiva | required |
urn:oid:2.16.578.1.12.4.1.1.8406 | ||||
Appointment.appointmentType.coding:kontaktType | required |
urn:oid:2.16.578.1.12.4.1.1.8432 | ||||
Appointment.appointmentType.coding:innbygger | required |
urn:oid:2.16.578.1.12.4.1.1.7617 | ||||
Appointment.appointmentType.coding:helsenorge | required | HnAppointmentAppointmentTypeVShttp://helsenorge.no/fhir/ValueSet/hn-appointment-AppointmentType-code-vs from this IG | ||||
Appointment.reasonCode | preferred | EncounterReasonCodeshttp://hl7.org/fhir/ValueSet/encounter-reason from the FHIR Standard | ||||
Appointment.participant.type | extensible | ParticipantTypehttp://hl7.org/fhir/ValueSet/encounter-participant-type from the FHIR Standard | ||||
Appointment.participant.required | required | ParticipantRequiredhttp://hl7.org/fhir/ValueSet/participantrequired|4.0.1 from the FHIR Standard | ||||
Appointment.participant.status | required | ParticipationStatushttp://hl7.org/fhir/ValueSet/participationstatus|4.0.1 from the FHIR Standard |
Id | Grade | Path(s) | Details | Requirements |
app-1 | error | Appointment.participant | Either the type or actor on the participant SHALL be specified : type.exists() or actor.exists() | |
app-2 | error | Appointment | Either start and end are specified, or neither : start.exists() = end.exists() | |
app-3 | error | Appointment | Only proposed or cancelled appointments can be missing start/end dates : (start.exists() and end.exists()) or (status in ('proposed' | 'cancelled' | 'waitlist')) | |
app-4 | error | Appointment | Cancelation reason is only used for appointments that have been cancelled, or no-show : Appointment.cancelationReason.exists() implies (Appointment.status='no-show' or Appointment.status='cancelled') | |
appointment-participant-actor-patient-reference-identifier | warning | Appointment.participant | When actor is a Patient logical reference MUST be used : actor.type = 'Patient' implies actor.identifier.exists() | |
appointment-participant-actor-patient-reference-reference | warning | Appointment.participant | When actor is a Patient literal reference (relative, internal or absolute) reference MUST not be used : (actor.type = 'Patient') implies actor.reference.exists().not() | |
cancelationReason-inv | error | Appointment | Cancelation reason MUST be set when status=cancelled and serviceCategory=27 (that is Specialist Medical) : (status='canceled' and serviceCategory.coding.code='27') implies cancelationReason.exists() | |
contained-location-must-have-managingorganization | error | Appointment | Contained location must have managing organization : Appointment.contained.where($this is Location).empty() or Appointment.contained.where($this is Location).all(managingOrganization.exists()) | |
dom-2 | error | Appointment | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
dom-3 | error | Appointment | 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 | Appointment | 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 | Appointment | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
dom-6 | best practice | Appointment | 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** elements | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
inv-4 | error | Appointment.cancelationReason.coding, Appointment.serviceCategory.coding, Appointment.serviceType.coding, Appointment.specialty.coding, Appointment.appointmentType.coding, Appointment.reasonCode.coding, Appointment.participant.type.coding | If code is used in a codable consept the system must be used : code > '' implies (system > '' ) | |
must-be-max-1000-chars | error | Appointment.description, Appointment.patientInstruction | Length MUST be <= 1000 : $this.length() <= 1000 | |
per-1 | error | Appointment.identifier.period, Appointment.participant.period, Appointment.requestedPeriod | If present, start SHALL have a lower value than end : start.hasValue().not() or end.hasValue().not() or (start <= end) | |
ref-1 | error | Appointment.identifier.assigner, Appointment.reasonReference, Appointment.supportingInformation, Appointment.slot, Appointment.basedOn, Appointment.participant.actor | SHALL have a contained resource if a local reference is provided : reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids')) |
This structure is derived from NoBasisAppointment
Summary
Mandatory: 8 elements(1 nested mandatory element)
Must-Support: 3 elements
Structures
This structure refers to these other structures:
Extensions
This structure refers to these extensions:
Other representations of profile: CSV, Excel, Schematron