Class: Mirah::Data::Practitioner

Inherits:
BaseObject show all
Defined in:
lib/mirah/data/practitioner.rb

Overview

FHIR Practitioners represent people directly involved in the provision of care. See www.hl7.org/fhir/practitioner.html for more details.

Instance Attribute Summary collapse

Method Summary

Methods inherited from BaseObject

from_graphql_hash, #initialize, #to_graphql_hash

Constructor Details

This class inherits a constructor from Mirah::BaseObject

Instance Attribute Details

#default_practitioner_rolestring (readonly)

Returns The clinical role for this practitioner.

Returns:

  • (string)

    The clinical role for this practitioner



38
# File 'lib/mirah/data/practitioner.rb', line 38

attribute :default_practitioner_role

#emailstring (readonly)

Returns The practitioner’s primary email address.

Returns:

  • (string)

    The practitioner’s primary email address



34
# File 'lib/mirah/data/practitioner.rb', line 34

attribute :email

#external_idstring (readonly)

Returns The identifier provided by your system.

Returns:

  • (string)

    The identifier provided by your system



14
# File 'lib/mirah/data/practitioner.rb', line 14

attribute :external_id

#external_organization_idsArray<string> (readonly)

Returns The identifiers from your system of the organizations this practitioner has a role in.

Returns:

  • (Array<string>)

    The identifiers from your system of the organizations this practitioner has a role in



50
# File 'lib/mirah/data/practitioner.rb', line 50

attribute :external_organization_ids, path: %w[organizations], target: 'externalId'

#family_namestring (readonly)

Returns The practitioner’s last or family name.

Returns:

  • (string)

    The practitioner’s last or family name



22
# File 'lib/mirah/data/practitioner.rb', line 22

attribute :family_name

#given_namestring (readonly)

Returns The practitioner’s first or given name.

Returns:

  • (string)

    The practitioner’s first or given name



18
# File 'lib/mirah/data/practitioner.rb', line 18

attribute :given_name

#idstring (readonly)

Returns The internal Mirah identifier.

Returns:

  • (string)

    The internal Mirah identifier



10
# File 'lib/mirah/data/practitioner.rb', line 10

attribute :id

#organization_idsArray<string> (readonly)

Returns The internal mirah organization ids this practitioner has a role in.

Returns:

  • (Array<string>)

    The internal mirah organization ids this practitioner has a role in



46
# File 'lib/mirah/data/practitioner.rb', line 46

attribute :organization_ids, path: %w[organization], target: 'id'

#sso_usernamestring (readonly)

Returns The username (nameid) used for single sign on by this practitioner.

Returns:

  • (string)

    The username (nameid) used for single sign on by this practitioner.



42
# File 'lib/mirah/data/practitioner.rb', line 42

attribute :sso_username

#suffixstring (readonly)

Returns The practitioner’s suffix, e.g. ‘MD’.

Returns:

  • (string)

    The practitioner’s suffix, e.g. ‘MD’



30
# File 'lib/mirah/data/practitioner.rb', line 30

attribute :suffix

#titlestring (readonly)

Returns The practitioner’s title, e.g. ‘Dr’.

Returns:

  • (string)

    The practitioner’s title, e.g. ‘Dr’



26
# File 'lib/mirah/data/practitioner.rb', line 26

attribute :title