Protocol class for OSP snapshot protocols
Protocol.Rd
An R6 class that represents a protocol in an OSP snapshot. This class provides methods to access different properties of a protocol and display a summary of its information. Protocols can be either simple (with dosing intervals) or advanced (with schemas and schema items).
Active bindings
data
The raw data of the protocol
name
The name of the protocol
is_advanced
Whether the protocol is advanced (schema-based)
application_type
The application type (for simple protocols)
dosing_interval
The dosing interval (for simple protocols)
time_unit
The time unit for the protocol
parameters
The parameters of the protocol (for simple protocols)
schemas
The schemas of the protocol (for advanced protocols)
Methods
Method print()
Print a summary of the protocol including its properties and parameters.