Guía de Implementación para la gestión de citas médicas enfocado en la APS
0.4.0 - ci-build Chile flag

Guía de Implementación para la gestión de citas médicas enfocado en la APS, published by Unidad de Interoperabilidad - MINSAL. This guide is not an authorized publication; it is the continuous build for version 0.4.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/Minsal-CL/agenda/ and changes regularly. See the Directory of published versions

Resource Profile: Perfil de la Respuesta a la cita.

Official URL: https://interoperabilidad.minsal.cl/fhir/ig/agenda/StructureDefinition/CitaRespuesta Version: 0.4.0
Draft as of 2025-07-14 Computable Name: CitaRespuesta

Una respuesta a una solicitud de cita para un paciente y/o médico(s), como una confirmación o un rechazo.

Usages:

Formal Views of Profile Content

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

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. AppointmentResponse C 0..* AppointmentResponse A reply to an appointment request for a patient and/or practitioner(s), such as a confirmation or rejection
Constraints: apr-1
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... appointment Σ 1..1 Reference(Appointment) Referencia a la cita médica
... actor Σ 0..1 Reference(Patient) Paciente que responde si rechaza o acepta la hora de la cita medica
... participantStatus ?!Σ 1..1 code Estado del paciente si rechaza o acepta la cita
Binding: ParticipationStatus (required)

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
AppointmentResponse.participantStatusrequiredParticipationStatus
http://hl7.org/fhir/ValueSet/participationstatus
From the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
apr-1errorAppointmentResponseEither the participantType or actor must be specified
: participantType.exists() or actor.exists()
dom-2errorAppointmentResponseIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorAppointmentResponseIf the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource
: contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4errorAppointmentResponseIf a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
: contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5errorAppointmentResponseIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceAppointmentResponseA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()

This structure is derived from AppointmentResponse

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. AppointmentResponse AppointmentResponse
... appointment 1..1 Reference(Appointment) Referencia a la cita médica
... start 0..1 instant Nueva hora de cita solicitada
... actor 0..1 Reference(Patient) Paciente que responde si rechaza o acepta la hora de la cita medica

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSetURI
AppointmentResponse.participantStatusrequiredParticipationStatus
http://hl7.org/fhir/ValueSet/participationstatus
From the FHIR Standard
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. AppointmentResponse C 0..* AppointmentResponse A reply to an appointment request for a patient and/or practitioner(s), such as a confirmation or rejection
Constraints: apr-1
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... text 0..1 Narrative Text summary of the resource, for human interpretation
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
... contained 0..* Resource Contained, inline Resources
... extension 0..* Extension Additional content defined by implementations
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... identifier Σ 0..* Identifier External Ids for this item
... appointment Σ 1..1 Reference(Appointment) Referencia a la cita médica
... start 0..1 instant Nueva hora de cita solicitada
... end 0..1 instant Time from appointment, or requested new end time
... participantType Σ 0..* CodeableConcept Role of participant in the appointment
Binding: ParticipantType (extensible): Role of participant in encounter.
... actor Σ 0..1 Reference(Patient) Paciente que responde si rechaza o acepta la hora de la cita medica
... participantStatus ?!Σ 1..1 code Estado del paciente si rechaza o acepta la cita
Binding: ParticipationStatus (required)
... comment 0..1 string Additional comments

doco Documentation for this format

Terminology Bindings

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

Constraints

IdGradePath(s)DetailsRequirements
apr-1errorAppointmentResponseEither the participantType or actor must be specified
: participantType.exists() or actor.exists()
dom-2errorAppointmentResponseIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorAppointmentResponseIf the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource
: contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4errorAppointmentResponseIf a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
: contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5errorAppointmentResponseIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceAppointmentResponseA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()

This structure is derived from AppointmentResponse

Summary

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. AppointmentResponse C 0..* AppointmentResponse A reply to an appointment request for a patient and/or practitioner(s), such as a confirmation or rejection
Constraints: apr-1
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... appointment Σ 1..1 Reference(Appointment) Referencia a la cita médica
... actor Σ 0..1 Reference(Patient) Paciente que responde si rechaza o acepta la hora de la cita medica
... participantStatus ?!Σ 1..1 code Estado del paciente si rechaza o acepta la cita
Binding: ParticipationStatus (required)

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
AppointmentResponse.participantStatusrequiredParticipationStatus
http://hl7.org/fhir/ValueSet/participationstatus
From the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
apr-1errorAppointmentResponseEither the participantType or actor must be specified
: participantType.exists() or actor.exists()
dom-2errorAppointmentResponseIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorAppointmentResponseIf the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource
: contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4errorAppointmentResponseIf a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
: contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5errorAppointmentResponseIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceAppointmentResponseA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()

Differential View

This structure is derived from AppointmentResponse

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. AppointmentResponse AppointmentResponse
... appointment 1..1 Reference(Appointment) Referencia a la cita médica
... start 0..1 instant Nueva hora de cita solicitada
... actor 0..1 Reference(Patient) Paciente que responde si rechaza o acepta la hora de la cita medica

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSetURI
AppointmentResponse.participantStatusrequiredParticipationStatus
http://hl7.org/fhir/ValueSet/participationstatus
From the FHIR Standard

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. AppointmentResponse C 0..* AppointmentResponse A reply to an appointment request for a patient and/or practitioner(s), such as a confirmation or rejection
Constraints: apr-1
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... text 0..1 Narrative Text summary of the resource, for human interpretation
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
... contained 0..* Resource Contained, inline Resources
... extension 0..* Extension Additional content defined by implementations
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... identifier Σ 0..* Identifier External Ids for this item
... appointment Σ 1..1 Reference(Appointment) Referencia a la cita médica
... start 0..1 instant Nueva hora de cita solicitada
... end 0..1 instant Time from appointment, or requested new end time
... participantType Σ 0..* CodeableConcept Role of participant in the appointment
Binding: ParticipantType (extensible): Role of participant in encounter.
... actor Σ 0..1 Reference(Patient) Paciente que responde si rechaza o acepta la hora de la cita medica
... participantStatus ?!Σ 1..1 code Estado del paciente si rechaza o acepta la cita
Binding: ParticipationStatus (required)
... comment 0..1 string Additional comments

doco Documentation for this format

Terminology Bindings

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

Constraints

IdGradePath(s)DetailsRequirements
apr-1errorAppointmentResponseEither the participantType or actor must be specified
: participantType.exists() or actor.exists()
dom-2errorAppointmentResponseIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorAppointmentResponseIf the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource
: contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4errorAppointmentResponseIf a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
: contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5errorAppointmentResponseIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceAppointmentResponseA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()

This structure is derived from AppointmentResponse

Summary

 

Other representations of profile: CSV, Excel, Schematron