Logo GenPRES

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

DoseCheck

Full Usage: DoseCheck

Field type: string option
Field type: string option

FreqCheck

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.

Field type: string option

Generic

Full Usage: Generic

Field type: GenericData
Field type: GenericData

GrpId

Full Usage: GrpId

Field type: HashId

sheet column "GrpId": shared by every rule with the same clinical context; such rules differ only in dose type and schedule

Field type: HashId

GrpNo

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.

Field type: int

Id

Full Usage: Id

Field type: HashId

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.

Field type: HashId

Indication

Full Usage: Indication

Field type: string
Field type: string

Patient

Full Usage: Patient

Field type: PatientCategoryData

PatientText

Full Usage: PatientText

Field type: string

The original free-text description of the patient category

Field type: string

Route

Full Usage: Route

Field type: string
Field type: string

RowId

Full Usage: RowId

Field type: HashId

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.

Field type: HashId

RowNo

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.

Field type: int

RuleId

Full Usage: RuleId

Field type: HashId

A hash of the dose rule, shared by every component and substance row of the rule. Becomes the RuleId of DoseRule.DataId.

Field type: HashId

ScheduleData

Full Usage: ScheduleData

Field type: ScheduleData
Field type: ScheduleData

ScheduleText

Full Usage: ScheduleText

Field type: string
Field type: string

Source

Full Usage: Source

Field type: string

The source, parsed into Identified or Other

Field type: string

SourceText

Full Usage: SourceText

Field type: string

The original free text this structured row was derived from

Field type: string

Validated

Full Usage: Validated

Field type: string option

The validation stamp; becomes DoseRule.Validated

Field type: string option

Type something to start searching.