| Argument | Type | Description |
|---|---|---|
inputrequired | PatientPlanItemInput! | Input |
patientPlanIdrequired | ID! | ID of the patientplan |
mutation( $input: PatientPlanItemInput!, $patientPlanId: ID!) { addPatientPlanItem( input: $input, patientPlanId: $patientPlanId ) { id # Add other fields you need }}{ "input": {}, "patientPlanId": "1"}mutation( $discount: Boolean, $id: ID!) { cancelPlan( discount: $discount, id: $id ) { id # Add other fields you need }}{ "discount": true, "id": "1"}| Argument | Type | Description |
|---|---|---|
input | PreventionPlanInput | Input data for prevention plan operation |
mutation($input: PreventionPlanInput) { createPreventionPlan(input: $input) { id # Add other fields you need }}{ "input": {}}| Argument | Type | Description |
|---|---|---|
autoRenew | Boolean | Automatically renew on expiration |
endDate | Date | End of date range |
hsnrequired | String! | Hsn |
locationIdrequired | ID! | ID of the location |
options | [PlanOptionInput] | Options |
patientIdrequired | ID! | ID of the patient |
planIdrequired | ID! | ID of the plan |
planIntervalrequired | PlanInterval! | Plan interval |
renewPlanId | ID | ID of the renewplan |
startDate | Date | Start of date range |
mutation( $autoRenew: Boolean, $endDate: Date, $hsn: String!, $locationId: ID!, $options: [PlanOptionInput], $patientId: ID!, $planId: ID!, $planInterval: PlanInterval!, $renewPlanId: ID, $startDate: Date) { enrollPlan( autoRenew: $autoRenew, endDate: $endDate, hsn: $hsn, locationId: $locationId, options: $options, patientId: $patientId, planId: $planId, planInterval: $planInterval, renewPlanId: $renewPlanId, startDate: $startDate ) { id # Add other fields you need }}{ "autoRenew": true, "endDate": {}, "hsn": "example", "locationId": "1", "options": {}, "patientId": "1", "planId": "1", "planInterval": {}, "renewPlanId": "1", "startDate": {}}mutation( $orderItemId: ID!, $patientPlanChargeId: ID!) { linkPatientPlanChargeToOrderItem( orderItemId: $orderItemId, patientPlanChargeId: $patientPlanChargeId ) { id # Add other fields you need }}{ "orderItemId": "1", "patientPlanChargeId": "1"}| Argument | Type | Description |
|---|---|---|
idrequired | ID! | Unique identifier |
mutation($id: ID!) { refreshPreventionPlan(id: $id) { id # Add other fields you need }}{ "id": "1"}| Argument | Type | Description |
|---|---|---|
idrequired | ID! | Unique identifier |
mutation($id: ID!) { removePatientPlanItem(id: $id) { id # Add other fields you need }}{ "id": "1"}| Argument | Type | Description |
|---|---|---|
idrequired | ID! | Unique identifier |
inputrequired | PatientPlanInput! | Input |
mutation( $id: ID!, $input: PatientPlanInput!) { updatePatientPlan( id: $id, input: $input ) { id # Add other fields you need }}{ "id": "1", "input": {}}| Argument | Type | Description |
|---|---|---|
idrequired | ID! | Unique identifier |
inputrequired | PatientPlanItemInput! | Input |
mutation( $id: ID!, $input: PatientPlanItemInput!) { updatePatientPlanItem( id: $id, input: $input ) { id # Add other fields you need }}{ "id": "1", "input": {}}| Argument | Type | Description |
|---|---|---|
idrequired | ID! | Unique identifier |
inputrequired | PreventionPlanInput! | Input |
mutation( $id: ID!, $input: PreventionPlanInput!) { updatePreventionPlan( id: $id, input: $input ) { id # Add other fields you need }}{ "id": "1", "input": {}}