Object

TreatmentInfo

Usage Example
query {
# Use this type in your queries
someQuery {
completedTimes
discontinued
frequency
id
incompleteTimes
}
}

Fields

completedTimes[DateTime!]!required
discontinuedBoolean!required
frequencyInt

Minutes between administrations. It is `scheduleType`, not this, that says whether the row occupies slots.

idID!required
incompleteTimes[DateTime!]!required

Owed doses in the hour that were neither given nor skipped. Always empty on a `PRN` or `CONTINUOUS` row: an as-needed dose that was not given is not outstanding work.

isBillableBoolean!required
isPrnBoolean!required
DEPRECATED: Read `scheduleType` instead.

Derived from `scheduleType`. A PRN treatment owes no doses: it contributes to no count, never resolves to `DUE` or `LATE`, and its slots arrive as `prnTimes`.

nameString!required
prnTimes[DateTime!]!required

The times in the hour where a `PRN` row's minimum interval falls — render these as the PRN state, never as owed doses. Non-empty only for a `PRN` row that carries an interval, and absent from every count except `prnCount`.

scheduleTypeScheduleType!required

How the row is scheduled. Never null: an unset kind reads as `SCHEDULED`.

scheduledTimes[DateTime!]!required

The times this row **owes** a dose at in the hour: its generated occurrences on a `SCHEDULED` or `ONCE` row. On a `PRN` or `CONTINUOUS` row nothing is owed, so what was charted stands in — the completed and skipped times. A PRN row's generated slots are `prnTimes`, never these.

skippedTimes[DateTime!]!required
typeString