patient_flag object format:

Key Type Always presents Notes
id integer Yes Identifier of patient flag
doctor integer Yes Identifier of doctor who owns this patient flag
color string Yes Color of patient flag
`priority integer Yes
name string Yes
created_at timestamp Yes
updated_at timestamp Yes
archived boolean Yes