Connections between phases, activated by a learner action or a timer measured from entry into the source phase.
- Required when the containing object is present.
Event model
What a learner or operator can do, and what follows.
Allow actions to reveal information, perform work, or change a phase, with conditional outcomes and repeat-use rules.
Scenario standard · Execution capabilities
string
Required
A stable identifier used to reference this entry. Keep it unchanged when editing the entry's name or content.
"generic" | "medication-order" | "medication-administration"
Optional; omitted means unspecified
Discriminator for conditional action payloads. Specialized fields are prohibited unless kind selects the corresponding branch.
string
Required
Use a short, observable action or timed-event label: 2–6 words, at most 48 characters. Put conditions, clinical detail, and what happens in description, not in the label. Do not append the destination state; from/to already identify it.
string
Optional; omitted means unspecified
Longer explanation of the action or timed event, its conditions, and what happens. Plain-language context only; executable behavior remains in the selected trigger, timing, resource references, and destination state. Text does not automatically detect learner behavior. Optional when the label provides sufficient context.
string
Optional; omitted means unspecified
Required when the action targets a patient; omit for team-only actions.
string[]
Required
The phase in which this interaction is available or its scheduled timer begins.
string
Optional; omitted means unspecified
Prerequisite evaluated at start and again at completion.
number
Optional; omitted means unspecified
Simulated time between start and completion. Availability is evaluated at start.
object
Optional; omitted means unspecified
Completed uses count against maxUses; cooldown starts at completion. No implicit unlimited repeats.
boolean
Optional; omitted means unspecified
Whether an operator can cancel before completion; cancellation does not count as a completed use.
"cancel" | "continue"
Optional; omitted means unspecified
Policy for unfinished work when another event changes phase. Conclusion always cancels.
object
Optional; omitted means unspecified
Choose first matching outcome at completion. Exactly one final unconditional fallback is required. Omit nextStateId to stay in the phase.
Shared format conventions · All format elements · Download specification
Connections between phases, activated by a learner action or a timer measured from entry into the source phase.
One transition from a source phase to a destination, including its explicit learner choice or timer. Author resource links and patient changes on the destination state.
A stable identifier used to reference this entry. Keep it unchanged when editing the entry's name or content.
Use a short, observable action or timed-event label: 2–6 words, at most 48 characters. Put conditions, clinical detail, and what happens in description, not in the label. Do not append the destination state; from/to already identify it.
Longer explanation of the action or timed event, its conditions, and what happens. Plain-language context only; executable behavior remains in the selected trigger, timing, resource references, and destination state. Text does not automatically detect learner behavior. Optional when the label provides sufficient context.
Required when the action targets a patient; omit for team-only actions.
Requests a resource when this transition fires. Builder authors resource links on the state under Results.
Describe the learner intent or behavior that fulfills this action. The AI interprets chat, conversation context, and simulator interactions against this criterion; equivalent wording is accepted. Distinguish an order from actual administration, and specify essential requirements. If omitted, the action label and description provide the criterion. Only available authored actions can advance the case; ambiguous intent requires clarification.
Recognize this action from learner-requested resources while its source state is active. Any completes on the first selected request; all waits for all selected requests. Result delays do not delay action completion. Facilitators can confirm the same action directly. Confirming all requests every selected resource; confirming any does not guess which alternative was used. Omitted uses AI interpretation of completionCriteria (or label and description) or explicit confirmation.
Choose whether any or all selected resource requests complete this action.
Allowed values
Select the resources that define the learner activity, such as BMP and CBC for Order labs. Only learner-requestable resources qualify. Automatic state releases do not count.
A learner-requestable resource used to recognize the action.
The phase in which this interaction is available or its scheduled timer begins.
Identifier of an existing events.states entry. Preserve the referenced entry when editing this field.
Prerequisite evaluated at start and again at completion.
Simulated time between start and completion. Availability is evaluated at start.
Completed uses count against maxUses; cooldown starts at completion. No implicit unlimited repeats.
Numeric max uses, at least 1. Do not infer an omitted value.
Numeric cooldown seconds, at least 0. Do not infer an omitted value.
Whether an operator can cancel before completion; cancellation does not count as a completed use.
Policy for unfinished work when another event changes phase. Conclusion always cancels.
Allowed values
The phase entered when this interaction occurs. Set scenario-specific vitals, rhythm, and patient information here; reusable treatment responses stay with resources. Destination vital signs override overlapping transition effects.
Choose first matching outcome at completion. Exactly one final unconditional fallback is required. Omit nextStateId to stay in the phase.
Stable identifier for this entry. Keep it unchanged when editing its content.
Identifier of an existing events.conditions entry. Preserve the referenced entry when editing this field.
Entries for effect ids. An empty list means no entries have been authored.
Identifier of an existing events.effects entry. Preserve the referenced entry when editing this field.
Identifier of an existing events.states entry. Preserve the referenced entry when editing this field.
Discriminator for conditional action payloads. Specialized fields are prohibited unless kind selects the corresponding branch.
Allowed values
Quantity is { value: positive number, unit: string }. Units are explicit; route must belong to allowedRoutes.
Identifier of an existing resources entry. Preserve the referenced entry when editing this field.
Identifier of an existing patients entry. Preserve the referenced entry when editing this field.
Structured numerator details. Omitted optional values remain unspecified.
Numeric value. Do not infer an omitted value.
The unit for this entry. Omit optional information that has not been specified.
The route for this entry. Omit optional information that has not been specified.
Structured rate details. Omitted optional values remain unspecified.
Structured numerator details. Omitted optional values remain unspecified.
Numeric value. Do not infer an omitted value.
The unit for this entry. Omit optional information that has not been specified.
Structured numerator details. Omitted optional values remain unspecified.
Numeric value. Do not infer an omitted value.
The unit for this entry. Omit optional information that has not been specified.
Administration is a separate observable action referencing an order, not an automatic consequence of writing it.
Identifier of an existing events.actions entry. Preserve the referenced entry when editing this field.
Select one of the declared mode alternatives; use the fields belonging to that alternative.
Allowed values
Explicit amount per time or volume per time. No implicit unit conversion or pump calculation.
Structured numerator details. Omitted optional values remain unspecified.
Numeric value. Do not infer an omitted value.
The unit for this entry. Omit optional information that has not been specified.
Structured numerator details. Omitted optional values remain unspecified.
Numeric value. Do not infer an omitted value.
The unit for this entry. Omit optional information that has not been specified.