Guia de Implementação do AnHealth
0.2.0 - CI Build

Guia de Implementação do AnHealth - Local Development build (v0.2.0). See the Directory of published versions

Resource Profile: Appointment

Official URL: https://ancode.app/fhir/StructureDefinition/Appointment Version: 0.2.0
Draft as of 2023-08-28 Computable Name: Appointment

Usage:

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

Formal Views of Profile Content

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

This structure is derived from Appointment

NameFlagsCard.TypeDescription & Constraintsdoco
.. Appointment 0..*AppointmentA 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)
... Slices for extension 3..*ExtensionExtension
Slice: Unordered, Open by value:url
... accidentIndicator 1..1CodeableConceptExtension
URL: https://ancode.app/fhir/StructureDefinition/AccidentIndicator
Binding: BRIndicadorAcidente (required)
... encounterClass 1..1CodeableConceptExtension
URL: https://ancode.app/fhir/StructureDefinition/EncounterClass
Binding: EncounterClass (required)
... outpatientType 0..1CodeableConceptExtension
URL: https://ancode.app/fhir/StructureDefinition/OutpatientType
Binding: OutpatientType (required)
... hospitalizationType 0..1CodeableConceptExtension
URL: https://ancode.app/fhir/StructureDefinition/HospitalizationType
Binding: BRTipoInternacao (required)
... chemotherapyIndicator 0..1booleanExtension
URL: https://ancode.app/fhir/StructureDefinition/ChemotherapyIndicator
... cancelationReason 0..1CodeableConceptThe coded reason for the appointment being cancelled
Binding: AppointmentCancellationReason (required)
... specialty 1..*CodeableConceptThe specialty of a practitioner that would be required to perform the service requested in this appointment
Binding: CBOHealthcare (required)
... appointmentType 1..1CodeableConceptThe style of appointment or patient that has been booked in the slot (not service type)
Binding: EncounterType (required)
... priority 1..1unsignedIntUsed to make informed decisions if needing to re-prioritize
... description 1..1stringShown on a subject line in a meeting request, or appointment list
... Slices for supportingInformation 1..*Reference(Resource)Additional information to support the appointment
Slice: Unordered, Open by type:type
.... supportingInformation:schedule 1..1Reference(Schedule)Additional information to support the appointment
.... supportingInformation:coverage 0..1Reference(Coverage)Additional information to support the appointment
... slot 0..1Reference(Slot)The slots that this appointment is filling
... created 1..1dateTimeThe date that this appointment was initially created
... Slices for participant 1..*BackboneElementParticipants involved in appointment
Slice: Unordered, Open by value:actor.type
.... participant:location 1..1BackboneElementParticipants involved in appointment
..... actor 0..1Reference(Location)Person, Location/HealthcareService or Device

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSet
Appointment.cancelationReasonrequiredAppointmentCancellationReason
Appointment.specialtyrequiredCBOHealthcare (a valid code from Classificação Brasileira de Ocupações - CBO)
Appointment.appointmentTyperequiredEncounterType
NameFlagsCard.TypeDescription & Constraintsdoco
.. Appointment C0..*AppointmentA 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)
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... Slices for extension 3..*ExtensionExtension
Slice: Unordered, Open by value:url
... accidentIndicator 1..1CodeableConceptExtension
URL: https://ancode.app/fhir/StructureDefinition/AccidentIndicator
Binding: BRIndicadorAcidente (required)
... newbornCare 1..1booleanOptional Extensions Element
URL: https://ancode.app/fhir/StructureDefinition/NewbornCare
... outpatientType 0..1CodeableConceptExtension
URL: https://ancode.app/fhir/StructureDefinition/OutpatientType
Binding: OutpatientType (required)
... hospitalizationType 0..1CodeableConceptExtension
URL: https://ancode.app/fhir/StructureDefinition/HospitalizationType
Binding: BRTipoInternacao (required)
... chemotherapyIndicator 0..1booleanOptional Extensions Element
URL: https://ancode.app/fhir/StructureDefinition/ChemotherapyIndicator
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... status ?!Σ1..1codeproposed | pending | booked | arrived | fulfilled | cancelled | noshow | entered-in-error | checked-in | waitlist
Binding: AppointmentStatus (required): The free/busy status of an appointment.

... cancelationReason Σ0..1CodeableConceptThe coded reason for the appointment being cancelled
Binding: AppointmentCancellationReason (required)
... specialty Σ1..*CodeableConceptThe specialty of a practitioner that would be required to perform the service requested in this appointment
Binding: CBOHealthcare (required)
... appointmentType Σ1..1CodeableConceptThe style of appointment or patient that has been booked in the slot (not service type)
Binding: EncounterType (required)
... priority 1..1unsignedIntUsed to make informed decisions if needing to re-prioritize
... description 1..1stringShown on a subject line in a meeting request, or appointment list
... Slices for supportingInformation 1..*Reference(Resource)Additional information to support the appointment
Slice: Unordered, Open by type:type
.... supportingInformation:schedule 1..1Reference(Schedule)Additional information to support the appointment
.... supportingInformation:coverage 0..1Reference(Coverage)Additional information to support the appointment
... slot 0..1Reference(Slot)The slots that this appointment is filling
... created 1..1dateTimeThe date that this appointment was initially created
... Slices for participant C1..*BackboneElementParticipants involved in appointment
Slice: Unordered, Open by value:actor.type
.... participant:All Slices Content/Rules for all slices
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... status Σ1..1codeaccepted | declined | tentative | needs-action
Binding: ParticipationStatus (required): The Participation status of an appointment.

.... participant:location C1..1BackboneElementParticipants involved in appointment
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... actor Σ0..1Reference(Location)Person, Location/HealthcareService or Device
..... status Σ1..1codeaccepted | declined | tentative | needs-action
Binding: ParticipationStatus (required): The Participation status of an appointment.


doco Documentation for this format

Terminology Bindings

PathConformanceValueSet
Appointment.statusrequiredAppointmentStatus
Appointment.cancelationReasonrequiredAppointmentCancellationReason
Appointment.specialtyrequiredCBOHealthcare (a valid code from Classificação Brasileira de Ocupações - CBO)
Appointment.appointmentTyperequiredEncounterType
Appointment.participant.statusrequiredParticipationStatus
Appointment.participant:location.statusrequiredParticipationStatus

Constraints

IdGradePath(s)DetailsRequirements
app-1errorAppointment.participant, Appointment.participant:locationEither the type or actor on the participant SHALL be specified
: type.exists() or actor.exists()
app-2errorAppointmentEither start and end are specified, or neither
: start.exists() = end.exists()
app-3errorAppointmentOnly proposed or cancelled appointments can be missing start/end dates
: (start.exists() and end.exists()) or (status in ('proposed' | 'cancelled' | 'waitlist'))
app-4errorAppointmentCancelation 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')
dom-2errorAppointmentIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorAppointmentIf 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.exists() and ('#'+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(uri) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4errorAppointmentIf 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-5errorAppointmentIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceAppointmentA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
NameFlagsCard.TypeDescription & Constraintsdoco
.. Appointment C0..*AppointmentA 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)
... id Σ0..1idLogical id of this artifact
... meta Σ0..1MetaMetadata about the resource
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... language 0..1codeLanguage of the resource content
Binding: CommonLanguages (preferred): IETF language tag

Additional BindingsPurpose
AllLanguagesMax Binding
... text 0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... Slices for extension 3..*ExtensionExtension
Slice: Unordered, Open by value:url
... accidentIndicator 1..1CodeableConceptExtension
URL: https://ancode.app/fhir/StructureDefinition/AccidentIndicator
Binding: BRIndicadorAcidente (required)
... encounterClass 1..1CodeableConceptExtension
URL: https://ancode.app/fhir/StructureDefinition/EncounterClass
Binding: EncounterClass (required)
... newbornCare 1..1booleanOptional Extensions Element
URL: https://ancode.app/fhir/StructureDefinition/NewbornCare
... outpatientType 0..1CodeableConceptExtension
URL: https://ancode.app/fhir/StructureDefinition/OutpatientType
Binding: OutpatientType (required)
... hospitalizationType 0..1CodeableConceptExtension
URL: https://ancode.app/fhir/StructureDefinition/HospitalizationType
Binding: BRTipoInternacao (required)
... chemotherapyIndicator 0..1booleanOptional Extensions Element
URL: https://ancode.app/fhir/StructureDefinition/ChemotherapyIndicator
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... identifier Σ0..*IdentifierExternal Ids for this item
... status ?!Σ1..1codeproposed | pending | booked | arrived | fulfilled | cancelled | noshow | entered-in-error | checked-in | waitlist
Binding: AppointmentStatus (required): The free/busy status of an appointment.

... cancelationReason Σ0..1CodeableConceptThe coded reason for the appointment being cancelled
Binding: AppointmentCancellationReason (required)
... serviceCategory Σ0..*CodeableConceptA broad categorization of the service that is to be performed during this appointment
Binding: ServiceCategory (example)
... serviceType Σ0..*CodeableConceptThe specific service that is to be performed during this appointment
Binding: ServiceType (example)
... specialty Σ1..*CodeableConceptThe specialty of a practitioner that would be required to perform the service requested in this appointment
Binding: CBOHealthcare (required)
... appointmentType Σ1..1CodeableConceptThe style of appointment or patient that has been booked in the slot (not service type)
Binding: EncounterType (required)
... reasonCode Σ0..*CodeableConceptCoded reason this appointment is scheduled
Binding: EncounterReasonCodes (preferred): The Reason for the appointment to take place.


... reasonReference 0..*Reference(Condition | Procedure | Observation | ImmunizationRecommendation)Reason the appointment is to take place (resource)
... priority 1..1unsignedIntUsed to make informed decisions if needing to re-prioritize
... description 1..1stringShown on a subject line in a meeting request, or appointment list
... Slices for supportingInformation 1..*Reference(Resource)Additional information to support the appointment
Slice: Unordered, Open by type:type
.... supportingInformation:schedule 1..1Reference(Schedule)Additional information to support the appointment
.... supportingInformation:coverage 0..1Reference(Coverage)Additional information to support the appointment
... start Σ0..1instantWhen appointment is to take place
... end Σ0..1instantWhen appointment is to conclude
... minutesDuration 0..1positiveIntCan be less than start/end (e.g. estimate)
... slot 0..1Reference(Slot)The slots that this appointment is filling
... created 1..1dateTimeThe date that this appointment was initially created
... comment 0..1stringAdditional comments
... patientInstruction 0..1stringDetailed information and instructions for the patient
... basedOn 0..*Reference(ServiceRequest)The service request this appointment is allocated to assess
... Slices for participant C1..*BackboneElementParticipants involved in appointment
Slice: Unordered, Open by value:actor.type
.... participant:All Slices Content/Rules for all slices
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... type Σ0..*CodeableConceptRole of participant in the appointment
Binding: ParticipantType (extensible): Role of participant in encounter.


..... actor Σ0..1Reference(Patient | Practitioner | PractitionerRole | RelatedPerson | Device | HealthcareService | Location)Person, Location/HealthcareService or Device
..... required Σ0..1coderequired | optional | information-only
Binding: ParticipantRequired (required): Is the Participant required to attend the appointment.

..... status Σ1..1codeaccepted | declined | tentative | needs-action
Binding: ParticipationStatus (required): The Participation status of an appointment.

..... period 0..1PeriodParticipation period of the actor
.... participant:location C1..1BackboneElementParticipants involved in appointment
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... type Σ0..*CodeableConceptRole of participant in the appointment
Binding: ParticipantType (extensible): Role of participant in encounter.


..... actor Σ0..1Reference(Location)Person, Location/HealthcareService or Device
..... required Σ0..1coderequired | optional | information-only
Binding: ParticipantRequired (required): Is the Participant required to attend the appointment.

..... status Σ1..1codeaccepted | declined | tentative | needs-action
Binding: ParticipationStatus (required): The Participation status of an appointment.

..... period 0..1PeriodParticipation period of the actor
... requestedPeriod 0..*PeriodPotential date/time interval(s) requested to allocate the appointment within

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet
Appointment.languagepreferredCommonLanguages
Additional Bindings Purpose
AllLanguages Max Binding
Appointment.statusrequiredAppointmentStatus
Appointment.cancelationReasonrequiredAppointmentCancellationReason
Appointment.serviceCategoryexampleServiceCategory
Appointment.serviceTypeexampleServiceType
Appointment.specialtyrequiredCBOHealthcare (a valid code from Classificação Brasileira de Ocupações - CBO)
Appointment.appointmentTyperequiredEncounterType
Appointment.reasonCodepreferredEncounterReasonCodes
Appointment.participant.typeextensibleParticipantType
Appointment.participant.requiredrequiredParticipantRequired
Appointment.participant.statusrequiredParticipationStatus
Appointment.participant:location.typeextensibleParticipantType
Appointment.participant:location.requiredrequiredParticipantRequired
Appointment.participant:location.statusrequiredParticipationStatus

Constraints

IdGradePath(s)DetailsRequirements
app-1errorAppointment.participant, Appointment.participant:locationEither the type or actor on the participant SHALL be specified
: type.exists() or actor.exists()
dom-r4bwarningAppointment.containedContaining new R4B resources within R4 resources may cause interoperability issues if instances are shared with R4 systems
: ($this is Citation or $this is Evidence or $this is EvidenceReport or $this is EvidenceVariable or $this is MedicinalProductDefinition or $this is PackagedProductDefinition or $this is AdministrableProductDefinition or $this is Ingredient or $this is ClinicalUseDefinition or $this is RegulatedAuthorization or $this is SubstanceDefinition or $this is SubscriptionStatus or $this is SubscriptionTopic) implies (%resource is Citation or %resource is Evidence or %resource is EvidenceReport or %resource is EvidenceVariable or %resource is MedicinalProductDefinition or %resource is PackagedProductDefinition or %resource is AdministrableProductDefinition or %resource is Ingredient or %resource is ClinicalUseDefinition or %resource is RegulatedAuthorization or %resource is SubstanceDefinition or %resource is SubscriptionStatus or %resource is SubscriptionTopic)
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()

This structure is derived from Appointment

Differential View

This structure is derived from Appointment

NameFlagsCard.TypeDescription & Constraintsdoco
.. Appointment 0..*AppointmentA 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)
... Slices for extension 3..*ExtensionExtension
Slice: Unordered, Open by value:url
... accidentIndicator 1..1CodeableConceptExtension
URL: https://ancode.app/fhir/StructureDefinition/AccidentIndicator
Binding: BRIndicadorAcidente (required)
... encounterClass 1..1CodeableConceptExtension
URL: https://ancode.app/fhir/StructureDefinition/EncounterClass
Binding: EncounterClass (required)
... outpatientType 0..1CodeableConceptExtension
URL: https://ancode.app/fhir/StructureDefinition/OutpatientType
Binding: OutpatientType (required)
... hospitalizationType 0..1CodeableConceptExtension
URL: https://ancode.app/fhir/StructureDefinition/HospitalizationType
Binding: BRTipoInternacao (required)
... chemotherapyIndicator 0..1booleanExtension
URL: https://ancode.app/fhir/StructureDefinition/ChemotherapyIndicator
... cancelationReason 0..1CodeableConceptThe coded reason for the appointment being cancelled
Binding: AppointmentCancellationReason (required)
... specialty 1..*CodeableConceptThe specialty of a practitioner that would be required to perform the service requested in this appointment
Binding: CBOHealthcare (required)
... appointmentType 1..1CodeableConceptThe style of appointment or patient that has been booked in the slot (not service type)
Binding: EncounterType (required)
... priority 1..1unsignedIntUsed to make informed decisions if needing to re-prioritize
... description 1..1stringShown on a subject line in a meeting request, or appointment list
... Slices for supportingInformation 1..*Reference(Resource)Additional information to support the appointment
Slice: Unordered, Open by type:type
.... supportingInformation:schedule 1..1Reference(Schedule)Additional information to support the appointment
.... supportingInformation:coverage 0..1Reference(Coverage)Additional information to support the appointment
... slot 0..1Reference(Slot)The slots that this appointment is filling
... created 1..1dateTimeThe date that this appointment was initially created
... Slices for participant 1..*BackboneElementParticipants involved in appointment
Slice: Unordered, Open by value:actor.type
.... participant:location 1..1BackboneElementParticipants involved in appointment
..... actor 0..1Reference(Location)Person, Location/HealthcareService or Device

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSet
Appointment.cancelationReasonrequiredAppointmentCancellationReason
Appointment.specialtyrequiredCBOHealthcare (a valid code from Classificação Brasileira de Ocupações - CBO)
Appointment.appointmentTyperequiredEncounterType

Key Elements View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Appointment C0..*AppointmentA 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)
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... Slices for extension 3..*ExtensionExtension
Slice: Unordered, Open by value:url
... accidentIndicator 1..1CodeableConceptExtension
URL: https://ancode.app/fhir/StructureDefinition/AccidentIndicator
Binding: BRIndicadorAcidente (required)
... newbornCare 1..1booleanOptional Extensions Element
URL: https://ancode.app/fhir/StructureDefinition/NewbornCare
... outpatientType 0..1CodeableConceptExtension
URL: https://ancode.app/fhir/StructureDefinition/OutpatientType
Binding: OutpatientType (required)
... hospitalizationType 0..1CodeableConceptExtension
URL: https://ancode.app/fhir/StructureDefinition/HospitalizationType
Binding: BRTipoInternacao (required)
... chemotherapyIndicator 0..1booleanOptional Extensions Element
URL: https://ancode.app/fhir/StructureDefinition/ChemotherapyIndicator
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... status ?!Σ1..1codeproposed | pending | booked | arrived | fulfilled | cancelled | noshow | entered-in-error | checked-in | waitlist
Binding: AppointmentStatus (required): The free/busy status of an appointment.

... cancelationReason Σ0..1CodeableConceptThe coded reason for the appointment being cancelled
Binding: AppointmentCancellationReason (required)
... specialty Σ1..*CodeableConceptThe specialty of a practitioner that would be required to perform the service requested in this appointment
Binding: CBOHealthcare (required)
... appointmentType Σ1..1CodeableConceptThe style of appointment or patient that has been booked in the slot (not service type)
Binding: EncounterType (required)
... priority 1..1unsignedIntUsed to make informed decisions if needing to re-prioritize
... description 1..1stringShown on a subject line in a meeting request, or appointment list
... Slices for supportingInformation 1..*Reference(Resource)Additional information to support the appointment
Slice: Unordered, Open by type:type
.... supportingInformation:schedule 1..1Reference(Schedule)Additional information to support the appointment
.... supportingInformation:coverage 0..1Reference(Coverage)Additional information to support the appointment
... slot 0..1Reference(Slot)The slots that this appointment is filling
... created 1..1dateTimeThe date that this appointment was initially created
... Slices for participant C1..*BackboneElementParticipants involved in appointment
Slice: Unordered, Open by value:actor.type
.... participant:All Slices Content/Rules for all slices
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... status Σ1..1codeaccepted | declined | tentative | needs-action
Binding: ParticipationStatus (required): The Participation status of an appointment.

.... participant:location C1..1BackboneElementParticipants involved in appointment
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... actor Σ0..1Reference(Location)Person, Location/HealthcareService or Device
..... status Σ1..1codeaccepted | declined | tentative | needs-action
Binding: ParticipationStatus (required): The Participation status of an appointment.


doco Documentation for this format

Terminology Bindings

PathConformanceValueSet
Appointment.statusrequiredAppointmentStatus
Appointment.cancelationReasonrequiredAppointmentCancellationReason
Appointment.specialtyrequiredCBOHealthcare (a valid code from Classificação Brasileira de Ocupações - CBO)
Appointment.appointmentTyperequiredEncounterType
Appointment.participant.statusrequiredParticipationStatus
Appointment.participant:location.statusrequiredParticipationStatus

Constraints

IdGradePath(s)DetailsRequirements
app-1errorAppointment.participant, Appointment.participant:locationEither the type or actor on the participant SHALL be specified
: type.exists() or actor.exists()
app-2errorAppointmentEither start and end are specified, or neither
: start.exists() = end.exists()
app-3errorAppointmentOnly proposed or cancelled appointments can be missing start/end dates
: (start.exists() and end.exists()) or (status in ('proposed' | 'cancelled' | 'waitlist'))
app-4errorAppointmentCancelation 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')
dom-2errorAppointmentIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorAppointmentIf 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.exists() and ('#'+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(uri) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4errorAppointmentIf 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-5errorAppointmentIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceAppointmentA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Appointment C0..*AppointmentA 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)
... id Σ0..1idLogical id of this artifact
... meta Σ0..1MetaMetadata about the resource
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... language 0..1codeLanguage of the resource content
Binding: CommonLanguages (preferred): IETF language tag

Additional BindingsPurpose
AllLanguagesMax Binding
... text 0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... Slices for extension 3..*ExtensionExtension
Slice: Unordered, Open by value:url
... accidentIndicator 1..1CodeableConceptExtension
URL: https://ancode.app/fhir/StructureDefinition/AccidentIndicator
Binding: BRIndicadorAcidente (required)
... encounterClass 1..1CodeableConceptExtension
URL: https://ancode.app/fhir/StructureDefinition/EncounterClass
Binding: EncounterClass (required)
... newbornCare 1..1booleanOptional Extensions Element
URL: https://ancode.app/fhir/StructureDefinition/NewbornCare
... outpatientType 0..1CodeableConceptExtension
URL: https://ancode.app/fhir/StructureDefinition/OutpatientType
Binding: OutpatientType (required)
... hospitalizationType 0..1CodeableConceptExtension
URL: https://ancode.app/fhir/StructureDefinition/HospitalizationType
Binding: BRTipoInternacao (required)
... chemotherapyIndicator 0..1booleanOptional Extensions Element
URL: https://ancode.app/fhir/StructureDefinition/ChemotherapyIndicator
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... identifier Σ0..*IdentifierExternal Ids for this item
... status ?!Σ1..1codeproposed | pending | booked | arrived | fulfilled | cancelled | noshow | entered-in-error | checked-in | waitlist
Binding: AppointmentStatus (required): The free/busy status of an appointment.

... cancelationReason Σ0..1CodeableConceptThe coded reason for the appointment being cancelled
Binding: AppointmentCancellationReason (required)
... serviceCategory Σ0..*CodeableConceptA broad categorization of the service that is to be performed during this appointment
Binding: ServiceCategory (example)
... serviceType Σ0..*CodeableConceptThe specific service that is to be performed during this appointment
Binding: ServiceType (example)
... specialty Σ1..*CodeableConceptThe specialty of a practitioner that would be required to perform the service requested in this appointment
Binding: CBOHealthcare (required)
... appointmentType Σ1..1CodeableConceptThe style of appointment or patient that has been booked in the slot (not service type)
Binding: EncounterType (required)
... reasonCode Σ0..*CodeableConceptCoded reason this appointment is scheduled
Binding: EncounterReasonCodes (preferred): The Reason for the appointment to take place.


... reasonReference 0..*Reference(Condition | Procedure | Observation | ImmunizationRecommendation)Reason the appointment is to take place (resource)
... priority 1..1unsignedIntUsed to make informed decisions if needing to re-prioritize
... description 1..1stringShown on a subject line in a meeting request, or appointment list
... Slices for supportingInformation 1..*Reference(Resource)Additional information to support the appointment
Slice: Unordered, Open by type:type
.... supportingInformation:schedule 1..1Reference(Schedule)Additional information to support the appointment
.... supportingInformation:coverage 0..1Reference(Coverage)Additional information to support the appointment
... start Σ0..1instantWhen appointment is to take place
... end Σ0..1instantWhen appointment is to conclude
... minutesDuration 0..1positiveIntCan be less than start/end (e.g. estimate)
... slot 0..1Reference(Slot)The slots that this appointment is filling
... created 1..1dateTimeThe date that this appointment was initially created
... comment 0..1stringAdditional comments
... patientInstruction 0..1stringDetailed information and instructions for the patient
... basedOn 0..*Reference(ServiceRequest)The service request this appointment is allocated to assess
... Slices for participant C1..*BackboneElementParticipants involved in appointment
Slice: Unordered, Open by value:actor.type
.... participant:All Slices Content/Rules for all slices
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... type Σ0..*CodeableConceptRole of participant in the appointment
Binding: ParticipantType (extensible): Role of participant in encounter.


..... actor Σ0..1Reference(Patient | Practitioner | PractitionerRole | RelatedPerson | Device | HealthcareService | Location)Person, Location/HealthcareService or Device
..... required Σ0..1coderequired | optional | information-only
Binding: ParticipantRequired (required): Is the Participant required to attend the appointment.

..... status Σ1..1codeaccepted | declined | tentative | needs-action
Binding: ParticipationStatus (required): The Participation status of an appointment.

..... period 0..1PeriodParticipation period of the actor
.... participant:location C1..1BackboneElementParticipants involved in appointment
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... type Σ0..*CodeableConceptRole of participant in the appointment
Binding: ParticipantType (extensible): Role of participant in encounter.


..... actor Σ0..1Reference(Location)Person, Location/HealthcareService or Device
..... required Σ0..1coderequired | optional | information-only
Binding: ParticipantRequired (required): Is the Participant required to attend the appointment.

..... status Σ1..1codeaccepted | declined | tentative | needs-action
Binding: ParticipationStatus (required): The Participation status of an appointment.

..... period 0..1PeriodParticipation period of the actor
... requestedPeriod 0..*PeriodPotential date/time interval(s) requested to allocate the appointment within

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet
Appointment.languagepreferredCommonLanguages
Additional Bindings Purpose
AllLanguages Max Binding
Appointment.statusrequiredAppointmentStatus
Appointment.cancelationReasonrequiredAppointmentCancellationReason
Appointment.serviceCategoryexampleServiceCategory
Appointment.serviceTypeexampleServiceType
Appointment.specialtyrequiredCBOHealthcare (a valid code from Classificação Brasileira de Ocupações - CBO)
Appointment.appointmentTyperequiredEncounterType
Appointment.reasonCodepreferredEncounterReasonCodes
Appointment.participant.typeextensibleParticipantType
Appointment.participant.requiredrequiredParticipantRequired
Appointment.participant.statusrequiredParticipationStatus
Appointment.participant:location.typeextensibleParticipantType
Appointment.participant:location.requiredrequiredParticipantRequired
Appointment.participant:location.statusrequiredParticipationStatus

Constraints

IdGradePath(s)DetailsRequirements
app-1errorAppointment.participant, Appointment.participant:locationEither the type or actor on the participant SHALL be specified
: type.exists() or actor.exists()
dom-r4bwarningAppointment.containedContaining new R4B resources within R4 resources may cause interoperability issues if instances are shared with R4 systems
: ($this is Citation or $this is Evidence or $this is EvidenceReport or $this is EvidenceVariable or $this is MedicinalProductDefinition or $this is PackagedProductDefinition or $this is AdministrableProductDefinition or $this is Ingredient or $this is ClinicalUseDefinition or $this is RegulatedAuthorization or $this is SubstanceDefinition or $this is SubscriptionStatus or $this is SubscriptionTopic) implies (%resource is Citation or %resource is Evidence or %resource is EvidenceReport or %resource is EvidenceVariable or %resource is MedicinalProductDefinition or %resource is PackagedProductDefinition or %resource is AdministrableProductDefinition or %resource is Ingredient or %resource is ClinicalUseDefinition or %resource is RegulatedAuthorization or %resource is SubstanceDefinition or %resource is SubscriptionStatus or %resource is SubscriptionTopic)
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()

This structure is derived from Appointment

Summary

Mandatory: 11 elements

Structures

This structure refers to these other structures:

Extensions

This structure refers to these extensions:

Slices

This structure defines the following Slices:

  • The element Appointment.supportingInformation is sliced based on the value of type:type
  • The element Appointment.participant is sliced based on the value of value:actor.type

 

Other representations of profile: CSV, Excel, Schematron