Board Mutations

These mutations allow you to interact with board data.

addPatientToBoard

Returns: BoardRow

Arguments

ArgumentTypeDescription
boardGroupIdIDID of the boarding group
locationIdrequiredID!ID of the location
patientIdrequiredID!ID of the patient
Example Query
mutation(
$boardGroupId: ID,
$locationId: ID!,
$patientId: ID!
) {
addPatientToBoard(
boardGroupId: $boardGroupId,
locationId: $locationId,
patientId: $patientId
) {
id
# Add other fields you need
}
}
Variables
{
"boardGroupId": "1",
"locationId": "1",
"patientId": "1"
}

completeBoardCell

Returns: BoardRow

Arguments

ArgumentTypeDescription
idrequiredID!Unique identifier
Example Query
mutation($id: ID!) {
completeBoardCell(id: $id) {
id
# Add other fields you need
}
}
Variables
{
"id": "1"
}

createBoardCell

Returns: BoardCell!

Arguments

ArgumentTypeDescription
inputBoardCellInputInput data for board cell operation
Example Query
mutation($input: BoardCellInput) {
createBoardCell(input: $input) {
id
# Add other fields you need
}
}
Variables
{
"input": {}
}

deleteBoardCell

Returns: BoardCell!

Arguments

ArgumentTypeDescription
idrequiredID!Unique identifier
Example Query
mutation($id: ID!) {
deleteBoardCell(id: $id) {
id
# Add other fields you need
}
}
Variables
{
"id": "1"
}

invoiceBoardRow

Returns: Order

Arguments

ArgumentTypeDescription
boardRowIdrequiredID!ID of the boarding row
Example Query
mutation($boardRowId: ID!) {
invoiceBoardRow(boardRowId: $boardRowId) {
id
# Add other fields you need
}
}
Variables
{
"boardRowId": "1"
}

promoteEstimateToBoard

Returns: BoardRow

Arguments

ArgumentTypeDescription
estimateIdrequiredID!ID of the estimate
Example Query
mutation($estimateId: ID!) {
promoteEstimateToBoard(estimateId: $estimateId) {
id
# Add other fields you need
}
}
Variables
{
"estimateId": "1"
}

uncompleteBoardCell

Returns: BoardCell

Arguments

ArgumentTypeDescription
idrequiredID!Unique identifier
Example Query
mutation($id: ID!) {
uncompleteBoardCell(id: $id) {
id
# Add other fields you need
}
}
Variables
{
"id": "1"
}

updateBoardCell

Returns: BoardCell

Arguments

ArgumentTypeDescription
idrequiredID!Unique identifier
inputrequiredBoardCellInput!Input
Example Query
mutation(
$id: ID!,
$input: BoardCellInput!
) {
updateBoardCell(
id: $id,
input: $input
) {
id
# Add other fields you need
}
}
Variables
{
"id": "1",
"input": {}
}

updateBoardRow

Returns: BoardRow

Arguments

ArgumentTypeDescription
idrequiredID!Unique identifier
inputrequiredBoardRowInput!Input
Example Query
mutation(
$id: ID!,
$input: BoardRowInput!
) {
updateBoardRow(
id: $id,
input: $input
) {
id
# Add other fields you need
}
}
Variables
{
"id": "1",
"input": {}
}