{
  "openapi": "3.0.1",
  "info": {
    "title": "Национална Здравно-информационна Система - Регистри",
    "description": "Услуги за достъп до информация от регистри, изградени като част от Националната Здравно-информационна Система.",
    "contact": {
      "name": "Регистри на НЗИС",
      "url": "https://registries.his.bg/"
    },
    "license": {
      "name": "Лицензирано при условията на EUPL-1.2",
      "url": "https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12"
    },
    "version": "v1"
  },
  "paths": {
    "/api/v1/balneologicalAssessment/getBalneologicalAssessment": {
      "get": {
        "tags": [
          "BalneologicalAssessmentApi"
        ],
        "summary": "Метод извличащ активните записи от регистър на балнеологичната оценка към регистър води",
        "parameters": [
          {
            "name": "start",
            "in": "query",
            "description": "Начален номер от който да вземе записите",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "length",
            "in": "query",
            "description": "Брой записи, които да се върнат",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "number",
            "in": "query",
            "description": "Номер на балнеологичната оценка",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BalneologicalAssessmentApiResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error"
          }
        }
      }
    },
    "/api/v1/contractorDDDActivities/getContractorDDDActivitiesForApiV1": {
      "get": {
        "tags": [
          "ContractorDDDActivitiesApi"
        ],
        "summary": "Извличане на данни за регистър на изпълнители на ДДД дейности",
        "parameters": [
          {
            "name": "start",
            "in": "query",
            "description": "Начален номер от който да вземе записите",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "length",
            "in": "query",
            "description": "Брой записи, които да се върнат",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "administration",
            "in": "query",
            "description": "Администрация (РЗИ)",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "searchTradingCompany",
            "in": "query",
            "description": "Наименование на изпълнител или ЕИК/ЕГН",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "certificateLegalCapacity",
            "in": "query",
            "description": "Удостоверение за придобита квалификация №",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "activitie",
            "in": "query",
            "description": "Дейност",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "status",
            "in": "query",
            "description": "Статус",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ContractorDDDActivitiesApiResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error"
          }
        }
      }
    },
    "/api/v1/contractorDDDActivities/getNomenclature": {
      "get": {
        "tags": [
          "ContractorDDDActivitiesApi"
        ],
        "summary": "Извличане на номенклатури",
        "parameters": [
          {
            "name": "typeNomenclature",
            "in": "query",
            "description": "Код на номенклатурата: status - статуси, activities - дейности, administrations - администрации",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/NomenclatureApiResult"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error"
          }
        }
      }
    },
    "/api/v1/drugstore/GetDrugstoreForApiV1": {
      "get": {
        "tags": [
          "DrugstoreApi"
        ],
        "summary": "Извличане на активни лечебни заведения за извънболнична помощ с филтър",
        "parameters": [
          {
            "name": "start",
            "in": "query",
            "description": "Начален номер от който да вземе записите",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "length",
            "in": "query",
            "description": "Брой записи, които да се върнат",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "searchText",
            "in": "query",
            "description": "Търесен текст в Текст за свободно търсене в: наименование на търговеца, идентификатор на търговеца, адрес на дрогерията, телефон на дрогерията, интернет страница на дрогерията",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "searchRegion",
            "in": "query",
            "description": "Област",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "searchCity",
            "in": "query",
            "description": "Търсено населено място",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "searchStatus",
            "in": "query",
            "description": "Търсен статус",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DrugstoreApiResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error"
          }
        }
      }
    },
    "/api/v1/exportProductsHumanHealth/getCountries": {
      "get": {
        "tags": [
          "ExportProductsHumanHealthApi"
        ],
        "summary": "Метод връщащ държави",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/NomenclatureApiResult"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error"
          }
        }
      }
    },
    "/api/v1/exportProductsHumanHealth/getStatuses": {
      "get": {
        "tags": [
          "ExportProductsHumanHealthApi"
        ],
        "summary": "Извличане на номенклатури за статуси на регистъра",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/NomenclatureApiResult"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error"
          }
        }
      }
    },
    "/api/v1/exportProductsHumanHealth/getExportProductsHumanHealth": {
      "get": {
        "tags": [
          "ExportProductsHumanHealthApi"
        ],
        "summary": "Метод извличащ активните записи от регистър на издадените здравни сертификати за износ на продукти и стоки със значение за здравето на човека",
        "parameters": [
          {
            "name": "start",
            "in": "query",
            "description": "Начален номер от който да вземе записите",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "length",
            "in": "query",
            "description": "Брой записи, които да се върнат",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "certificateNumber",
            "in": "query",
            "description": "№ на сертификат",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "country",
            "in": "query",
            "description": "Код на държава",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ExportProductsHumanHealthApiResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error"
          }
        }
      }
    },
    "/api/v1/foodMarket/getCategories": {
      "get": {
        "tags": [
          "FoodMarketApi"
        ],
        "summary": "Извличане на номенклатури за категория",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/NomenclatureApiResult"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error"
          }
        }
      }
    },
    "/api/v1/foodMarket/getFoodMarket": {
      "get": {
        "tags": [
          "FoodMarketApi"
        ],
        "summary": "Метод извличащ активните записи от регистър на лицензи по ЗКНВП",
        "parameters": [
          {
            "name": "start",
            "in": "query",
            "description": "Начален номер от който да вземе записите",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "length",
            "in": "query",
            "description": "Брой записи, които да се върнат",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "categoryCode",
            "in": "query",
            "description": "Категория",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "notificationNumber",
            "in": "query",
            "description": "Номер на уведомление",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FoodMarketApiResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error"
          }
        }
      }
    },
    "/api/v1/hospital/getHospitalForApiV1": {
      "get": {
        "tags": [
          "HospitalApi"
        ],
        "summary": "Извличане на активни лечебни заведения за болнична помощ с филтър",
        "parameters": [
          {
            "name": "start",
            "in": "query",
            "description": "Начален номер от който да вземе записите",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "length",
            "in": "query",
            "description": "Брой записи, които да се върнат",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "searchText",
            "in": "query",
            "description": "Търесен текст в име, нов номер, стар номер, идентификатор на лечебно заведение",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "searchStatus",
            "in": "query",
            "description": "Търсен статус",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HospitalApiResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error"
          }
        }
      }
    },
    "/api/v1/hospital/getHospitalByNumberForApiV1": {
      "get": {
        "tags": [
          "HospitalApi"
        ],
        "summary": "Извличане на лечебно заведение за болнична помощ по номер или стар номер",
        "parameters": [
          {
            "name": "number",
            "in": "query",
            "description": "Номер на лечебно заведение",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OutpatientCareApiResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error"
          }
        }
      }
    },
    "/api/v1/hospital/getNomenclatureHospitalForApiV1": {
      "get": {
        "tags": [
          "HospitalApi"
        ],
        "summary": "Извличане на номенклатури",
        "parameters": [
          {
            "name": "typeNomenclature",
            "in": "query",
            "description": "Код на номенклатурата city - населени места/vidHospital - видове ЛЗ/speciality - специалности/ownership - собственост",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/NomenclatureApiResult"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/NomenclatureApiResult"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/NomenclatureApiResult"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              },
              "application/json": {
                "schema": {
                  "type": "string"
                }
              },
              "text/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error"
          }
        }
      }
    },
    "/api/v1/leaderDDDActivities/getLeaderDDDActivitiesForApiV1": {
      "get": {
        "tags": [
          "LeaderDDDActivitiesApi"
        ],
        "summary": "Извличане на данни за регистър на изпълнители на ДДД дейности",
        "parameters": [
          {
            "name": "start",
            "in": "query",
            "description": "Начален номер от който да вземе записите",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "length",
            "in": "query",
            "description": "Брой записи, които да се върнат",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "searchLeader",
            "in": "query",
            "description": "Име на лице",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "certificateLegalCapacity",
            "in": "query",
            "description": "Удостоверение за правоспособност №",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "status",
            "in": "query",
            "description": "Статус",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LeaderDDDActivitiesApiResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error"
          }
        }
      }
    },
    "/api/v1/leaderDDDActivities/getStatusNomenclature": {
      "get": {
        "tags": [
          "LeaderDDDActivitiesApi"
        ],
        "summary": "Извличане на видове статуси",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/NomenclatureApiResult"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error"
          }
        }
      }
    },
    "/api/v1/licensesUnderZKNVP/getTypes": {
      "get": {
        "tags": [
          "LicensesUnderZKNVPApi"
        ],
        "summary": "Извличане на номенклатури за категория",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/NomenclatureApiResult"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error"
          }
        }
      }
    },
    "/api/v1/licensesUnderZKNVP/getLicensesUnderZKNVP": {
      "get": {
        "tags": [
          "LicensesUnderZKNVPApi"
        ],
        "summary": "Метод извличащ активните записи от регистър на лицензи по ЗКНВП",
        "parameters": [
          {
            "name": "start",
            "in": "query",
            "description": "Начален номер от който да вземе записите",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "length",
            "in": "query",
            "description": "Брой записи, които да се върнат",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "typeCode",
            "in": "query",
            "description": "Категория",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "licenseNumber",
            "in": "query",
            "description": "Номер на лиценз",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LicensesUnderZKNVPApiResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error"
          }
        }
      }
    },
    "/api/v1/medicalInstitutionsTraining/getMedicalInstitutionsTraining": {
      "get": {
        "tags": [
          "MedicalInstitutionsTrainingApi"
        ],
        "summary": "Метод извличащ активните записи от регистър на лечебните заведения, получили одобрение за обучение на студенти и специализанти",
        "parameters": [
          {
            "name": "start",
            "in": "query",
            "description": "Начален номер от който да вземе записите",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "length",
            "in": "query",
            "description": "Брой записи, които да се върнат",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "number",
            "in": "query",
            "description": "Пореден №",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "medicalFacility",
            "in": "query",
            "description": "Лечебно заведение/лечебно заведение за извънболнична помощ - номер/идентификатор/име",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MedicalInstitutionsTrainingApiResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error"
          }
        }
      }
    },
    "/api/v1/outpatientcare/getOutpatientCare": {
      "get": {
        "tags": [
          "OutpatientCareApi"
        ],
        "summary": "Извличане на активни лечебни заведения за извънболнична помощ",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/OutpatientCareSmallApiResult"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error"
          }
        }
      }
    },
    "/api/v1/outpatientcare/getOutpatientCareWithFilterForApiV1": {
      "get": {
        "tags": [
          "OutpatientCareApi"
        ],
        "summary": "Извличане на активни лечебни заведения за извънболнична помощ с филтър",
        "parameters": [
          {
            "name": "start",
            "in": "query",
            "description": "Начален номер от който да вземе записите",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "length",
            "in": "query",
            "description": "Брой записи, които да се върнат",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "searchText",
            "in": "query",
            "description": "Търесен текст в име, нов номер, стар номер, идентификатор на лечебно заведение",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "searchMedicalStaff",
            "in": "query",
            "description": "Търси в лекарски състав в име и уин",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "searchVidOutpatientCare",
            "in": "query",
            "description": "Търсен вид на лечебно завердение",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "searchCity",
            "in": "query",
            "description": "Търсено населено място",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "searchStatus",
            "in": "query",
            "description": "Търсен статус",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OutpatientCareSmallWithFilterApiResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error"
          }
        }
      }
    },
    "/api/v1/outpatientcare/getOutpatientCareByNumberForApiV1": {
      "get": {
        "tags": [
          "OutpatientCareApi"
        ],
        "summary": "Извличане на лечебно заведение за извънболнична помощ по номер или стар номер",
        "parameters": [
          {
            "name": "number",
            "in": "query",
            "description": "Номер на лечебно заведение",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "oldNumber",
            "in": "query",
            "description": "Стар номер на лечебно заведение",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OutpatientCareApiResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error"
          }
        }
      }
    },
    "/api/v1/outpatientcare/getOutpatientCareCertificatePdfByNumberForApiV1": {
      "get": {
        "tags": [
          "OutpatientCareApi"
        ],
        "summary": "Метод за сваляне на удостоверение на лечебно заведение за извънболнична помощ",
        "parameters": [
          {
            "name": "number",
            "in": "query",
            "description": "Номер на лечебно заведение за извънболнична помощ",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              },
              "application/json": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              },
              "text/json": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              },
              "application/json": {
                "schema": {
                  "type": "string"
                }
              },
              "text/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error"
          }
        }
      }
    },
    "/api/v1/outpatientcare/getOutpatientCareDeleteDocumentPdfByNumberForApiV1": {
      "get": {
        "tags": [
          "OutpatientCareApi"
        ],
        "summary": "Метод за сваляне на заповед за заличаване на лечебно заведение за извънболнична помощ",
        "parameters": [
          {
            "name": "number",
            "in": "query",
            "description": "Номер на лечебно заведение за извънболнична помощ",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              },
              "application/json": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              },
              "text/json": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              },
              "application/json": {
                "schema": {
                  "type": "string"
                }
              },
              "text/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error"
          }
        }
      }
    },
    "/api/v1/outpatientcare/getNomenclatureOutpatientCareForApiV1": {
      "get": {
        "tags": [
          "OutpatientCareApi"
        ],
        "summary": "Извличане на номенклатури",
        "parameters": [
          {
            "name": "typeNomenclature",
            "in": "query",
            "description": "Код на номенклатурата city - населени места/medicalStaffType - типове медицински лица/vidOutpatientCare - видове ЛЗ",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/NomenclatureApiResult"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/NomenclatureApiResult"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/NomenclatureApiResult"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              },
              "application/json": {
                "schema": {
                  "type": "string"
                }
              },
              "text/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error"
          }
        }
      }
    },
    "/api/v1/permitsArt87Para1ZKVNP/getPermitsArt87Para1ZKVNP": {
      "get": {
        "tags": [
          "PermitsArt87Para1ZKVNPApi"
        ],
        "summary": "Метод извличащ активните записи от регистър на разрешителни по чл. 87, ал. 1 от ЗКНВП",
        "parameters": [
          {
            "name": "start",
            "in": "query",
            "description": "Начален номер от който да вземе записите",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "length",
            "in": "query",
            "description": "Брой записи, които да се върнат",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "licenseNumber",
            "in": "query",
            "description": "Номер на лиценз",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PermitsArt87Para1ZKVNPApiResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error"
          }
        }
      }
    },
    "/api/v1/pharmacy/getPharmacyByNumber": {
      "get": {
        "tags": [
          "PharmacyApi"
        ],
        "summary": "Извличане на аптека по номер",
        "parameters": [
          {
            "name": "apteka_n",
            "in": "query",
            "description": "Номер на аптека",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "old_n_full",
            "in": "query",
            "description": "Стар номер на аптека",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "full_n",
            "in": "query",
            "description": "Номер на разрешително",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PharmacyApiResult"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error"
          }
        }
      }
    },
    "/api/v1/pharmacy/getPharmacyByDate": {
      "get": {
        "tags": [
          "PharmacyApi"
        ],
        "summary": "Извличане на аптека по дата",
        "parameters": [
          {
            "name": "from_date",
            "in": "query",
            "description": "Дата от",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "to_date",
            "in": "query",
            "description": "Дата до",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PharmacyApiResult"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error"
          }
        }
      }
    },
    "/api/v1/pharmacy/getNomenclature": {
      "get": {
        "tags": [
          "PharmacyApi"
        ],
        "summary": "Извличане на номенклатури",
        "parameters": [
          {
            "name": "nom_code",
            "in": "query",
            "description": "Код на номенклатурата",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/NomenclatureApiResult"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error"
          }
        }
      }
    },
    "/api/v1/registerDDD/getRegisterDDDForApiV1": {
      "get": {
        "tags": [
          "RegisterDDDApi"
        ],
        "summary": "Извличане на данни за регистър ДДД дейности",
        "parameters": [
          {
            "name": "start",
            "in": "query",
            "description": "Начален номер от който да вземе записите",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "length",
            "in": "query",
            "description": "Брой записи, които да се върнат",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RegisterDDDApiResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error"
          }
        }
      }
    },
    "/api/v1/registerWaters/getNomenclatureType": {
      "get": {
        "tags": [
          "RegisterWatersApi"
        ],
        "summary": "Метод връщащ типове номенклатури",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/NomenclatureTypeApiResult"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error"
          }
        }
      }
    },
    "/api/v1/registerWaters/getCities": {
      "get": {
        "tags": [
          "RegisterWatersApi"
        ],
        "summary": "Метод връщащ населени места",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/NomenclatureApiResult"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error"
          }
        }
      }
    },
    "/api/v1/registerWaters/getCountries": {
      "get": {
        "tags": [
          "RegisterWatersApi"
        ],
        "summary": "Метод връщащ държави",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/NomenclatureApiResult"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error"
          }
        }
      }
    },
    "/api/v1/registerWaters/getNomenclature": {
      "get": {
        "tags": [
          "RegisterWatersApi"
        ],
        "summary": "Извличане на номенклатури",
        "parameters": [
          {
            "name": "typeNomenclature",
            "in": "query",
            "description": "Код на номенклатурата",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/NomenclatureApiResult"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error"
          }
        }
      }
    },
    "/api/v1/registerWaters/getRegisterWaters": {
      "get": {
        "tags": [
          "RegisterWatersApi"
        ],
        "summary": "Метод извличащ активните записи от регистър на бутилирани води",
        "parameters": [
          {
            "name": "start",
            "in": "query",
            "description": "Начален номер от който да вземе записите",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "length",
            "in": "query",
            "description": "Брой записи, които да се върнат",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "category",
            "in": "query",
            "description": "Категория",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "onTerritoryOf",
            "in": "query",
            "description": "На територията на",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "tradeName",
            "in": "query",
            "description": "Tърговско наименование",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "troveName",
            "in": "query",
            "description": "Наименование на находището",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "certificateNumber",
            "in": "query",
            "description": "№ на сертификат",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "permitNumber",
            "in": "query",
            "description": "№ на разрешение",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "concessionAgreementNumber",
            "in": "query",
            "description": "№ на концесионен договор",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "balneologicalAssessmentNumber",
            "in": "query",
            "description": "№ на балнеологичната оценка",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "waterIntakeFacilitie",
            "in": "query",
            "description": "Съоръжение за водовземане",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "country",
            "in": "query",
            "description": "Код на държава",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "city",
            "in": "query",
            "description": "Код на населено място",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BottledWaterApiResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error"
          }
        }
      }
    },
    "/api/v1/testingMedicalRadiologicalEquipment/getTestingMedicalRadiologicalEquipment": {
      "get": {
        "tags": [
          "TestingMedicalRadiologicalEquipmentApi"
        ],
        "summary": "Метод извличащ активните записи от регистър на лицата, получили удостоверение за регистрация за извършване на дейности по изпитване качеството на медицинската радиологична апаратура",
        "parameters": [
          {
            "name": "start",
            "in": "query",
            "description": "Начален номер от който да вземе записите",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "length",
            "in": "query",
            "description": "Брой записи, които да се върнат",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "certificateNumber",
            "in": "query",
            "description": "№ на удостоверение",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "applicationNumber",
            "in": "query",
            "description": "№ на заявление",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "medicalFacility",
            "in": "query",
            "description": "Лечебно заведение/лечебно заведение за извънболнична помощ - номер/идентификатор/име",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BottledWaterApiResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error"
          }
        }
      }
    },
    "/api/v1/waterCertificate/getWaterCertificate": {
      "get": {
        "tags": [
          "WaterCertificateApi"
        ],
        "summary": "Метод извличащ активните записи от регистър на сертификати към регистър води",
        "parameters": [
          {
            "name": "start",
            "in": "query",
            "description": "Начален номер от който да вземе записите",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "length",
            "in": "query",
            "description": "Брой записи, които да се върнат",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "number",
            "in": "query",
            "description": "Номер на балнеологичната оценка",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "category",
            "in": "query",
            "description": "Код на категория",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WaterCertificateApiResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error"
          }
        }
      }
    },
    "/api/v1/waterCertificate/getCategory": {
      "get": {
        "tags": [
          "WaterCertificateApi"
        ],
        "summary": "Извличане на номенклатури за категория",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/NomenclatureApiResult"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error"
          }
        }
      }
    },
    "/api/v1/wholesaleMedicalProducts/getWholesaleMedicalProductsCertificates": {
      "get": {
        "tags": [
          "WholesaleMedicalProductsApi"
        ],
        "summary": "Извличане на активни удостоверения за търговци на едро с ЛП - удостоверения",
        "parameters": [
          {
            "name": "start",
            "in": "query",
            "description": "Начален номер от който да вземе записите",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "length",
            "in": "query",
            "description": "Брой записи, които да се върнат",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "searchText",
            "in": "query",
            "description": "Търсене по: № на удостоверение, име на търговец, идентификатор на търговец, име на органа, който е издал удостоверението",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "searchCountry",
            "in": "query",
            "description": "Търсене по държава, която е издала удостоверението",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "searchStatus",
            "in": "query",
            "description": "Филтриране по статус на удостоверението",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WholesaleMedicalProductsCertificatesApiResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error"
          }
        }
      }
    },
    "/api/v1/wholesaleMedicalProducts/getWholesaleMedicalProductsPermits": {
      "get": {
        "tags": [
          "WholesaleMedicalProductsApi"
        ],
        "summary": "Извличане на активни удостоверения за търговци на едро с ЛП - разрешения",
        "parameters": [
          {
            "name": "start",
            "in": "query",
            "description": "Начален номер от който да вземе записите",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "length",
            "in": "query",
            "description": "Брой записи, които да се върнат",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "searchText",
            "in": "query",
            "description": "Текст за свободно търсене – в номер на разрешение, име на търговец, ЕИК, име на фармацевт, УИН",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "searchMedicalProducts",
            "in": "query",
            "description": "ID на лекарствен продукт от номенклатурата, използва се за филтриране",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "searchPermittedWholesaleTradeActivities",
            "in": "query",
            "description": "ID на разрешена дейност по търговия на едро от номенклатура",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "searchMedicalProductsWithRequirements",
            "in": "query",
            "description": "ID на лекарствен продукт с допълнителни изисквания от номенклатура",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "searchCity",
            "in": "query",
            "description": "Населено място, по което да се търсят разрешения",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "searchStatus",
            "in": "query",
            "description": "Филтър по статус на разрешението",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/WholesaleMedicalProductsPermitsApiResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error"
          }
        }
      }
    },
    "/api/v1/wholesaleMedicalProducts/getNomenclatureWholesaleMedicalProductsForApiV1": {
      "get": {
        "tags": [
          "WholesaleMedicalProductsApi"
        ],
        "summary": "Извличане на номенклатури",
        "parameters": [
          {
            "name": "typeNomenclature",
            "in": "query",
            "description": "Тип на номенклатурата",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/NomenclatureApiResult"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/NomenclatureApiResult"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/NomenclatureApiResult"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              },
              "application/json": {
                "schema": {
                  "type": "string"
                }
              },
              "text/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "BalneologicalAssessmentApiResult": {
        "type": "object",
        "properties": {
          "recordsTotal": {
            "type": "integer",
            "format": "int32"
          },
          "registry": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BalneologicalAssessmentListApiResult"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "BalneologicalAssessmentListApiResult": {
        "type": "object",
        "properties": {
          "number": {
            "type": "string",
            "nullable": true
          },
          "date": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "troveNameBG": {
            "type": "string",
            "nullable": true
          },
          "waterIntakeFacilitie": {
            "type": "string",
            "nullable": true
          },
          "certificateBalneologicalPreviousPeriodData": {
            "type": "string",
            "nullable": true
          },
          "registrationDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "statusLabel": {
            "type": "string",
            "nullable": true
          },
          "statusCode": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "BottledWaterApiResult": {
        "type": "object",
        "properties": {
          "recordsTotal": {
            "type": "integer",
            "description": "Брой записи",
            "format": "int32"
          },
          "registry": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BottledWaterListApiResult"
            },
            "description": "Регистър",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "BottledWaterCertificateListApiResult": {
        "type": "object",
        "properties": {
          "number": {
            "type": "string",
            "description": "№ на сертификат",
            "nullable": true
          },
          "date": {
            "type": "string",
            "description": "Дата на издаване на сертификат",
            "format": "date-time",
            "nullable": true
          },
          "toDate": {
            "type": "string",
            "description": "Валидност на сертификата",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "BottledWaterListApiResult": {
        "type": "object",
        "properties": {
          "typeLabel": {
            "type": "string",
            "description": "Идентификатор на тип",
            "nullable": true
          },
          "subTypeLabel": {
            "type": "string",
            "description": "Идентификатор на подтип",
            "nullable": true
          },
          "objectTypeLabel": {
            "type": "string",
            "description": "Идентификатор на вид на обекта",
            "nullable": true
          },
          "waterTypeLabel": {
            "type": "string",
            "description": "Идентификатор на вид на бутилираната вода",
            "nullable": true
          },
          "individualRegistrationNumber": {
            "type": "string",
            "description": "Индивидуален регистрационен № на обекта",
            "nullable": true
          },
          "registrationDate": {
            "type": "string",
            "description": "Дата на регистрация",
            "format": "date-time",
            "nullable": true
          },
          "activityStartDate": {
            "type": "string",
            "description": "Дата на започване на дейност",
            "format": "date-time",
            "nullable": true
          },
          "balneologicalAssessmentLabel": {
            "type": "string",
            "description": "№ и дата на балнеологичната оценка",
            "nullable": true
          },
          "businessOperatorLabel": {
            "type": "string",
            "description": "Име на бизнес оператор извършващ дейност в обекта",
            "nullable": true
          },
          "businessOperatorEik": {
            "type": "string",
            "description": "Идентификатор на бизнес оператор извършващ дейност в обекта",
            "nullable": true
          },
          "businessOperatorAddressLabel": {
            "type": "string",
            "description": "Идентификатор на адрес на бизнес оператор извършващ дейност в обекта",
            "nullable": true
          },
          "businessOperatorAddressEkatte": {
            "type": "string",
            "description": "Код на населено място на бизнес оператор извършващ дейност в обекта",
            "nullable": true
          },
          "tradeNameBG": {
            "type": "string",
            "description": "Tърговско наименование BG",
            "nullable": true
          },
          "tradeNameEN": {
            "type": "string",
            "description": "Tърговско наименование EN",
            "nullable": true
          },
          "troveNameBG": {
            "type": "string",
            "description": "Наименование на находището BG",
            "nullable": true
          },
          "troveNameEN": {
            "type": "string",
            "description": "Наименование на находището EN",
            "nullable": true
          },
          "waterSourceNameBG": {
            "type": "string",
            "description": "Наименование на водоизточника BG",
            "nullable": true
          },
          "waterSourceNameEN": {
            "type": "string",
            "description": "Наименование на водоизточника EN",
            "nullable": true
          },
          "identificationCode": {
            "type": "string",
            "description": "Идентификационен код",
            "nullable": true
          },
          "waterIntakeFacilitie": {
            "type": "string",
            "description": "Съоръжение за водовземане",
            "nullable": true
          },
          "waterIntakeFacilitieNameBg": {
            "type": "string",
            "description": "Наименование на водовземното съоръжение (BG)",
            "nullable": true
          },
          "waterIntakeFacilitieNameEn": {
            "type": "string",
            "description": "Наименование на водовземното съоръжение (EN)",
            "nullable": true
          },
          "nameOfTheGroundwaterBodyOrSource": {
            "type": "string",
            "description": "Наименование на подземното водно тяло/извора",
            "nullable": true
          },
          "placeOperationCountryLabel": {
            "type": "string",
            "description": "Локация/място на експлоатация - държава",
            "nullable": true
          },
          "placeOperationEkatteLabel": {
            "type": "string",
            "description": "Локация/място на експлоатация - населено място",
            "nullable": true
          },
          "placeOperationAddress": {
            "type": "string",
            "description": "Локация/място на експлоатация - адрес",
            "nullable": true
          },
          "concessionAgreementNumber": {
            "type": "string",
            "description": "№ на концесионен договор",
            "nullable": true
          },
          "concessionAgreementDate": {
            "type": "string",
            "description": "Дата на сключване на концесионен договор",
            "format": "date-time",
            "nullable": true
          },
          "notificationNumber": {
            "type": "string",
            "description": "№ на уведомление",
            "nullable": true
          },
          "notificationDate": {
            "type": "string",
            "description": "Дата на издаване на уведомление",
            "format": "date-time",
            "nullable": true
          },
          "registeredDate": {
            "type": "string",
            "description": "Дата на регистрация",
            "format": "date-time",
            "nullable": true
          },
          "stoppingFrom": {
            "type": "string",
            "description": "Спиране на дейността от дата",
            "format": "date-time",
            "nullable": true
          },
          "stoppingTo": {
            "type": "string",
            "description": "Спиране на дейността до дата",
            "format": "date-time",
            "nullable": true
          },
          "restoringActivityDate": {
            "type": "string",
            "description": "Възстановяване на дейността от дата",
            "format": "date-time",
            "nullable": true
          },
          "statusLabel": {
            "type": "string",
            "description": "Статус",
            "nullable": true
          },
          "statusCode": {
            "type": "string",
            "description": "Статус код",
            "nullable": true
          },
          "certificates": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BottledWaterCertificateListApiResult"
            },
            "description": "Списък с данни за сертификати",
            "nullable": true
          },
          "permits": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BottledWaterPermitListApiResult"
            },
            "description": "Списък с данни за разрешителни",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "BottledWaterPermitListApiResult": {
        "type": "object",
        "properties": {
          "number": {
            "type": "string",
            "description": "№ на разрешително",
            "nullable": true
          },
          "date": {
            "type": "string",
            "description": "Дата на издаване на разрешително",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ContractorDDDActivitiesApiResult": {
        "type": "object",
        "properties": {
          "recordsTotal": {
            "type": "integer",
            "format": "int32"
          },
          "registry": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ContractorDDDActivitiesListApiResult"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ContractorDDDActivitiesListApiResult": {
        "type": "object",
        "properties": {
          "districtLabel": {
            "type": "string",
            "nullable": true
          },
          "tradingCompanyName": {
            "type": "string",
            "nullable": true
          },
          "tradingCompanyAddressLabel": {
            "type": "string",
            "nullable": true
          },
          "phone": {
            "type": "string",
            "nullable": true
          },
          "email": {
            "type": "string",
            "nullable": true
          },
          "certificateLegalCapacity": {
            "type": "string",
            "nullable": true
          },
          "certificateLegalCapacityDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "certificateLegalCapacityOld": {
            "type": "string",
            "nullable": true
          },
          "certificateLegalCapacityDateOld": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "administrationLabel": {
            "type": "string",
            "nullable": true
          },
          "activities": {
            "type": "string",
            "nullable": true
          },
          "statusLabel": {
            "type": "string",
            "nullable": true
          },
          "dateRegistered": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "DrugstoreApiResult": {
        "type": "object",
        "properties": {
          "recordsTotal": {
            "type": "integer",
            "format": "int32"
          },
          "registry": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DrugstoreListApiResult"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "DrugstoreListApiResult": {
        "type": "object",
        "properties": {
          "companyName": {
            "type": "string",
            "nullable": true
          },
          "companyIdentifierType": {
            "type": "string",
            "nullable": true
          },
          "companyIdentifier": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "type": "string",
            "nullable": true
          },
          "companySeatEkatte": {
            "type": "string",
            "nullable": true
          },
          "companySeatPostcode": {
            "type": "string",
            "nullable": true
          },
          "companySeatAddress": {
            "type": "string",
            "nullable": true
          },
          "mgrName": {
            "type": "string",
            "nullable": true
          },
          "storeEkatte": {
            "type": "string",
            "nullable": true
          },
          "storePostcode": {
            "type": "string",
            "nullable": true
          },
          "storeAddress": {
            "type": "string",
            "nullable": true
          },
          "storePhone": {
            "type": "string",
            "nullable": true
          },
          "storeEmail": {
            "type": "string",
            "nullable": true
          },
          "storeWebsite": {
            "type": "string",
            "nullable": true
          },
          "hasOnlineCommerce": {
            "type": "boolean"
          },
          "onlineCommerceUrl": {
            "type": "string",
            "nullable": true
          },
          "registrationDate": {
            "type": "string",
            "nullable": true
          },
          "numberReg": {
            "type": "string",
            "nullable": true
          },
          "activities": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ExportProductsHumanHealthApiResult": {
        "type": "object",
        "properties": {
          "recordsTotal": {
            "type": "integer",
            "format": "int32"
          },
          "registry": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ExportProductsHumanHealthListApiResult"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ExportProductsHumanHealthListApiResult": {
        "type": "object",
        "properties": {
          "applicantType": {
            "type": "string",
            "nullable": true
          },
          "applicantName": {
            "type": "string",
            "nullable": true
          },
          "applicantAddressText": {
            "type": "string",
            "nullable": true
          },
          "proxyNumber": {
            "type": "string",
            "nullable": true
          },
          "proxyDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "exporterName": {
            "type": "string",
            "nullable": true
          },
          "exporterAddressText": {
            "type": "string",
            "nullable": true
          },
          "manufacturerName": {
            "type": "string",
            "nullable": true
          },
          "manufacturerAddressText": {
            "type": "string",
            "nullable": true
          },
          "products": {
            "type": "string",
            "nullable": true
          },
          "exportCountryText": {
            "type": "string",
            "nullable": true
          },
          "certificateNumber": {
            "type": "string",
            "nullable": true
          },
          "certificateDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "certificateToDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "registeredDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "FoodMarketApiResult": {
        "type": "object",
        "properties": {
          "recordsTotal": {
            "type": "integer",
            "format": "int32"
          },
          "registry": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FoodMarketListApiResult"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "FoodMarketListApiResult": {
        "type": "object",
        "properties": {
          "category": {
            "type": "string",
            "nullable": true
          },
          "notificationNumber": {
            "type": "string",
            "nullable": true
          },
          "notificationDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "businessOperatorName": {
            "type": "string",
            "nullable": true
          },
          "businessOperatorAddress": {
            "type": "string",
            "nullable": true
          },
          "productionFacilityName": {
            "type": "string",
            "nullable": true
          },
          "productionFacilityCountry": {
            "type": "string",
            "nullable": true
          },
          "productionFacilityAddressText": {
            "type": "string",
            "nullable": true
          },
          "distributionFacilityTypeAddressText": {
            "type": "string",
            "nullable": true
          },
          "distributionFacilityAddress": {
            "type": "string",
            "nullable": true
          },
          "foodName": {
            "type": "string",
            "nullable": true
          },
          "foodComposition": {
            "type": "string",
            "nullable": true
          },
          "foodPurpose": {
            "type": "string",
            "nullable": true
          },
          "datePlacingMarket": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "statusLabel": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "HospitalApiResult": {
        "type": "object",
        "properties": {
          "recordsTotal": {
            "type": "integer",
            "format": "int32"
          },
          "registry": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/HospitalListApiResult"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "HospitalListApiResult": {
        "type": "object",
        "properties": {
          "oldNumber": {
            "type": "string",
            "nullable": true
          },
          "number": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "identifier": {
            "type": "string",
            "nullable": true
          },
          "city": {
            "type": "string",
            "nullable": true
          },
          "vidCode": {
            "type": "string",
            "nullable": true
          },
          "ownershipCode": {
            "type": "string",
            "nullable": true
          },
          "statusCode": {
            "type": "integer",
            "format": "int32"
          },
          "countAddress": {
            "type": "integer",
            "format": "int32"
          },
          "countBeds": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "LeaderDDDActivitiesApiResult": {
        "type": "object",
        "properties": {
          "recordsTotal": {
            "type": "integer",
            "format": "int32"
          },
          "registry": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/LeaderDDDActivitiesListApiResult"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "LeaderDDDActivitiesListApiResult": {
        "type": "object",
        "properties": {
          "leaderName": {
            "type": "string",
            "nullable": true
          },
          "certificateLegalCapacity": {
            "type": "string",
            "nullable": true
          },
          "certificateLegalCapacityDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "certificateLegalCapacityOld": {
            "type": "string",
            "nullable": true
          },
          "certificateLegalCapacityDateOld": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "administrationLabel": {
            "type": "string",
            "nullable": true
          },
          "dateRegistered": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "LicensesUnderZKNVPApiResult": {
        "type": "object",
        "properties": {
          "recordsTotal": {
            "type": "integer",
            "format": "int32"
          },
          "registry": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/LicensesUnderZKNVPListApiResult"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "LicensesUnderZKNVPListApiResult": {
        "type": "object",
        "properties": {
          "typeLabel": {
            "type": "string",
            "nullable": true
          },
          "personFullName": {
            "type": "string",
            "nullable": true
          },
          "personAddressLabel": {
            "type": "string",
            "nullable": true
          },
          "licenseNumber": {
            "type": "string",
            "nullable": true
          },
          "licenseDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "licenseDateTo": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "statusLabel": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "MedicalInstitutionsTrainingApiResult": {
        "type": "object",
        "properties": {
          "recordsTotal": {
            "type": "integer",
            "format": "int32"
          },
          "registry": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/MedicalInstitutionsTrainingListApiResult"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "MedicalInstitutionsTrainingListApiResult": {
        "type": "object",
        "properties": {
          "number": {
            "type": "string",
            "nullable": true
          },
          "medicalFacility": {
            "type": "string",
            "nullable": true
          },
          "specialties": {
            "type": "string",
            "nullable": true
          },
          "receivedApprovalForTraining": {
            "type": "string",
            "nullable": true
          },
          "registeredDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "registeredOrderNumber": {
            "type": "string",
            "nullable": true
          },
          "registeredOrderDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "registeredValidityApprovalDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NomenclatureApiResult": {
        "type": "object",
        "properties": {
          "key": {
            "type": "string",
            "nullable": true
          },
          "value": {
            "type": "string",
            "nullable": true
          },
          "active_from": {
            "type": "string",
            "format": "date-time"
          },
          "active_to": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "NomenclatureTypeApiResult": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "OutpatientCareAddressApiResult": {
        "type": "object",
        "properties": {
          "typeaddresscode": {
            "type": "string",
            "nullable": true
          },
          "typeaddresslabel": {
            "type": "string",
            "nullable": true
          },
          "district": {
            "type": "string",
            "nullable": true
          },
          "munincipaliti": {
            "type": "string",
            "nullable": true
          },
          "region": {
            "type": "string",
            "nullable": true
          },
          "ekatte": {
            "type": "string",
            "nullable": true
          },
          "fulladdress": {
            "type": "string",
            "nullable": true
          },
          "categorytransplant": {
            "type": "string",
            "nullable": true
          },
          "transplantactivity": {
            "type": "string",
            "nullable": true
          },
          "specialities": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/OutpatientCareOtherDataApiResult"
            },
            "nullable": true
          },
          "activities": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/OutpatientCareOtherDataApiResult"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "OutpatientCareApiResult": {
        "type": "object",
        "properties": {
          "oldNumber": {
            "type": "string",
            "nullable": true
          },
          "number": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "registrationDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "vid": {
            "type": "string",
            "nullable": true
          },
          "statuslabel": {
            "type": "string",
            "nullable": true
          },
          "isExistCertificate": {
            "type": "boolean"
          },
          "deletedNumber": {
            "type": "string",
            "nullable": true
          },
          "dateDeleted": {
            "type": "string",
            "nullable": true
          },
          "owners": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/OutpatientCareOwnerApiResult"
            },
            "nullable": true
          },
          "address": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/OutpatientCareAddressApiResult"
            },
            "nullable": true
          },
          "medicalStaff": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/OutpatientCareMedicalStaffApiResult"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "OutpatientCareListApiResult": {
        "type": "object",
        "properties": {
          "oldNumber": {
            "type": "string",
            "nullable": true
          },
          "number": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "identifier": {
            "type": "string",
            "nullable": true
          },
          "city": {
            "type": "string",
            "nullable": true
          },
          "registrationDate": {
            "type": "string",
            "nullable": true
          },
          "vidCode": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "statusCode": {
            "type": "integer",
            "format": "int32"
          },
          "dateDeleted": {
            "type": "string",
            "nullable": true
          },
          "countAddress": {
            "type": "integer",
            "format": "int32"
          },
          "countMedicalStaff": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "OutpatientCareMedicalStaffApiResult": {
        "type": "object",
        "properties": {
          "typecode": {
            "type": "string",
            "nullable": true
          },
          "typelabel": {
            "type": "string",
            "nullable": true
          },
          "firstname": {
            "type": "string",
            "nullable": true
          },
          "middlename": {
            "type": "string",
            "nullable": true
          },
          "lastname": {
            "type": "string",
            "nullable": true
          },
          "specialities": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/OutpatientCareOtherDataApiResult"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "OutpatientCareOtherDataApiResult": {
        "type": "object",
        "properties": {
          "label": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "OutpatientCareOwnerApiResult": {
        "type": "object",
        "properties": {
          "firstname": {
            "type": "string",
            "nullable": true
          },
          "middlename": {
            "type": "string",
            "nullable": true
          },
          "lastname": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "OutpatientCareSmallApiResult": {
        "type": "object",
        "properties": {
          "o": {
            "type": "string",
            "nullable": true
          },
          "n": {
            "type": "string",
            "nullable": true
          },
          "l": {
            "type": "string",
            "nullable": true
          },
          "d": {
            "type": "string",
            "nullable": true
          },
          "v": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "s": {
            "type": "integer",
            "format": "int32"
          },
          "c": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "OutpatientCareSmallWithFilterApiResult": {
        "type": "object",
        "properties": {
          "recordsTotal": {
            "type": "integer",
            "format": "int32"
          },
          "registry": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/OutpatientCareListApiResult"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PermitsArt87Para1ZKVNPApiResult": {
        "type": "object",
        "properties": {
          "recordsTotal": {
            "type": "integer",
            "format": "int32"
          },
          "registry": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PermitsArt87Para1ZKVNPListApiResult"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PermitsArt87Para1ZKVNPListApiResult": {
        "type": "object",
        "properties": {
          "personFullName": {
            "type": "string",
            "nullable": true
          },
          "personAddressLabel": {
            "type": "string",
            "nullable": true
          },
          "licenseNumber": {
            "type": "string",
            "nullable": true
          },
          "licenseDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "licenseDateTo": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "statusLabel": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PharmacyApiResult": {
        "type": "object",
        "properties": {
          "apteka_n": {
            "type": "string",
            "nullable": true
          },
          "old_n_full": {
            "type": "string",
            "nullable": true
          },
          "full_n": {
            "type": "string",
            "nullable": true
          },
          "chng_perm_n": {
            "type": "integer",
            "format": "int32"
          },
          "chng_temp_n": {
            "type": "integer",
            "format": "int32"
          },
          "chng_dt": {
            "type": "string",
            "format": "date-time"
          },
          "register_dt": {
            "type": "string",
            "format": "date-time"
          },
          "c_name": {
            "type": "string",
            "nullable": true
          },
          "c_ekatte": {
            "type": "string",
            "nullable": true
          },
          "c_town": {
            "type": "string",
            "nullable": true
          },
          "c_address": {
            "type": "string",
            "nullable": true
          },
          "c_eik": {
            "type": "string",
            "nullable": true
          },
          "a_ekatte": {
            "type": "string",
            "nullable": true
          },
          "a_rghi": {
            "type": "string",
            "nullable": true
          },
          "a_town": {
            "type": "string",
            "nullable": true
          },
          "a_address": {
            "type": "string",
            "nullable": true
          },
          "a_gps": {
            "type": "string",
            "nullable": true
          },
          "a_activities": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "a_type": {
            "type": "integer",
            "format": "int32"
          },
          "a_notes": {
            "type": "string",
            "nullable": true
          },
          "p_firstname": {
            "type": "string",
            "nullable": true
          },
          "p_surname": {
            "type": "string",
            "nullable": true
          },
          "p_familyname": {
            "type": "string",
            "nullable": true
          },
          "p_uin": {
            "type": "string",
            "nullable": true
          },
          "p_type": {
            "type": "integer",
            "format": "int32"
          },
          "drug_license_n": {
            "type": "string",
            "nullable": true
          },
          "drug_license_dt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "drug_license_p_uin": {
            "type": "string",
            "nullable": true
          },
          "cancel_num": {
            "type": "string",
            "nullable": true
          },
          "cancel_date": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "cancel_notes": {
            "type": "string",
            "nullable": true
          },
          "is_active": {
            "type": "boolean"
          },
          "is_last": {
            "type": "boolean"
          },
          "status": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ProblemDetails": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "nullable": true
          },
          "title": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "detail": {
            "type": "string",
            "nullable": true
          },
          "instance": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": { }
      },
      "RegisterDDDApiResult": {
        "type": "object",
        "properties": {
          "recordsTotal": {
            "type": "integer",
            "format": "int32"
          },
          "registry": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RegisterDDDListApiResult"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "RegisterDDDListApiResult": {
        "type": "object",
        "properties": {
          "notificationNumber": {
            "type": "string",
            "nullable": true
          },
          "notificationDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "typeNotificationPersonId": {
            "type": "string",
            "nullable": true
          },
          "notificationPersonName": {
            "type": "string",
            "nullable": true
          },
          "notificationPersonAddressLabel": {
            "type": "string",
            "nullable": true
          },
          "phone": {
            "type": "string",
            "nullable": true
          },
          "email": {
            "type": "string",
            "nullable": true
          },
          "tradingCompanyName": {
            "type": "string",
            "nullable": true
          },
          "tradingCompanyAddressLabel": {
            "type": "string",
            "nullable": true
          },
          "activitisLabel": {
            "type": "string",
            "nullable": true
          },
          "leaderDDDActivitiesName": {
            "type": "string",
            "nullable": true
          },
          "registeredDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "WaterCertificateApiResult": {
        "type": "object",
        "properties": {
          "recordsTotal": {
            "type": "integer",
            "format": "int32"
          },
          "registry": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/WaterCertificateListApiResult"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "WaterCertificateListApiResult": {
        "type": "object",
        "properties": {
          "categoryLabel": {
            "type": "string",
            "nullable": true
          },
          "number": {
            "type": "string",
            "nullable": true
          },
          "date": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "toDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "balneologicalAssessmentNumberData": {
            "type": "string",
            "nullable": true
          },
          "addressText": {
            "type": "string",
            "nullable": true
          },
          "troveNameBG": {
            "type": "string",
            "nullable": true
          },
          "waterIntakeFacilitie": {
            "type": "string",
            "nullable": true
          },
          "certificatePreviousPeriodData": {
            "type": "string",
            "nullable": true
          },
          "registrationDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "statusLabel": {
            "type": "string",
            "nullable": true
          },
          "statusCode": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "WholesaleMedicalProductsCertificatesApiResult": {
        "type": "object",
        "properties": {
          "recordsTotal": {
            "type": "integer",
            "format": "int32"
          },
          "registry": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/WholesaleMedicalProductsCertificatesListApiResult"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "WholesaleMedicalProductsCertificatesContactsApiResult": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "phone": {
            "type": "string",
            "nullable": true
          },
          "email": {
            "type": "string",
            "nullable": true
          },
          "address": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "WholesaleMedicalProductsCertificatesListApiResult": {
        "type": "object",
        "properties": {
          "certificateNumber": {
            "type": "string",
            "nullable": true
          },
          "certificateDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "dateRegistered": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "permitNumber": {
            "type": "string",
            "nullable": true
          },
          "permitDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "permitIssuer": {
            "type": "string",
            "nullable": true
          },
          "permitCountry": {
            "type": "string",
            "nullable": true
          },
          "wholesaleName": {
            "type": "string",
            "nullable": true
          },
          "wholesaleIdentifier": {
            "type": "string",
            "nullable": true
          },
          "wholesaleCountry": {
            "type": "string",
            "nullable": true
          },
          "wholesaleAddress": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "type": "string",
            "nullable": true
          },
          "contacts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/WholesaleMedicalProductsCertificatesContactsApiResult"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "WholesaleMedicalProductsPermitsAddressApiResult": {
        "type": "object",
        "properties": {
          "number": {
            "type": "string",
            "nullable": true
          },
          "addressText": {
            "type": "string",
            "nullable": true
          },
          "Phone": {
            "type": "string",
            "nullable": true
          },
          "email": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "type": "string",
            "nullable": true
          },
          "medicalProducts": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "permittedWholesaleTradeActivities": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "medicinalProductsAdditionalRequirements": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "pharmacists": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/WholesaleMedicalProductsPermitsPharmacistApiResult"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "WholesaleMedicalProductsPermitsApiResult": {
        "type": "object",
        "properties": {
          "recordsTotal": {
            "type": "integer",
            "format": "int32"
          },
          "registry": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/WholesaleMedicalProductsPermitsListApiResult"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "WholesaleMedicalProductsPermitsListApiResult": {
        "type": "object",
        "properties": {
          "certificateNumber": {
            "type": "string",
            "nullable": true
          },
          "certificateDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "dateRegistered": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "wholesalerName": {
            "type": "string",
            "nullable": true
          },
          "address": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "type": "string",
            "nullable": true
          },
          "terminationOrderNumber": {
            "type": "string",
            "nullable": true
          },
          "terminationDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "addresses": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/WholesaleMedicalProductsPermitsAddressApiResult"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "WholesaleMedicalProductsPermitsPharmacistApiResult": {
        "type": "object",
        "properties": {
          "pharmacistName": {
            "type": "string",
            "nullable": true
          },
          "uin": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      }
    }
  },
  "tags": [
    {
      "name": "PharmacyApi",
      "description": "Регистър на аптеките в Република България"
    },
    {
      "name": "OutpatientCareApi",
      "description": "Регистър на лечебни заведения за извънболнична помощ в Република България"
    },
    {
      "name": "HospitalApi",
      "description": "Регистър на лечебни заведения за болнична помощ в Република България"
    },
    {
      "name": "WholesaleMedicalProductsApi",
      "description": "Регистър на търговци на едро с ЛП в Република България"
    },
    {
      "name": "DrugstoreApi",
      "description": "Регистър на дрогерии в Република България"
    },
    {
      "name": "ContractorDDDActivitiesApi",
      "description": "Регистър на изпълнители на ДДД дейности"
    },
    {
      "name": "LeaderDDDActivitiesApi",
      "description": "Регистър на ръководители на ДДД дейности"
    },
    {
      "name": "RegisterDDDApi",
      "description": "Регистър ДДД дейности"
    },
    {
      "name": "RegisterWatersApi",
      "description": "Регистър на минерални и изворни води"
    },
    {
      "name": "ExportProductsHumanHealthApi",
      "description": "Регистър на издадените здравни сертификати за износ на продукти и стоки със значение за здравето на човека"
    },
    {
      "name": "TestingMedicalRadiologicalEquipmentApi",
      "description": "Регистър на лицата, получили удостоверение за регистрация за извършване на дейности по изпитване качеството на медицинската радиологична апаратура"
    },
    {
      "name": "LicensesUnderZKNVPApi",
      "description": "Регистър на издадените лицензии по ЗКНВП"
    },
    {
      "name": "PermitsArt87Para1ZKVNPApi",
      "description": "Регистър на издадените разрешителни по чл. 87, ал. 1 от ЗКНВП"
    },
    {
      "name": "MedicalInstitutionsTrainingApi",
      "description": "Регистър на лечебните заведения, получили одобрение за обучение на студенти и специализанти"
    },
    {
      "name": "FoodMarketApi",
      "description": "Регистър на пуснатите на пазара храни по чл. 76, ал. 1 от Закона за храните"
    },
    {
      "name": "BalneologicalAssessmentApi",
      "description": "Регистър на балнеологичната оценка към регистър води"
    },
    {
      "name": "WaterCertificateApi",
      "description": "Регистър на издадените сертификати към регистър води"
    }
  ]
}