Models

Mongoose Docs for ActionAndConsumable model

undefined
Field Name Field Type Comment Required Default Min Max Nested Schema
id_patient ObjectID False
id_registration ObjectID False
detail_actions[].actions[].patient_status String False
detail_actions[].actions[].id_action ObjectID False
detail_actions[].actions[].total_doing Number False
detail_actions[].actions[].text String False
detail_actions[].actions[].created_at String False () => moment().format()
detail_actions[].actions[].created_by ObjectID False
detail_actions[].actions[].updated_at String False
detail_actions[].actions[].updated_by ObjectID False
detail_actions[].actions[].unit_type String False
detail_actions[].actions[].recent_amount Number False
detail_actions[].actions[].consumable_list[].id_goods ObjectID False
detail_actions[].actions[].consumable_list[].id_drugs ObjectID False
detail_actions[].actions[].consumable_list[].quantity Number False 0
detail_actions[].actions[].consumable_list[].type String False
detail_actions[].actions[].consumable_list[]._id ObjectID False
detail_actions[].actions[].consumable_list Array False
detail_actions[].actions[]._id ObjectID False
detail_actions[].actions Array False
detail_actions[].added_by ObjectID False
detail_actions[].added_at String False () => moment().format()
detail_actions[]._id ObjectID False
detail_actions Array False
detail_consumables[].consumables[].patient_status String False
detail_consumables[].consumables[].id_goods ObjectID False
detail_consumables[].consumables[].id_drugs ObjectID False
detail_consumables[].consumables[].quantity Number False 0
detail_consumables[].consumables[].created_at String False () => moment().format()
detail_consumables[].consumables[].created_by ObjectID False
detail_consumables[].consumables[].updated_at String False
detail_consumables[].consumables[].updated_by ObjectID False
detail_consumables[].consumables[].type String False
detail_consumables[].consumables[].recent_amount Number False
detail_consumables[].consumables[].unit_type String False
detail_consumables[].consumables[]._id ObjectID False
detail_consumables[].consumables Array False
detail_consumables[].added_by ObjectID False
detail_consumables[].added_at String False () => moment().format()
detail_consumables[]._id ObjectID False
detail_consumables Array False
_id ObjectID False
__v Number False