Minimal Nexus EMR profile for Appointment resources, primarily for mapping status, start date (Last Visit Date), and required patient/practitioner participants. Assumes filtering for status='fulfilled' happens during data retrieval/processing. Contains embedded aliases and invariants.
The profile's synthesized-accessor contract: fields TypedFhir surfaces as first-class typed properties, each computed from the instance by a restricted FHIRPath expression. See Salient Fields for what they are, how they shape LLM contexts, and how to declare them.
The overall status of the Appointment. Indicates confirmation status and attendance.
Comments
Not all EMRs support a 'fulfilled' status. In those cases we will only have a 'booked', 'arrived' or 'checked in' status. For those consumers of FHIR data that are depending on this (including CPAR), a reasonable workaround is checking for fulfilled || ((booked || arrived || checked in) && before yesterday)
The style of appointment or patient that has been booked (e.g., routine, walk-in, checkup).
RECOMMENDED: v2 Appointment Reason Codes or other standard terminology when available
OPTIONAL: Raw EMR codes for source system preservation
Comments
Where this code was mapped from a source system's own vocabulary, carry the raw coding alongside the mapped one, flagged userSelected = true. See Carrying the raw code.
The specific service that is to be performed during this appointment.
RECOMMENDED: Standard terminology codes when available
OPTIONAL: Raw EMR codes for source system preservation
Where this code was mapped from a source system's own vocabulary, carry the raw coding alongside the mapped one, flagged userSelected = true. See Carrying the raw code.
Comments
For a provider to provider appointment the code "FOLLOWUP" may be appropriate, as this is expected to be discussing some patient that was seen in the past.
Coded reason this appointment is scheduled.
RECOMMENDED: Encounter Reason Codes or other standard terminology when available
OPTIONAL: Raw EMR codes for source system preservation
Comments
Where this code was mapped from a source system's own vocabulary, carry the raw coding alongside the mapped one, flagged userSelected = true. See Carrying the raw code.
Shown on a subject line in a meeting request, or appointment list
Definition
The brief description of the appointment as would be shown on a subject line in a meeting request, or appointment list. Detailed or expanded information should be put in the comment field.
The coded reason for the appointment being cancelled
Definition
The coded reason for the appointment being cancelled. This is often used in reporting/billing/futher processing to determine if further actions are required, or specific fees apply.