Class: Mirah::Inputs::PatientInput
- Inherits:
-
BaseInputObject
- Object
- BaseInputObject
- Mirah::Inputs::PatientInput
- Defined in:
- lib/mirah/inputs/patient_input.rb
Overview
A set of parameters for updating a Data::Patient
Instance Attribute Summary collapse
-
#birth_date ⇒ Date
readonly
The patient’s date of birth.
-
#email ⇒ string
readonly
The patient’s primary email address.
-
#external_id ⇒ string
readonly
The identifier provided by your system.
-
#external_managing_organization_id ⇒ string
readonly
Your system identifier for the organization this patient is with.
-
#family_name ⇒ string
readonly
The patient’s last or family name.
-
#gender ⇒ string
readonly
The patient’s gender.
-
#gender_identity ⇒ string
readonly
The patient’s gender identity as free text.
-
#gender_identity_fhir ⇒ string
readonly
The patient’s gender identity as FHIR extension coded.
-
#given_name ⇒ string
readonly
The patient’s first or given name.
-
#legal_family_name ⇒ string
readonly
The patient’s legal last or family name.
-
#legal_given_name ⇒ string
readonly
The patient’s legal first or given name.
-
#legal_name ⇒ string
readonly
The patient’s full legal name.
-
#phone_number ⇒ string
readonly
The patient’s timezone.
-
#preferred_family_name ⇒ string
readonly
The patient’s preferred last or family name.
-
#preferred_given_name ⇒ string
readonly
The patient’s preferred first or given name.
-
#preferred_name ⇒ string
readonly
The patient’s full preferred name.
-
#preferred_pronouns ⇒ string
readonly
The patient’s preferred pronouns.
-
#primary_language ⇒ string
readonly
The patient’s primary language.
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_date ⇒ Date (readonly)
Returns 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 |
#email ⇒ string (readonly)
Returns The patient’s primary email address.
69 |
# File 'lib/mirah/inputs/patient_input.rb', line 69 input :email, required: false |
#external_id ⇒ string (readonly)
Returns The identifier provided by your system.
9 |
# File 'lib/mirah/inputs/patient_input.rb', line 9 input :external_id, required: true |
#external_managing_organization_id ⇒ string (readonly)
Returns 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_name ⇒ string (readonly)
Returns The patient’s last or family name.
17 |
# File 'lib/mirah/inputs/patient_input.rb', line 17 input :family_name, required: false |
#gender ⇒ string (readonly)
Returns The patient’s gender.
53 |
# File 'lib/mirah/inputs/patient_input.rb', line 53 input :gender, required: false |
#gender_identity ⇒ string (readonly)
Returns 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_fhir ⇒ string (readonly)
Returns 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_name ⇒ string (readonly)
Returns The patient’s first or given name.
13 |
# File 'lib/mirah/inputs/patient_input.rb', line 13 input :given_name, required: false |
#legal_family_name ⇒ string (readonly)
Returns The patient’s legal last or family name.
33 |
# File 'lib/mirah/inputs/patient_input.rb', line 33 input :legal_family_name, required: false |
#legal_given_name ⇒ string (readonly)
Returns The patient’s legal first or given name.
29 |
# File 'lib/mirah/inputs/patient_input.rb', line 29 input :legal_given_name, required: false |
#legal_name ⇒ string (readonly)
Returns The patient’s full legal name.
41 |
# File 'lib/mirah/inputs/patient_input.rb', line 41 input :legal_name, required: false |
#phone_number ⇒ string (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.
73 |
# File 'lib/mirah/inputs/patient_input.rb', line 73 input :phone_number, required: false |
#preferred_family_name ⇒ string (readonly)
Returns 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_name ⇒ string (readonly)
Returns 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_name ⇒ string (readonly)
Returns The patient’s full preferred name.
37 |
# File 'lib/mirah/inputs/patient_input.rb', line 37 input :preferred_name, required: false |
#preferred_pronouns ⇒ string (readonly)
Returns The patient’s preferred pronouns.
45 |
# File 'lib/mirah/inputs/patient_input.rb', line 45 input :preferred_pronouns, required: false |
#primary_language ⇒ string (readonly)
Returns The patient’s primary language.
65 |
# File 'lib/mirah/inputs/patient_input.rb', line 65 input :primary_language, required: false |