{
  "openapi": "3.0.0",
  "info": {
    "title": "HealthWizard Reference Data API",
    "version": "1.0.0"
  },
  "paths": {
    "/api/v2/audit/audit_event": {
      "get": {
        "summary": "Get audit_event metadata",
        "description": "Retrieve metadata for audit_event",
        "operationId": "metadataResolveSpecAuditAudit_event",
        "tags": [
          "audit_event (ResolveSpec)"
        ],
        "responses": {
          "200": {
            "description": "Metadata retrieved successfully",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Response"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          },
          {
            "SessionToken": []
          },
          {
            "CookieAuth": []
          },
          {
            "HeaderAuth": []
          }
        ]
      },
      "post": {
        "summary": "Perform operation on audit_event",
        "description": "Execute read, create, or meta operations on audit_event records",
        "operationId": "operateResolveSpecAuditAudit_event",
        "tags": [
          "audit_event (ResolveSpec)"
        ],
        "requestBody": {
          "description": "Operation request with operation type and options",
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ResolveSpecRequest"
              },
              "example": {
                "operation": "read",
                "options": {
                  "filters": [
                    {
                      "column": "status",
                      "operator": "eq",
                      "value": "active"
                    }
                  ],
                  "limit": 10
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Operation completed successfully",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/AuditAudit_event"
                      }
                    },
                    "metadata": {
                      "$ref": "#/components/schemas/Metadata"
                    },
                    "success": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          },
          {
            "SessionToken": []
          },
          {
            "CookieAuth": []
          },
          {
            "HeaderAuth": []
          }
        ]
      },
      "options": {
        "summary": "CORS preflight",
        "description": "Handle CORS preflight requests",
        "operationId": "optionsResolveSpecAuditAudit_event",
        "tags": [
          "audit_event (ResolveSpec)"
        ],
        "responses": {
          "204": {
            "description": "No content"
          }
        }
      }
    },
    "/api/v2/audit/audit_event/{id}": {
      "post": {
        "summary": "Update or delete audit_event record",
        "description": "Execute update or delete operation on a specific audit_event record",
        "operationId": "modifyResolveSpecAuditAudit_event",
        "tags": [
          "audit_event (ResolveSpec)"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Record ID",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "description": "Operation request (update or delete)",
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ResolveSpecRequest"
              },
              "example": {
                "data": {
                  "status": "inactive"
                },
                "operation": "update"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Operation completed successfully",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/AuditAudit_event"
                    },
                    "success": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "404": {
            "description": "Record not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          },
          {
            "SessionToken": []
          },
          {
            "CookieAuth": []
          },
          {
            "HeaderAuth": []
          }
        ]
      }
    },
    "/api/v2/health/active_ingredient": {
      "get": {
        "summary": "Get active_ingredient metadata",
        "description": "Retrieve metadata for active_ingredient",
        "operationId": "metadataResolveSpecHealthActive_ingredient",
        "tags": [
          "active_ingredient (ResolveSpec)"
        ],
        "responses": {
          "200": {
            "description": "Metadata retrieved successfully",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Response"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          },
          {
            "SessionToken": []
          },
          {
            "CookieAuth": []
          },
          {
            "HeaderAuth": []
          }
        ]
      },
      "post": {
        "summary": "Perform operation on active_ingredient",
        "description": "Execute read, create, or meta operations on active_ingredient records",
        "operationId": "operateResolveSpecHealthActive_ingredient",
        "tags": [
          "active_ingredient (ResolveSpec)"
        ],
        "requestBody": {
          "description": "Operation request with operation type and options",
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ResolveSpecRequest"
              },
              "example": {
                "operation": "read",
                "options": {
                  "filters": [
                    {
                      "column": "status",
                      "operator": "eq",
                      "value": "active"
                    }
                  ],
                  "limit": 10
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Operation completed successfully",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/HealthActive_ingredient"
                      }
                    },
                    "metadata": {
                      "$ref": "#/components/schemas/Metadata"
                    },
                    "success": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          },
          {
            "SessionToken": []
          },
          {
            "CookieAuth": []
          },
          {
            "HeaderAuth": []
          }
        ]
      },
      "options": {
        "summary": "CORS preflight",
        "description": "Handle CORS preflight requests",
        "operationId": "optionsResolveSpecHealthActive_ingredient",
        "tags": [
          "active_ingredient (ResolveSpec)"
        ],
        "responses": {
          "204": {
            "description": "No content"
          }
        }
      }
    },
    "/api/v2/health/active_ingredient/{id}": {
      "post": {
        "summary": "Update or delete active_ingredient record",
        "description": "Execute update or delete operation on a specific active_ingredient record",
        "operationId": "modifyResolveSpecHealthActive_ingredient",
        "tags": [
          "active_ingredient (ResolveSpec)"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Record ID",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "description": "Operation request (update or delete)",
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ResolveSpecRequest"
              },
              "example": {
                "data": {
                  "status": "inactive"
                },
                "operation": "update"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Operation completed successfully",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/HealthActive_ingredient"
                    },
                    "success": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "404": {
            "description": "Record not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          },
          {
            "SessionToken": []
          },
          {
            "CookieAuth": []
          },
          {
            "HeaderAuth": []
          }
        ]
      }
    },
    "/api/v2/health/activity_log": {
      "get": {
        "summary": "Get activity_log metadata",
        "description": "Retrieve metadata for activity_log",
        "operationId": "metadataResolveSpecHealthActivity_log",
        "tags": [
          "activity_log (ResolveSpec)"
        ],
        "responses": {
          "200": {
            "description": "Metadata retrieved successfully",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Response"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          },
          {
            "SessionToken": []
          },
          {
            "CookieAuth": []
          },
          {
            "HeaderAuth": []
          }
        ]
      },
      "post": {
        "summary": "Perform operation on activity_log",
        "description": "Execute read, create, or meta operations on activity_log records",
        "operationId": "operateResolveSpecHealthActivity_log",
        "tags": [
          "activity_log (ResolveSpec)"
        ],
        "requestBody": {
          "description": "Operation request with operation type and options",
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ResolveSpecRequest"
              },
              "example": {
                "operation": "read",
                "options": {
                  "filters": [
                    {
                      "column": "status",
                      "operator": "eq",
                      "value": "active"
                    }
                  ],
                  "limit": 10
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Operation completed successfully",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/HealthActivity_log"
                      }
                    },
                    "metadata": {
                      "$ref": "#/components/schemas/Metadata"
                    },
                    "success": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          },
          {
            "SessionToken": []
          },
          {
            "CookieAuth": []
          },
          {
            "HeaderAuth": []
          }
        ]
      },
      "options": {
        "summary": "CORS preflight",
        "description": "Handle CORS preflight requests",
        "operationId": "optionsResolveSpecHealthActivity_log",
        "tags": [
          "activity_log (ResolveSpec)"
        ],
        "responses": {
          "204": {
            "description": "No content"
          }
        }
      }
    },
    "/api/v2/health/activity_log/{id}": {
      "post": {
        "summary": "Update or delete activity_log record",
        "description": "Execute update or delete operation on a specific activity_log record",
        "operationId": "modifyResolveSpecHealthActivity_log",
        "tags": [
          "activity_log (ResolveSpec)"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Record ID",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "description": "Operation request (update or delete)",
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ResolveSpecRequest"
              },
              "example": {
                "data": {
                  "status": "inactive"
                },
                "operation": "update"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Operation completed successfully",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/HealthActivity_log"
                    },
                    "success": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "404": {
            "description": "Record not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          },
          {
            "SessionToken": []
          },
          {
            "CookieAuth": []
          },
          {
            "HeaderAuth": []
          }
        ]
      }
    },
    "/api/v2/health/appointment": {
      "get": {
        "summary": "Get appointment metadata",
        "description": "Retrieve metadata for appointment",
        "operationId": "metadataResolveSpecHealthAppointment",
        "tags": [
          "appointment (ResolveSpec)"
        ],
        "responses": {
          "200": {
            "description": "Metadata retrieved successfully",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Response"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          },
          {
            "SessionToken": []
          },
          {
            "CookieAuth": []
          },
          {
            "HeaderAuth": []
          }
        ]
      },
      "post": {
        "summary": "Perform operation on appointment",
        "description": "Execute read, create, or meta operations on appointment records",
        "operationId": "operateResolveSpecHealthAppointment",
        "tags": [
          "appointment (ResolveSpec)"
        ],
        "requestBody": {
          "description": "Operation request with operation type and options",
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ResolveSpecRequest"
              },
              "example": {
                "operation": "read",
                "options": {
                  "filters": [
                    {
                      "column": "status",
                      "operator": "eq",
                      "value": "active"
                    }
                  ],
                  "limit": 10
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Operation completed successfully",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/HealthAppointment"
                      }
                    },
                    "metadata": {
                      "$ref": "#/components/schemas/Metadata"
                    },
                    "success": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          },
          {
            "SessionToken": []
          },
          {
            "CookieAuth": []
          },
          {
            "HeaderAuth": []
          }
        ]
      },
      "options": {
        "summary": "CORS preflight",
        "description": "Handle CORS preflight requests",
        "operationId": "optionsResolveSpecHealthAppointment",
        "tags": [
          "appointment (ResolveSpec)"
        ],
        "responses": {
          "204": {
            "description": "No content"
          }
        }
      }
    },
    "/api/v2/health/appointment/{id}": {
      "post": {
        "summary": "Update or delete appointment record",
        "description": "Execute update or delete operation on a specific appointment record",
        "operationId": "modifyResolveSpecHealthAppointment",
        "tags": [
          "appointment (ResolveSpec)"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Record ID",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "description": "Operation request (update or delete)",
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ResolveSpecRequest"
              },
              "example": {
                "data": {
                  "status": "inactive"
                },
                "operation": "update"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Operation completed successfully",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/HealthAppointment"
                    },
                    "success": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "404": {
            "description": "Record not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          },
          {
            "SessionToken": []
          },
          {
            "CookieAuth": []
          },
          {
            "HeaderAuth": []
          }
        ]
      }
    },
    "/api/v2/health/blood_glucose_log": {
      "get": {
        "summary": "Get blood_glucose_log metadata",
        "description": "Retrieve metadata for blood_glucose_log",
        "operationId": "metadataResolveSpecHealthBlood_glucose_log",
        "tags": [
          "blood_glucose_log (ResolveSpec)"
        ],
        "responses": {
          "200": {
            "description": "Metadata retrieved successfully",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Response"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          },
          {
            "SessionToken": []
          },
          {
            "CookieAuth": []
          },
          {
            "HeaderAuth": []
          }
        ]
      },
      "post": {
        "summary": "Perform operation on blood_glucose_log",
        "description": "Execute read, create, or meta operations on blood_glucose_log records",
        "operationId": "operateResolveSpecHealthBlood_glucose_log",
        "tags": [
          "blood_glucose_log (ResolveSpec)"
        ],
        "requestBody": {
          "description": "Operation request with operation type and options",
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ResolveSpecRequest"
              },
              "example": {
                "operation": "read",
                "options": {
                  "filters": [
                    {
                      "column": "status",
                      "operator": "eq",
                      "value": "active"
                    }
                  ],
                  "limit": 10
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Operation completed successfully",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/HealthBlood_glucose_log"
                      }
                    },
                    "metadata": {
                      "$ref": "#/components/schemas/Metadata"
                    },
                    "success": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          },
          {
            "SessionToken": []
          },
          {
            "CookieAuth": []
          },
          {
            "HeaderAuth": []
          }
        ]
      },
      "options": {
        "summary": "CORS preflight",
        "description": "Handle CORS preflight requests",
        "operationId": "optionsResolveSpecHealthBlood_glucose_log",
        "tags": [
          "blood_glucose_log (ResolveSpec)"
        ],
        "responses": {
          "204": {
            "description": "No content"
          }
        }
      }
    },
    "/api/v2/health/blood_glucose_log/{id}": {
      "post": {
        "summary": "Update or delete blood_glucose_log record",
        "description": "Execute update or delete operation on a specific blood_glucose_log record",
        "operationId": "modifyResolveSpecHealthBlood_glucose_log",
        "tags": [
          "blood_glucose_log (ResolveSpec)"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Record ID",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "description": "Operation request (update or delete)",
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ResolveSpecRequest"
              },
              "example": {
                "data": {
                  "status": "inactive"
                },
                "operation": "update"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Operation completed successfully",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/HealthBlood_glucose_log"
                    },
                    "success": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "404": {
            "description": "Record not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          },
          {
            "SessionToken": []
          },
          {
            "CookieAuth": []
          },
          {
            "HeaderAuth": []
          }
        ]
      }
    },
    "/api/v2/health/clinical_note": {
      "get": {
        "summary": "Get clinical_note metadata",
        "description": "Retrieve metadata for clinical_note",
        "operationId": "metadataResolveSpecHealthClinical_note",
        "tags": [
          "clinical_note (ResolveSpec)"
        ],
        "responses": {
          "200": {
            "description": "Metadata retrieved successfully",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Response"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          },
          {
            "SessionToken": []
          },
          {
            "CookieAuth": []
          },
          {
            "HeaderAuth": []
          }
        ]
      },
      "post": {
        "summary": "Perform operation on clinical_note",
        "description": "Execute read, create, or meta operations on clinical_note records",
        "operationId": "operateResolveSpecHealthClinical_note",
        "tags": [
          "clinical_note (ResolveSpec)"
        ],
        "requestBody": {
          "description": "Operation request with operation type and options",
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ResolveSpecRequest"
              },
              "example": {
                "operation": "read",
                "options": {
                  "filters": [
                    {
                      "column": "status",
                      "operator": "eq",
                      "value": "active"
                    }
                  ],
                  "limit": 10
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Operation completed successfully",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/HealthClinical_note"
                      }
                    },
                    "metadata": {
                      "$ref": "#/components/schemas/Metadata"
                    },
                    "success": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          },
          {
            "SessionToken": []
          },
          {
            "CookieAuth": []
          },
          {
            "HeaderAuth": []
          }
        ]
      },
      "options": {
        "summary": "CORS preflight",
        "description": "Handle CORS preflight requests",
        "operationId": "optionsResolveSpecHealthClinical_note",
        "tags": [
          "clinical_note (ResolveSpec)"
        ],
        "responses": {
          "204": {
            "description": "No content"
          }
        }
      }
    },
    "/api/v2/health/clinical_note/{id}": {
      "post": {
        "summary": "Update or delete clinical_note record",
        "description": "Execute update or delete operation on a specific clinical_note record",
        "operationId": "modifyResolveSpecHealthClinical_note",
        "tags": [
          "clinical_note (ResolveSpec)"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Record ID",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "description": "Operation request (update or delete)",
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ResolveSpecRequest"
              },
              "example": {
                "data": {
                  "status": "inactive"
                },
                "operation": "update"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Operation completed successfully",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/HealthClinical_note"
                    },
                    "success": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "404": {
            "description": "Record not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          },
          {
            "SessionToken": []
          },
          {
            "CookieAuth": []
          },
          {
            "HeaderAuth": []
          }
        ]
      }
    },
    "/api/v2/health/document": {
      "get": {
        "summary": "Get document metadata",
        "description": "Retrieve metadata for document",
        "operationId": "metadataResolveSpecHealthDocument",
        "tags": [
          "document (ResolveSpec)"
        ],
        "responses": {
          "200": {
            "description": "Metadata retrieved successfully",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Response"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          },
          {
            "SessionToken": []
          },
          {
            "CookieAuth": []
          },
          {
            "HeaderAuth": []
          }
        ]
      },
      "post": {
        "summary": "Perform operation on document",
        "description": "Execute read, create, or meta operations on document records",
        "operationId": "operateResolveSpecHealthDocument",
        "tags": [
          "document (ResolveSpec)"
        ],
        "requestBody": {
          "description": "Operation request with operation type and options",
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ResolveSpecRequest"
              },
              "example": {
                "operation": "read",
                "options": {
                  "filters": [
                    {
                      "column": "status",
                      "operator": "eq",
                      "value": "active"
                    }
                  ],
                  "limit": 10
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Operation completed successfully",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/HealthDocument"
                      }
                    },
                    "metadata": {
                      "$ref": "#/components/schemas/Metadata"
                    },
                    "success": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          },
          {
            "SessionToken": []
          },
          {
            "CookieAuth": []
          },
          {
            "HeaderAuth": []
          }
        ]
      },
      "options": {
        "summary": "CORS preflight",
        "description": "Handle CORS preflight requests",
        "operationId": "optionsResolveSpecHealthDocument",
        "tags": [
          "document (ResolveSpec)"
        ],
        "responses": {
          "204": {
            "description": "No content"
          }
        }
      }
    },
    "/api/v2/health/document/{id}": {
      "post": {
        "summary": "Update or delete document record",
        "description": "Execute update or delete operation on a specific document record",
        "operationId": "modifyResolveSpecHealthDocument",
        "tags": [
          "document (ResolveSpec)"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Record ID",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "description": "Operation request (update or delete)",
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ResolveSpecRequest"
              },
              "example": {
                "data": {
                  "status": "inactive"
                },
                "operation": "update"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Operation completed successfully",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/HealthDocument"
                    },
                    "success": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "404": {
            "description": "Record not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          },
          {
            "SessionToken": []
          },
          {
            "CookieAuth": []
          },
          {
            "HeaderAuth": []
          }
        ]
      }
    },
    "/api/v2/health/external_catalog_source": {
      "get": {
        "summary": "Get external_catalog_source metadata",
        "description": "Retrieve metadata for external_catalog_source",
        "operationId": "metadataResolveSpecHealthExternal_catalog_source",
        "tags": [
          "external_catalog_source (ResolveSpec)"
        ],
        "responses": {
          "200": {
            "description": "Metadata retrieved successfully",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Response"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          },
          {
            "SessionToken": []
          },
          {
            "CookieAuth": []
          },
          {
            "HeaderAuth": []
          }
        ]
      },
      "post": {
        "summary": "Perform operation on external_catalog_source",
        "description": "Execute read, create, or meta operations on external_catalog_source records",
        "operationId": "operateResolveSpecHealthExternal_catalog_source",
        "tags": [
          "external_catalog_source (ResolveSpec)"
        ],
        "requestBody": {
          "description": "Operation request with operation type and options",
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ResolveSpecRequest"
              },
              "example": {
                "operation": "read",
                "options": {
                  "filters": [
                    {
                      "column": "status",
                      "operator": "eq",
                      "value": "active"
                    }
                  ],
                  "limit": 10
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Operation completed successfully",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/HealthExternal_catalog_source"
                      }
                    },
                    "metadata": {
                      "$ref": "#/components/schemas/Metadata"
                    },
                    "success": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          },
          {
            "SessionToken": []
          },
          {
            "CookieAuth": []
          },
          {
            "HeaderAuth": []
          }
        ]
      },
      "options": {
        "summary": "CORS preflight",
        "description": "Handle CORS preflight requests",
        "operationId": "optionsResolveSpecHealthExternal_catalog_source",
        "tags": [
          "external_catalog_source (ResolveSpec)"
        ],
        "responses": {
          "204": {
            "description": "No content"
          }
        }
      }
    },
    "/api/v2/health/external_catalog_source/{id}": {
      "post": {
        "summary": "Update or delete external_catalog_source record",
        "description": "Execute update or delete operation on a specific external_catalog_source record",
        "operationId": "modifyResolveSpecHealthExternal_catalog_source",
        "tags": [
          "external_catalog_source (ResolveSpec)"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Record ID",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "description": "Operation request (update or delete)",
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ResolveSpecRequest"
              },
              "example": {
                "data": {
                  "status": "inactive"
                },
                "operation": "update"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Operation completed successfully",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/HealthExternal_catalog_source"
                    },
                    "success": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "404": {
            "description": "Record not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          },
          {
            "SessionToken": []
          },
          {
            "CookieAuth": []
          },
          {
            "HeaderAuth": []
          }
        ]
      }
    },
    "/api/v2/health/external_catalog_sync_run": {
      "get": {
        "summary": "Get external_catalog_sync_run metadata",
        "description": "Retrieve metadata for external_catalog_sync_run",
        "operationId": "metadataResolveSpecHealthExternal_catalog_sync_run",
        "tags": [
          "external_catalog_sync_run (ResolveSpec)"
        ],
        "responses": {
          "200": {
            "description": "Metadata retrieved successfully",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Response"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          },
          {
            "SessionToken": []
          },
          {
            "CookieAuth": []
          },
          {
            "HeaderAuth": []
          }
        ]
      },
      "post": {
        "summary": "Perform operation on external_catalog_sync_run",
        "description": "Execute read, create, or meta operations on external_catalog_sync_run records",
        "operationId": "operateResolveSpecHealthExternal_catalog_sync_run",
        "tags": [
          "external_catalog_sync_run (ResolveSpec)"
        ],
        "requestBody": {
          "description": "Operation request with operation type and options",
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ResolveSpecRequest"
              },
              "example": {
                "operation": "read",
                "options": {
                  "filters": [
                    {
                      "column": "status",
                      "operator": "eq",
                      "value": "active"
                    }
                  ],
                  "limit": 10
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Operation completed successfully",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/HealthExternal_catalog_sync_run"
                      }
                    },
                    "metadata": {
                      "$ref": "#/components/schemas/Metadata"
                    },
                    "success": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          },
          {
            "SessionToken": []
          },
          {
            "CookieAuth": []
          },
          {
            "HeaderAuth": []
          }
        ]
      },
      "options": {
        "summary": "CORS preflight",
        "description": "Handle CORS preflight requests",
        "operationId": "optionsResolveSpecHealthExternal_catalog_sync_run",
        "tags": [
          "external_catalog_sync_run (ResolveSpec)"
        ],
        "responses": {
          "204": {
            "description": "No content"
          }
        }
      }
    },
    "/api/v2/health/external_catalog_sync_run/{id}": {
      "post": {
        "summary": "Update or delete external_catalog_sync_run record",
        "description": "Execute update or delete operation on a specific external_catalog_sync_run record",
        "operationId": "modifyResolveSpecHealthExternal_catalog_sync_run",
        "tags": [
          "external_catalog_sync_run (ResolveSpec)"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Record ID",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "description": "Operation request (update or delete)",
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ResolveSpecRequest"
              },
              "example": {
                "data": {
                  "status": "inactive"
                },
                "operation": "update"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Operation completed successfully",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/HealthExternal_catalog_sync_run"
                    },
                    "success": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "404": {
            "description": "Record not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          },
          {
            "SessionToken": []
          },
          {
            "CookieAuth": []
          },
          {
            "HeaderAuth": []
          }
        ]
      }
    },
    "/api/v2/health/hospital": {
      "get": {
        "summary": "Get hospital metadata",
        "description": "Retrieve metadata for hospital",
        "operationId": "metadataResolveSpecHealthHospital",
        "tags": [
          "hospital (ResolveSpec)"
        ],
        "responses": {
          "200": {
            "description": "Metadata retrieved successfully",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Response"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          },
          {
            "SessionToken": []
          },
          {
            "CookieAuth": []
          },
          {
            "HeaderAuth": []
          }
        ]
      },
      "post": {
        "summary": "Perform operation on hospital",
        "description": "Execute read, create, or meta operations on hospital records",
        "operationId": "operateResolveSpecHealthHospital",
        "tags": [
          "hospital (ResolveSpec)"
        ],
        "requestBody": {
          "description": "Operation request with operation type and options",
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ResolveSpecRequest"
              },
              "example": {
                "operation": "read",
                "options": {
                  "filters": [
                    {
                      "column": "status",
                      "operator": "eq",
                      "value": "active"
                    }
                  ],
                  "limit": 10
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Operation completed successfully",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/HealthHospital"
                      }
                    },
                    "metadata": {
                      "$ref": "#/components/schemas/Metadata"
                    },
                    "success": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          },
          {
            "SessionToken": []
          },
          {
            "CookieAuth": []
          },
          {
            "HeaderAuth": []
          }
        ]
      },
      "options": {
        "summary": "CORS preflight",
        "description": "Handle CORS preflight requests",
        "operationId": "optionsResolveSpecHealthHospital",
        "tags": [
          "hospital (ResolveSpec)"
        ],
        "responses": {
          "204": {
            "description": "No content"
          }
        }
      }
    },
    "/api/v2/health/hospital/{id}": {
      "post": {
        "summary": "Update or delete hospital record",
        "description": "Execute update or delete operation on a specific hospital record",
        "operationId": "modifyResolveSpecHealthHospital",
        "tags": [
          "hospital (ResolveSpec)"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Record ID",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "description": "Operation request (update or delete)",
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ResolveSpecRequest"
              },
              "example": {
                "data": {
                  "status": "inactive"
                },
                "operation": "update"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Operation completed successfully",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/HealthHospital"
                    },
                    "success": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "404": {
            "description": "Record not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          },
          {
            "SessionToken": []
          },
          {
            "CookieAuth": []
          },
          {
            "HeaderAuth": []
          }
        ]
      }
    },
    "/api/v2/health/hospital_branch": {
      "get": {
        "summary": "Get hospital_branch metadata",
        "description": "Retrieve metadata for hospital_branch",
        "operationId": "metadataResolveSpecHealthHospital_branch",
        "tags": [
          "hospital_branch (ResolveSpec)"
        ],
        "responses": {
          "200": {
            "description": "Metadata retrieved successfully",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Response"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          },
          {
            "SessionToken": []
          },
          {
            "CookieAuth": []
          },
          {
            "HeaderAuth": []
          }
        ]
      },
      "post": {
        "summary": "Perform operation on hospital_branch",
        "description": "Execute read, create, or meta operations on hospital_branch records",
        "operationId": "operateResolveSpecHealthHospital_branch",
        "tags": [
          "hospital_branch (ResolveSpec)"
        ],
        "requestBody": {
          "description": "Operation request with operation type and options",
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ResolveSpecRequest"
              },
              "example": {
                "operation": "read",
                "options": {
                  "filters": [
                    {
                      "column": "status",
                      "operator": "eq",
                      "value": "active"
                    }
                  ],
                  "limit": 10
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Operation completed successfully",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/HealthHospital_branch"
                      }
                    },
                    "metadata": {
                      "$ref": "#/components/schemas/Metadata"
                    },
                    "success": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          },
          {
            "SessionToken": []
          },
          {
            "CookieAuth": []
          },
          {
            "HeaderAuth": []
          }
        ]
      },
      "options": {
        "summary": "CORS preflight",
        "description": "Handle CORS preflight requests",
        "operationId": "optionsResolveSpecHealthHospital_branch",
        "tags": [
          "hospital_branch (ResolveSpec)"
        ],
        "responses": {
          "204": {
            "description": "No content"
          }
        }
      }
    },
    "/api/v2/health/hospital_branch/{id}": {
      "post": {
        "summary": "Update or delete hospital_branch record",
        "description": "Execute update or delete operation on a specific hospital_branch record",
        "operationId": "modifyResolveSpecHealthHospital_branch",
        "tags": [
          "hospital_branch (ResolveSpec)"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Record ID",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "description": "Operation request (update or delete)",
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ResolveSpecRequest"
              },
              "example": {
                "data": {
                  "status": "inactive"
                },
                "operation": "update"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Operation completed successfully",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/HealthHospital_branch"
                    },
                    "success": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "404": {
            "description": "Record not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          },
          {
            "SessionToken": []
          },
          {
            "CookieAuth": []
          },
          {
            "HeaderAuth": []
          }
        ]
      }
    },
    "/api/v2/health/hydration_log": {
      "get": {
        "summary": "Get hydration_log metadata",
        "description": "Retrieve metadata for hydration_log",
        "operationId": "metadataResolveSpecHealthHydration_log",
        "tags": [
          "hydration_log (ResolveSpec)"
        ],
        "responses": {
          "200": {
            "description": "Metadata retrieved successfully",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Response"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          },
          {
            "SessionToken": []
          },
          {
            "CookieAuth": []
          },
          {
            "HeaderAuth": []
          }
        ]
      },
      "post": {
        "summary": "Perform operation on hydration_log",
        "description": "Execute read, create, or meta operations on hydration_log records",
        "operationId": "operateResolveSpecHealthHydration_log",
        "tags": [
          "hydration_log (ResolveSpec)"
        ],
        "requestBody": {
          "description": "Operation request with operation type and options",
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ResolveSpecRequest"
              },
              "example": {
                "operation": "read",
                "options": {
                  "filters": [
                    {
                      "column": "status",
                      "operator": "eq",
                      "value": "active"
                    }
                  ],
                  "limit": 10
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Operation completed successfully",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/HealthHydration_log"
                      }
                    },
                    "metadata": {
                      "$ref": "#/components/schemas/Metadata"
                    },
                    "success": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          },
          {
            "SessionToken": []
          },
          {
            "CookieAuth": []
          },
          {
            "HeaderAuth": []
          }
        ]
      },
      "options": {
        "summary": "CORS preflight",
        "description": "Handle CORS preflight requests",
        "operationId": "optionsResolveSpecHealthHydration_log",
        "tags": [
          "hydration_log (ResolveSpec)"
        ],
        "responses": {
          "204": {
            "description": "No content"
          }
        }
      }
    },
    "/api/v2/health/hydration_log/{id}": {
      "post": {
        "summary": "Update or delete hydration_log record",
        "description": "Execute update or delete operation on a specific hydration_log record",
        "operationId": "modifyResolveSpecHealthHydration_log",
        "tags": [
          "hydration_log (ResolveSpec)"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Record ID",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "description": "Operation request (update or delete)",
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ResolveSpecRequest"
              },
              "example": {
                "data": {
                  "status": "inactive"
                },
                "operation": "update"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Operation completed successfully",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/HealthHydration_log"
                    },
                    "success": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "404": {
            "description": "Record not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          },
          {
            "SessionToken": []
          },
          {
            "CookieAuth": []
          },
          {
            "HeaderAuth": []
          }
        ]
      }
    },
    "/api/v2/health/insulin_dose_log": {
      "get": {
        "summary": "Get insulin_dose_log metadata",
        "description": "Retrieve metadata for insulin_dose_log",
        "operationId": "metadataResolveSpecHealthInsulin_dose_log",
        "tags": [
          "insulin_dose_log (ResolveSpec)"
        ],
        "responses": {
          "200": {
            "description": "Metadata retrieved successfully",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Response"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          },
          {
            "SessionToken": []
          },
          {
            "CookieAuth": []
          },
          {
            "HeaderAuth": []
          }
        ]
      },
      "post": {
        "summary": "Perform operation on insulin_dose_log",
        "description": "Execute read, create, or meta operations on insulin_dose_log records",
        "operationId": "operateResolveSpecHealthInsulin_dose_log",
        "tags": [
          "insulin_dose_log (ResolveSpec)"
        ],
        "requestBody": {
          "description": "Operation request with operation type and options",
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ResolveSpecRequest"
              },
              "example": {
                "operation": "read",
                "options": {
                  "filters": [
                    {
                      "column": "status",
                      "operator": "eq",
                      "value": "active"
                    }
                  ],
                  "limit": 10
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Operation completed successfully",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/HealthInsulin_dose_log"
                      }
                    },
                    "metadata": {
                      "$ref": "#/components/schemas/Metadata"
                    },
                    "success": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          },
          {
            "SessionToken": []
          },
          {
            "CookieAuth": []
          },
          {
            "HeaderAuth": []
          }
        ]
      },
      "options": {
        "summary": "CORS preflight",
        "description": "Handle CORS preflight requests",
        "operationId": "optionsResolveSpecHealthInsulin_dose_log",
        "tags": [
          "insulin_dose_log (ResolveSpec)"
        ],
        "responses": {
          "204": {
            "description": "No content"
          }
        }
      }
    },
    "/api/v2/health/insulin_dose_log/{id}": {
      "post": {
        "summary": "Update or delete insulin_dose_log record",
        "description": "Execute update or delete operation on a specific insulin_dose_log record",
        "operationId": "modifyResolveSpecHealthInsulin_dose_log",
        "tags": [
          "insulin_dose_log (ResolveSpec)"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Record ID",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "description": "Operation request (update or delete)",
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ResolveSpecRequest"
              },
              "example": {
                "data": {
                  "status": "inactive"
                },
                "operation": "update"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Operation completed successfully",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/HealthInsulin_dose_log"
                    },
                    "success": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "404": {
            "description": "Record not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          },
          {
            "SessionToken": []
          },
          {
            "CookieAuth": []
          },
          {
            "HeaderAuth": []
          }
        ]
      }
    },
    "/api/v2/health/insurance_provider": {
      "get": {
        "summary": "Get insurance_provider metadata",
        "description": "Retrieve metadata for insurance_provider",
        "operationId": "metadataResolveSpecHealthInsurance_provider",
        "tags": [
          "insurance_provider (ResolveSpec)"
        ],
        "responses": {
          "200": {
            "description": "Metadata retrieved successfully",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Response"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          },
          {
            "SessionToken": []
          },
          {
            "CookieAuth": []
          },
          {
            "HeaderAuth": []
          }
        ]
      },
      "post": {
        "summary": "Perform operation on insurance_provider",
        "description": "Execute read, create, or meta operations on insurance_provider records",
        "operationId": "operateResolveSpecHealthInsurance_provider",
        "tags": [
          "insurance_provider (ResolveSpec)"
        ],
        "requestBody": {
          "description": "Operation request with operation type and options",
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ResolveSpecRequest"
              },
              "example": {
                "operation": "read",
                "options": {
                  "filters": [
                    {
                      "column": "status",
                      "operator": "eq",
                      "value": "active"
                    }
                  ],
                  "limit": 10
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Operation completed successfully",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/HealthInsurance_provider"
                      }
                    },
                    "metadata": {
                      "$ref": "#/components/schemas/Metadata"
                    },
                    "success": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          },
          {
            "SessionToken": []
          },
          {
            "CookieAuth": []
          },
          {
            "HeaderAuth": []
          }
        ]
      },
      "options": {
        "summary": "CORS preflight",
        "description": "Handle CORS preflight requests",
        "operationId": "optionsResolveSpecHealthInsurance_provider",
        "tags": [
          "insurance_provider (ResolveSpec)"
        ],
        "responses": {
          "204": {
            "description": "No content"
          }
        }
      }
    },
    "/api/v2/health/insurance_provider/{id}": {
      "post": {
        "summary": "Update or delete insurance_provider record",
        "description": "Execute update or delete operation on a specific insurance_provider record",
        "operationId": "modifyResolveSpecHealthInsurance_provider",
        "tags": [
          "insurance_provider (ResolveSpec)"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Record ID",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "description": "Operation request (update or delete)",
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ResolveSpecRequest"
              },
              "example": {
                "data": {
                  "status": "inactive"
                },
                "operation": "update"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Operation completed successfully",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/HealthInsurance_provider"
                    },
                    "success": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "404": {
            "description": "Record not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          },
          {
            "SessionToken": []
          },
          {
            "CookieAuth": []
          },
          {
            "HeaderAuth": []
          }
        ]
      }
    },
    "/api/v2/health/journal_entry": {
      "get": {
        "summary": "Get journal_entry metadata",
        "description": "Retrieve metadata for journal_entry",
        "operationId": "metadataResolveSpecHealthJournal_entry",
        "tags": [
          "journal_entry (ResolveSpec)"
        ],
        "responses": {
          "200": {
            "description": "Metadata retrieved successfully",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Response"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          },
          {
            "SessionToken": []
          },
          {
            "CookieAuth": []
          },
          {
            "HeaderAuth": []
          }
        ]
      },
      "post": {
        "summary": "Perform operation on journal_entry",
        "description": "Execute read, create, or meta operations on journal_entry records",
        "operationId": "operateResolveSpecHealthJournal_entry",
        "tags": [
          "journal_entry (ResolveSpec)"
        ],
        "requestBody": {
          "description": "Operation request with operation type and options",
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ResolveSpecRequest"
              },
              "example": {
                "operation": "read",
                "options": {
                  "filters": [
                    {
                      "column": "status",
                      "operator": "eq",
                      "value": "active"
                    }
                  ],
                  "limit": 10
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Operation completed successfully",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/HealthJournal_entry"
                      }
                    },
                    "metadata": {
                      "$ref": "#/components/schemas/Metadata"
                    },
                    "success": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          },
          {
            "SessionToken": []
          },
          {
            "CookieAuth": []
          },
          {
            "HeaderAuth": []
          }
        ]
      },
      "options": {
        "summary": "CORS preflight",
        "description": "Handle CORS preflight requests",
        "operationId": "optionsResolveSpecHealthJournal_entry",
        "tags": [
          "journal_entry (ResolveSpec)"
        ],
        "responses": {
          "204": {
            "description": "No content"
          }
        }
      }
    },
    "/api/v2/health/journal_entry/{id}": {
      "post": {
        "summary": "Update or delete journal_entry record",
        "description": "Execute update or delete operation on a specific journal_entry record",
        "operationId": "modifyResolveSpecHealthJournal_entry",
        "tags": [
          "journal_entry (ResolveSpec)"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Record ID",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "description": "Operation request (update or delete)",
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ResolveSpecRequest"
              },
              "example": {
                "data": {
                  "status": "inactive"
                },
                "operation": "update"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Operation completed successfully",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/HealthJournal_entry"
                    },
                    "success": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "404": {
            "description": "Record not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          },
          {
            "SessionToken": []
          },
          {
            "CookieAuth": []
          },
          {
            "HeaderAuth": []
          }
        ]
      }
    },
    "/api/v2/health/journal_item_attachment": {
      "get": {
        "summary": "Get journal_item_attachment metadata",
        "description": "Retrieve metadata for journal_item_attachment",
        "operationId": "metadataResolveSpecHealthJournal_item_attachment",
        "tags": [
          "journal_item_attachment (ResolveSpec)"
        ],
        "responses": {
          "200": {
            "description": "Metadata retrieved successfully",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Response"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          },
          {
            "SessionToken": []
          },
          {
            "CookieAuth": []
          },
          {
            "HeaderAuth": []
          }
        ]
      },
      "post": {
        "summary": "Perform operation on journal_item_attachment",
        "description": "Execute read, create, or meta operations on journal_item_attachment records",
        "operationId": "operateResolveSpecHealthJournal_item_attachment",
        "tags": [
          "journal_item_attachment (ResolveSpec)"
        ],
        "requestBody": {
          "description": "Operation request with operation type and options",
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ResolveSpecRequest"
              },
              "example": {
                "operation": "read",
                "options": {
                  "filters": [
                    {
                      "column": "status",
                      "operator": "eq",
                      "value": "active"
                    }
                  ],
                  "limit": 10
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Operation completed successfully",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/HealthJournal_item_attachment"
                      }
                    },
                    "metadata": {
                      "$ref": "#/components/schemas/Metadata"
                    },
                    "success": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          },
          {
            "SessionToken": []
          },
          {
            "CookieAuth": []
          },
          {
            "HeaderAuth": []
          }
        ]
      },
      "options": {
        "summary": "CORS preflight",
        "description": "Handle CORS preflight requests",
        "operationId": "optionsResolveSpecHealthJournal_item_attachment",
        "tags": [
          "journal_item_attachment (ResolveSpec)"
        ],
        "responses": {
          "204": {
            "description": "No content"
          }
        }
      }
    },
    "/api/v2/health/journal_item_attachment/{id}": {
      "post": {
        "summary": "Update or delete journal_item_attachment record",
        "description": "Execute update or delete operation on a specific journal_item_attachment record",
        "operationId": "modifyResolveSpecHealthJournal_item_attachment",
        "tags": [
          "journal_item_attachment (ResolveSpec)"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Record ID",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "description": "Operation request (update or delete)",
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ResolveSpecRequest"
              },
              "example": {
                "data": {
                  "status": "inactive"
                },
                "operation": "update"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Operation completed successfully",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/HealthJournal_item_attachment"
                    },
                    "success": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "404": {
            "description": "Record not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          },
          {
            "SessionToken": []
          },
          {
            "CookieAuth": []
          },
          {
            "HeaderAuth": []
          }
        ]
      }
    },
    "/api/v2/health/journal_key_record": {
      "get": {
        "summary": "Get journal_key_record metadata",
        "description": "Retrieve metadata for journal_key_record",
        "operationId": "metadataResolveSpecHealthJournal_key_record",
        "tags": [
          "journal_key_record (ResolveSpec)"
        ],
        "responses": {
          "200": {
            "description": "Metadata retrieved successfully",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Response"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          },
          {
            "SessionToken": []
          },
          {
            "CookieAuth": []
          },
          {
            "HeaderAuth": []
          }
        ]
      },
      "post": {
        "summary": "Perform operation on journal_key_record",
        "description": "Execute read, create, or meta operations on journal_key_record records",
        "operationId": "operateResolveSpecHealthJournal_key_record",
        "tags": [
          "journal_key_record (ResolveSpec)"
        ],
        "requestBody": {
          "description": "Operation request with operation type and options",
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ResolveSpecRequest"
              },
              "example": {
                "operation": "read",
                "options": {
                  "filters": [
                    {
                      "column": "status",
                      "operator": "eq",
                      "value": "active"
                    }
                  ],
                  "limit": 10
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Operation completed successfully",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/HealthJournal_key_record"
                      }
                    },
                    "metadata": {
                      "$ref": "#/components/schemas/Metadata"
                    },
                    "success": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          },
          {
            "SessionToken": []
          },
          {
            "CookieAuth": []
          },
          {
            "HeaderAuth": []
          }
        ]
      },
      "options": {
        "summary": "CORS preflight",
        "description": "Handle CORS preflight requests",
        "operationId": "optionsResolveSpecHealthJournal_key_record",
        "tags": [
          "journal_key_record (ResolveSpec)"
        ],
        "responses": {
          "204": {
            "description": "No content"
          }
        }
      }
    },
    "/api/v2/health/journal_key_record/{id}": {
      "post": {
        "summary": "Update or delete journal_key_record record",
        "description": "Execute update or delete operation on a specific journal_key_record record",
        "operationId": "modifyResolveSpecHealthJournal_key_record",
        "tags": [
          "journal_key_record (ResolveSpec)"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Record ID",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "description": "Operation request (update or delete)",
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ResolveSpecRequest"
              },
              "example": {
                "data": {
                  "status": "inactive"
                },
                "operation": "update"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Operation completed successfully",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/HealthJournal_key_record"
                    },
                    "success": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "404": {
            "description": "Record not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          },
          {
            "SessionToken": []
          },
          {
            "CookieAuth": []
          },
          {
            "HeaderAuth": []
          }
        ]
      }
    },
    "/api/v2/health/meal_log": {
      "get": {
        "summary": "Get meal_log metadata",
        "description": "Retrieve metadata for meal_log",
        "operationId": "metadataResolveSpecHealthMeal_log",
        "tags": [
          "meal_log (ResolveSpec)"
        ],
        "responses": {
          "200": {
            "description": "Metadata retrieved successfully",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Response"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          },
          {
            "SessionToken": []
          },
          {
            "CookieAuth": []
          },
          {
            "HeaderAuth": []
          }
        ]
      },
      "post": {
        "summary": "Perform operation on meal_log",
        "description": "Execute read, create, or meta operations on meal_log records",
        "operationId": "operateResolveSpecHealthMeal_log",
        "tags": [
          "meal_log (ResolveSpec)"
        ],
        "requestBody": {
          "description": "Operation request with operation type and options",
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ResolveSpecRequest"
              },
              "example": {
                "operation": "read",
                "options": {
                  "filters": [
                    {
                      "column": "status",
                      "operator": "eq",
                      "value": "active"
                    }
                  ],
                  "limit": 10
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Operation completed successfully",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/HealthMeal_log"
                      }
                    },
                    "metadata": {
                      "$ref": "#/components/schemas/Metadata"
                    },
                    "success": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          },
          {
            "SessionToken": []
          },
          {
            "CookieAuth": []
          },
          {
            "HeaderAuth": []
          }
        ]
      },
      "options": {
        "summary": "CORS preflight",
        "description": "Handle CORS preflight requests",
        "operationId": "optionsResolveSpecHealthMeal_log",
        "tags": [
          "meal_log (ResolveSpec)"
        ],
        "responses": {
          "204": {
            "description": "No content"
          }
        }
      }
    },
    "/api/v2/health/meal_log/{id}": {
      "post": {
        "summary": "Update or delete meal_log record",
        "description": "Execute update or delete operation on a specific meal_log record",
        "operationId": "modifyResolveSpecHealthMeal_log",
        "tags": [
          "meal_log (ResolveSpec)"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Record ID",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "description": "Operation request (update or delete)",
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ResolveSpecRequest"
              },
              "example": {
                "data": {
                  "status": "inactive"
                },
                "operation": "update"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Operation completed successfully",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/HealthMeal_log"
                    },
                    "success": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "404": {
            "description": "Record not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          },
          {
            "SessionToken": []
          },
          {
            "CookieAuth": []
          },
          {
            "HeaderAuth": []
          }
        ]
      }
    },
    "/api/v2/health/medication": {
      "get": {
        "summary": "Get medication metadata",
        "description": "Retrieve metadata for medication",
        "operationId": "metadataResolveSpecHealthMedication",
        "tags": [
          "medication (ResolveSpec)"
        ],
        "responses": {
          "200": {
            "description": "Metadata retrieved successfully",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Response"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          },
          {
            "SessionToken": []
          },
          {
            "CookieAuth": []
          },
          {
            "HeaderAuth": []
          }
        ]
      },
      "post": {
        "summary": "Perform operation on medication",
        "description": "Execute read, create, or meta operations on medication records",
        "operationId": "operateResolveSpecHealthMedication",
        "tags": [
          "medication (ResolveSpec)"
        ],
        "requestBody": {
          "description": "Operation request with operation type and options",
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ResolveSpecRequest"
              },
              "example": {
                "operation": "read",
                "options": {
                  "filters": [
                    {
                      "column": "status",
                      "operator": "eq",
                      "value": "active"
                    }
                  ],
                  "limit": 10
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Operation completed successfully",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/HealthMedication"
                      }
                    },
                    "metadata": {
                      "$ref": "#/components/schemas/Metadata"
                    },
                    "success": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          },
          {
            "SessionToken": []
          },
          {
            "CookieAuth": []
          },
          {
            "HeaderAuth": []
          }
        ]
      },
      "options": {
        "summary": "CORS preflight",
        "description": "Handle CORS preflight requests",
        "operationId": "optionsResolveSpecHealthMedication",
        "tags": [
          "medication (ResolveSpec)"
        ],
        "responses": {
          "204": {
            "description": "No content"
          }
        }
      }
    },
    "/api/v2/health/medication/{id}": {
      "post": {
        "summary": "Update or delete medication record",
        "description": "Execute update or delete operation on a specific medication record",
        "operationId": "modifyResolveSpecHealthMedication",
        "tags": [
          "medication (ResolveSpec)"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Record ID",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "description": "Operation request (update or delete)",
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ResolveSpecRequest"
              },
              "example": {
                "data": {
                  "status": "inactive"
                },
                "operation": "update"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Operation completed successfully",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/HealthMedication"
                    },
                    "success": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "404": {
            "description": "Record not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          },
          {
            "SessionToken": []
          },
          {
            "CookieAuth": []
          },
          {
            "HeaderAuth": []
          }
        ]
      }
    },
    "/api/v2/health/medication_category_link": {
      "get": {
        "summary": "Get medication_category_link metadata",
        "description": "Retrieve metadata for medication_category_link",
        "operationId": "metadataResolveSpecHealthMedication_category_link",
        "tags": [
          "medication_category_link (ResolveSpec)"
        ],
        "responses": {
          "200": {
            "description": "Metadata retrieved successfully",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Response"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          },
          {
            "SessionToken": []
          },
          {
            "CookieAuth": []
          },
          {
            "HeaderAuth": []
          }
        ]
      },
      "post": {
        "summary": "Perform operation on medication_category_link",
        "description": "Execute read, create, or meta operations on medication_category_link records",
        "operationId": "operateResolveSpecHealthMedication_category_link",
        "tags": [
          "medication_category_link (ResolveSpec)"
        ],
        "requestBody": {
          "description": "Operation request with operation type and options",
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ResolveSpecRequest"
              },
              "example": {
                "operation": "read",
                "options": {
                  "filters": [
                    {
                      "column": "status",
                      "operator": "eq",
                      "value": "active"
                    }
                  ],
                  "limit": 10
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Operation completed successfully",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/HealthMedication_category_link"
                      }
                    },
                    "metadata": {
                      "$ref": "#/components/schemas/Metadata"
                    },
                    "success": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          },
          {
            "SessionToken": []
          },
          {
            "CookieAuth": []
          },
          {
            "HeaderAuth": []
          }
        ]
      },
      "options": {
        "summary": "CORS preflight",
        "description": "Handle CORS preflight requests",
        "operationId": "optionsResolveSpecHealthMedication_category_link",
        "tags": [
          "medication_category_link (ResolveSpec)"
        ],
        "responses": {
          "204": {
            "description": "No content"
          }
        }
      }
    },
    "/api/v2/health/medication_category_link/{id}": {
      "post": {
        "summary": "Update or delete medication_category_link record",
        "description": "Execute update or delete operation on a specific medication_category_link record",
        "operationId": "modifyResolveSpecHealthMedication_category_link",
        "tags": [
          "medication_category_link (ResolveSpec)"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Record ID",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "description": "Operation request (update or delete)",
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ResolveSpecRequest"
              },
              "example": {
                "data": {
                  "status": "inactive"
                },
                "operation": "update"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Operation completed successfully",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/HealthMedication_category_link"
                    },
                    "success": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "404": {
            "description": "Record not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          },
          {
            "SessionToken": []
          },
          {
            "CookieAuth": []
          },
          {
            "HeaderAuth": []
          }
        ]
      }
    },
    "/api/v2/health/medication_equivalent": {
      "get": {
        "summary": "Get medication_equivalent metadata",
        "description": "Retrieve metadata for medication_equivalent",
        "operationId": "metadataResolveSpecHealthMedication_equivalent",
        "tags": [
          "medication_equivalent (ResolveSpec)"
        ],
        "responses": {
          "200": {
            "description": "Metadata retrieved successfully",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Response"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          },
          {
            "SessionToken": []
          },
          {
            "CookieAuth": []
          },
          {
            "HeaderAuth": []
          }
        ]
      },
      "post": {
        "summary": "Perform operation on medication_equivalent",
        "description": "Execute read, create, or meta operations on medication_equivalent records",
        "operationId": "operateResolveSpecHealthMedication_equivalent",
        "tags": [
          "medication_equivalent (ResolveSpec)"
        ],
        "requestBody": {
          "description": "Operation request with operation type and options",
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ResolveSpecRequest"
              },
              "example": {
                "operation": "read",
                "options": {
                  "filters": [
                    {
                      "column": "status",
                      "operator": "eq",
                      "value": "active"
                    }
                  ],
                  "limit": 10
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Operation completed successfully",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/HealthMedication_equivalent"
                      }
                    },
                    "metadata": {
                      "$ref": "#/components/schemas/Metadata"
                    },
                    "success": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          },
          {
            "SessionToken": []
          },
          {
            "CookieAuth": []
          },
          {
            "HeaderAuth": []
          }
        ]
      },
      "options": {
        "summary": "CORS preflight",
        "description": "Handle CORS preflight requests",
        "operationId": "optionsResolveSpecHealthMedication_equivalent",
        "tags": [
          "medication_equivalent (ResolveSpec)"
        ],
        "responses": {
          "204": {
            "description": "No content"
          }
        }
      }
    },
    "/api/v2/health/medication_equivalent/{id}": {
      "post": {
        "summary": "Update or delete medication_equivalent record",
        "description": "Execute update or delete operation on a specific medication_equivalent record",
        "operationId": "modifyResolveSpecHealthMedication_equivalent",
        "tags": [
          "medication_equivalent (ResolveSpec)"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Record ID",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "description": "Operation request (update or delete)",
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ResolveSpecRequest"
              },
              "example": {
                "data": {
                  "status": "inactive"
                },
                "operation": "update"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Operation completed successfully",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/HealthMedication_equivalent"
                    },
                    "success": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "404": {
            "description": "Record not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          },
          {
            "SessionToken": []
          },
          {
            "CookieAuth": []
          },
          {
            "HeaderAuth": []
          }
        ]
      }
    },
    "/api/v2/health/medication_ingredient": {
      "get": {
        "summary": "Get medication_ingredient metadata",
        "description": "Retrieve metadata for medication_ingredient",
        "operationId": "metadataResolveSpecHealthMedication_ingredient",
        "tags": [
          "medication_ingredient (ResolveSpec)"
        ],
        "responses": {
          "200": {
            "description": "Metadata retrieved successfully",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Response"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          },
          {
            "SessionToken": []
          },
          {
            "CookieAuth": []
          },
          {
            "HeaderAuth": []
          }
        ]
      },
      "post": {
        "summary": "Perform operation on medication_ingredient",
        "description": "Execute read, create, or meta operations on medication_ingredient records",
        "operationId": "operateResolveSpecHealthMedication_ingredient",
        "tags": [
          "medication_ingredient (ResolveSpec)"
        ],
        "requestBody": {
          "description": "Operation request with operation type and options",
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ResolveSpecRequest"
              },
              "example": {
                "operation": "read",
                "options": {
                  "filters": [
                    {
                      "column": "status",
                      "operator": "eq",
                      "value": "active"
                    }
                  ],
                  "limit": 10
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Operation completed successfully",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/HealthMedication_ingredient"
                      }
                    },
                    "metadata": {
                      "$ref": "#/components/schemas/Metadata"
                    },
                    "success": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          },
          {
            "SessionToken": []
          },
          {
            "CookieAuth": []
          },
          {
            "HeaderAuth": []
          }
        ]
      },
      "options": {
        "summary": "CORS preflight",
        "description": "Handle CORS preflight requests",
        "operationId": "optionsResolveSpecHealthMedication_ingredient",
        "tags": [
          "medication_ingredient (ResolveSpec)"
        ],
        "responses": {
          "204": {
            "description": "No content"
          }
        }
      }
    },
    "/api/v2/health/medication_ingredient/{id}": {
      "post": {
        "summary": "Update or delete medication_ingredient record",
        "description": "Execute update or delete operation on a specific medication_ingredient record",
        "operationId": "modifyResolveSpecHealthMedication_ingredient",
        "tags": [
          "medication_ingredient (ResolveSpec)"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Record ID",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "description": "Operation request (update or delete)",
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ResolveSpecRequest"
              },
              "example": {
                "data": {
                  "status": "inactive"
                },
                "operation": "update"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Operation completed successfully",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/HealthMedication_ingredient"
                    },
                    "success": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "404": {
            "description": "Record not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          },
          {
            "SessionToken": []
          },
          {
            "CookieAuth": []
          },
          {
            "HeaderAuth": []
          }
        ]
      }
    },
    "/api/v2/health/medication_log": {
      "get": {
        "summary": "Get medication_log metadata",
        "description": "Retrieve metadata for medication_log",
        "operationId": "metadataResolveSpecHealthMedication_log",
        "tags": [
          "medication_log (ResolveSpec)"
        ],
        "responses": {
          "200": {
            "description": "Metadata retrieved successfully",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Response"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          },
          {
            "SessionToken": []
          },
          {
            "CookieAuth": []
          },
          {
            "HeaderAuth": []
          }
        ]
      },
      "post": {
        "summary": "Perform operation on medication_log",
        "description": "Execute read, create, or meta operations on medication_log records",
        "operationId": "operateResolveSpecHealthMedication_log",
        "tags": [
          "medication_log (ResolveSpec)"
        ],
        "requestBody": {
          "description": "Operation request with operation type and options",
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ResolveSpecRequest"
              },
              "example": {
                "operation": "read",
                "options": {
                  "filters": [
                    {
                      "column": "status",
                      "operator": "eq",
                      "value": "active"
                    }
                  ],
                  "limit": 10
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Operation completed successfully",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/HealthMedication_log"
                      }
                    },
                    "metadata": {
                      "$ref": "#/components/schemas/Metadata"
                    },
                    "success": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          },
          {
            "SessionToken": []
          },
          {
            "CookieAuth": []
          },
          {
            "HeaderAuth": []
          }
        ]
      },
      "options": {
        "summary": "CORS preflight",
        "description": "Handle CORS preflight requests",
        "operationId": "optionsResolveSpecHealthMedication_log",
        "tags": [
          "medication_log (ResolveSpec)"
        ],
        "responses": {
          "204": {
            "description": "No content"
          }
        }
      }
    },
    "/api/v2/health/medication_log/{id}": {
      "post": {
        "summary": "Update or delete medication_log record",
        "description": "Execute update or delete operation on a specific medication_log record",
        "operationId": "modifyResolveSpecHealthMedication_log",
        "tags": [
          "medication_log (ResolveSpec)"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Record ID",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "description": "Operation request (update or delete)",
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ResolveSpecRequest"
              },
              "example": {
                "data": {
                  "status": "inactive"
                },
                "operation": "update"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Operation completed successfully",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/HealthMedication_log"
                    },
                    "success": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "404": {
            "description": "Record not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          },
          {
            "SessionToken": []
          },
          {
            "CookieAuth": []
          },
          {
            "HeaderAuth": []
          }
        ]
      }
    },
    "/api/v2/health/medication_schedule": {
      "get": {
        "summary": "Get medication_schedule metadata",
        "description": "Retrieve metadata for medication_schedule",
        "operationId": "metadataResolveSpecHealthMedication_schedule",
        "tags": [
          "medication_schedule (ResolveSpec)"
        ],
        "responses": {
          "200": {
            "description": "Metadata retrieved successfully",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Response"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          },
          {
            "SessionToken": []
          },
          {
            "CookieAuth": []
          },
          {
            "HeaderAuth": []
          }
        ]
      },
      "post": {
        "summary": "Perform operation on medication_schedule",
        "description": "Execute read, create, or meta operations on medication_schedule records",
        "operationId": "operateResolveSpecHealthMedication_schedule",
        "tags": [
          "medication_schedule (ResolveSpec)"
        ],
        "requestBody": {
          "description": "Operation request with operation type and options",
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ResolveSpecRequest"
              },
              "example": {
                "operation": "read",
                "options": {
                  "filters": [
                    {
                      "column": "status",
                      "operator": "eq",
                      "value": "active"
                    }
                  ],
                  "limit": 10
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Operation completed successfully",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/HealthMedication_schedule"
                      }
                    },
                    "metadata": {
                      "$ref": "#/components/schemas/Metadata"
                    },
                    "success": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          },
          {
            "SessionToken": []
          },
          {
            "CookieAuth": []
          },
          {
            "HeaderAuth": []
          }
        ]
      },
      "options": {
        "summary": "CORS preflight",
        "description": "Handle CORS preflight requests",
        "operationId": "optionsResolveSpecHealthMedication_schedule",
        "tags": [
          "medication_schedule (ResolveSpec)"
        ],
        "responses": {
          "204": {
            "description": "No content"
          }
        }
      }
    },
    "/api/v2/health/medication_schedule/{id}": {
      "post": {
        "summary": "Update or delete medication_schedule record",
        "description": "Execute update or delete operation on a specific medication_schedule record",
        "operationId": "modifyResolveSpecHealthMedication_schedule",
        "tags": [
          "medication_schedule (ResolveSpec)"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Record ID",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "description": "Operation request (update or delete)",
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ResolveSpecRequest"
              },
              "example": {
                "data": {
                  "status": "inactive"
                },
                "operation": "update"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Operation completed successfully",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/HealthMedication_schedule"
                    },
                    "success": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "404": {
            "description": "Record not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          },
          {
            "SessionToken": []
          },
          {
            "CookieAuth": []
          },
          {
            "HeaderAuth": []
          }
        ]
      }
    },
    "/api/v2/health/medication_stock": {
      "get": {
        "summary": "Get medication_stock metadata",
        "description": "Retrieve metadata for medication_stock",
        "operationId": "metadataResolveSpecHealthMedication_stock",
        "tags": [
          "medication_stock (ResolveSpec)"
        ],
        "responses": {
          "200": {
            "description": "Metadata retrieved successfully",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Response"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          },
          {
            "SessionToken": []
          },
          {
            "CookieAuth": []
          },
          {
            "HeaderAuth": []
          }
        ]
      },
      "post": {
        "summary": "Perform operation on medication_stock",
        "description": "Execute read, create, or meta operations on medication_stock records",
        "operationId": "operateResolveSpecHealthMedication_stock",
        "tags": [
          "medication_stock (ResolveSpec)"
        ],
        "requestBody": {
          "description": "Operation request with operation type and options",
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ResolveSpecRequest"
              },
              "example": {
                "operation": "read",
                "options": {
                  "filters": [
                    {
                      "column": "status",
                      "operator": "eq",
                      "value": "active"
                    }
                  ],
                  "limit": 10
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Operation completed successfully",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/HealthMedication_stock"
                      }
                    },
                    "metadata": {
                      "$ref": "#/components/schemas/Metadata"
                    },
                    "success": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          },
          {
            "SessionToken": []
          },
          {
            "CookieAuth": []
          },
          {
            "HeaderAuth": []
          }
        ]
      },
      "options": {
        "summary": "CORS preflight",
        "description": "Handle CORS preflight requests",
        "operationId": "optionsResolveSpecHealthMedication_stock",
        "tags": [
          "medication_stock (ResolveSpec)"
        ],
        "responses": {
          "204": {
            "description": "No content"
          }
        }
      }
    },
    "/api/v2/health/medication_stock/{id}": {
      "post": {
        "summary": "Update or delete medication_stock record",
        "description": "Execute update or delete operation on a specific medication_stock record",
        "operationId": "modifyResolveSpecHealthMedication_stock",
        "tags": [
          "medication_stock (ResolveSpec)"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Record ID",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "description": "Operation request (update or delete)",
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ResolveSpecRequest"
              },
              "example": {
                "data": {
                  "status": "inactive"
                },
                "operation": "update"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Operation completed successfully",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/HealthMedication_stock"
                    },
                    "success": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "404": {
            "description": "Record not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          },
          {
            "SessionToken": []
          },
          {
            "CookieAuth": []
          },
          {
            "HeaderAuth": []
          }
        ]
      }
    },
    "/api/v2/health/medicine_category": {
      "get": {
        "summary": "Get medicine_category metadata",
        "description": "Retrieve metadata for medicine_category",
        "operationId": "metadataResolveSpecHealthMedicine_category",
        "tags": [
          "medicine_category (ResolveSpec)"
        ],
        "responses": {
          "200": {
            "description": "Metadata retrieved successfully",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Response"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          },
          {
            "SessionToken": []
          },
          {
            "CookieAuth": []
          },
          {
            "HeaderAuth": []
          }
        ]
      },
      "post": {
        "summary": "Perform operation on medicine_category",
        "description": "Execute read, create, or meta operations on medicine_category records",
        "operationId": "operateResolveSpecHealthMedicine_category",
        "tags": [
          "medicine_category (ResolveSpec)"
        ],
        "requestBody": {
          "description": "Operation request with operation type and options",
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ResolveSpecRequest"
              },
              "example": {
                "operation": "read",
                "options": {
                  "filters": [
                    {
                      "column": "status",
                      "operator": "eq",
                      "value": "active"
                    }
                  ],
                  "limit": 10
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Operation completed successfully",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/HealthMedicine_category"
                      }
                    },
                    "metadata": {
                      "$ref": "#/components/schemas/Metadata"
                    },
                    "success": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          },
          {
            "SessionToken": []
          },
          {
            "CookieAuth": []
          },
          {
            "HeaderAuth": []
          }
        ]
      },
      "options": {
        "summary": "CORS preflight",
        "description": "Handle CORS preflight requests",
        "operationId": "optionsResolveSpecHealthMedicine_category",
        "tags": [
          "medicine_category (ResolveSpec)"
        ],
        "responses": {
          "204": {
            "description": "No content"
          }
        }
      }
    },
    "/api/v2/health/medicine_category/{id}": {
      "post": {
        "summary": "Update or delete medicine_category record",
        "description": "Execute update or delete operation on a specific medicine_category record",
        "operationId": "modifyResolveSpecHealthMedicine_category",
        "tags": [
          "medicine_category (ResolveSpec)"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Record ID",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "description": "Operation request (update or delete)",
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ResolveSpecRequest"
              },
              "example": {
                "data": {
                  "status": "inactive"
                },
                "operation": "update"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Operation completed successfully",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/HealthMedicine_category"
                    },
                    "success": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "404": {
            "description": "Record not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          },
          {
            "SessionToken": []
          },
          {
            "CookieAuth": []
          },
          {
            "HeaderAuth": []
          }
        ]
      }
    },
    "/api/v2/health/medicine_code": {
      "get": {
        "summary": "Get medicine_code metadata",
        "description": "Retrieve metadata for medicine_code",
        "operationId": "metadataResolveSpecHealthMedicine_code",
        "tags": [
          "medicine_code (ResolveSpec)"
        ],
        "responses": {
          "200": {
            "description": "Metadata retrieved successfully",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Response"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          },
          {
            "SessionToken": []
          },
          {
            "CookieAuth": []
          },
          {
            "HeaderAuth": []
          }
        ]
      },
      "post": {
        "summary": "Perform operation on medicine_code",
        "description": "Execute read, create, or meta operations on medicine_code records",
        "operationId": "operateResolveSpecHealthMedicine_code",
        "tags": [
          "medicine_code (ResolveSpec)"
        ],
        "requestBody": {
          "description": "Operation request with operation type and options",
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ResolveSpecRequest"
              },
              "example": {
                "operation": "read",
                "options": {
                  "filters": [
                    {
                      "column": "status",
                      "operator": "eq",
                      "value": "active"
                    }
                  ],
                  "limit": 10
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Operation completed successfully",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/HealthMedicine_code"
                      }
                    },
                    "metadata": {
                      "$ref": "#/components/schemas/Metadata"
                    },
                    "success": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          },
          {
            "SessionToken": []
          },
          {
            "CookieAuth": []
          },
          {
            "HeaderAuth": []
          }
        ]
      },
      "options": {
        "summary": "CORS preflight",
        "description": "Handle CORS preflight requests",
        "operationId": "optionsResolveSpecHealthMedicine_code",
        "tags": [
          "medicine_code (ResolveSpec)"
        ],
        "responses": {
          "204": {
            "description": "No content"
          }
        }
      }
    },
    "/api/v2/health/medicine_code/{id}": {
      "post": {
        "summary": "Update or delete medicine_code record",
        "description": "Execute update or delete operation on a specific medicine_code record",
        "operationId": "modifyResolveSpecHealthMedicine_code",
        "tags": [
          "medicine_code (ResolveSpec)"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Record ID",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "description": "Operation request (update or delete)",
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ResolveSpecRequest"
              },
              "example": {
                "data": {
                  "status": "inactive"
                },
                "operation": "update"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Operation completed successfully",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/HealthMedicine_code"
                    },
                    "success": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "404": {
            "description": "Record not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          },
          {
            "SessionToken": []
          },
          {
            "CookieAuth": []
          },
          {
            "HeaderAuth": []
          }
        ]
      }
    },
    "/api/v2/health/mood_log": {
      "get": {
        "summary": "Get mood_log metadata",
        "description": "Retrieve metadata for mood_log",
        "operationId": "metadataResolveSpecHealthMood_log",
        "tags": [
          "mood_log (ResolveSpec)"
        ],
        "responses": {
          "200": {
            "description": "Metadata retrieved successfully",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Response"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          },
          {
            "SessionToken": []
          },
          {
            "CookieAuth": []
          },
          {
            "HeaderAuth": []
          }
        ]
      },
      "post": {
        "summary": "Perform operation on mood_log",
        "description": "Execute read, create, or meta operations on mood_log records",
        "operationId": "operateResolveSpecHealthMood_log",
        "tags": [
          "mood_log (ResolveSpec)"
        ],
        "requestBody": {
          "description": "Operation request with operation type and options",
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ResolveSpecRequest"
              },
              "example": {
                "operation": "read",
                "options": {
                  "filters": [
                    {
                      "column": "status",
                      "operator": "eq",
                      "value": "active"
                    }
                  ],
                  "limit": 10
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Operation completed successfully",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/HealthMood_log"
                      }
                    },
                    "metadata": {
                      "$ref": "#/components/schemas/Metadata"
                    },
                    "success": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          },
          {
            "SessionToken": []
          },
          {
            "CookieAuth": []
          },
          {
            "HeaderAuth": []
          }
        ]
      },
      "options": {
        "summary": "CORS preflight",
        "description": "Handle CORS preflight requests",
        "operationId": "optionsResolveSpecHealthMood_log",
        "tags": [
          "mood_log (ResolveSpec)"
        ],
        "responses": {
          "204": {
            "description": "No content"
          }
        }
      }
    },
    "/api/v2/health/mood_log/{id}": {
      "post": {
        "summary": "Update or delete mood_log record",
        "description": "Execute update or delete operation on a specific mood_log record",
        "operationId": "modifyResolveSpecHealthMood_log",
        "tags": [
          "mood_log (ResolveSpec)"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Record ID",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "description": "Operation request (update or delete)",
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ResolveSpecRequest"
              },
              "example": {
                "data": {
                  "status": "inactive"
                },
                "operation": "update"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Operation completed successfully",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/HealthMood_log"
                    },
                    "success": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "404": {
            "description": "Record not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          },
          {
            "SessionToken": []
          },
          {
            "CookieAuth": []
          },
          {
            "HeaderAuth": []
          }
        ]
      }
    },
    "/api/v2/health/pain_log": {
      "get": {
        "summary": "Get pain_log metadata",
        "description": "Retrieve metadata for pain_log",
        "operationId": "metadataResolveSpecHealthPain_log",
        "tags": [
          "pain_log (ResolveSpec)"
        ],
        "responses": {
          "200": {
            "description": "Metadata retrieved successfully",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Response"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          },
          {
            "SessionToken": []
          },
          {
            "CookieAuth": []
          },
          {
            "HeaderAuth": []
          }
        ]
      },
      "post": {
        "summary": "Perform operation on pain_log",
        "description": "Execute read, create, or meta operations on pain_log records",
        "operationId": "operateResolveSpecHealthPain_log",
        "tags": [
          "pain_log (ResolveSpec)"
        ],
        "requestBody": {
          "description": "Operation request with operation type and options",
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ResolveSpecRequest"
              },
              "example": {
                "operation": "read",
                "options": {
                  "filters": [
                    {
                      "column": "status",
                      "operator": "eq",
                      "value": "active"
                    }
                  ],
                  "limit": 10
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Operation completed successfully",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/HealthPain_log"
                      }
                    },
                    "metadata": {
                      "$ref": "#/components/schemas/Metadata"
                    },
                    "success": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          },
          {
            "SessionToken": []
          },
          {
            "CookieAuth": []
          },
          {
            "HeaderAuth": []
          }
        ]
      },
      "options": {
        "summary": "CORS preflight",
        "description": "Handle CORS preflight requests",
        "operationId": "optionsResolveSpecHealthPain_log",
        "tags": [
          "pain_log (ResolveSpec)"
        ],
        "responses": {
          "204": {
            "description": "No content"
          }
        }
      }
    },
    "/api/v2/health/pain_log/{id}": {
      "post": {
        "summary": "Update or delete pain_log record",
        "description": "Execute update or delete operation on a specific pain_log record",
        "operationId": "modifyResolveSpecHealthPain_log",
        "tags": [
          "pain_log (ResolveSpec)"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Record ID",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "description": "Operation request (update or delete)",
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ResolveSpecRequest"
              },
              "example": {
                "data": {
                  "status": "inactive"
                },
                "operation": "update"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Operation completed successfully",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/HealthPain_log"
                    },
                    "success": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "404": {
            "description": "Record not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          },
          {
            "SessionToken": []
          },
          {
            "CookieAuth": []
          },
          {
            "HeaderAuth": []
          }
        ]
      }
    },
    "/api/v2/health/pharmacy": {
      "get": {
        "summary": "Get pharmacy metadata",
        "description": "Retrieve metadata for pharmacy",
        "operationId": "metadataResolveSpecHealthPharmacy",
        "tags": [
          "pharmacy (ResolveSpec)"
        ],
        "responses": {
          "200": {
            "description": "Metadata retrieved successfully",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Response"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          },
          {
            "SessionToken": []
          },
          {
            "CookieAuth": []
          },
          {
            "HeaderAuth": []
          }
        ]
      },
      "post": {
        "summary": "Perform operation on pharmacy",
        "description": "Execute read, create, or meta operations on pharmacy records",
        "operationId": "operateResolveSpecHealthPharmacy",
        "tags": [
          "pharmacy (ResolveSpec)"
        ],
        "requestBody": {
          "description": "Operation request with operation type and options",
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ResolveSpecRequest"
              },
              "example": {
                "operation": "read",
                "options": {
                  "filters": [
                    {
                      "column": "status",
                      "operator": "eq",
                      "value": "active"
                    }
                  ],
                  "limit": 10
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Operation completed successfully",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/HealthPharmacy"
                      }
                    },
                    "metadata": {
                      "$ref": "#/components/schemas/Metadata"
                    },
                    "success": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          },
          {
            "SessionToken": []
          },
          {
            "CookieAuth": []
          },
          {
            "HeaderAuth": []
          }
        ]
      },
      "options": {
        "summary": "CORS preflight",
        "description": "Handle CORS preflight requests",
        "operationId": "optionsResolveSpecHealthPharmacy",
        "tags": [
          "pharmacy (ResolveSpec)"
        ],
        "responses": {
          "204": {
            "description": "No content"
          }
        }
      }
    },
    "/api/v2/health/pharmacy/{id}": {
      "post": {
        "summary": "Update or delete pharmacy record",
        "description": "Execute update or delete operation on a specific pharmacy record",
        "operationId": "modifyResolveSpecHealthPharmacy",
        "tags": [
          "pharmacy (ResolveSpec)"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Record ID",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "description": "Operation request (update or delete)",
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ResolveSpecRequest"
              },
              "example": {
                "data": {
                  "status": "inactive"
                },
                "operation": "update"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Operation completed successfully",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/HealthPharmacy"
                    },
                    "success": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "404": {
            "description": "Record not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          },
          {
            "SessionToken": []
          },
          {
            "CookieAuth": []
          },
          {
            "HeaderAuth": []
          }
        ]
      }
    },
    "/api/v2/health/pharmacy_branch": {
      "get": {
        "summary": "Get pharmacy_branch metadata",
        "description": "Retrieve metadata for pharmacy_branch",
        "operationId": "metadataResolveSpecHealthPharmacy_branch",
        "tags": [
          "pharmacy_branch (ResolveSpec)"
        ],
        "responses": {
          "200": {
            "description": "Metadata retrieved successfully",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Response"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          },
          {
            "SessionToken": []
          },
          {
            "CookieAuth": []
          },
          {
            "HeaderAuth": []
          }
        ]
      },
      "post": {
        "summary": "Perform operation on pharmacy_branch",
        "description": "Execute read, create, or meta operations on pharmacy_branch records",
        "operationId": "operateResolveSpecHealthPharmacy_branch",
        "tags": [
          "pharmacy_branch (ResolveSpec)"
        ],
        "requestBody": {
          "description": "Operation request with operation type and options",
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ResolveSpecRequest"
              },
              "example": {
                "operation": "read",
                "options": {
                  "filters": [
                    {
                      "column": "status",
                      "operator": "eq",
                      "value": "active"
                    }
                  ],
                  "limit": 10
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Operation completed successfully",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/HealthPharmacy_branch"
                      }
                    },
                    "metadata": {
                      "$ref": "#/components/schemas/Metadata"
                    },
                    "success": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          },
          {
            "SessionToken": []
          },
          {
            "CookieAuth": []
          },
          {
            "HeaderAuth": []
          }
        ]
      },
      "options": {
        "summary": "CORS preflight",
        "description": "Handle CORS preflight requests",
        "operationId": "optionsResolveSpecHealthPharmacy_branch",
        "tags": [
          "pharmacy_branch (ResolveSpec)"
        ],
        "responses": {
          "204": {
            "description": "No content"
          }
        }
      }
    },
    "/api/v2/health/pharmacy_branch/{id}": {
      "post": {
        "summary": "Update or delete pharmacy_branch record",
        "description": "Execute update or delete operation on a specific pharmacy_branch record",
        "operationId": "modifyResolveSpecHealthPharmacy_branch",
        "tags": [
          "pharmacy_branch (ResolveSpec)"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Record ID",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "description": "Operation request (update or delete)",
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ResolveSpecRequest"
              },
              "example": {
                "data": {
                  "status": "inactive"
                },
                "operation": "update"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Operation completed successfully",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/HealthPharmacy_branch"
                    },
                    "success": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "404": {
            "description": "Record not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          },
          {
            "SessionToken": []
          },
          {
            "CookieAuth": []
          },
          {
            "HeaderAuth": []
          }
        ]
      }
    },
    "/api/v2/health/pharmacy_fill": {
      "get": {
        "summary": "Get pharmacy_fill metadata",
        "description": "Retrieve metadata for pharmacy_fill",
        "operationId": "metadataResolveSpecHealthPharmacy_fill",
        "tags": [
          "pharmacy_fill (ResolveSpec)"
        ],
        "responses": {
          "200": {
            "description": "Metadata retrieved successfully",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Response"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          },
          {
            "SessionToken": []
          },
          {
            "CookieAuth": []
          },
          {
            "HeaderAuth": []
          }
        ]
      },
      "post": {
        "summary": "Perform operation on pharmacy_fill",
        "description": "Execute read, create, or meta operations on pharmacy_fill records",
        "operationId": "operateResolveSpecHealthPharmacy_fill",
        "tags": [
          "pharmacy_fill (ResolveSpec)"
        ],
        "requestBody": {
          "description": "Operation request with operation type and options",
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ResolveSpecRequest"
              },
              "example": {
                "operation": "read",
                "options": {
                  "filters": [
                    {
                      "column": "status",
                      "operator": "eq",
                      "value": "active"
                    }
                  ],
                  "limit": 10
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Operation completed successfully",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/HealthPharmacy_fill"
                      }
                    },
                    "metadata": {
                      "$ref": "#/components/schemas/Metadata"
                    },
                    "success": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          },
          {
            "SessionToken": []
          },
          {
            "CookieAuth": []
          },
          {
            "HeaderAuth": []
          }
        ]
      },
      "options": {
        "summary": "CORS preflight",
        "description": "Handle CORS preflight requests",
        "operationId": "optionsResolveSpecHealthPharmacy_fill",
        "tags": [
          "pharmacy_fill (ResolveSpec)"
        ],
        "responses": {
          "204": {
            "description": "No content"
          }
        }
      }
    },
    "/api/v2/health/pharmacy_fill/{id}": {
      "post": {
        "summary": "Update or delete pharmacy_fill record",
        "description": "Execute update or delete operation on a specific pharmacy_fill record",
        "operationId": "modifyResolveSpecHealthPharmacy_fill",
        "tags": [
          "pharmacy_fill (ResolveSpec)"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Record ID",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "description": "Operation request (update or delete)",
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ResolveSpecRequest"
              },
              "example": {
                "data": {
                  "status": "inactive"
                },
                "operation": "update"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Operation completed successfully",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/HealthPharmacy_fill"
                    },
                    "success": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "404": {
            "description": "Record not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          },
          {
            "SessionToken": []
          },
          {
            "CookieAuth": []
          },
          {
            "HeaderAuth": []
          }
        ]
      }
    },
    "/api/v2/health/pharmacy_order": {
      "get": {
        "summary": "Get pharmacy_order metadata",
        "description": "Retrieve metadata for pharmacy_order",
        "operationId": "metadataResolveSpecHealthPharmacy_order",
        "tags": [
          "pharmacy_order (ResolveSpec)"
        ],
        "responses": {
          "200": {
            "description": "Metadata retrieved successfully",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Response"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          },
          {
            "SessionToken": []
          },
          {
            "CookieAuth": []
          },
          {
            "HeaderAuth": []
          }
        ]
      },
      "post": {
        "summary": "Perform operation on pharmacy_order",
        "description": "Execute read, create, or meta operations on pharmacy_order records",
        "operationId": "operateResolveSpecHealthPharmacy_order",
        "tags": [
          "pharmacy_order (ResolveSpec)"
        ],
        "requestBody": {
          "description": "Operation request with operation type and options",
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ResolveSpecRequest"
              },
              "example": {
                "operation": "read",
                "options": {
                  "filters": [
                    {
                      "column": "status",
                      "operator": "eq",
                      "value": "active"
                    }
                  ],
                  "limit": 10
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Operation completed successfully",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/HealthPharmacy_order"
                      }
                    },
                    "metadata": {
                      "$ref": "#/components/schemas/Metadata"
                    },
                    "success": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          },
          {
            "SessionToken": []
          },
          {
            "CookieAuth": []
          },
          {
            "HeaderAuth": []
          }
        ]
      },
      "options": {
        "summary": "CORS preflight",
        "description": "Handle CORS preflight requests",
        "operationId": "optionsResolveSpecHealthPharmacy_order",
        "tags": [
          "pharmacy_order (ResolveSpec)"
        ],
        "responses": {
          "204": {
            "description": "No content"
          }
        }
      }
    },
    "/api/v2/health/pharmacy_order/{id}": {
      "post": {
        "summary": "Update or delete pharmacy_order record",
        "description": "Execute update or delete operation on a specific pharmacy_order record",
        "operationId": "modifyResolveSpecHealthPharmacy_order",
        "tags": [
          "pharmacy_order (ResolveSpec)"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Record ID",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "description": "Operation request (update or delete)",
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ResolveSpecRequest"
              },
              "example": {
                "data": {
                  "status": "inactive"
                },
                "operation": "update"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Operation completed successfully",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/HealthPharmacy_order"
                    },
                    "success": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "404": {
            "description": "Record not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          },
          {
            "SessionToken": []
          },
          {
            "CookieAuth": []
          },
          {
            "HeaderAuth": []
          }
        ]
      }
    },
    "/api/v2/health/prescription": {
      "get": {
        "summary": "Get prescription metadata",
        "description": "Retrieve metadata for prescription",
        "operationId": "metadataResolveSpecHealthPrescription",
        "tags": [
          "prescription (ResolveSpec)"
        ],
        "responses": {
          "200": {
            "description": "Metadata retrieved successfully",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Response"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          },
          {
            "SessionToken": []
          },
          {
            "CookieAuth": []
          },
          {
            "HeaderAuth": []
          }
        ]
      },
      "post": {
        "summary": "Perform operation on prescription",
        "description": "Execute read, create, or meta operations on prescription records",
        "operationId": "operateResolveSpecHealthPrescription",
        "tags": [
          "prescription (ResolveSpec)"
        ],
        "requestBody": {
          "description": "Operation request with operation type and options",
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ResolveSpecRequest"
              },
              "example": {
                "operation": "read",
                "options": {
                  "filters": [
                    {
                      "column": "status",
                      "operator": "eq",
                      "value": "active"
                    }
                  ],
                  "limit": 10
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Operation completed successfully",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/HealthPrescription"
                      }
                    },
                    "metadata": {
                      "$ref": "#/components/schemas/Metadata"
                    },
                    "success": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          },
          {
            "SessionToken": []
          },
          {
            "CookieAuth": []
          },
          {
            "HeaderAuth": []
          }
        ]
      },
      "options": {
        "summary": "CORS preflight",
        "description": "Handle CORS preflight requests",
        "operationId": "optionsResolveSpecHealthPrescription",
        "tags": [
          "prescription (ResolveSpec)"
        ],
        "responses": {
          "204": {
            "description": "No content"
          }
        }
      }
    },
    "/api/v2/health/prescription/{id}": {
      "post": {
        "summary": "Update or delete prescription record",
        "description": "Execute update or delete operation on a specific prescription record",
        "operationId": "modifyResolveSpecHealthPrescription",
        "tags": [
          "prescription (ResolveSpec)"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Record ID",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "description": "Operation request (update or delete)",
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ResolveSpecRequest"
              },
              "example": {
                "data": {
                  "status": "inactive"
                },
                "operation": "update"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Operation completed successfully",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/HealthPrescription"
                    },
                    "success": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "404": {
            "description": "Record not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          },
          {
            "SessionToken": []
          },
          {
            "CookieAuth": []
          },
          {
            "HeaderAuth": []
          }
        ]
      }
    },
    "/api/v2/health/prescription_item": {
      "get": {
        "summary": "Get prescription_item metadata",
        "description": "Retrieve metadata for prescription_item",
        "operationId": "metadataResolveSpecHealthPrescription_item",
        "tags": [
          "prescription_item (ResolveSpec)"
        ],
        "responses": {
          "200": {
            "description": "Metadata retrieved successfully",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Response"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          },
          {
            "SessionToken": []
          },
          {
            "CookieAuth": []
          },
          {
            "HeaderAuth": []
          }
        ]
      },
      "post": {
        "summary": "Perform operation on prescription_item",
        "description": "Execute read, create, or meta operations on prescription_item records",
        "operationId": "operateResolveSpecHealthPrescription_item",
        "tags": [
          "prescription_item (ResolveSpec)"
        ],
        "requestBody": {
          "description": "Operation request with operation type and options",
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ResolveSpecRequest"
              },
              "example": {
                "operation": "read",
                "options": {
                  "filters": [
                    {
                      "column": "status",
                      "operator": "eq",
                      "value": "active"
                    }
                  ],
                  "limit": 10
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Operation completed successfully",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/HealthPrescription_item"
                      }
                    },
                    "metadata": {
                      "$ref": "#/components/schemas/Metadata"
                    },
                    "success": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          },
          {
            "SessionToken": []
          },
          {
            "CookieAuth": []
          },
          {
            "HeaderAuth": []
          }
        ]
      },
      "options": {
        "summary": "CORS preflight",
        "description": "Handle CORS preflight requests",
        "operationId": "optionsResolveSpecHealthPrescription_item",
        "tags": [
          "prescription_item (ResolveSpec)"
        ],
        "responses": {
          "204": {
            "description": "No content"
          }
        }
      }
    },
    "/api/v2/health/prescription_item/{id}": {
      "post": {
        "summary": "Update or delete prescription_item record",
        "description": "Execute update or delete operation on a specific prescription_item record",
        "operationId": "modifyResolveSpecHealthPrescription_item",
        "tags": [
          "prescription_item (ResolveSpec)"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Record ID",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "description": "Operation request (update or delete)",
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ResolveSpecRequest"
              },
              "example": {
                "data": {
                  "status": "inactive"
                },
                "operation": "update"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Operation completed successfully",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/HealthPrescription_item"
                    },
                    "success": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "404": {
            "description": "Record not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          },
          {
            "SessionToken": []
          },
          {
            "CookieAuth": []
          },
          {
            "HeaderAuth": []
          }
        ]
      }
    },
    "/api/v2/health/refill_request": {
      "get": {
        "summary": "Get refill_request metadata",
        "description": "Retrieve metadata for refill_request",
        "operationId": "metadataResolveSpecHealthRefill_request",
        "tags": [
          "refill_request (ResolveSpec)"
        ],
        "responses": {
          "200": {
            "description": "Metadata retrieved successfully",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Response"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          },
          {
            "SessionToken": []
          },
          {
            "CookieAuth": []
          },
          {
            "HeaderAuth": []
          }
        ]
      },
      "post": {
        "summary": "Perform operation on refill_request",
        "description": "Execute read, create, or meta operations on refill_request records",
        "operationId": "operateResolveSpecHealthRefill_request",
        "tags": [
          "refill_request (ResolveSpec)"
        ],
        "requestBody": {
          "description": "Operation request with operation type and options",
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ResolveSpecRequest"
              },
              "example": {
                "operation": "read",
                "options": {
                  "filters": [
                    {
                      "column": "status",
                      "operator": "eq",
                      "value": "active"
                    }
                  ],
                  "limit": 10
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Operation completed successfully",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/HealthRefill_request"
                      }
                    },
                    "metadata": {
                      "$ref": "#/components/schemas/Metadata"
                    },
                    "success": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          },
          {
            "SessionToken": []
          },
          {
            "CookieAuth": []
          },
          {
            "HeaderAuth": []
          }
        ]
      },
      "options": {
        "summary": "CORS preflight",
        "description": "Handle CORS preflight requests",
        "operationId": "optionsResolveSpecHealthRefill_request",
        "tags": [
          "refill_request (ResolveSpec)"
        ],
        "responses": {
          "204": {
            "description": "No content"
          }
        }
      }
    },
    "/api/v2/health/refill_request/{id}": {
      "post": {
        "summary": "Update or delete refill_request record",
        "description": "Execute update or delete operation on a specific refill_request record",
        "operationId": "modifyResolveSpecHealthRefill_request",
        "tags": [
          "refill_request (ResolveSpec)"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Record ID",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "description": "Operation request (update or delete)",
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ResolveSpecRequest"
              },
              "example": {
                "data": {
                  "status": "inactive"
                },
                "operation": "update"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Operation completed successfully",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/HealthRefill_request"
                    },
                    "success": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "404": {
            "description": "Record not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          },
          {
            "SessionToken": []
          },
          {
            "CookieAuth": []
          },
          {
            "HeaderAuth": []
          }
        ]
      }
    },
    "/api/v2/health/schedule_time": {
      "get": {
        "summary": "Get schedule_time metadata",
        "description": "Retrieve metadata for schedule_time",
        "operationId": "metadataResolveSpecHealthSchedule_time",
        "tags": [
          "schedule_time (ResolveSpec)"
        ],
        "responses": {
          "200": {
            "description": "Metadata retrieved successfully",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Response"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          },
          {
            "SessionToken": []
          },
          {
            "CookieAuth": []
          },
          {
            "HeaderAuth": []
          }
        ]
      },
      "post": {
        "summary": "Perform operation on schedule_time",
        "description": "Execute read, create, or meta operations on schedule_time records",
        "operationId": "operateResolveSpecHealthSchedule_time",
        "tags": [
          "schedule_time (ResolveSpec)"
        ],
        "requestBody": {
          "description": "Operation request with operation type and options",
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ResolveSpecRequest"
              },
              "example": {
                "operation": "read",
                "options": {
                  "filters": [
                    {
                      "column": "status",
                      "operator": "eq",
                      "value": "active"
                    }
                  ],
                  "limit": 10
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Operation completed successfully",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/HealthSchedule_time"
                      }
                    },
                    "metadata": {
                      "$ref": "#/components/schemas/Metadata"
                    },
                    "success": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          },
          {
            "SessionToken": []
          },
          {
            "CookieAuth": []
          },
          {
            "HeaderAuth": []
          }
        ]
      },
      "options": {
        "summary": "CORS preflight",
        "description": "Handle CORS preflight requests",
        "operationId": "optionsResolveSpecHealthSchedule_time",
        "tags": [
          "schedule_time (ResolveSpec)"
        ],
        "responses": {
          "204": {
            "description": "No content"
          }
        }
      }
    },
    "/api/v2/health/schedule_time/{id}": {
      "post": {
        "summary": "Update or delete schedule_time record",
        "description": "Execute update or delete operation on a specific schedule_time record",
        "operationId": "modifyResolveSpecHealthSchedule_time",
        "tags": [
          "schedule_time (ResolveSpec)"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Record ID",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "description": "Operation request (update or delete)",
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ResolveSpecRequest"
              },
              "example": {
                "data": {
                  "status": "inactive"
                },
                "operation": "update"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Operation completed successfully",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/HealthSchedule_time"
                    },
                    "success": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "404": {
            "description": "Record not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          },
          {
            "SessionToken": []
          },
          {
            "CookieAuth": []
          },
          {
            "HeaderAuth": []
          }
        ]
      }
    },
    "/api/v2/health/sleep_log": {
      "get": {
        "summary": "Get sleep_log metadata",
        "description": "Retrieve metadata for sleep_log",
        "operationId": "metadataResolveSpecHealthSleep_log",
        "tags": [
          "sleep_log (ResolveSpec)"
        ],
        "responses": {
          "200": {
            "description": "Metadata retrieved successfully",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Response"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          },
          {
            "SessionToken": []
          },
          {
            "CookieAuth": []
          },
          {
            "HeaderAuth": []
          }
        ]
      },
      "post": {
        "summary": "Perform operation on sleep_log",
        "description": "Execute read, create, or meta operations on sleep_log records",
        "operationId": "operateResolveSpecHealthSleep_log",
        "tags": [
          "sleep_log (ResolveSpec)"
        ],
        "requestBody": {
          "description": "Operation request with operation type and options",
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ResolveSpecRequest"
              },
              "example": {
                "operation": "read",
                "options": {
                  "filters": [
                    {
                      "column": "status",
                      "operator": "eq",
                      "value": "active"
                    }
                  ],
                  "limit": 10
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Operation completed successfully",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/HealthSleep_log"
                      }
                    },
                    "metadata": {
                      "$ref": "#/components/schemas/Metadata"
                    },
                    "success": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          },
          {
            "SessionToken": []
          },
          {
            "CookieAuth": []
          },
          {
            "HeaderAuth": []
          }
        ]
      },
      "options": {
        "summary": "CORS preflight",
        "description": "Handle CORS preflight requests",
        "operationId": "optionsResolveSpecHealthSleep_log",
        "tags": [
          "sleep_log (ResolveSpec)"
        ],
        "responses": {
          "204": {
            "description": "No content"
          }
        }
      }
    },
    "/api/v2/health/sleep_log/{id}": {
      "post": {
        "summary": "Update or delete sleep_log record",
        "description": "Execute update or delete operation on a specific sleep_log record",
        "operationId": "modifyResolveSpecHealthSleep_log",
        "tags": [
          "sleep_log (ResolveSpec)"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Record ID",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "description": "Operation request (update or delete)",
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ResolveSpecRequest"
              },
              "example": {
                "data": {
                  "status": "inactive"
                },
                "operation": "update"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Operation completed successfully",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/HealthSleep_log"
                    },
                    "success": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "404": {
            "description": "Record not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          },
          {
            "SessionToken": []
          },
          {
            "CookieAuth": []
          },
          {
            "HeaderAuth": []
          }
        ]
      }
    },
    "/api/v2/health/symptom_log": {
      "get": {
        "summary": "Get symptom_log metadata",
        "description": "Retrieve metadata for symptom_log",
        "operationId": "metadataResolveSpecHealthSymptom_log",
        "tags": [
          "symptom_log (ResolveSpec)"
        ],
        "responses": {
          "200": {
            "description": "Metadata retrieved successfully",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Response"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          },
          {
            "SessionToken": []
          },
          {
            "CookieAuth": []
          },
          {
            "HeaderAuth": []
          }
        ]
      },
      "post": {
        "summary": "Perform operation on symptom_log",
        "description": "Execute read, create, or meta operations on symptom_log records",
        "operationId": "operateResolveSpecHealthSymptom_log",
        "tags": [
          "symptom_log (ResolveSpec)"
        ],
        "requestBody": {
          "description": "Operation request with operation type and options",
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ResolveSpecRequest"
              },
              "example": {
                "operation": "read",
                "options": {
                  "filters": [
                    {
                      "column": "status",
                      "operator": "eq",
                      "value": "active"
                    }
                  ],
                  "limit": 10
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Operation completed successfully",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/HealthSymptom_log"
                      }
                    },
                    "metadata": {
                      "$ref": "#/components/schemas/Metadata"
                    },
                    "success": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          },
          {
            "SessionToken": []
          },
          {
            "CookieAuth": []
          },
          {
            "HeaderAuth": []
          }
        ]
      },
      "options": {
        "summary": "CORS preflight",
        "description": "Handle CORS preflight requests",
        "operationId": "optionsResolveSpecHealthSymptom_log",
        "tags": [
          "symptom_log (ResolveSpec)"
        ],
        "responses": {
          "204": {
            "description": "No content"
          }
        }
      }
    },
    "/api/v2/health/symptom_log/{id}": {
      "post": {
        "summary": "Update or delete symptom_log record",
        "description": "Execute update or delete operation on a specific symptom_log record",
        "operationId": "modifyResolveSpecHealthSymptom_log",
        "tags": [
          "symptom_log (ResolveSpec)"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Record ID",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "description": "Operation request (update or delete)",
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ResolveSpecRequest"
              },
              "example": {
                "data": {
                  "status": "inactive"
                },
                "operation": "update"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Operation completed successfully",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/HealthSymptom_log"
                    },
                    "success": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "404": {
            "description": "Record not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          },
          {
            "SessionToken": []
          },
          {
            "CookieAuth": []
          },
          {
            "HeaderAuth": []
          }
        ]
      }
    },
    "/api/v2/health/treatment_plan": {
      "get": {
        "summary": "Get treatment_plan metadata",
        "description": "Retrieve metadata for treatment_plan",
        "operationId": "metadataResolveSpecHealthTreatment_plan",
        "tags": [
          "treatment_plan (ResolveSpec)"
        ],
        "responses": {
          "200": {
            "description": "Metadata retrieved successfully",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Response"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          },
          {
            "SessionToken": []
          },
          {
            "CookieAuth": []
          },
          {
            "HeaderAuth": []
          }
        ]
      },
      "post": {
        "summary": "Perform operation on treatment_plan",
        "description": "Execute read, create, or meta operations on treatment_plan records",
        "operationId": "operateResolveSpecHealthTreatment_plan",
        "tags": [
          "treatment_plan (ResolveSpec)"
        ],
        "requestBody": {
          "description": "Operation request with operation type and options",
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ResolveSpecRequest"
              },
              "example": {
                "operation": "read",
                "options": {
                  "filters": [
                    {
                      "column": "status",
                      "operator": "eq",
                      "value": "active"
                    }
                  ],
                  "limit": 10
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Operation completed successfully",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/HealthTreatment_plan"
                      }
                    },
                    "metadata": {
                      "$ref": "#/components/schemas/Metadata"
                    },
                    "success": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          },
          {
            "SessionToken": []
          },
          {
            "CookieAuth": []
          },
          {
            "HeaderAuth": []
          }
        ]
      },
      "options": {
        "summary": "CORS preflight",
        "description": "Handle CORS preflight requests",
        "operationId": "optionsResolveSpecHealthTreatment_plan",
        "tags": [
          "treatment_plan (ResolveSpec)"
        ],
        "responses": {
          "204": {
            "description": "No content"
          }
        }
      }
    },
    "/api/v2/health/treatment_plan/{id}": {
      "post": {
        "summary": "Update or delete treatment_plan record",
        "description": "Execute update or delete operation on a specific treatment_plan record",
        "operationId": "modifyResolveSpecHealthTreatment_plan",
        "tags": [
          "treatment_plan (ResolveSpec)"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Record ID",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "description": "Operation request (update or delete)",
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ResolveSpecRequest"
              },
              "example": {
                "data": {
                  "status": "inactive"
                },
                "operation": "update"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Operation completed successfully",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/HealthTreatment_plan"
                    },
                    "success": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "404": {
            "description": "Record not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          },
          {
            "SessionToken": []
          },
          {
            "CookieAuth": []
          },
          {
            "HeaderAuth": []
          }
        ]
      }
    },
    "/api/v2/health/vital_sign_log": {
      "get": {
        "summary": "Get vital_sign_log metadata",
        "description": "Retrieve metadata for vital_sign_log",
        "operationId": "metadataResolveSpecHealthVital_sign_log",
        "tags": [
          "vital_sign_log (ResolveSpec)"
        ],
        "responses": {
          "200": {
            "description": "Metadata retrieved successfully",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Response"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          },
          {
            "SessionToken": []
          },
          {
            "CookieAuth": []
          },
          {
            "HeaderAuth": []
          }
        ]
      },
      "post": {
        "summary": "Perform operation on vital_sign_log",
        "description": "Execute read, create, or meta operations on vital_sign_log records",
        "operationId": "operateResolveSpecHealthVital_sign_log",
        "tags": [
          "vital_sign_log (ResolveSpec)"
        ],
        "requestBody": {
          "description": "Operation request with operation type and options",
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ResolveSpecRequest"
              },
              "example": {
                "operation": "read",
                "options": {
                  "filters": [
                    {
                      "column": "status",
                      "operator": "eq",
                      "value": "active"
                    }
                  ],
                  "limit": 10
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Operation completed successfully",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/HealthVital_sign_log"
                      }
                    },
                    "metadata": {
                      "$ref": "#/components/schemas/Metadata"
                    },
                    "success": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          },
          {
            "SessionToken": []
          },
          {
            "CookieAuth": []
          },
          {
            "HeaderAuth": []
          }
        ]
      },
      "options": {
        "summary": "CORS preflight",
        "description": "Handle CORS preflight requests",
        "operationId": "optionsResolveSpecHealthVital_sign_log",
        "tags": [
          "vital_sign_log (ResolveSpec)"
        ],
        "responses": {
          "204": {
            "description": "No content"
          }
        }
      }
    },
    "/api/v2/health/vital_sign_log/{id}": {
      "post": {
        "summary": "Update or delete vital_sign_log record",
        "description": "Execute update or delete operation on a specific vital_sign_log record",
        "operationId": "modifyResolveSpecHealthVital_sign_log",
        "tags": [
          "vital_sign_log (ResolveSpec)"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Record ID",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "description": "Operation request (update or delete)",
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ResolveSpecRequest"
              },
              "example": {
                "data": {
                  "status": "inactive"
                },
                "operation": "update"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Operation completed successfully",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/HealthVital_sign_log"
                    },
                    "success": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "404": {
            "description": "Record not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          },
          {
            "SessionToken": []
          },
          {
            "CookieAuth": []
          },
          {
            "HeaderAuth": []
          }
        ]
      }
    },
    "/api/v2/org/department": {
      "get": {
        "summary": "Get department metadata",
        "description": "Retrieve metadata for department",
        "operationId": "metadataResolveSpecOrgDepartment",
        "tags": [
          "department (ResolveSpec)"
        ],
        "responses": {
          "200": {
            "description": "Metadata retrieved successfully",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Response"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          },
          {
            "SessionToken": []
          },
          {
            "CookieAuth": []
          },
          {
            "HeaderAuth": []
          }
        ]
      },
      "post": {
        "summary": "Perform operation on department",
        "description": "Execute read, create, or meta operations on department records",
        "operationId": "operateResolveSpecOrgDepartment",
        "tags": [
          "department (ResolveSpec)"
        ],
        "requestBody": {
          "description": "Operation request with operation type and options",
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ResolveSpecRequest"
              },
              "example": {
                "operation": "read",
                "options": {
                  "filters": [
                    {
                      "column": "status",
                      "operator": "eq",
                      "value": "active"
                    }
                  ],
                  "limit": 10
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Operation completed successfully",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/OrgDepartment"
                      }
                    },
                    "metadata": {
                      "$ref": "#/components/schemas/Metadata"
                    },
                    "success": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          },
          {
            "SessionToken": []
          },
          {
            "CookieAuth": []
          },
          {
            "HeaderAuth": []
          }
        ]
      },
      "options": {
        "summary": "CORS preflight",
        "description": "Handle CORS preflight requests",
        "operationId": "optionsResolveSpecOrgDepartment",
        "tags": [
          "department (ResolveSpec)"
        ],
        "responses": {
          "204": {
            "description": "No content"
          }
        }
      }
    },
    "/api/v2/org/department/{id}": {
      "post": {
        "summary": "Update or delete department record",
        "description": "Execute update or delete operation on a specific department record",
        "operationId": "modifyResolveSpecOrgDepartment",
        "tags": [
          "department (ResolveSpec)"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Record ID",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "description": "Operation request (update or delete)",
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ResolveSpecRequest"
              },
              "example": {
                "data": {
                  "status": "inactive"
                },
                "operation": "update"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Operation completed successfully",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/OrgDepartment"
                    },
                    "success": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "404": {
            "description": "Record not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          },
          {
            "SessionToken": []
          },
          {
            "CookieAuth": []
          },
          {
            "HeaderAuth": []
          }
        ]
      }
    },
    "/api/v2/org/owner_typelookup": {
      "get": {
        "summary": "Get owner_typelookup metadata",
        "description": "Retrieve metadata for owner_typelookup",
        "operationId": "metadataResolveSpecOrgOwner_typelookup",
        "tags": [
          "owner_typelookup (ResolveSpec)"
        ],
        "responses": {
          "200": {
            "description": "Metadata retrieved successfully",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Response"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          },
          {
            "SessionToken": []
          },
          {
            "CookieAuth": []
          },
          {
            "HeaderAuth": []
          }
        ]
      },
      "post": {
        "summary": "Perform operation on owner_typelookup",
        "description": "Execute read, create, or meta operations on owner_typelookup records",
        "operationId": "operateResolveSpecOrgOwner_typelookup",
        "tags": [
          "owner_typelookup (ResolveSpec)"
        ],
        "requestBody": {
          "description": "Operation request with operation type and options",
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ResolveSpecRequest"
              },
              "example": {
                "operation": "read",
                "options": {
                  "filters": [
                    {
                      "column": "status",
                      "operator": "eq",
                      "value": "active"
                    }
                  ],
                  "limit": 10
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Operation completed successfully",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/OrgOwner_typelookup"
                      }
                    },
                    "metadata": {
                      "$ref": "#/components/schemas/Metadata"
                    },
                    "success": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          },
          {
            "SessionToken": []
          },
          {
            "CookieAuth": []
          },
          {
            "HeaderAuth": []
          }
        ]
      },
      "options": {
        "summary": "CORS preflight",
        "description": "Handle CORS preflight requests",
        "operationId": "optionsResolveSpecOrgOwner_typelookup",
        "tags": [
          "owner_typelookup (ResolveSpec)"
        ],
        "responses": {
          "204": {
            "description": "No content"
          }
        }
      }
    },
    "/api/v2/org/owner_typelookup/{id}": {
      "post": {
        "summary": "Update or delete owner_typelookup record",
        "description": "Execute update or delete operation on a specific owner_typelookup record",
        "operationId": "modifyResolveSpecOrgOwner_typelookup",
        "tags": [
          "owner_typelookup (ResolveSpec)"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Record ID",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "description": "Operation request (update or delete)",
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ResolveSpecRequest"
              },
              "example": {
                "data": {
                  "status": "inactive"
                },
                "operation": "update"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Operation completed successfully",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/OrgOwner_typelookup"
                    },
                    "success": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "404": {
            "description": "Record not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          },
          {
            "SessionToken": []
          },
          {
            "CookieAuth": []
          },
          {
            "HeaderAuth": []
          }
        ]
      }
    },
    "/api/v2/root/enum": {
      "get": {
        "summary": "Get enum metadata",
        "description": "Retrieve metadata for enum",
        "operationId": "metadataResolveSpecRootEnum",
        "tags": [
          "enum (ResolveSpec)"
        ],
        "responses": {
          "200": {
            "description": "Metadata retrieved successfully",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Response"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          },
          {
            "SessionToken": []
          },
          {
            "CookieAuth": []
          },
          {
            "HeaderAuth": []
          }
        ]
      },
      "post": {
        "summary": "Perform operation on enum",
        "description": "Execute read, create, or meta operations on enum records",
        "operationId": "operateResolveSpecRootEnum",
        "tags": [
          "enum (ResolveSpec)"
        ],
        "requestBody": {
          "description": "Operation request with operation type and options",
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ResolveSpecRequest"
              },
              "example": {
                "operation": "read",
                "options": {
                  "filters": [
                    {
                      "column": "status",
                      "operator": "eq",
                      "value": "active"
                    }
                  ],
                  "limit": 10
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Operation completed successfully",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/RootEnum"
                      }
                    },
                    "metadata": {
                      "$ref": "#/components/schemas/Metadata"
                    },
                    "success": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          },
          {
            "SessionToken": []
          },
          {
            "CookieAuth": []
          },
          {
            "HeaderAuth": []
          }
        ]
      },
      "options": {
        "summary": "CORS preflight",
        "description": "Handle CORS preflight requests",
        "operationId": "optionsResolveSpecRootEnum",
        "tags": [
          "enum (ResolveSpec)"
        ],
        "responses": {
          "204": {
            "description": "No content"
          }
        }
      }
    },
    "/api/v2/root/enum/{id}": {
      "post": {
        "summary": "Update or delete enum record",
        "description": "Execute update or delete operation on a specific enum record",
        "operationId": "modifyResolveSpecRootEnum",
        "tags": [
          "enum (ResolveSpec)"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Record ID",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "description": "Operation request (update or delete)",
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ResolveSpecRequest"
              },
              "example": {
                "data": {
                  "status": "inactive"
                },
                "operation": "update"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Operation completed successfully",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/RootEnum"
                    },
                    "success": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "404": {
            "description": "Record not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          },
          {
            "SessionToken": []
          },
          {
            "CookieAuth": []
          },
          {
            "HeaderAuth": []
          }
        ]
      }
    },
    "/api/v2/root/setting": {
      "get": {
        "summary": "Get setting metadata",
        "description": "Retrieve metadata for setting",
        "operationId": "metadataResolveSpecRootSetting",
        "tags": [
          "setting (ResolveSpec)"
        ],
        "responses": {
          "200": {
            "description": "Metadata retrieved successfully",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Response"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          },
          {
            "SessionToken": []
          },
          {
            "CookieAuth": []
          },
          {
            "HeaderAuth": []
          }
        ]
      },
      "post": {
        "summary": "Perform operation on setting",
        "description": "Execute read, create, or meta operations on setting records",
        "operationId": "operateResolveSpecRootSetting",
        "tags": [
          "setting (ResolveSpec)"
        ],
        "requestBody": {
          "description": "Operation request with operation type and options",
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ResolveSpecRequest"
              },
              "example": {
                "operation": "read",
                "options": {
                  "filters": [
                    {
                      "column": "status",
                      "operator": "eq",
                      "value": "active"
                    }
                  ],
                  "limit": 10
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Operation completed successfully",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/RootSetting"
                      }
                    },
                    "metadata": {
                      "$ref": "#/components/schemas/Metadata"
                    },
                    "success": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          },
          {
            "SessionToken": []
          },
          {
            "CookieAuth": []
          },
          {
            "HeaderAuth": []
          }
        ]
      },
      "options": {
        "summary": "CORS preflight",
        "description": "Handle CORS preflight requests",
        "operationId": "optionsResolveSpecRootSetting",
        "tags": [
          "setting (ResolveSpec)"
        ],
        "responses": {
          "204": {
            "description": "No content"
          }
        }
      }
    },
    "/api/v2/root/setting/{id}": {
      "post": {
        "summary": "Update or delete setting record",
        "description": "Execute update or delete operation on a specific setting record",
        "operationId": "modifyResolveSpecRootSetting",
        "tags": [
          "setting (ResolveSpec)"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Record ID",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "description": "Operation request (update or delete)",
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ResolveSpecRequest"
              },
              "example": {
                "data": {
                  "status": "inactive"
                },
                "operation": "update"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Operation completed successfully",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/RootSetting"
                    },
                    "success": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "404": {
            "description": "Record not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          },
          {
            "SessionToken": []
          },
          {
            "CookieAuth": []
          },
          {
            "HeaderAuth": []
          }
        ]
      }
    },
    "/api/v2/root/typelookup": {
      "get": {
        "summary": "Get typelookup metadata",
        "description": "Retrieve metadata for typelookup",
        "operationId": "metadataResolveSpecRootTypelookup",
        "tags": [
          "typelookup (ResolveSpec)"
        ],
        "responses": {
          "200": {
            "description": "Metadata retrieved successfully",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Response"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          },
          {
            "SessionToken": []
          },
          {
            "CookieAuth": []
          },
          {
            "HeaderAuth": []
          }
        ]
      },
      "post": {
        "summary": "Perform operation on typelookup",
        "description": "Execute read, create, or meta operations on typelookup records",
        "operationId": "operateResolveSpecRootTypelookup",
        "tags": [
          "typelookup (ResolveSpec)"
        ],
        "requestBody": {
          "description": "Operation request with operation type and options",
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ResolveSpecRequest"
              },
              "example": {
                "operation": "read",
                "options": {
                  "filters": [
                    {
                      "column": "status",
                      "operator": "eq",
                      "value": "active"
                    }
                  ],
                  "limit": 10
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Operation completed successfully",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/RootTypelookup"
                      }
                    },
                    "metadata": {
                      "$ref": "#/components/schemas/Metadata"
                    },
                    "success": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          },
          {
            "SessionToken": []
          },
          {
            "CookieAuth": []
          },
          {
            "HeaderAuth": []
          }
        ]
      },
      "options": {
        "summary": "CORS preflight",
        "description": "Handle CORS preflight requests",
        "operationId": "optionsResolveSpecRootTypelookup",
        "tags": [
          "typelookup (ResolveSpec)"
        ],
        "responses": {
          "204": {
            "description": "No content"
          }
        }
      }
    },
    "/api/v2/root/typelookup/{id}": {
      "post": {
        "summary": "Update or delete typelookup record",
        "description": "Execute update or delete operation on a specific typelookup record",
        "operationId": "modifyResolveSpecRootTypelookup",
        "tags": [
          "typelookup (ResolveSpec)"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Record ID",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "description": "Operation request (update or delete)",
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ResolveSpecRequest"
              },
              "example": {
                "data": {
                  "status": "inactive"
                },
                "operation": "update"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Operation completed successfully",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/RootTypelookup"
                    },
                    "success": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "404": {
            "description": "Record not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/APIError"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          },
          {
            "SessionToken": []
          },
          {
            "CookieAuth": []
          },
          {
            "HeaderAuth": []
          }
        ]
      }
    }
  },
  "components": {
    "schemas": {
      "APIError": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string",
            "description": "Error code"
          },
          "details": {
            "type": "string",
            "description": "Detailed error information"
          },
          "message": {
            "type": "string",
            "description": "Error message"
          }
        }
      },
      "AuditAudit_event": {
        "type": "object",
        "properties": {
          "BaseModel": {
            "type": "object"
          },
          "createdat": {
            "type": "object"
          },
          "crud_type": {
            "type": "object"
          },
          "event_type": {
            "type": "object"
          },
          "id_audit_event": {
            "type": "object"
          },
          "ip_address": {
            "type": "object"
          },
          "record_id": {
            "type": "object"
          },
          "relridauditeventauditauditeventdetails": {
            "type": "array",
            "items": {
              "type": "object"
            }
          },
          "relridaudittable": {
            "type": "object"
          },
          "relridowner": {
            "type": "object"
          },
          "rid_audit_table": {
            "type": "object"
          },
          "rid_login": {
            "type": "object"
          },
          "rid_owner": {
            "type": "object"
          },
          "user_agent": {
            "type": "object"
          }
        },
        "required": [
          "BaseModel",
          "id_audit_event",
          "rid_owner",
          "rid_login",
          "rid_audit_table",
          "crud_type",
          "createdat",
          "record_id",
          "event_type",
          "ip_address",
          "user_agent"
        ]
      },
      "FilterOption": {
        "type": "object",
        "properties": {
          "column": {
            "type": "string",
            "description": "Column name"
          },
          "logicOperator": {
            "type": "string",
            "description": "Logic operator",
            "enum": [
              "AND",
              "OR"
            ]
          },
          "operator": {
            "type": "string",
            "description": "Comparison operator",
            "enum": [
              "eq",
              "neq",
              "gt",
              "lt",
              "gte",
              "lte",
              "like",
              "ilike",
              "in",
              "not_in",
              "between",
              "is_null",
              "is_not_null"
            ]
          },
          "value": {
            "description": "Filter value"
          }
        }
      },
      "HealthActive_ingredient": {
        "type": "object",
        "properties": {
          "BaseModel": {
            "type": "object"
          },
          "createdat": {
            "type": "object"
          },
          "description": {
            "type": "object"
          },
          "disabled": {
            "type": "boolean"
          },
          "guid": {
            "type": "object"
          },
          "id_active_ingredient": {
            "type": "object"
          },
          "name": {
            "type": "object"
          },
          "relridactiveingredienthealthmedicationingredients": {
            "type": "array",
            "items": {
              "type": "object"
            }
          },
          "updatedat": {
            "type": "object"
          }
        },
        "required": [
          "BaseModel",
          "id_active_ingredient",
          "guid",
          "disabled",
          "name",
          "description",
          "createdat",
          "updatedat"
        ]
      },
      "HealthActivity_log": {
        "type": "object",
        "properties": {
          "BaseModel": {
            "type": "object"
          },
          "activity_type": {
            "type": "object"
          },
          "createdat": {
            "type": "object"
          },
          "disabled": {
            "type": "boolean"
          },
          "duration_minutes": {
            "type": "object"
          },
          "ended_at": {
            "type": "object"
          },
          "guid": {
            "type": "object"
          },
          "id_activity_log": {
            "type": "object"
          },
          "intensity": {
            "type": "object"
          },
          "note": {
            "type": "object"
          },
          "relriduserprofile": {
            "type": "object"
          },
          "rid_user_profile": {
            "type": "integer"
          },
          "started_at": {
            "type": "object"
          },
          "updatedat": {
            "type": "object"
          }
        },
        "required": [
          "BaseModel",
          "id_activity_log",
          "guid",
          "rid_user_profile",
          "disabled",
          "started_at",
          "ended_at",
          "activity_type",
          "duration_minutes",
          "intensity",
          "note",
          "createdat",
          "updatedat"
        ]
      },
      "HealthAppointment": {
        "type": "object",
        "properties": {
          "BaseModel": {
            "type": "object"
          },
          "appointment_type": {
            "type": "object"
          },
          "booking_channel": {
            "type": "object"
          },
          "createdat": {
            "type": "object"
          },
          "disabled": {
            "type": "boolean"
          },
          "duration_minutes": {
            "type": "object"
          },
          "guid": {
            "type": "object"
          },
          "id_appointment": {
            "type": "object"
          },
          "location": {
            "type": "object"
          },
          "note": {
            "type": "object"
          },
          "pre_visit_note": {
            "type": "object"
          },
          "reason": {
            "type": "object"
          },
          "relridappointmenthealthappointmentparticipants": {
            "type": "array",
            "items": {
              "type": "object"
            }
          },
          "relridappointmenthealthclinicalnotes": {
            "type": "array",
            "items": {
              "type": "object"
            }
          },
          "relridappointmenthealthinsuranceclaims": {
            "type": "array",
            "items": {
              "type": "object"
            }
          },
          "relridbookingslot": {
            "type": "object"
          },
          "relriddoctorprofile": {
            "type": "object"
          },
          "relridhospitalbranch": {
            "type": "object"
          },
          "relridpharmacybranch": {
            "type": "object"
          },
          "rid_booking_slot": {
            "type": "object"
          },
          "rid_care_team": {
            "type": "object"
          },
          "rid_doctor_profile": {
            "type": "object"
          },
          "rid_hospital_branch": {
            "type": "object"
          },
          "rid_pharmacy_branch": {
            "type": "object"
          },
          "rid_user_profile": {
            "type": "integer"
          },
          "scheduled_at": {
            "type": "object"
          },
          "status": {
            "type": "object"
          },
          "telehealth_url": {
            "type": "object"
          },
          "updatedat": {
            "type": "object"
          }
        },
        "required": [
          "BaseModel",
          "id_appointment",
          "guid",
          "rid_user_profile",
          "rid_care_team",
          "rid_doctor_profile",
          "rid_hospital_branch",
          "rid_pharmacy_branch",
          "rid_booking_slot",
          "disabled",
          "appointment_type",
          "scheduled_at",
          "duration_minutes",
          "location",
          "booking_channel",
          "reason",
          "pre_visit_note",
          "telehealth_url",
          "status",
          "note",
          "createdat",
          "updatedat"
        ]
      },
      "HealthBlood_glucose_log": {
        "type": "object",
        "properties": {
          "BaseModel": {
            "type": "object"
          },
          "context": {
            "type": "object"
          },
          "createdat": {
            "type": "object"
          },
          "disabled": {
            "type": "boolean"
          },
          "glucose_unit": {
            "type": "object"
          },
          "glucose_value": {
            "type": "object"
          },
          "glucose_value_mgdl": {
            "type": "object"
          },
          "guid": {
            "type": "object"
          },
          "id_blood_glucose_log": {
            "type": "object"
          },
          "meal_context": {
            "type": "object"
          },
          "measured_at": {
            "type": "object"
          },
          "note": {
            "type": "object"
          },
          "relridbloodglucoseloghealthinsulindoselogs": {
            "type": "array",
            "items": {
              "type": "object"
            }
          },
          "relriduserprofile": {
            "type": "object"
          },
          "rid_user_profile": {
            "type": "integer"
          },
          "source": {
            "type": "object"
          },
          "symptoms": {
            "type": "object"
          },
          "updatedat": {
            "type": "object"
          }
        },
        "required": [
          "BaseModel",
          "id_blood_glucose_log",
          "guid",
          "rid_user_profile",
          "disabled",
          "measured_at",
          "glucose_value",
          "glucose_unit",
          "glucose_value_mgdl",
          "context",
          "meal_context",
          "source",
          "symptoms",
          "note",
          "createdat",
          "updatedat"
        ]
      },
      "HealthClinical_note": {
        "type": "object",
        "properties": {
          "BaseModel": {
            "type": "object"
          },
          "createdat": {
            "type": "object"
          },
          "disabled": {
            "type": "boolean"
          },
          "guid": {
            "type": "object"
          },
          "id_clinical_note": {
            "type": "object"
          },
          "note_text": {
            "type": "object"
          },
          "note_type": {
            "type": "object"
          },
          "relridappointment": {
            "type": "object"
          },
          "relriddoctorprofile": {
            "type": "object"
          },
          "relridhospitalencounter": {
            "type": "object"
          },
          "rid_appointment": {
            "type": "object"
          },
          "rid_doctor_profile": {
            "type": "object"
          },
          "rid_hospital_encounter": {
            "type": "object"
          },
          "rid_user_profile_patient": {
            "type": "integer"
          },
          "title": {
            "type": "object"
          },
          "updatedat": {
            "type": "object"
          }
        },
        "required": [
          "BaseModel",
          "id_clinical_note",
          "guid",
          "rid_user_profile_patient",
          "rid_doctor_profile",
          "rid_hospital_encounter",
          "rid_appointment",
          "disabled",
          "note_type",
          "title",
          "note_text",
          "createdat",
          "updatedat"
        ]
      },
      "HealthDocument": {
        "type": "object",
        "properties": {
          "BaseModel": {
            "type": "object"
          },
          "captured_at": {
            "type": "object"
          },
          "createdat": {
            "type": "object"
          },
          "disabled": {
            "type": "boolean"
          },
          "document_type": {
            "type": "object"
          },
          "guid": {
            "type": "object"
          },
          "id_document": {
            "type": "object"
          },
          "note": {
            "type": "object"
          },
          "relriddocumentdischargesummaryhealthhospitaladmissions": {
            "type": "array",
            "items": {
              "type": "object"
            }
          },
          "rid_filepointer": {
            "type": "integer"
          },
          "rid_user_profile": {
            "type": "integer"
          },
          "title": {
            "type": "object"
          },
          "updatedat": {
            "type": "object"
          }
        },
        "required": [
          "BaseModel",
          "id_document",
          "guid",
          "rid_user_profile",
          "rid_filepointer",
          "disabled",
          "document_type",
          "title",
          "captured_at",
          "note",
          "createdat",
          "updatedat"
        ]
      },
      "HealthExternal_catalog_source": {
        "type": "object",
        "properties": {
          "BaseModel": {
            "type": "object"
          },
          "base_url": {
            "type": "object"
          },
          "country": {
            "type": "object"
          },
          "createdat": {
            "type": "object"
          },
          "disabled": {
            "type": "boolean"
          },
          "guid": {
            "type": "object"
          },
          "id_external_catalog_source": {
            "type": "object"
          },
          "relridexternalcatalogsourcehealthexternalcatalogsyncruns": {
            "type": "array",
            "items": {
              "type": "object"
            }
          },
          "relridexternalcatalogsourcehealthmedicinecatalogueentries": {
            "type": "array",
            "items": {
              "type": "object"
            }
          },
          "source_name": {
            "type": "object"
          },
          "source_type": {
            "type": "object"
          },
          "status": {
            "type": "object"
          },
          "updatedat": {
            "type": "object"
          }
        },
        "required": [
          "BaseModel",
          "id_external_catalog_source",
          "guid",
          "disabled",
          "source_name",
          "source_type",
          "base_url",
          "country",
          "status",
          "createdat",
          "updatedat"
        ]
      },
      "HealthExternal_catalog_sync_run": {
        "type": "object",
        "properties": {
          "BaseModel": {
            "type": "object"
          },
          "createdat": {
            "type": "object"
          },
          "error_count": {
            "type": "integer"
          },
          "finished_at": {
            "type": "object"
          },
          "guid": {
            "type": "object"
          },
          "id_external_catalog_sync_run": {
            "type": "object"
          },
          "inserted_count": {
            "type": "integer"
          },
          "note": {
            "type": "object"
          },
          "relridexternalcatalogsource": {
            "type": "object"
          },
          "rid_external_catalog_source": {
            "type": "integer"
          },
          "started_at": {
            "type": "object"
          },
          "status": {
            "type": "object"
          },
          "sync_type": {
            "type": "object"
          },
          "updated_count": {
            "type": "integer"
          },
          "updatedat": {
            "type": "object"
          }
        },
        "required": [
          "BaseModel",
          "id_external_catalog_sync_run",
          "guid",
          "rid_external_catalog_source",
          "sync_type",
          "started_at",
          "finished_at",
          "status",
          "inserted_count",
          "updated_count",
          "error_count",
          "note",
          "createdat",
          "updatedat"
        ]
      },
      "HealthHospital": {
        "type": "object",
        "properties": {
          "BaseModel": {
            "type": "object"
          },
          "createdat": {
            "type": "object"
          },
          "disabled": {
            "type": "boolean"
          },
          "email": {
            "type": "object"
          },
          "guid": {
            "type": "object"
          },
          "hospital_type": {
            "type": "object"
          },
          "id_hospital": {
            "type": "object"
          },
          "name": {
            "type": "object"
          },
          "phone": {
            "type": "object"
          },
          "registration_number": {
            "type": "object"
          },
          "relridhospitalhealthhospitalbranches": {
            "type": "array",
            "items": {
              "type": "object"
            }
          },
          "relridhospitalhealthpatientdatashares": {
            "type": "array",
            "items": {
              "type": "object"
            }
          },
          "rid_actor": {
            "type": "object"
          },
          "updatedat": {
            "type": "object"
          },
          "website": {
            "type": "object"
          }
        },
        "required": [
          "BaseModel",
          "id_hospital",
          "guid",
          "rid_actor",
          "disabled",
          "name",
          "hospital_type",
          "registration_number",
          "phone",
          "email",
          "website",
          "createdat",
          "updatedat"
        ]
      },
      "HealthHospital_branch": {
        "type": "object",
        "properties": {
          "BaseModel": {
            "type": "object"
          },
          "address": {
            "type": "object"
          },
          "branch_code": {
            "type": "object"
          },
          "branch_name": {
            "type": "object"
          },
          "city": {
            "type": "object"
          },
          "country": {
            "type": "object"
          },
          "createdat": {
            "type": "object"
          },
          "disabled": {
            "type": "boolean"
          },
          "email": {
            "type": "object"
          },
          "guid": {
            "type": "object"
          },
          "id_hospital_branch": {
            "type": "object"
          },
          "phone": {
            "type": "object"
          },
          "province": {
            "type": "object"
          },
          "relridhospital": {
            "type": "object"
          },
          "relridhospitalbranchhealthappointments": {
            "type": "array",
            "items": {
              "type": "object"
            }
          },
          "relridhospitalbranchhealthhospitaladmissions": {
            "type": "array",
            "items": {
              "type": "object"
            }
          },
          "relridhospitalbranchhealthprovideravailabilities": {
            "type": "array",
            "items": {
              "type": "object"
            }
          },
          "relridhospitalbranchhealthwardbeds": {
            "type": "array",
            "items": {
              "type": "object"
            }
          },
          "rid_hospital": {
            "type": "integer"
          },
          "updatedat": {
            "type": "object"
          }
        },
        "required": [
          "BaseModel",
          "id_hospital_branch",
          "guid",
          "rid_hospital",
          "disabled",
          "branch_name",
          "branch_code",
          "phone",
          "email",
          "address",
          "city",
          "province",
          "country",
          "createdat",
          "updatedat"
        ]
      },
      "HealthHydration_log": {
        "type": "object",
        "properties": {
          "BaseModel": {
            "type": "object"
          },
          "amount_ml": {
            "type": "object"
          },
          "createdat": {
            "type": "object"
          },
          "disabled": {
            "type": "boolean"
          },
          "guid": {
            "type": "object"
          },
          "hydration_type": {
            "type": "object"
          },
          "id_hydration_log": {
            "type": "object"
          },
          "logged_at": {
            "type": "object"
          },
          "note": {
            "type": "object"
          },
          "relriduserprofile": {
            "type": "object"
          },
          "rid_user_profile": {
            "type": "integer"
          },
          "updatedat": {
            "type": "object"
          }
        },
        "required": [
          "BaseModel",
          "id_hydration_log",
          "guid",
          "rid_user_profile",
          "disabled",
          "logged_at",
          "amount_ml",
          "hydration_type",
          "note",
          "createdat",
          "updatedat"
        ]
      },
      "HealthInsulin_dose_log": {
        "type": "object",
        "properties": {
          "BaseModel": {
            "type": "object"
          },
          "administered_at": {
            "type": "object"
          },
          "carbs_grams": {
            "type": "object"
          },
          "createdat": {
            "type": "object"
          },
          "disabled": {
            "type": "boolean"
          },
          "dose_type": {
            "type": "object"
          },
          "dose_units": {
            "type": "object"
          },
          "glucose_at_dose_mgdl": {
            "type": "object"
          },
          "guid": {
            "type": "object"
          },
          "id_insulin_dose_log": {
            "type": "object"
          },
          "injection_site": {
            "type": "object"
          },
          "note": {
            "type": "object"
          },
          "relridbloodglucoselog": {
            "type": "object"
          },
          "relridinsulinplan": {
            "type": "object"
          },
          "relridmeallog": {
            "type": "object"
          },
          "relridmedicationlog": {
            "type": "object"
          },
          "relriduserprofile": {
            "type": "object"
          },
          "rid_blood_glucose_log": {
            "type": "object"
          },
          "rid_insulin_plan": {
            "type": "object"
          },
          "rid_meal_log": {
            "type": "object"
          },
          "rid_medication_log": {
            "type": "object"
          },
          "rid_user_profile": {
            "type": "integer"
          },
          "scheduled_for": {
            "type": "object"
          },
          "status": {
            "type": "object"
          },
          "updatedat": {
            "type": "object"
          }
        },
        "required": [
          "BaseModel",
          "id_insulin_dose_log",
          "guid",
          "rid_user_profile",
          "rid_insulin_plan",
          "rid_medication_log",
          "rid_blood_glucose_log",
          "rid_meal_log",
          "disabled",
          "scheduled_for",
          "administered_at",
          "dose_units",
          "dose_type",
          "carbs_grams",
          "glucose_at_dose_mgdl",
          "injection_site",
          "status",
          "note",
          "createdat",
          "updatedat"
        ]
      },
      "HealthInsurance_provider": {
        "type": "object",
        "properties": {
          "BaseModel": {
            "type": "object"
          },
          "country": {
            "type": "object"
          },
          "createdat": {
            "type": "object"
          },
          "disabled": {
            "type": "boolean"
          },
          "guid": {
            "type": "object"
          },
          "id_insurance_provider": {
            "type": "object"
          },
          "name": {
            "type": "object"
          },
          "relridinsuranceproviderhealthinsuranceapiintegrations": {
            "type": "array",
            "items": {
              "type": "object"
            }
          },
          "relridinsuranceproviderhealthinsurancepolicies": {
            "type": "array",
            "items": {
              "type": "object"
            }
          },
          "rid_actor": {
            "type": "object"
          },
          "updatedat": {
            "type": "object"
          },
          "website": {
            "type": "object"
          }
        },
        "required": [
          "BaseModel",
          "id_insurance_provider",
          "guid",
          "rid_actor",
          "disabled",
          "name",
          "country",
          "website",
          "createdat",
          "updatedat"
        ]
      },
      "HealthJournal_entry": {
        "type": "object",
        "properties": {
          "BaseModel": {
            "type": "object"
          },
          "attachment_metadata": {
            "type": "array",
            "items": {
              "type": "integer"
            }
          },
          "createdat": {
            "type": "object"
          },
          "disabled": {
            "type": "boolean"
          },
          "encrypted_body": {
            "type": "array",
            "items": {
              "type": "integer"
            }
          },
          "encrypted_title": {
            "type": "array",
            "items": {
              "type": "integer"
            }
          },
          "entry_date": {
            "type": "object"
          },
          "gps_latitude": {
            "type": "object"
          },
          "gps_longitude": {
            "type": "object"
          },
          "guid": {
            "type": "object"
          },
          "id_journal_entry": {
            "type": "object"
          },
          "relriduserprofile": {
            "type": "object"
          },
          "rid_user_profile": {
            "type": "integer"
          },
          "updatedat": {
            "type": "object"
          }
        },
        "required": [
          "BaseModel",
          "id_journal_entry",
          "guid",
          "rid_user_profile",
          "disabled",
          "entry_date",
          "encrypted_title",
          "encrypted_body",
          "attachment_metadata",
          "gps_latitude",
          "gps_longitude",
          "createdat",
          "updatedat"
        ]
      },
      "HealthJournal_item_attachment": {
        "type": "object",
        "properties": {
          "BaseModel": {
            "type": "object"
          },
          "byte_size": {
            "type": "integer"
          },
          "createdat": {
            "type": "object"
          },
          "disabled": {
            "type": "boolean"
          },
          "encrypted_payload": {
            "type": "array",
            "items": {
              "type": "integer"
            }
          },
          "guid": {
            "type": "object"
          },
          "id_journal_item_attachment": {
            "type": "object"
          },
          "journal_guid": {
            "type": "object"
          },
          "local_path": {
            "type": "object"
          },
          "mime_type": {
            "type": "object"
          },
          "relriduserprofile": {
            "type": "object"
          },
          "rid_filepointer": {
            "type": "object"
          },
          "rid_user_profile": {
            "type": "integer"
          },
          "updatedat": {
            "type": "object"
          }
        },
        "required": [
          "BaseModel",
          "id_journal_item_attachment",
          "guid",
          "rid_user_profile",
          "disabled",
          "journal_guid",
          "rid_filepointer",
          "encrypted_payload",
          "mime_type",
          "byte_size",
          "local_path",
          "createdat",
          "updatedat"
        ]
      },
      "HealthJournal_key_record": {
        "type": "object",
        "properties": {
          "BaseModel": {
            "type": "object"
          },
          "createdat": {
            "type": "object"
          },
          "disabled": {
            "type": "boolean"
          },
          "guid": {
            "type": "object"
          },
          "id_journal_key_record": {
            "type": "object"
          },
          "journal_guid": {
            "type": "object"
          },
          "kdf": {
            "type": "object"
          },
          "kdf_iterations": {
            "type": "integer"
          },
          "key_version": {
            "type": "integer"
          },
          "mac": {
            "type": "array",
            "items": {
              "type": "integer"
            }
          },
          "nonce": {
            "type": "array",
            "items": {
              "type": "integer"
            }
          },
          "recovery_password": {
            "type": "object"
          },
          "relriduserprofile": {
            "type": "object"
          },
          "rid_user_profile": {
            "type": "integer"
          },
          "salt": {
            "type": "array",
            "items": {
              "type": "integer"
            }
          },
          "updatedat": {
            "type": "object"
          },
          "wrapped_key": {
            "type": "array",
            "items": {
              "type": "integer"
            }
          }
        },
        "required": [
          "BaseModel",
          "id_journal_key_record",
          "guid",
          "rid_user_profile",
          "disabled",
          "journal_guid",
          "key_version",
          "kdf",
          "kdf_iterations",
          "salt",
          "wrapped_key",
          "nonce",
          "mac",
          "recovery_password",
          "createdat",
          "updatedat"
        ]
      },
      "HealthMeal_log": {
        "type": "object",
        "properties": {
          "BaseModel": {
            "type": "object"
          },
          "calories": {
            "type": "object"
          },
          "carbs_grams": {
            "type": "object"
          },
          "createdat": {
            "type": "object"
          },
          "description": {
            "type": "object"
          },
          "disabled": {
            "type": "boolean"
          },
          "guid": {
            "type": "object"
          },
          "id_meal_log": {
            "type": "object"
          },
          "logged_at": {
            "type": "object"
          },
          "meal_context": {
            "type": "object"
          },
          "note": {
            "type": "object"
          },
          "photo_url": {
            "type": "object"
          },
          "relridmealloghealthinsulindoselogs": {
            "type": "array",
            "items": {
              "type": "object"
            }
          },
          "relriduserprofile": {
            "type": "object"
          },
          "rid_user_profile": {
            "type": "integer"
          },
          "updatedat": {
            "type": "object"
          }
        },
        "required": [
          "BaseModel",
          "id_meal_log",
          "guid",
          "rid_user_profile",
          "disabled",
          "logged_at",
          "meal_context",
          "description",
          "carbs_grams",
          "calories",
          "photo_url",
          "note",
          "createdat",
          "updatedat"
        ]
      },
      "HealthMedication": {
        "type": "object",
        "properties": {
          "BaseModel": {
            "type": "object"
          },
          "brand_name": {
            "type": "object"
          },
          "createdat": {
            "type": "object"
          },
          "disabled": {
            "type": "boolean"
          },
          "dosage_form": {
            "type": "object"
          },
          "generic_name": {
            "type": "object"
          },
          "guid": {
            "type": "object"
          },
          "id_medication": {
            "type": "object"
          },
          "insulin_category": {
            "type": "object"
          },
          "is_insulin": {
            "type": "boolean"
          },
          "manufacturer": {
            "type": "object"
          },
          "medication_type": {
            "type": "object"
          },
          "name": {
            "type": "object"
          },
          "relridmedicationhealthinsulinplans": {
            "type": "array",
            "items": {
              "type": "object"
            }
          },
          "relridmedicationhealthmedicationlogs": {
            "type": "array",
            "items": {
              "type": "object"
            }
          },
          "relridmedicationhealthmedicationschedules": {
            "type": "array",
            "items": {
              "type": "object"
            }
          },
          "relridmedicationhealthmedicationstocks": {
            "type": "array",
            "items": {
              "type": "object"
            }
          },
          "relridmedicationhealthprescriptionitems": {
            "type": "array",
            "items": {
              "type": "object"
            }
          },
          "relridmedicationhealthrefillrequests": {
            "type": "array",
            "items": {
              "type": "object"
            }
          },
          "relriduserprofile": {
            "type": "object"
          },
          "rid_user_profile": {
            "type": "object"
          },
          "route": {
            "type": "object"
          },
          "strength": {
            "type": "object"
          },
          "unit": {
            "type": "object"
          },
          "updatedat": {
            "type": "object"
          }
        },
        "required": [
          "BaseModel",
          "id_medication",
          "guid",
          "rid_user_profile",
          "disabled",
          "name",
          "generic_name",
          "brand_name",
          "medication_type",
          "dosage_form",
          "strength",
          "route",
          "unit",
          "manufacturer",
          "is_insulin",
          "insulin_category",
          "createdat",
          "updatedat"
        ]
      },
      "HealthMedication_category_link": {
        "type": "object",
        "properties": {
          "BaseModel": {
            "type": "object"
          },
          "createdat": {
            "type": "object"
          },
          "guid": {
            "type": "object"
          },
          "id_medication_category_link": {
            "type": "object"
          },
          "relridmedicinecategory": {
            "type": "object"
          },
          "rid_medication": {
            "type": "integer"
          },
          "rid_medicine_category": {
            "type": "integer"
          },
          "updatedat": {
            "type": "object"
          }
        },
        "required": [
          "BaseModel",
          "id_medication_category_link",
          "guid",
          "rid_medication",
          "rid_medicine_category",
          "createdat",
          "updatedat"
        ]
      },
      "HealthMedication_equivalent": {
        "type": "object",
        "properties": {
          "BaseModel": {
            "type": "object"
          },
          "createdat": {
            "type": "object"
          },
          "equivalence_type": {
            "type": "object"
          },
          "guid": {
            "type": "object"
          },
          "id_medication_equivalent": {
            "type": "object"
          },
          "note": {
            "type": "object"
          },
          "rid_medication": {
            "type": "integer"
          },
          "rid_medication_equivalent_to": {
            "type": "integer"
          },
          "updatedat": {
            "type": "object"
          }
        },
        "required": [
          "BaseModel",
          "id_medication_equivalent",
          "guid",
          "rid_medication",
          "rid_medication_equivalent_to",
          "equivalence_type",
          "note",
          "createdat",
          "updatedat"
        ]
      },
      "HealthMedication_ingredient": {
        "type": "object",
        "properties": {
          "BaseModel": {
            "type": "object"
          },
          "createdat": {
            "type": "object"
          },
          "guid": {
            "type": "object"
          },
          "id_medication_ingredient": {
            "type": "object"
          },
          "relridactiveingredient": {
            "type": "object"
          },
          "rid_active_ingredient": {
            "type": "integer"
          },
          "rid_medication": {
            "type": "integer"
          },
          "strength_unit": {
            "type": "object"
          },
          "strength_value": {
            "type": "object"
          },
          "updatedat": {
            "type": "object"
          }
        },
        "required": [
          "BaseModel",
          "id_medication_ingredient",
          "guid",
          "rid_medication",
          "rid_active_ingredient",
          "strength_value",
          "strength_unit",
          "createdat",
          "updatedat"
        ]
      },
      "HealthMedication_log": {
        "type": "object",
        "properties": {
          "BaseModel": {
            "type": "object"
          },
          "createdat": {
            "type": "object"
          },
          "disabled": {
            "type": "boolean"
          },
          "dose_amount": {
            "type": "object"
          },
          "dose_unit": {
            "type": "object"
          },
          "guid": {
            "type": "object"
          },
          "id_medication_log": {
            "type": "object"
          },
          "note": {
            "type": "object"
          },
          "relridmedication": {
            "type": "object"
          },
          "relridmedicationloghealthinsulindoselogs": {
            "type": "array",
            "items": {
              "type": "object"
            }
          },
          "relridmedicationschedule": {
            "type": "object"
          },
          "relriduserprofile": {
            "type": "object"
          },
          "relriduserprofilerecordedby": {
            "type": "object"
          },
          "rid_medication": {
            "type": "integer"
          },
          "rid_medication_schedule": {
            "type": "object"
          },
          "rid_user_profile": {
            "type": "integer"
          },
          "rid_user_profile_recorded_by": {
            "type": "object"
          },
          "route": {
            "type": "object"
          },
          "scheduled_for": {
            "type": "object"
          },
          "status": {
            "type": "object"
          },
          "taken_at": {
            "type": "object"
          },
          "updatedat": {
            "type": "object"
          }
        },
        "required": [
          "BaseModel",
          "id_medication_log",
          "guid",
          "rid_user_profile",
          "rid_medication",
          "rid_medication_schedule",
          "rid_user_profile_recorded_by",
          "disabled",
          "scheduled_for",
          "taken_at",
          "status",
          "dose_amount",
          "dose_unit",
          "route",
          "note",
          "createdat",
          "updatedat"
        ]
      },
      "HealthMedication_schedule": {
        "type": "object",
        "properties": {
          "BaseModel": {
            "type": "object"
          },
          "createdat": {
            "type": "object"
          },
          "disabled": {
            "type": "boolean"
          },
          "dose_amount": {
            "type": "object"
          },
          "dose_unit": {
            "type": "object"
          },
          "end_date": {
            "type": "object"
          },
          "guid": {
            "type": "object"
          },
          "id_medication_schedule": {
            "type": "object"
          },
          "instructions": {
            "type": "object"
          },
          "meal_relation": {
            "type": "object"
          },
          "name": {
            "type": "object"
          },
          "note": {
            "type": "object"
          },
          "relridinsulinplan": {
            "type": "object"
          },
          "relridmedication": {
            "type": "object"
          },
          "relridmedicationschedulehealthmedicationlogs": {
            "type": "array",
            "items": {
              "type": "object"
            }
          },
          "relridmedicationschedulehealthreminders": {
            "type": "array",
            "items": {
              "type": "object"
            }
          },
          "relridmedicationschedulehealthscheduletimes": {
            "type": "array",
            "items": {
              "type": "object"
            }
          },
          "relridprescriptionitem": {
            "type": "object"
          },
          "relriduserprofile": {
            "type": "object"
          },
          "rid_insulin_plan": {
            "type": "object"
          },
          "rid_medication": {
            "type": "object"
          },
          "rid_prescription_item": {
            "type": "object"
          },
          "rid_user_profile": {
            "type": "integer"
          },
          "route": {
            "type": "object"
          },
          "schedule_type": {
            "type": "object"
          },
          "start_date": {
            "type": "object"
          },
          "timezone": {
            "type": "object"
          },
          "updatedat": {
            "type": "object"
          }
        },
        "required": [
          "BaseModel",
          "id_medication_schedule",
          "guid",
          "rid_user_profile",
          "rid_medication",
          "rid_insulin_plan",
          "rid_prescription_item",
          "disabled",
          "name",
          "schedule_type",
          "meal_relation",
          "timezone",
          "start_date",
          "end_date",
          "dose_amount",
          "dose_unit",
          "route",
          "instructions",
          "note",
          "createdat",
          "updatedat"
        ]
      },
      "HealthMedication_stock": {
        "type": "object",
        "properties": {
          "BaseModel": {
            "type": "object"
          },
          "batch_number": {
            "type": "object"
          },
          "createdat": {
            "type": "object"
          },
          "disabled": {
            "type": "boolean"
          },
          "expires_on": {
            "type": "object"
          },
          "guid": {
            "type": "object"
          },
          "id_medication_stock": {
            "type": "object"
          },
          "last_restocked_at": {
            "type": "object"
          },
          "low_stock_threshold": {
            "type": "object"
          },
          "note": {
            "type": "object"
          },
          "quantity_on_hand": {
            "type": "object"
          },
          "relridmedication": {
            "type": "object"
          },
          "relriduserprofile": {
            "type": "object"
          },
          "rid_medication": {
            "type": "integer"
          },
          "rid_user_profile": {
            "type": "integer"
          },
          "unit": {
            "type": "object"
          },
          "updatedat": {
            "type": "object"
          }
        },
        "required": [
          "BaseModel",
          "id_medication_stock",
          "guid",
          "rid_user_profile",
          "rid_medication",
          "disabled",
          "quantity_on_hand",
          "unit",
          "low_stock_threshold",
          "batch_number",
          "expires_on",
          "last_restocked_at",
          "note",
          "createdat",
          "updatedat"
        ]
      },
      "HealthMedicine_category": {
        "type": "object",
        "properties": {
          "BaseModel": {
            "type": "object"
          },
          "category_type": {
            "type": "object"
          },
          "createdat": {
            "type": "object"
          },
          "description": {
            "type": "object"
          },
          "disabled": {
            "type": "boolean"
          },
          "guid": {
            "type": "object"
          },
          "id_medicine_category": {
            "type": "object"
          },
          "name": {
            "type": "object"
          },
          "relridmedicinecategoryhealthmedicationcategorylinks": {
            "type": "array",
            "items": {
              "type": "object"
            }
          },
          "relridmedicinecategoryparent": {
            "type": "object"
          },
          "rid_medicine_category_parent": {
            "type": "object"
          },
          "updatedat": {
            "type": "object"
          }
        },
        "required": [
          "BaseModel",
          "id_medicine_category",
          "guid",
          "rid_medicine_category_parent",
          "disabled",
          "name",
          "category_type",
          "description",
          "createdat",
          "updatedat"
        ]
      },
      "HealthMedicine_code": {
        "type": "object",
        "properties": {
          "BaseModel": {
            "type": "object"
          },
          "code_system": {
            "type": "object"
          },
          "code_value": {
            "type": "object"
          },
          "createdat": {
            "type": "object"
          },
          "description": {
            "type": "object"
          },
          "guid": {
            "type": "object"
          },
          "id_medicine_code": {
            "type": "object"
          },
          "is_primary": {
            "type": "boolean"
          },
          "rid_medication": {
            "type": "object"
          },
          "updatedat": {
            "type": "object"
          }
        },
        "required": [
          "BaseModel",
          "id_medicine_code",
          "guid",
          "rid_medication",
          "code_system",
          "code_value",
          "description",
          "is_primary",
          "createdat",
          "updatedat"
        ]
      },
      "HealthMood_log": {
        "type": "object",
        "properties": {
          "BaseModel": {
            "type": "object"
          },
          "createdat": {
            "type": "object"
          },
          "disabled": {
            "type": "boolean"
          },
          "guid": {
            "type": "object"
          },
          "id_mood_log": {
            "type": "object"
          },
          "logged_at": {
            "type": "object"
          },
          "mood": {
            "type": "object"
          },
          "note": {
            "type": "object"
          },
          "relriduserprofile": {
            "type": "object"
          },
          "rid_user_profile": {
            "type": "integer"
          },
          "stress_level": {
            "type": "object"
          },
          "updatedat": {
            "type": "object"
          }
        },
        "required": [
          "BaseModel",
          "id_mood_log",
          "guid",
          "rid_user_profile",
          "disabled",
          "logged_at",
          "mood",
          "stress_level",
          "note",
          "createdat",
          "updatedat"
        ]
      },
      "HealthPain_log": {
        "type": "object",
        "properties": {
          "BaseModel": {
            "type": "object"
          },
          "body_area": {
            "type": "object"
          },
          "createdat": {
            "type": "object"
          },
          "disabled": {
            "type": "boolean"
          },
          "guid": {
            "type": "object"
          },
          "id_pain_log": {
            "type": "object"
          },
          "logged_at": {
            "type": "object"
          },
          "note": {
            "type": "object"
          },
          "pain_score": {
            "type": "integer"
          },
          "relriduserprofile": {
            "type": "object"
          },
          "rid_user_profile": {
            "type": "integer"
          },
          "updatedat": {
            "type": "object"
          }
        },
        "required": [
          "BaseModel",
          "id_pain_log",
          "guid",
          "rid_user_profile",
          "disabled",
          "logged_at",
          "pain_score",
          "body_area",
          "note",
          "createdat",
          "updatedat"
        ]
      },
      "HealthPharmacy": {
        "type": "object",
        "properties": {
          "BaseModel": {
            "type": "object"
          },
          "createdat": {
            "type": "object"
          },
          "disabled": {
            "type": "boolean"
          },
          "email": {
            "type": "object"
          },
          "guid": {
            "type": "object"
          },
          "id_pharmacy": {
            "type": "object"
          },
          "name": {
            "type": "object"
          },
          "phone": {
            "type": "object"
          },
          "registration_number": {
            "type": "object"
          },
          "relridpharmacyhealthpatientdatashares": {
            "type": "array",
            "items": {
              "type": "object"
            }
          },
          "relridpharmacyhealthpharmacyapiintegrations": {
            "type": "array",
            "items": {
              "type": "object"
            }
          },
          "relridpharmacyhealthpharmacybranches": {
            "type": "array",
            "items": {
              "type": "object"
            }
          },
          "rid_actor": {
            "type": "object"
          },
          "updatedat": {
            "type": "object"
          },
          "website": {
            "type": "object"
          }
        },
        "required": [
          "BaseModel",
          "id_pharmacy",
          "guid",
          "rid_actor",
          "disabled",
          "name",
          "registration_number",
          "phone",
          "email",
          "website",
          "createdat",
          "updatedat"
        ]
      },
      "HealthPharmacy_branch": {
        "type": "object",
        "properties": {
          "BaseModel": {
            "type": "object"
          },
          "address": {
            "type": "object"
          },
          "branch_code": {
            "type": "object"
          },
          "branch_name": {
            "type": "object"
          },
          "city": {
            "type": "object"
          },
          "country": {
            "type": "object"
          },
          "createdat": {
            "type": "object"
          },
          "disabled": {
            "type": "boolean"
          },
          "email": {
            "type": "object"
          },
          "guid": {
            "type": "object"
          },
          "id_pharmacy_branch": {
            "type": "object"
          },
          "phone": {
            "type": "object"
          },
          "province": {
            "type": "object"
          },
          "relridpharmacy": {
            "type": "object"
          },
          "relridpharmacybranchhealthappointments": {
            "type": "array",
            "items": {
              "type": "object"
            }
          },
          "relridpharmacybranchhealthpharmacyorders": {
            "type": "array",
            "items": {
              "type": "object"
            }
          },
          "relridpharmacybranchhealthpharmacyportalusers": {
            "type": "array",
            "items": {
              "type": "object"
            }
          },
          "relridpharmacybranchhealthprovideravailabilities": {
            "type": "array",
            "items": {
              "type": "object"
            }
          },
          "rid_pharmacy": {
            "type": "integer"
          },
          "updatedat": {
            "type": "object"
          }
        },
        "required": [
          "BaseModel",
          "id_pharmacy_branch",
          "guid",
          "rid_pharmacy",
          "disabled",
          "branch_name",
          "branch_code",
          "phone",
          "email",
          "address",
          "city",
          "province",
          "country",
          "createdat",
          "updatedat"
        ]
      },
      "HealthPharmacy_fill": {
        "type": "object",
        "properties": {
          "BaseModel": {
            "type": "object"
          },
          "claim_reference": {
            "type": "object"
          },
          "createdat": {
            "type": "object"
          },
          "fill_unit": {
            "type": "object"
          },
          "filled_at": {
            "type": "object"
          },
          "filled_quantity": {
            "type": "object"
          },
          "guid": {
            "type": "object"
          },
          "id_pharmacy_fill": {
            "type": "object"
          },
          "relridpharmacyfillhealthinsuranceclaims": {
            "type": "array",
            "items": {
              "type": "object"
            }
          },
          "relridpharmacyorder": {
            "type": "object"
          },
          "rid_medication": {
            "type": "integer"
          },
          "rid_medication_substituted": {
            "type": "object"
          },
          "rid_pharmacy_order": {
            "type": "integer"
          },
          "rid_prescription_item": {
            "type": "object"
          },
          "status": {
            "type": "object"
          },
          "substitution_allowed": {
            "type": "boolean"
          },
          "updatedat": {
            "type": "object"
          }
        },
        "required": [
          "BaseModel",
          "id_pharmacy_fill",
          "guid",
          "rid_pharmacy_order",
          "rid_prescription_item",
          "rid_medication",
          "rid_medication_substituted",
          "filled_quantity",
          "fill_unit",
          "substitution_allowed",
          "status",
          "filled_at",
          "claim_reference",
          "createdat",
          "updatedat"
        ]
      },
      "HealthPharmacy_order": {
        "type": "object",
        "properties": {
          "BaseModel": {
            "type": "object"
          },
          "createdat": {
            "type": "object"
          },
          "guid": {
            "type": "object"
          },
          "id_pharmacy_order": {
            "type": "object"
          },
          "note": {
            "type": "object"
          },
          "order_type": {
            "type": "object"
          },
          "pickup_or_delivery": {
            "type": "object"
          },
          "relridpharmacybranch": {
            "type": "object"
          },
          "relridpharmacyorderhealthpharmacyfills": {
            "type": "array",
            "items": {
              "type": "object"
            }
          },
          "requested_at": {
            "type": "object"
          },
          "rid_pharmacy_branch": {
            "type": "integer"
          },
          "rid_prescription": {
            "type": "object"
          },
          "rid_refill_request": {
            "type": "object"
          },
          "rid_user_profile_patient": {
            "type": "integer"
          },
          "status": {
            "type": "object"
          },
          "updatedat": {
            "type": "object"
          }
        },
        "required": [
          "BaseModel",
          "id_pharmacy_order",
          "guid",
          "rid_user_profile_patient",
          "rid_pharmacy_branch",
          "rid_prescription",
          "rid_refill_request",
          "order_type",
          "status",
          "requested_at",
          "pickup_or_delivery",
          "note",
          "createdat",
          "updatedat"
        ]
      },
      "HealthPrescription": {
        "type": "object",
        "properties": {
          "BaseModel": {
            "type": "object"
          },
          "createdat": {
            "type": "object"
          },
          "disabled": {
            "type": "boolean"
          },
          "guid": {
            "type": "object"
          },
          "id_prescription": {
            "type": "object"
          },
          "issued_on": {
            "type": "object"
          },
          "note": {
            "type": "object"
          },
          "relridcareteamprescriber": {
            "type": "object"
          },
          "relridprescriptionhealthprescriptionitems": {
            "type": "array",
            "items": {
              "type": "object"
            }
          },
          "relriduserprofile": {
            "type": "object"
          },
          "rid_care_team_prescriber": {
            "type": "object"
          },
          "rid_doctor_profile": {
            "type": "object"
          },
          "rid_hospital_encounter": {
            "type": "object"
          },
          "rid_pharmacy": {
            "type": "object"
          },
          "rid_user_profile": {
            "type": "integer"
          },
          "updatedat": {
            "type": "object"
          },
          "valid_until": {
            "type": "object"
          }
        },
        "required": [
          "BaseModel",
          "id_prescription",
          "guid",
          "rid_user_profile",
          "rid_care_team_prescriber",
          "rid_doctor_profile",
          "rid_hospital_encounter",
          "rid_pharmacy",
          "disabled",
          "issued_on",
          "valid_until",
          "note",
          "createdat",
          "updatedat"
        ]
      },
      "HealthPrescription_item": {
        "type": "object",
        "properties": {
          "BaseModel": {
            "type": "object"
          },
          "createdat": {
            "type": "object"
          },
          "dose_amount": {
            "type": "object"
          },
          "dose_unit": {
            "type": "object"
          },
          "frequency_text": {
            "type": "object"
          },
          "guid": {
            "type": "object"
          },
          "id_prescription_item": {
            "type": "object"
          },
          "instructions": {
            "type": "object"
          },
          "relridmedication": {
            "type": "object"
          },
          "relridprescription": {
            "type": "object"
          },
          "relridprescriptionitemhealthmedicationschedules": {
            "type": "array",
            "items": {
              "type": "object"
            }
          },
          "relridprescriptionitemhealthrefillrequests": {
            "type": "array",
            "items": {
              "type": "object"
            }
          },
          "repeats_allowed": {
            "type": "object"
          },
          "rid_medication": {
            "type": "integer"
          },
          "rid_prescription": {
            "type": "integer"
          },
          "route": {
            "type": "object"
          },
          "updatedat": {
            "type": "object"
          }
        },
        "required": [
          "BaseModel",
          "id_prescription_item",
          "guid",
          "rid_prescription",
          "rid_medication",
          "dose_amount",
          "dose_unit",
          "frequency_text",
          "route",
          "instructions",
          "repeats_allowed",
          "createdat",
          "updatedat"
        ]
      },
      "HealthRefill_request": {
        "type": "object",
        "properties": {
          "BaseModel": {
            "type": "object"
          },
          "createdat": {
            "type": "object"
          },
          "disabled": {
            "type": "boolean"
          },
          "due_on": {
            "type": "object"
          },
          "fulfilled_at": {
            "type": "object"
          },
          "guid": {
            "type": "object"
          },
          "id_refill_request": {
            "type": "object"
          },
          "note": {
            "type": "object"
          },
          "prescription_reference": {
            "type": "object"
          },
          "relridmedication": {
            "type": "object"
          },
          "relridprescriptionitem": {
            "type": "object"
          },
          "relriduserprofile": {
            "type": "object"
          },
          "requested_at": {
            "type": "object"
          },
          "requested_quantity": {
            "type": "object"
          },
          "rid_medication": {
            "type": "integer"
          },
          "rid_prescription_item": {
            "type": "object"
          },
          "rid_user_profile": {
            "type": "integer"
          },
          "status": {
            "type": "object"
          },
          "updatedat": {
            "type": "object"
          }
        },
        "required": [
          "BaseModel",
          "id_refill_request",
          "guid",
          "rid_user_profile",
          "rid_medication",
          "rid_prescription_item",
          "disabled",
          "requested_quantity",
          "due_on",
          "status",
          "requested_at",
          "fulfilled_at",
          "prescription_reference",
          "note",
          "createdat",
          "updatedat"
        ]
      },
      "HealthSchedule_time": {
        "type": "object",
        "properties": {
          "BaseModel": {
            "type": "object"
          },
          "createdat": {
            "type": "object"
          },
          "day_of_week": {
            "type": "object"
          },
          "disabled": {
            "type": "boolean"
          },
          "dose_amount": {
            "type": "object"
          },
          "guid": {
            "type": "object"
          },
          "id_schedule_time": {
            "type": "object"
          },
          "note": {
            "type": "object"
          },
          "relative_offset_minutes": {
            "type": "object"
          },
          "relridmedicationschedule": {
            "type": "object"
          },
          "relridscheduletimehealthreminders": {
            "type": "array",
            "items": {
              "type": "object"
            }
          },
          "rid_medication_schedule": {
            "type": "integer"
          },
          "specific_days": {
            "type": "array",
            "items": {
              "type": "integer"
            }
          },
          "time_of_day": {
            "type": "object"
          },
          "updatedat": {
            "type": "object"
          }
        },
        "required": [
          "BaseModel",
          "id_schedule_time",
          "guid",
          "rid_medication_schedule",
          "disabled",
          "time_of_day",
          "day_of_week",
          "specific_days",
          "dose_amount",
          "relative_offset_minutes",
          "note",
          "createdat",
          "updatedat"
        ]
      },
      "HealthSleep_log": {
        "type": "object",
        "properties": {
          "BaseModel": {
            "type": "object"
          },
          "createdat": {
            "type": "object"
          },
          "disabled": {
            "type": "boolean"
          },
          "duration_minutes": {
            "type": "object"
          },
          "guid": {
            "type": "object"
          },
          "id_sleep_log": {
            "type": "object"
          },
          "note": {
            "type": "object"
          },
          "relriduserprofile": {
            "type": "object"
          },
          "rid_user_profile": {
            "type": "integer"
          },
          "sleep_end": {
            "type": "object"
          },
          "sleep_quality": {
            "type": "object"
          },
          "sleep_start": {
            "type": "object"
          },
          "source": {
            "type": "object"
          },
          "updatedat": {
            "type": "object"
          }
        },
        "required": [
          "BaseModel",
          "id_sleep_log",
          "guid",
          "rid_user_profile",
          "disabled",
          "sleep_start",
          "sleep_end",
          "duration_minutes",
          "sleep_quality",
          "source",
          "note",
          "createdat",
          "updatedat"
        ]
      },
      "HealthSymptom_log": {
        "type": "object",
        "properties": {
          "BaseModel": {
            "type": "object"
          },
          "createdat": {
            "type": "object"
          },
          "disabled": {
            "type": "boolean"
          },
          "ended_at": {
            "type": "object"
          },
          "guid": {
            "type": "object"
          },
          "id_symptom_log": {
            "type": "object"
          },
          "note": {
            "type": "object"
          },
          "relriduserprofile": {
            "type": "object"
          },
          "rid_user_profile": {
            "type": "integer"
          },
          "severity": {
            "type": "object"
          },
          "started_at": {
            "type": "object"
          },
          "symptom_name": {
            "type": "object"
          },
          "updatedat": {
            "type": "object"
          }
        },
        "required": [
          "BaseModel",
          "id_symptom_log",
          "guid",
          "rid_user_profile",
          "disabled",
          "symptom_name",
          "severity",
          "started_at",
          "ended_at",
          "note",
          "createdat",
          "updatedat"
        ]
      },
      "HealthTreatment_plan": {
        "type": "object",
        "properties": {
          "BaseModel": {
            "type": "object"
          },
          "createdat": {
            "type": "object"
          },
          "disabled": {
            "type": "boolean"
          },
          "effective_from": {
            "type": "object"
          },
          "effective_to": {
            "type": "object"
          },
          "goal_summary": {
            "type": "object"
          },
          "guid": {
            "type": "object"
          },
          "id_treatment_plan": {
            "type": "object"
          },
          "instructions": {
            "type": "object"
          },
          "relriddoctorprofile": {
            "type": "object"
          },
          "rid_doctor_profile": {
            "type": "object"
          },
          "rid_user_profile_patient": {
            "type": "integer"
          },
          "status": {
            "type": "object"
          },
          "title": {
            "type": "object"
          },
          "updatedat": {
            "type": "object"
          }
        },
        "required": [
          "BaseModel",
          "id_treatment_plan",
          "guid",
          "rid_user_profile_patient",
          "rid_doctor_profile",
          "disabled",
          "title",
          "goal_summary",
          "instructions",
          "effective_from",
          "effective_to",
          "status",
          "createdat",
          "updatedat"
        ]
      },
      "HealthVital_sign_log": {
        "type": "object",
        "properties": {
          "BaseModel": {
            "type": "object"
          },
          "createdat": {
            "type": "object"
          },
          "disabled": {
            "type": "boolean"
          },
          "guid": {
            "type": "object"
          },
          "id_vital_sign_log": {
            "type": "object"
          },
          "measured_at": {
            "type": "object"
          },
          "note": {
            "type": "object"
          },
          "relriduserprofile": {
            "type": "object"
          },
          "rid_user_profile": {
            "type": "integer"
          },
          "source": {
            "type": "object"
          },
          "unit": {
            "type": "object"
          },
          "updatedat": {
            "type": "object"
          },
          "value_numeric": {
            "type": "object"
          },
          "value_text": {
            "type": "object"
          },
          "vital_type": {
            "type": "object"
          }
        },
        "required": [
          "BaseModel",
          "id_vital_sign_log",
          "guid",
          "rid_user_profile",
          "disabled",
          "measured_at",
          "vital_type",
          "value_numeric",
          "value_text",
          "unit",
          "source",
          "note",
          "createdat",
          "updatedat"
        ]
      },
      "Metadata": {
        "type": "object",
        "properties": {
          "count": {
            "type": "integer",
            "description": "Number of records in this response"
          },
          "filtered": {
            "type": "integer",
            "description": "Number of records after filtering"
          },
          "limit": {
            "type": "integer",
            "description": "Limit applied"
          },
          "offset": {
            "type": "integer",
            "description": "Offset applied"
          },
          "rowNumber": {
            "type": "integer",
            "description": "Row number for cursor pagination"
          },
          "total": {
            "type": "integer",
            "description": "Total number of records"
          }
        }
      },
      "OrgDepartment": {
        "type": "object",
        "properties": {
          "BaseModel": {
            "type": "object"
          },
          "cost_center": {
            "type": "object"
          },
          "createdat": {
            "type": "object"
          },
          "department_code": {
            "type": "object"
          },
          "description": {
            "type": "object"
          },
          "disabled": {
            "type": "boolean"
          },
          "guid": {
            "type": "object"
          },
          "id_department": {
            "type": "object"
          },
          "jsonstore": {
            "type": "array",
            "items": {
              "type": "integer"
            }
          },
          "name": {
            "type": "object"
          },
          "relriddepartmentparent": {
            "type": "object"
          },
          "relridfilepointerlogo": {
            "type": "object"
          },
          "relridowner": {
            "type": "object"
          },
          "rid_actor_manager": {
            "type": "object"
          },
          "rid_department_parent": {
            "type": "object"
          },
          "rid_filepointer_logo": {
            "type": "object"
          },
          "rid_owner": {
            "type": "integer"
          },
          "updatedat": {
            "type": "object"
          }
        },
        "required": [
          "BaseModel",
          "id_department",
          "rid_owner",
          "rid_department_parent",
          "rid_actor_manager",
          "rid_filepointer_logo",
          "guid",
          "createdat",
          "updatedat",
          "disabled",
          "department_code",
          "name",
          "cost_center",
          "description",
          "jsonstore"
        ]
      },
      "OrgOwner_typelookup": {
        "type": "object",
        "properties": {
          "BaseModel": {
            "type": "object"
          },
          "category": {
            "type": "object"
          },
          "createdat": {
            "type": "object"
          },
          "disabled": {
            "type": "object"
          },
          "guid": {
            "type": "object"
          },
          "id_owner_typelookup": {
            "type": "object"
          },
          "jsonstore": {
            "type": "array",
            "items": {
              "type": "integer"
            }
          },
          "key": {
            "type": "object"
          },
          "relridowner": {
            "type": "object"
          },
          "relridtypelookupdocumenttypeorgtemplates": {
            "type": "array",
            "items": {
              "type": "object"
            }
          },
          "relridtypelookuporgroles": {
            "type": "array",
            "items": {
              "type": "object"
            }
          },
          "rid_owner": {
            "type": "integer"
          },
          "updatedat": {
            "type": "object"
          },
          "value": {
            "type": "object"
          }
        },
        "required": [
          "BaseModel",
          "id_owner_typelookup",
          "rid_owner",
          "guid",
          "disabled",
          "createdat",
          "updatedat",
          "category",
          "key",
          "value",
          "jsonstore"
        ]
      },
      "PreloadOption": {
        "type": "object",
        "properties": {
          "columns": {
            "type": "array",
            "description": "Columns to select from related table",
            "items": {
              "type": "string"
            }
          },
          "relation": {
            "type": "string",
            "description": "Relation name"
          }
        }
      },
      "RequestOptions": {
        "type": "object",
        "properties": {
          "columns": {
            "type": "array",
            "description": "Columns to select",
            "items": {
              "type": "string"
            }
          },
          "filters": {
            "type": "array",
            "description": "Filter conditions",
            "items": {
              "$ref": "#/components/schemas/FilterOption"
            }
          },
          "limit": {
            "type": "integer",
            "description": "Maximum number of records"
          },
          "offset": {
            "type": "integer",
            "description": "Number of records to skip"
          },
          "omitColumns": {
            "type": "array",
            "description": "Columns to exclude",
            "items": {
              "type": "string"
            }
          },
          "preload": {
            "type": "array",
            "description": "Relations to eager load",
            "items": {
              "$ref": "#/components/schemas/PreloadOption"
            }
          },
          "sort": {
            "type": "array",
            "description": "Sort specifications",
            "items": {
              "$ref": "#/components/schemas/SortOption"
            }
          }
        }
      },
      "ResolveSpecRequest": {
        "type": "object",
        "properties": {
          "data": {
            "description": "Payload data (object or array)"
          },
          "id": {
            "type": "integer",
            "description": "Record ID for single operations"
          },
          "operation": {
            "type": "string",
            "description": "Operation type",
            "enum": [
              "read",
              "create",
              "update",
              "delete",
              "meta"
            ]
          },
          "options": {
            "$ref": "#/components/schemas/RequestOptions"
          }
        }
      },
      "Response": {
        "type": "object",
        "properties": {
          "data": {
            "description": "The response data"
          },
          "error": {
            "$ref": "#/components/schemas/APIError"
          },
          "metadata": {
            "$ref": "#/components/schemas/Metadata"
          },
          "success": {
            "type": "boolean",
            "description": "Indicates if the operation was successful"
          }
        }
      },
      "RootEnum": {
        "type": "object",
        "properties": {
          "BaseModel": {
            "type": "object"
          },
          "category": {
            "type": "object"
          },
          "createdat": {
            "type": "object"
          },
          "guid": {
            "type": "object"
          },
          "id_enum": {
            "type": "object"
          },
          "key": {
            "type": "object"
          },
          "updatedat": {
            "type": "object"
          },
          "value": {
            "type": "object"
          },
          "valueid": {
            "type": "object"
          }
        },
        "required": [
          "BaseModel",
          "id_enum",
          "guid",
          "createdat",
          "updatedat",
          "category",
          "key",
          "value",
          "valueid"
        ]
      },
      "RootSetting": {
        "type": "object",
        "properties": {
          "BaseModel": {
            "type": "object"
          },
          "createdat": {
            "type": "object"
          },
          "disableflag": {
            "type": "object"
          },
          "guid": {
            "type": "object"
          },
          "id_setting": {
            "type": "object"
          },
          "jsonstore": {
            "type": "array",
            "items": {
              "type": "integer"
            }
          },
          "name": {
            "type": "object"
          },
          "updatedat": {
            "type": "object"
          },
          "value": {
            "type": "object"
          }
        },
        "required": [
          "BaseModel",
          "id_setting",
          "guid",
          "createdat",
          "updatedat",
          "disableflag",
          "name",
          "value",
          "jsonstore"
        ]
      },
      "RootTypelookup": {
        "type": "object",
        "properties": {
          "BaseModel": {
            "type": "object"
          },
          "category": {
            "type": "object"
          },
          "createdat": {
            "type": "object"
          },
          "disabled": {
            "type": "object"
          },
          "guid": {
            "type": "object"
          },
          "id_typelookup": {
            "type": "object"
          },
          "jsonstore": {
            "type": "array",
            "items": {
              "type": "integer"
            }
          },
          "key": {
            "type": "object"
          },
          "relridtypelookuptemplatetypeorgtemplates": {
            "type": "array",
            "items": {
              "type": "object"
            }
          },
          "schema": {
            "type": "array",
            "items": {
              "type": "integer"
            }
          },
          "updatedat": {
            "type": "object"
          },
          "value": {
            "type": "object"
          }
        },
        "required": [
          "BaseModel",
          "id_typelookup",
          "guid",
          "createdat",
          "updatedat",
          "disabled",
          "category",
          "key",
          "value",
          "jsonstore",
          "schema"
        ]
      },
      "SortOption": {
        "type": "object",
        "properties": {
          "column": {
            "type": "string",
            "description": "Column name"
          },
          "direction": {
            "type": "string",
            "description": "Sort direction",
            "enum": [
              "asc",
              "desc"
            ]
          }
        }
      }
    },
    "securitySchemes": {
      "BearerAuth": {
        "type": "http",
        "description": "JWT Bearer token authentication",
        "scheme": "bearer",
        "bearerFormat": "JWT"
      },
      "CookieAuth": {
        "type": "apiKey",
        "description": "Cookie-based session authentication",
        "name": "session_token",
        "in": "cookie"
      },
      "HeaderAuth": {
        "type": "apiKey",
        "description": "Header-based user authentication",
        "name": "X-User-ID",
        "in": "header"
      },
      "SessionToken": {
        "type": "apiKey",
        "description": "Session token authentication",
        "name": "Authorization",
        "in": "header"
      }
    }
  }
}