Class: Mirah::Inputs::PatientInput

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

Overview

A set of parameters for updating a Data::Patient

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

#birth_dateDate (readonly)

Returns The patient’s date of birth.

Returns:

  • (Date)

    The patient’s date of birth.



49
# File 'lib/mirah/inputs/patient_input.rb', line 49

input :birth_date, required: false, serializer: Serializers::DateSerializer.new

#emailstring (readonly)

Returns The patient’s primary email address.

Returns:

  • (string)

    The patient’s primary email address



69
# File 'lib/mirah/inputs/patient_input.rb', line 69

input :email, required: false

#external_idstring (readonly)

Returns The identifier provided by your system.

Returns:

  • (string)

    The identifier provided by your system



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

input :external_id, required: true

#external_managing_organization_idstring (readonly)

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

Returns:

  • (string)

    Your system identifier for the organization this patient is with



81
# File 'lib/mirah/inputs/patient_input.rb', line 81

input :external_managing_organization_id, required: false

#family_namestring (readonly)

Returns The patient’s last or family name.

Returns:

  • (string)

    The patient’s last or family name



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

input :family_name, required: false

#genderstring (readonly)

Returns The patient’s gender.

Returns:

  • (string)

    The patient’s gender



53
# File 'lib/mirah/inputs/patient_input.rb', line 53

input :gender, required: false

#gender_identitystring (readonly)

Returns The patient’s gender identity as free text.

Returns:

  • (string)

    The patient’s gender identity as free text



57
# File 'lib/mirah/inputs/patient_input.rb', line 57

input :gender_identity, required: false

#gender_identity_fhirstring (readonly)

Returns The patient’s gender identity as FHIR extension coded.

Returns:

  • (string)

    The patient’s gender identity as FHIR extension coded.



61
# File 'lib/mirah/inputs/patient_input.rb', line 61

input :gender_identity_fhir, required: false

#given_namestring (readonly)

Returns The patient’s first or given name.

Returns:

  • (string)

    The patient’s first or given name



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

input :given_name, required: false

Returns The patient’s legal last or family name.

Returns:

  • (string)

    The patient’s legal last or family name



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

input :legal_family_name, required: false

Returns The patient’s legal first or given name.

Returns:

  • (string)

    The patient’s legal first or given name



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

input :legal_given_name, required: false

Returns The patient’s full legal name.

Returns:

  • (string)

    The patient’s full legal name.



41
# File 'lib/mirah/inputs/patient_input.rb', line 41

input :legal_name, required: false

#phone_numberstring (readonly)

Returns The patient’s timezone. If not specified, the organization’s default will be used. Timezone should be formatted like: en.wikipedia.org/wiki/Tz_database.

Returns:

  • (string)

    The patient’s timezone. If not specified, the organization’s default will be used. Timezone should be formatted like: en.wikipedia.org/wiki/Tz_database



73
# File 'lib/mirah/inputs/patient_input.rb', line 73

input :phone_number, required: false

#preferred_family_namestring (readonly)

Returns The patient’s preferred last or family name.

Returns:

  • (string)

    The patient’s preferred last or family name



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

input :preferred_family_name, required: false

#preferred_given_namestring (readonly)

Returns The patient’s preferred first or given name.

Returns:

  • (string)

    The patient’s preferred first or given name



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

input :preferred_given_name, required: false

#preferred_namestring (readonly)

Returns The patient’s full preferred name.

Returns:

  • (string)

    The patient’s full preferred name.



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

input :preferred_name, required: false

#preferred_pronounsstring (readonly)

Returns The patient’s preferred pronouns.

Returns:

  • (string)

    The patient’s preferred pronouns.



45
# File 'lib/mirah/inputs/patient_input.rb', line 45

input :preferred_pronouns, required: false

#primary_languagestring (readonly)

Returns The patient’s primary language.

Returns:

  • (string)

    The patient’s primary language



65
# File 'lib/mirah/inputs/patient_input.rb', line 65

input :primary_language, required: false