API AutoNoteControls
Auto Note Controls are the prompts for Auto Notes.
Anyone using the API should also become very familiar with our schema documentation which contains important details about individual database table columns.
See AutoNoteControl Database Schema.
Version Added: 22.3.22
Gets a list of AutoNoteControls.
Example Request:
GET /autonotecontrols
Example Response:
[
{
"AutoNoteControlNum": 1,
"Descript": "Medications",
"ControlType": "MultiResponse",
"ControlLabel": "Medications",
"ControlOptions": "Zantac\r\nValium\r\nAdvair\r\nElavil"
},
{
"AutoNoteControlNum": 2,
"Descript": "Allergies",
"ControlType": "MultiResponse",
"ControlLabel": "Allergies",
"ControlOptions": "Amox\r\nLatex\r\nPen VK\r\nCeph\r\nErythro\r\nSulfa"
},
{
"AutoNoteControlNum": 3,
"Descript": "BP Pulse",
"ControlType": "Text",
"ControlLabel": "BP Pulse",
"ControlOptions": "BP: / Pulse: "
},
etc...
]
200 OK
400 BadRequest
Version Added: 22.3
Creates a new AutoNoteControl.
Descript: Required. The description of the AutoNoteControl as it will be displayed.
ControlType: Required. Either "Text", "OneResponse", "MultiResponse".
ControlLabel: Required. Prompt text.
ControlOptions: Required unless the ControlType is Text. The list of possible responses, one per line. Responses must be separated by \r\n.
Version Added: 22.3
Updates an existing AutoNoteControl. All fields are optional.
AutoNoteControlNum: Required in the URL.
Descript: The description of the AutoNoteControl as it will be displayed.
ControlType: Either "Text", "OneResponse", "MultiResponse"
ControlLabel: Prompt text.
ControlOptions: The list of possible responses, one per line. Responses must be separated by \r\n.