Closed nextcen-dgemoets closed 3 months ago
Is this change because the server allows it but just won't return the associated data that pulse ox provides (if there is no pulse ox in current supplies)?
It used to reject (Code 400 Bad Request) if you tried a CHECK_ALL_VITALS
action when you had no pulse ox in your supplies. Now it allows the action, but doesn't return the spo2
.
Whoops @dereknop -- I accidentally updated your comment instead of responding to it!
I tested the different rules and it looks good to me!
api.yaml
andsample.yaml
to the latest swagger YAML from the evaluation server.CHECK_ALL_VITALS
, regardless of presence of Pulse Ox.transtions.actions
contains only validaction_id
s from the scene.MESSAGE
actions,relevant_state
is required.MOVE_TO
is specified without acharacter_id
.To test, validate
sample.yaml
file (make sure it validates), then make changes to it that should be flagged by the above changes:python validator.py -f sample.yaml
You'll need to be in the validator virtual environment; see the
README
.