Class: EncounterSummary

EncounterSummary


new EncounterSummary()

This is a constructor for an Encounter object that summarizes a users interaction within the Symptom Checker application. Instances of this class should be created and interacted with through Encounter. Encounter keeps a private EncounterSummary instance that can be requested at any time and also provides an interface that should be used for updating the encounter summary.

Members


<inner> ageGroup :string

The ageGroup for the symptom check. Should be 'adult' or 'child'.

Type:
  • string
Default Value:
  • 'child'

<inner> ageInDays :number

The age as a number of days for the symptom check.

Type:
  • number

<inner> bodyAreasSelected :Array.<string>

An array of body areas selected.

Type:
  • Array.<string>

<inner> gender :string

The gender filter for the symptom check. Should be 'male', 'female' or undefined.

Type:
  • string

<inner> locale :string

The locale code for the symptom check.

Type:
  • string

<inner> searchesPerformed :Array.<string>

An array of searches performed. Each topic viewed is appended to the array as it is viewed.

Type:
  • Array.<string>

<inner> symptomsSelected :Array.<Symptom>

An array of symptoms selected from the what to do screen. Use the Encounter to maintain that the Symptoms are sorted so by disposition level decreasing.

Type:

<inner> topicsViewed :Array.<Object>

An array of topics viewed including their id, type, title. Each topic viewed is prepended to the array as it is viewed. The encounter service will maintain that each topic is added only once. If a topic is viewed a second time, it will be moved to the beginning of the array.

Type:
  • Array.<Object>

<inner> triageOptions :Array.<TriageOption>

An array of triage options based on the most acute selected symptom.

Type: