Class: Mirah::Data::PatientCondition

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

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

#abatement_datestring (readonly)

Returns The date of abatement.

Returns:

  • (string)

    The date of abatement



24
# File 'lib/mirah/data/patient_condition.rb', line 24

attribute :abatement_date, serializer: Serializers::DateTimeSerializer.new

#diagnostic_code_idstring (readonly)

Returns The internal mirah id of the code the patient has been diagnosed with.

Returns:

  • (string)

    The internal mirah id of the code the patient has been diagnosed with



36
# File 'lib/mirah/data/patient_condition.rb', line 36

attribute :diagnostic_code_id, path: %w[diagnosticCode], target: 'id'

#external_diagnostic_code_idstring (readonly)

Returns Your system identifier for the code the patient has been diagnosed with.

Returns:

  • (string)

    Your system identifier for the code the patient has been diagnosed with



40
# File 'lib/mirah/data/patient_condition.rb', line 40

attribute :external_diagnostic_code_id, path: %w[diagnosticCode], target: 'externalId'

#external_idstring (readonly)

Returns The identifier provided by your system.

Returns:

  • (string)

    The identifier provided by your system



12
# File 'lib/mirah/data/patient_condition.rb', line 12

attribute :external_id

#external_patient_idstring (readonly)

Returns Your system identifier for the patient the condition applies to.

Returns:

  • (string)

    Your system identifier for the patient the condition applies to



32
# File 'lib/mirah/data/patient_condition.rb', line 32

attribute :external_patient_id, path: %w[patient], target: 'externalId'

#idstring (readonly)

Returns The internal Mirah identifier.

Returns:

  • (string)

    The internal Mirah identifier



8
# File 'lib/mirah/data/patient_condition.rb', line 8

attribute :id

#onset_datestring (readonly)

Returns The date of onset.

Returns:

  • (string)

    The date of onset



20
# File 'lib/mirah/data/patient_condition.rb', line 20

attribute :onset_date, serializer: Serializers::DateTimeSerializer.new

#patient_idstring (readonly)

Returns The internal mirah id of the patient the condition applies to.

Returns:

  • (string)

    The internal mirah id of the patient the condition applies to



28
# File 'lib/mirah/data/patient_condition.rb', line 28

attribute :patient_id, path: %w[patient], target: 'id'

#statusstring (readonly)

Returns The status of this condition.

Returns:

  • (string)

    The status of this condition



16
# File 'lib/mirah/data/patient_condition.rb', line 16

attribute :status