Class: Mirah::Inputs::AppointmentInput

Inherits:
BaseInputObject show all
Defined in:
lib/mirah/inputs/appointment_input.rb

Overview

A set of parameters for updating a Data::Appointment

Instance Attribute Summary collapse

Method Summary

Methods inherited from BaseInputObject

from_graphql_hash, #initialize, #to_graphql_hash, #valid?, #validate!

Constructor Details

This class inherits a constructor from Mirah::BaseInputObject

Instance Attribute Details

#end_dateDate (readonly)

Returns The appointment end date.

Returns:

  • (Date)

    The appointment end date



17
# File 'lib/mirah/inputs/appointment_input.rb', line 17

input :end_date, required: false, serializer: Serializers::DateTimeSerializer.new

#external_idstring (readonly)

Returns The identifier provided by your system.

Returns:

  • (string)

    The identifier provided by your system



9
# File 'lib/mirah/inputs/appointment_input.rb', line 9

input :external_id, required: true

#external_organization_idstring (readonly)

Returns Your system identifier for the organization this appointment is with.

Returns:

  • (string)

    Your system identifier for the organization this appointment is with



33
# File 'lib/mirah/inputs/appointment_input.rb', line 33

input :external_organization_id, required: false

#external_patient_idstring (readonly)

Returns Your system identifier for the patient.

Returns:

  • (string)

    Your system identifier for the patient



29
# File 'lib/mirah/inputs/appointment_input.rb', line 29

input :external_patient_id, required: false

#external_practitioner_idstring (readonly)

Returns Your system identifier for the practitioner this appointment is with.

Returns:

  • (string)

    Your system identifier for the practitioner this appointment is with



37
# File 'lib/mirah/inputs/appointment_input.rb', line 37

input :external_practitioner_id, required: false

#minutes_durationInteger (readonly)

Returns The legnth of this appointment in minutes.

Returns:

  • (Integer)

    The legnth of this appointment in minutes



21
# File 'lib/mirah/inputs/appointment_input.rb', line 21

input :minutes_duration, required: false

#start_dateDate (readonly)

Returns The appointment start date.

Returns:

  • (Date)

    The appointment start date



13
# File 'lib/mirah/inputs/appointment_input.rb', line 13

input :start_date, required: false, serializer: Serializers::DateTimeSerializer.new

#statusstring (readonly)

Returns The appointment status.

Returns:

  • (string)

    The appointment status



25
# File 'lib/mirah/inputs/appointment_input.rb', line 25

input :status, required: true