DoseRuleData Type
One row of the "DoseRules" sheet, parsed by
DoseRuleData.parseDoseRuleData and built into DoseRules by
DoseRuleLoader.fromData.
Field names equal sheet column names except where a comment says otherwise.
DoseRuleData.headers gives the column order, which dataToCsv also writes. A dose rule
has one row for each component or substance dose limit.
A column read with getIfNull or getOpt may be absent from the sheet. Every other
column is required: a missing column fails the parse.
Record fields
| Record Field |
Description
|
Full Usage:
DoseCheck
Field type: string option
|
|
Full Usage:
FreqCheck
Field type: string option
|
The outcome of the G-Standaard check; becomes DoseRule.Check. Empty when the rule agrees with the G-Standaard. Export.fs writes it back.
|
|
|
sheet column "GrpId": shared by every rule with the same clinical context; such rules differ only in dose type and schedule
|
|
Full Usage:
GrpNo
Field type: int
|
The place of the dose rule of the row in its rule group, for a strict order of the rules in the group, counted from 0. DoseRuleData.setNumbers calculates it. Defaults to 0 when absent or not a number.
|
A hash of the RowId with the schedule and the dose limit fields of the row. It changes when one of those fields changes. The source text, the patient text and the schedule text are left out. DoseRuleData.setDataHashIds calculates it, so a value in the sheet column "Id" is not used. The Ids of the rows of a rule become the FullIds of DoseRule.DataId.
|
|
Full Usage:
Indication
Field type: string
|
|
|
|
Full Usage:
PatientText
Field type: string
|
The original free-text description of the patient category
|
Full Usage:
Route
Field type: string
|
|
A hash of the identifying fields of the row, Component and Substance included. Of the rows with the same RowId, dedupRowsByRowId keeps the first, and warns when their dose limits differ.
|
|
Full Usage:
RowNo
Field type: int
|
The place of the row in its dose rule, for a strict order of the rows in the rule, counted from 0. DoseRuleData.setNumbers calculates it. Defaults to 0 when absent or not a number. A row that is left out for an earlier row with the same RowId keeps its number, so the numbers of the rows that are used can have a gap.
|
A hash of the dose rule, shared by every component and substance row of the rule. Becomes the RuleId of DoseRule.DataId.
|
|
|
|
Full Usage:
ScheduleText
Field type: string
|
|
Full Usage:
Source
Field type: string
|
The source, parsed into Identified or Other
|
Full Usage:
SourceText
Field type: string
|
The original free text this structured row was derived from
|
Full Usage:
Validated
Field type: string option
|
The validation stamp; becomes DoseRule.Validated
|
GenPRES