class Mirah::Data::Appointment

Appointments represent a planned or past meeting between a patient and a practitioner. This is based on www.hl7.org/fhir/appointment.html As part of the integration flow, Mirah will work out whether this appointments needs an accompanying measurement encounter and automatically create one as appropriate. Mirah's ETL will generally make a best effort to estimate where and what context the measurement should be taken. The more information (Episode of Care, Organization, etc) that you supply, the more likely it is to be correct. Note that as part of this processing, Mirah may immediately choose to create assessments and trigger communications with the patient or other participants, for example by text message or email. In order to keep adherence statistics up to date, Mirah also requires that updates on past appointments are sent, so that we can calculate whether e.g. the appointment was a no-show.

Public Instance Methods

measured?() click to toggle source

Whether this appointment has a Mirah measurement encounter associated with it.

# File lib/mirah/data/appointment.rb, line 74
def measured?
  !!encounter_id
end