Get Medical Forms

Returns a list of grouped medical forms

image-png-Mar-22-2024-01-25-37-4158-PM /medical-forms/grouped

https://api.oauth.pabau.com/{api_key}/medical-forms/grouped

 

Request

Query Parameters:  
api_key *  
per_page (int) Number of records per page. Default 20, maximum 50
page (int) Page number. If not provided will return the first fetched
order ASC or DESC. Default DESC

 

 

Response sample

application/json

{
   "status":true,
 "total":11,
   "medical_forms":{
      "consent":{
       "total":2,
         "forms":[
            {
             "name":"Consent Form 1",
               "is_active":0
            },
            {
             "name":"Consent Form 2",
             "is_active":1
          }
         ]
      },
      "epaper":{
         "total":1,
         "forms":[
            {
             "name":"Epaper Form",
               "is_active":1
            }
         ]
      },
      "lab":{
         "total":2,
         "forms":[
            {
             "name":"Lab Form 1",
               "is_active":1
            },
            {
             "name":"Lab Form 2",
             "is_active":0
            }
         ]
      },
      "prescription":{
       "total":2,
         "forms":[
            {
             "name":"Private Prescription 1",
               "is_active":0
            },
            {
             "name":"Private Prescription 2",
               "is_active":1
          }
         ]
      },
      "questionnaire":{
       "total":2,
         "forms":[
            {
             "name":"Medical History Questionnaire 1",
             "is_active":1
            },
            {
             "name":"Medical History Questionnaire 2",
               "is_active":0
          }
         ]
      },
      "treatment":{
       "total":2,
         "forms":[
            {
             "name":"Treatment Plan 1",
               "is_active":1
            },
            {
             "name":"Treatment Plan 2,
               "is_active":1
          }
         ]
      }
   }
}