# ModMed integration

> Build workflow automations with 3 public ModMed actions.

Source: [https://genhealth.ai/docs/workflows/integrations/mod-med](https://genhealth.ai/docs/workflows/integrations/mod-med)

## Available actions

3 actions. Connection types: modmed.

### [Get Patient Details](https://genhealth.ai/docs/workflows/integrations/mod-med/modmed_get_patient_details.md)

- Handler: `modmed_get_patient_details`
- Connection type: `modmed`
- External effect: `read`
- Inputs: `patient_id`
- Outputs: `success`, `patient`, `patient_id`, `error`

Perform Get Patient Details through ModMed.

### [Search Patients](https://genhealth.ai/docs/workflows/integrations/mod-med/modmed_search_patients.md)

- Handler: `modmed_search_patients`
- Connection type: `modmed`
- External effect: `read`
- Inputs: `term`, `page_size`
- Outputs: `success`, `patients`, `count`, `error`

Perform Search Patients through ModMed.

### [Upload Attachment to Patient](https://genhealth.ai/docs/workflows/integrations/mod-med/modmed_upload_attachment_to_patient.md)

- Handler: `modmed_upload_attachment_to_patient`
- Connection type: `modmed`
- External effect: `write`
- Inputs: `patient_id`, `document_id`, `category_id`
- Outputs: `success`, `attachment_id`, `file_name`, `patient_id`, `error`

Perform Upload Attachment to Patient through ModMed.
