SchemaItem class for OSP advanced protocols
SchemaItem.RdAn R6 class that represents one application inside a Schema of an Advanced Protocol. A schema item carries an application type, an optional formulation key, target organ and compartment, and the application-level parameters (dose, start time, ...).
In an OSP snapshot, each schema item is one entry of the
SchemaItems array nested inside a Schemas entry of a
Protocols building block.
Active bindings
dataThe raw
SchemaItemlist as it appears in the snapshot JSON, refreshed from the wrapped parameters (read-only).nameThe name of the schema item. Writable: must be a non-empty scalar string.
application_typeThe application type of the schema item (for example
"Oral","IntravenousBolus"). Writable: must be one of the canonical PK-Sim application types (seecreate_schema_item()'sapplication_typeargument), orNULLto clear.formulation_keyThe formulation key, linking the schema item to a formulation selection in the owning simulation.
target_organThe target organ for the application.
target_compartmentThe target compartment for the application.
parametersThe schema item's application-level Parameter objects (dose, start time, ...). Writable: must be a list, or
NULLto clear.
Methods
SchemaItem$new()
Create a new SchemaItem object.
Usage
SchemaItem$new(data = list())