{
  "openapi": "3.0.4",
  "info": {
    "title": "InsightDX.Api",
    "version": "v1"
  },
  "paths": {
    "/batch-results/{id}/pdf": {
      "get": {
        "tags": [
          "BatchResult"
        ],
        "parameters": [
          {
            "name": "Id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Logged-In-Location-Id",
            "in": "header",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/pdf": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/pdf": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/batch-results": {
      "post": {
        "tags": [
          "BatchResult"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/InsightDX.Api.Features.BatchResult.Create.BatchResultCreateRequestModel"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/InsightDX.Api.Features.BatchResult.Create.BatchResultCreateRequestModel"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/InsightDX.Api.Features.BatchResult.Create.BatchResultCreateRequestModel"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/chat/token": {
      "get": {
        "tags": [
          "Chat"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Chat.ChatTokenViewModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Chat.ChatTokenViewModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Chat.ChatTokenViewModel"
                }
              }
            }
          }
        }
      }
    },
    "/containers": {
      "get": {
        "tags": [
          "Container"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/InsightDX.Api.Features.Container.ContainerViewModel"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/InsightDX.Api.Features.Container.ContainerViewModel"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/InsightDX.Api.Features.Container.ContainerViewModel"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/": {
      "get": {
        "tags": [
          "Default"
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/diagnosis/favorites": {
      "get": {
        "tags": [
          "Diagnosis"
        ],
        "parameters": [
          {
            "name": "PracticeId",
            "in": "query",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/InsightDX.Api.Features.Diagnosis.DiagnosisViewModel"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/InsightDX.Api.Features.Diagnosis.DiagnosisViewModel"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/InsightDX.Api.Features.Diagnosis.DiagnosisViewModel"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/documents/{pageName}": {
      "get": {
        "tags": [
          "Documents"
        ],
        "parameters": [
          {
            "name": "PageName",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Code",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/InsightDX.Application.Aggregates.DownloadableDocument"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/InsightDX.Application.Aggregates.DownloadableDocument"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/InsightDX.Application.Aggregates.DownloadableDocument"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/global-result-search-parameters": {
      "post": {
        "tags": [
          "GlobalResultSearchParameter"
        ],
        "parameters": [
          {
            "name": "account",
            "in": "header",
            "schema": {
              "$ref": "#/components/schemas/InsightDX.Api.Common.Models.LoggedInAccountRequestModel"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/InsightDX.Api.Features.GlobalResultSearchParameters.GlobalResultSearchParameterCreateRequestModel"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/InsightDX.Api.Features.GlobalResultSearchParameters.GlobalResultSearchParameterCreateRequestModel"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/InsightDX.Api.Features.GlobalResultSearchParameters.GlobalResultSearchParameterCreateRequestModel"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/global-result-search-parameters/{id}": {
      "get": {
        "tags": [
          "GlobalResultSearchParameter"
        ],
        "parameters": [
          {
            "name": "Id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "account",
            "in": "header",
            "schema": {
              "$ref": "#/components/schemas/InsightDX.Api.Common.Models.LoggedInAccountRequestModel"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.GlobalResultSearchParameters.GlobalResultSearchParameterViewModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.GlobalResultSearchParameters.GlobalResultSearchParameterViewModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.GlobalResultSearchParameters.GlobalResultSearchParameterViewModel"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "GlobalResultSearchParameter"
        ],
        "parameters": [
          {
            "name": "Id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "account",
            "in": "header",
            "schema": {
              "$ref": "#/components/schemas/InsightDX.Api.Common.Models.LoggedInAccountRequestModel"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/InsightDX.Api.Features.GlobalResultSearchParameters.GlobalResultSearchParameterUpdateRequestModel"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/InsightDX.Api.Features.GlobalResultSearchParameters.GlobalResultSearchParameterUpdateRequestModel"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/InsightDX.Api.Features.GlobalResultSearchParameters.GlobalResultSearchParameterUpdateRequestModel"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/global-results/practices/{practiceId}": {
      "get": {
        "tags": [
          "GlobalResultsExport"
        ],
        "parameters": [
          {
            "name": "PracticeId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "PageSize",
            "in": "query",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "PageNumber",
            "in": "query",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "account",
            "in": "header",
            "schema": {
              "$ref": "#/components/schemas/InsightDX.Api.Common.Models.LoggedInAccountRequestModel"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.GlobalResults.SavedReports.GlobalResultsSearchSavedReportsViewModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.GlobalResults.SavedReports.GlobalResultsSearchSavedReportsViewModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.GlobalResults.SavedReports.GlobalResultsSearchSavedReportsViewModel"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/global-results/{id}": {
      "get": {
        "tags": [
          "GlobalResultsExport"
        ],
        "parameters": [
          {
            "name": "Id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "account",
            "in": "header",
            "schema": {
              "$ref": "#/components/schemas/InsightDX.Api.Common.Models.LoggedInAccountRequestModel"
            }
          }
        ],
        "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"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/global-settings": {
      "get": {
        "tags": [
          "GlobalSettings"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.GlobalConfiguration.GlobalSettingsViewModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.GlobalConfiguration.GlobalSettingsViewModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.GlobalConfiguration.GlobalSettingsViewModel"
                }
              }
            }
          }
        }
      }
    },
    "/insurance-companies/search": {
      "get": {
        "tags": [
          "InsuranceCompany"
        ],
        "parameters": [
          {
            "name": "SearchText",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "PageNumber",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "PageSize",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/InsightDX.Api.Features.Patient.InsuranceCompany.InsuranceCompanySearchResultItem"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/InsightDX.Api.Features.Patient.InsuranceCompany.InsuranceCompanySearchResultItem"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/InsightDX.Api.Features.Patient.InsuranceCompany.InsuranceCompanySearchResultItem"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/laboratories": {
      "get": {
        "tags": [
          "Laboratory"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/InsightDX.Api.Features.Laboratory.LaboratoryViewModel"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/InsightDX.Api.Features.Laboratory.LaboratoryViewModel"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/InsightDX.Api.Features.Laboratory.LaboratoryViewModel"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/locations/{locationId}": {
      "get": {
        "tags": [
          "Location"
        ],
        "parameters": [
          {
            "name": "LocationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Practice.Location.LocationInfoViewModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Practice.Location.LocationInfoViewModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Practice.Location.LocationInfoViewModel"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/locations/{locationId}/settings": {
      "get": {
        "tags": [
          "Location"
        ],
        "parameters": [
          {
            "name": "account",
            "in": "header",
            "schema": {
              "$ref": "#/components/schemas/InsightDX.Api.Common.Models.LoggedInAccountRequestModel"
            }
          },
          {
            "name": "LocationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Practice.Location.Settings.LocationSettingsViewModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Practice.Location.Settings.LocationSettingsViewModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Practice.Location.Settings.LocationSettingsViewModel"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/locations/{locationId}/lab-script/pdf": {
      "post": {
        "tags": [
          "Location"
        ],
        "parameters": [
          {
            "name": "LocationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/InsightDX.Api.Features.Practice.Location.LabScript.PracticeLabScriptPdfRequestModel"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/InsightDX.Api.Features.Practice.Location.LabScript.PracticeLabScriptPdfRequestModel"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/InsightDX.Api.Features.Practice.Location.LabScript.PracticeLabScriptPdfRequestModel"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/maintenance-messages": {
      "get": {
        "tags": [
          "MaintenanceMessages"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Application.Features.Maintenance.Models.MaintenanceMessagesResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Application.Features.Maintenance.Models.MaintenanceMessagesResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Application.Features.Maintenance.Models.MaintenanceMessagesResponse"
                }
              }
            }
          }
        }
      }
    },
    "/manifests": {
      "post": {
        "tags": [
          "Manifest"
        ],
        "parameters": [
          {
            "name": "account",
            "in": "header",
            "schema": {
              "$ref": "#/components/schemas/InsightDX.Api.Common.Models.LoggedInAccountRequestModel"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/InsightDX.Api.Features.Manifest.ManifestCreateRequestModel"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/InsightDX.Api.Features.Manifest.ManifestCreateRequestModel"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/InsightDX.Api.Features.Manifest.ManifestCreateRequestModel"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Manifest.ManifestIdViewModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Manifest.ManifestIdViewModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Manifest.ManifestIdViewModel"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Manifest.ManifestErrorViewModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Manifest.ManifestErrorViewModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Manifest.ManifestErrorViewModel"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/manifests/{manifestId}/pdf": {
      "get": {
        "tags": [
          "Manifest"
        ],
        "parameters": [
          {
            "name": "ManifestId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "account",
            "in": "header",
            "schema": {
              "$ref": "#/components/schemas/InsightDX.Api.Common.Models.LoggedInAccountRequestModel"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Manifest.ManifestIdViewModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Manifest.ManifestIdViewModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Manifest.ManifestIdViewModel"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/manifests/{id}": {
      "get": {
        "tags": [
          "Manifest"
        ],
        "parameters": [
          {
            "name": "Id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "PracticeId",
            "in": "query",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "account",
            "in": "header",
            "schema": {
              "$ref": "#/components/schemas/InsightDX.Api.Common.Models.LoggedInAccountRequestModel"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Manifest.ManifestDetailsViewModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Manifest.ManifestDetailsViewModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Manifest.ManifestDetailsViewModel"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Manifest"
        ],
        "parameters": [
          {
            "name": "Id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "PracticeId",
            "in": "query",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "account",
            "in": "header",
            "schema": {
              "$ref": "#/components/schemas/InsightDX.Api.Common.Models.LoggedInAccountRequestModel"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/manifests/{manifestId}": {
      "put": {
        "tags": [
          "Manifest"
        ],
        "parameters": [
          {
            "name": "ManifestId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "account",
            "in": "header",
            "schema": {
              "$ref": "#/components/schemas/InsightDX.Api.Common.Models.LoggedInAccountRequestModel"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/InsightDX.Api.Features.Manifest.ManifestUpdateRequestModel"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/InsightDX.Api.Features.Manifest.ManifestUpdateRequestModel"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/InsightDX.Api.Features.Manifest.ManifestUpdateRequestModel"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Manifest.ManifestIdViewModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Manifest.ManifestIdViewModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Manifest.ManifestIdViewModel"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/orders": {
      "post": {
        "tags": [
          "Order"
        ],
        "parameters": [
          {
            "name": "account",
            "in": "header",
            "schema": {
              "$ref": "#/components/schemas/InsightDX.Api.Common.Models.LoggedInAccountRequestModel"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/InsightDX.Api.Features.Order.Create.OrderCreateRequestModel"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/InsightDX.Api.Features.Order.Create.OrderCreateRequestModel"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/InsightDX.Api.Features.Order.Create.OrderCreateRequestModel"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Order.OrderIdViewModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Order.OrderIdViewModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Order.OrderIdViewModel"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/orders/draft": {
      "post": {
        "tags": [
          "Order"
        ],
        "parameters": [
          {
            "name": "account",
            "in": "header",
            "schema": {
              "$ref": "#/components/schemas/InsightDX.Api.Common.Models.LoggedInAccountRequestModel"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/InsightDX.Api.Features.Order.Create.OrderCreateRequestModel"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/InsightDX.Api.Features.Order.Create.OrderCreateRequestModel"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/InsightDX.Api.Features.Order.Create.OrderCreateRequestModel"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Order.OrderIdViewModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Order.OrderIdViewModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Order.OrderIdViewModel"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/orders/{id}": {
      "put": {
        "tags": [
          "Order"
        ],
        "parameters": [
          {
            "name": "Id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "IgnoreEvsValidationWarnings",
            "in": "query",
            "required": true,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "account",
            "in": "header",
            "schema": {
              "$ref": "#/components/schemas/InsightDX.Api.Common.Models.LoggedInAccountRequestModel"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/InsightDX.Api.Features.Order.Update.OrderUpdateRequestModel"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/InsightDX.Api.Features.Order.Update.OrderUpdateRequestModel"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/InsightDX.Api.Features.Order.Update.OrderUpdateRequestModel"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Order.Update.OrderValidationResultViewModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Order.Update.OrderValidationResultViewModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Order.Update.OrderValidationResultViewModel"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "Order"
        ],
        "parameters": [
          {
            "name": "Id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "account",
            "in": "header",
            "schema": {
              "$ref": "#/components/schemas/InsightDX.Api.Common.Models.LoggedInAccountRequestModel"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Order.OrderViewModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Order.OrderViewModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Order.OrderViewModel"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/orders/{id}/cancel": {
      "put": {
        "tags": [
          "Order"
        ],
        "parameters": [
          {
            "name": "Id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "account",
            "in": "header",
            "schema": {
              "$ref": "#/components/schemas/InsightDX.Api.Common.Models.LoggedInAccountRequestModel"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/InsightDX.Api.Features.Order.Cancel.OrderCancelRequestModel"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/InsightDX.Api.Features.Order.Cancel.OrderCancelRequestModel"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/InsightDX.Api.Features.Order.Cancel.OrderCancelRequestModel"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "409": {
            "description": "Conflict",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/orders/{id}/draft": {
      "put": {
        "tags": [
          "Order"
        ],
        "parameters": [
          {
            "name": "Id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "account",
            "in": "header",
            "schema": {
              "$ref": "#/components/schemas/InsightDX.Api.Common.Models.LoggedInAccountRequestModel"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/InsightDX.Api.Features.Order.Update.OrderUpdateRequestModel"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/InsightDX.Api.Features.Order.Update.OrderUpdateRequestModel"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/InsightDX.Api.Features.Order.Update.OrderUpdateRequestModel"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/orders/{id}/requisition": {
      "get": {
        "tags": [
          "Order"
        ],
        "parameters": [
          {
            "name": "Id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "SplitOrderIds",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "integer",
                "format": "int32"
              }
            }
          },
          {
            "name": "account",
            "in": "header",
            "schema": {
              "$ref": "#/components/schemas/InsightDX.Api.Common.Models.LoggedInAccountRequestModel"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Order.OrderViewModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Order.OrderViewModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Order.OrderViewModel"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/orders/{id}/aoe-questions": {
      "get": {
        "tags": [
          "Order"
        ],
        "parameters": [
          {
            "name": "Id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "account",
            "in": "header",
            "schema": {
              "$ref": "#/components/schemas/InsightDX.Api.Common.Models.LoggedInAccountRequestModel"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Order.Aoe.OrderAoeQuestionsViewModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Order.Aoe.OrderAoeQuestionsViewModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Order.Aoe.OrderAoeQuestionsViewModel"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/orders/{id}/patient-snapshot": {
      "get": {
        "tags": [
          "Order"
        ],
        "parameters": [
          {
            "name": "Id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "account",
            "in": "header",
            "schema": {
              "$ref": "#/components/schemas/InsightDX.Api.Common.Models.LoggedInAccountRequestModel"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Order.Aoe.OrderAoeQuestionsViewModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Order.Aoe.OrderAoeQuestionsViewModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Order.Aoe.OrderAoeQuestionsViewModel"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/orders/{id}/eligibility": {
      "put": {
        "tags": [
          "Order"
        ],
        "parameters": [
          {
            "name": "Id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/InsightDX.Api.Features.Order.Eligibility.EligibilityCheckRequestModel"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/InsightDX.Api.Features.Order.Eligibility.EligibilityCheckRequestModel"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/InsightDX.Api.Features.Order.Eligibility.EligibilityCheckRequestModel"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Order.Eligibility.EligibilityResponseViewModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Order.Eligibility.EligibilityResponseViewModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Order.Eligibility.EligibilityResponseViewModel"
                }
              }
            }
          }
        }
      }
    },
    "/orders/{id}/completion": {
      "post": {
        "tags": [
          "Order"
        ],
        "parameters": [
          {
            "name": "Id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "account",
            "in": "header",
            "schema": {
              "$ref": "#/components/schemas/InsightDX.Api.Common.Models.LoggedInAccountRequestModel"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Order.Complete.OrderCompleteViewModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Order.Complete.OrderCompleteViewModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Order.Complete.OrderCompleteViewModel"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/orders/emr": {
      "put": {
        "tags": [
          "Order"
        ],
        "parameters": [
          {
            "name": "account",
            "in": "header",
            "schema": {
              "$ref": "#/components/schemas/InsightDX.Api.Common.Models.LoggedInAccountRequestModel"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/InsightDX.Api.Features.Order.Emr.EmrOrderRequestModel"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/InsightDX.Api.Features.Order.Emr.EmrOrderRequestModel"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/InsightDX.Api.Features.Order.Emr.EmrOrderRequestModel"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Order.GetEmrOrderResultViewModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Order.GetEmrOrderResultViewModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Order.GetEmrOrderResultViewModel"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/orders/{id}/labscript": {
      "get": {
        "tags": [
          "Order"
        ],
        "parameters": [
          {
            "name": "Id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "account",
            "in": "header",
            "schema": {
              "$ref": "#/components/schemas/InsightDX.Api.Common.Models.LoggedInAccountRequestModel"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/orders/{id}/collection-guidance": {
      "get": {
        "tags": [
          "Order"
        ],
        "parameters": [
          {
            "name": "Id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "account",
            "in": "header",
            "schema": {
              "$ref": "#/components/schemas/InsightDX.Api.Common.Models.LoggedInAccountRequestModel"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Order.CollectionGuidance.CollectionGuidanceViewModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Order.CollectionGuidance.CollectionGuidanceViewModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Order.CollectionGuidance.CollectionGuidanceViewModel"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/orders/{id}/collection-guidance/pdf": {
      "get": {
        "tags": [
          "Order"
        ],
        "parameters": [
          {
            "name": "Id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "account",
            "in": "header",
            "schema": {
              "$ref": "#/components/schemas/InsightDX.Api.Common.Models.LoggedInAccountRequestModel"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/orders/{id}/abn": {
      "get": {
        "tags": [
          "Order"
        ],
        "parameters": [
          {
            "name": "Id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "DiagnosisIds",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "type": "integer",
                "format": "int32"
              }
            }
          },
          {
            "name": "account",
            "in": "header",
            "schema": {
              "$ref": "#/components/schemas/InsightDX.Api.Common.Models.LoggedInAccountRequestModel"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/orders/{id}/payment-consent-form": {
      "get": {
        "tags": [
          "Order"
        ],
        "parameters": [
          {
            "name": "Id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "account",
            "in": "header",
            "schema": {
              "$ref": "#/components/schemas/InsightDX.Api.Common.Models.LoggedInAccountRequestModel"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/pdf": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/pdf": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/orders/{id}/payment-info": {
      "get": {
        "tags": [
          "Order"
        ],
        "parameters": [
          {
            "name": "Id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "account",
            "in": "header",
            "schema": {
              "$ref": "#/components/schemas/InsightDX.Api.Common.Models.LoggedInAccountRequestModel"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.AuthorizePayment.PaymentInfoResultViewModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.AuthorizePayment.PaymentInfoResultViewModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.AuthorizePayment.PaymentInfoResultViewModel"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/orders/{id}/credit-card": {
      "put": {
        "tags": [
          "Order"
        ],
        "parameters": [
          {
            "name": "Id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "account",
            "in": "header",
            "schema": {
              "$ref": "#/components/schemas/InsightDX.Api.Common.Models.LoggedInAccountRequestModel"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/InsightDX.Api.Features.Order.CreditCard.OrderCreditCardUpdateRequestModel"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/InsightDX.Api.Features.Order.CreditCard.OrderCreditCardUpdateRequestModel"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/InsightDX.Api.Features.Order.CreditCard.OrderCreditCardUpdateRequestModel"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/order-cancellation-reasons": {
      "get": {
        "tags": [
          "OrderCancellationReasons"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/InsightDX.Api.Features.Order.OrderCancellationReasonViewModel"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/InsightDX.Api.Features.Order.OrderCancellationReasonViewModel"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/InsightDX.Api.Features.Order.OrderCancellationReasonViewModel"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/ordering-providers": {
      "get": {
        "tags": [
          "OrderingProvider"
        ],
        "parameters": [
          {
            "name": "PracticeId",
            "in": "query",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/InsightDX.Api.Features.OrderingProvider.OrderingProviderViewModel"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/InsightDX.Api.Features.OrderingProvider.OrderingProviderViewModel"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/InsightDX.Api.Features.OrderingProvider.OrderingProviderViewModel"
                  }
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "OrderingProvider"
        ],
        "parameters": [
          {
            "name": "account",
            "in": "header",
            "schema": {
              "$ref": "#/components/schemas/InsightDX.Api.Common.Models.LoggedInAccountRequestModel"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/InsightDX.Api.Features.OrderingProvider.OrderingProviderCreateRequestModel"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/InsightDX.Api.Features.OrderingProvider.OrderingProviderCreateRequestModel"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/InsightDX.Api.Features.OrderingProvider.OrderingProviderCreateRequestModel"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.OrderingProvider.ExternalOrderingProviderViewModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.OrderingProvider.ExternalOrderingProviderViewModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.OrderingProvider.ExternalOrderingProviderViewModel"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.OrderingProvider.OrderingProviderValidationFailedViewModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.OrderingProvider.OrderingProviderValidationFailedViewModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.OrderingProvider.OrderingProviderValidationFailedViewModel"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "409": {
            "description": "Conflict",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.OrderingProvider.OrderingProviderValidationFailedViewModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.OrderingProvider.OrderingProviderValidationFailedViewModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.OrderingProvider.OrderingProviderValidationFailedViewModel"
                }
              }
            }
          }
        }
      }
    },
    "/ordering-providers/copyTo": {
      "post": {
        "tags": [
          "OrderingProvider"
        ],
        "parameters": [
          {
            "name": "account",
            "in": "header",
            "schema": {
              "$ref": "#/components/schemas/InsightDX.Api.Common.Models.LoggedInAccountRequestModel"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/InsightDX.Api.Features.CopyToProvider.CopyToProviderCreateRequestModel"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/InsightDX.Api.Features.CopyToProvider.CopyToProviderCreateRequestModel"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/InsightDX.Api.Features.CopyToProvider.CopyToProviderCreateRequestModel"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.OrderingProvider.OrderingProviderIdViewModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.OrderingProvider.OrderingProviderIdViewModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.OrderingProvider.OrderingProviderIdViewModel"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.CopyToProvider.CopyToProviderValidationFailedViewModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.CopyToProvider.CopyToProviderValidationFailedViewModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.CopyToProvider.CopyToProviderValidationFailedViewModel"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "409": {
            "description": "Conflict",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.CopyToProvider.CopyToProviderValidationFailedViewModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.CopyToProvider.CopyToProviderValidationFailedViewModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.CopyToProvider.CopyToProviderValidationFailedViewModel"
                }
              }
            }
          }
        }
      }
    },
    "/ordering-providers/copyTo/{id}": {
      "put": {
        "tags": [
          "OrderingProvider"
        ],
        "parameters": [
          {
            "name": "Id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "account",
            "in": "header",
            "schema": {
              "$ref": "#/components/schemas/InsightDX.Api.Common.Models.LoggedInAccountRequestModel"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/InsightDX.Api.Features.CopyToProvider.CopyToProviderUpdateRequestModel"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/InsightDX.Api.Features.CopyToProvider.CopyToProviderUpdateRequestModel"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/InsightDX.Api.Features.CopyToProvider.CopyToProviderUpdateRequestModel"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.CopyToProvider.CopyToProviderValidationFailedViewModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.CopyToProvider.CopyToProviderValidationFailedViewModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.CopyToProvider.CopyToProviderValidationFailedViewModel"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "409": {
            "description": "Conflict",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.CopyToProvider.CopyToProviderValidationFailedViewModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.CopyToProvider.CopyToProviderValidationFailedViewModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.CopyToProvider.CopyToProviderValidationFailedViewModel"
                }
              }
            }
          }
        }
      }
    },
    "/ordering-providers/copyTo/{id}/fax": {
      "put": {
        "tags": [
          "OrderingProvider"
        ],
        "parameters": [
          {
            "name": "Id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "account",
            "in": "header",
            "schema": {
              "$ref": "#/components/schemas/InsightDX.Api.Common.Models.LoggedInAccountRequestModel"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/InsightDX.Api.Features.CopyToProvider.CopyToProviderFaxUpdateRequestModel"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/InsightDX.Api.Features.CopyToProvider.CopyToProviderFaxUpdateRequestModel"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/InsightDX.Api.Features.CopyToProvider.CopyToProviderFaxUpdateRequestModel"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/ordering-providers/{id}": {
      "put": {
        "tags": [
          "OrderingProvider"
        ],
        "parameters": [
          {
            "name": "Id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "account",
            "in": "header",
            "schema": {
              "$ref": "#/components/schemas/InsightDX.Api.Common.Models.LoggedInAccountRequestModel"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/InsightDX.Api.Features.OrderingProvider.OrderingProviderUpdateRequestModel"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/InsightDX.Api.Features.OrderingProvider.OrderingProviderUpdateRequestModel"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/InsightDX.Api.Features.OrderingProvider.OrderingProviderUpdateRequestModel"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.OrderingProvider.ExternalOrderingProviderViewModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.OrderingProvider.ExternalOrderingProviderViewModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.OrderingProvider.ExternalOrderingProviderViewModel"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.OrderingProvider.OrderingProviderValidationFailedViewModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.OrderingProvider.OrderingProviderValidationFailedViewModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.OrderingProvider.OrderingProviderValidationFailedViewModel"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "409": {
            "description": "Conflict",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.OrderingProvider.OrderingProviderValidationFailedViewModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.OrderingProvider.OrderingProviderValidationFailedViewModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.OrderingProvider.OrderingProviderValidationFailedViewModel"
                }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "OrderingProvider"
        ],
        "parameters": [
          {
            "name": "Id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "account",
            "in": "header",
            "schema": {
              "$ref": "#/components/schemas/InsightDX.Api.Common.Models.LoggedInAccountRequestModel"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.OrderingProvider.ExternalOrderingProviderViewModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.OrderingProvider.ExternalOrderingProviderViewModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.OrderingProvider.ExternalOrderingProviderViewModel"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/patients/{id}": {
      "get": {
        "tags": [
          "Patient"
        ],
        "parameters": [
          {
            "name": "Id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Patient.PatientViewModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Patient.PatientViewModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Patient.PatientViewModel"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "Patient"
        ],
        "parameters": [
          {
            "name": "Id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "account",
            "in": "header",
            "schema": {
              "$ref": "#/components/schemas/InsightDX.Api.Common.Models.LoggedInAccountRequestModel"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/InsightDX.Api.Features.Patient.Update.PatientUpdateRequestModel"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/InsightDX.Api.Features.Patient.Update.PatientUpdateRequestModel"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/InsightDX.Api.Features.Patient.Update.PatientUpdateRequestModel"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/patients": {
      "post": {
        "tags": [
          "Patient"
        ],
        "parameters": [
          {
            "name": "account",
            "in": "header",
            "schema": {
              "$ref": "#/components/schemas/InsightDX.Api.Common.Models.LoggedInAccountRequestModel"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/InsightDX.Api.Features.Patient.Create.PatientCreateRequestModel"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/InsightDX.Api.Features.Patient.Create.PatientCreateRequestModel"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/InsightDX.Api.Features.Patient.Create.PatientCreateRequestModel"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Patient.PatientIdViewModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Patient.PatientIdViewModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Patient.PatientIdViewModel"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/patients/{id}/orders-count": {
      "get": {
        "tags": [
          "Patient"
        ],
        "parameters": [
          {
            "name": "Id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Patient.PatientOrderResultsCount.PatientOrderResultsCountViewModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Patient.PatientOrderResultsCount.PatientOrderResultsCountViewModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Patient.PatientOrderResultsCount.PatientOrderResultsCountViewModel"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/patients/{id}/prior-balance": {
      "get": {
        "tags": [
          "Patient"
        ],
        "parameters": [
          {
            "name": "Id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "account",
            "in": "header",
            "schema": {
              "$ref": "#/components/schemas/InsightDX.Api.Common.Models.LoggedInAccountRequestModel"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Patient.PriorBalance.PatientPriorBalanceViewModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Patient.PriorBalance.PatientPriorBalanceViewModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Patient.PriorBalance.PatientPriorBalanceViewModel"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/patients/{id}/orders": {
      "get": {
        "tags": [
          "Patient"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Pagination.PageSize",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Pagination.PageNumber",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Patient.PatientOrderResults.PatientOrderResultSearchViewModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Patient.PatientOrderResults.PatientOrderResultSearchViewModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Patient.PatientOrderResults.PatientOrderResultSearchViewModel"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/patients/check-duplicate": {
      "post": {
        "tags": [
          "Patient"
        ],
        "parameters": [
          {
            "name": "account",
            "in": "header",
            "schema": {
              "$ref": "#/components/schemas/InsightDX.Api.Common.Models.LoggedInAccountRequestModel"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/InsightDX.Api.Features.Patient.CheckDuplicate.PatientCheckDuplicateRequestModel"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/InsightDX.Api.Features.Patient.CheckDuplicate.PatientCheckDuplicateRequestModel"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/InsightDX.Api.Features.Patient.CheckDuplicate.PatientCheckDuplicateRequestModel"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Patient.CheckDuplicate.PatientCheckDuplicateResultViewModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Patient.CheckDuplicate.PatientCheckDuplicateResultViewModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Patient.CheckDuplicate.PatientCheckDuplicateResultViewModel"
                }
              }
            }
          }
        }
      }
    },
    "/patients/{id}/external-results-approval": {
      "post": {
        "tags": [
          "Patient"
        ],
        "parameters": [
          {
            "name": "Id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "account",
            "in": "header",
            "schema": {
              "$ref": "#/components/schemas/InsightDX.Api.Common.Models.LoggedInAccountRequestModel"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/InsightDX.Api.Features.Patient.PatientExternalResults.ExternalResultsApprovalRequestModel"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/InsightDX.Api.Features.Patient.PatientExternalResults.ExternalResultsApprovalRequestModel"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/InsightDX.Api.Features.Patient.PatientExternalResults.ExternalResultsApprovalRequestModel"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/patients/{id}/external-results": {
      "get": {
        "tags": [
          "Patient"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "LocationId",
            "in": "query",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Pagination.PageSize",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Pagination.PageNumber",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "account",
            "in": "header",
            "schema": {
              "$ref": "#/components/schemas/InsightDX.Api.Common.Models.LoggedInAccountRequestModel"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Patient.PatientExternalResults.PatientExternalResultSearchViewModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Patient.PatientExternalResults.PatientExternalResultSearchViewModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Patient.PatientExternalResults.PatientExternalResultSearchViewModel"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/patients/bridge/search": {
      "post": {
        "tags": [
          "Patient"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/InsightDX.Api.Features.Patient.Bridge.BridgePatientSearchRequestModel"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/InsightDX.Api.Features.Patient.Bridge.BridgePatientSearchRequestModel"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/InsightDX.Api.Features.Patient.Bridge.BridgePatientSearchRequestModel"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Patient.Bridge.BridgePatientSearchViewModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Patient.Bridge.BridgePatientSearchViewModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Patient.Bridge.BridgePatientSearchViewModel"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway"
          }
        }
      }
    },
    "/patients/bridge-patients/{patientId}": {
      "get": {
        "tags": [
          "Patient"
        ],
        "parameters": [
          {
            "name": "patientId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "LocationId",
            "in": "query",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "account",
            "in": "header",
            "schema": {
              "$ref": "#/components/schemas/InsightDX.Api.Common.Models.LoggedInAccountRequestModel"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Patient.Bridge.Get.BridgePatientDetailsViewModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Patient.Bridge.Get.BridgePatientDetailsViewModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Patient.Bridge.Get.BridgePatientDetailsViewModel"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway"
          }
        }
      }
    },
    "/patient-demographics/parameters": {
      "get": {
        "tags": [
          "PatientDemographics"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Patient.Demographics.PatientDemographicsParametersViewModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Patient.Demographics.PatientDemographicsParametersViewModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Patient.Demographics.PatientDemographicsParametersViewModel"
                }
              }
            }
          }
        }
      }
    },
    "/practices/{practiceId}": {
      "get": {
        "tags": [
          "Practice"
        ],
        "parameters": [
          {
            "name": "PracticeId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Practice.PracticeInfoViewModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Practice.PracticeInfoViewModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Practice.PracticeInfoViewModel"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/practices/{practiceId}/locations": {
      "get": {
        "tags": [
          "Practice"
        ],
        "parameters": [
          {
            "name": "PracticeId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/InsightDX.Api.Features.Practice.PracticeLocation.PracticeLocationViewModel"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/InsightDX.Api.Features.Practice.PracticeLocation.PracticeLocationViewModel"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/InsightDX.Api.Features.Practice.PracticeLocation.PracticeLocationViewModel"
                  }
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/preaccessioning-manifests": {
      "post": {
        "tags": [
          "PreaccessioningManifest"
        ],
        "parameters": [
          {
            "name": "account",
            "in": "header",
            "schema": {
              "$ref": "#/components/schemas/InsightDX.Api.Common.Models.LoggedInAccountRequestModel"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/InsightDX.Api.Features.PreaccessioningManifest.Create.PreaccessioningManifestCreateRequestModel"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/InsightDX.Api.Features.PreaccessioningManifest.Create.PreaccessioningManifestCreateRequestModel"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/InsightDX.Api.Features.PreaccessioningManifest.Create.PreaccessioningManifestCreateRequestModel"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.PreaccessioningManifest.PreaccessioningManifestIdViewModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.PreaccessioningManifest.PreaccessioningManifestIdViewModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.PreaccessioningManifest.PreaccessioningManifestIdViewModel"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.PreaccessioningManifest.PreaccessioningManifestErrorViewModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.PreaccessioningManifest.PreaccessioningManifestErrorViewModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.PreaccessioningManifest.PreaccessioningManifestErrorViewModel"
                }
              }
            }
          },
          "409": {
            "description": "Conflict",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.PreaccessioningManifest.PreaccessioningManifestErrorViewModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.PreaccessioningManifest.PreaccessioningManifestErrorViewModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.PreaccessioningManifest.PreaccessioningManifestErrorViewModel"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/preaccessioning-manifests/{id}": {
      "get": {
        "tags": [
          "PreaccessioningManifest"
        ],
        "parameters": [
          {
            "name": "Id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "account",
            "in": "header",
            "schema": {
              "$ref": "#/components/schemas/InsightDX.Api.Common.Models.LoggedInAccountRequestModel"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.PreaccessioningManifest.PreaccessioningManifestViewModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.PreaccessioningManifest.PreaccessioningManifestViewModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.PreaccessioningManifest.PreaccessioningManifestViewModel"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "PreaccessioningManifest"
        ],
        "parameters": [
          {
            "name": "Id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "account",
            "in": "header",
            "schema": {
              "$ref": "#/components/schemas/InsightDX.Api.Common.Models.LoggedInAccountRequestModel"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/InsightDX.Api.Features.PreaccessioningManifest.Update.PreaccessioningManifestUpdateRequestModel"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/InsightDX.Api.Features.PreaccessioningManifest.Update.PreaccessioningManifestUpdateRequestModel"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/InsightDX.Api.Features.PreaccessioningManifest.Update.PreaccessioningManifestUpdateRequestModel"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.PreaccessioningManifest.PreaccessioningManifestErrorViewModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.PreaccessioningManifest.PreaccessioningManifestErrorViewModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.PreaccessioningManifest.PreaccessioningManifestErrorViewModel"
                }
              }
            }
          },
          "409": {
            "description": "Conflict",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.PreaccessioningManifest.PreaccessioningManifestErrorViewModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.PreaccessioningManifest.PreaccessioningManifestErrorViewModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.PreaccessioningManifest.PreaccessioningManifestErrorViewModel"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "PreaccessioningManifest"
        ],
        "parameters": [
          {
            "name": "Id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "account",
            "in": "header",
            "schema": {
              "$ref": "#/components/schemas/InsightDX.Api.Common.Models.LoggedInAccountRequestModel"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.PreaccessioningManifest.PreaccessioningManifestErrorViewModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.PreaccessioningManifest.PreaccessioningManifestErrorViewModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.PreaccessioningManifest.PreaccessioningManifestErrorViewModel"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/preaccessioning-manifests/{id}/pdf": {
      "get": {
        "tags": [
          "PreaccessioningManifest"
        ],
        "parameters": [
          {
            "name": "Id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "account",
            "in": "header",
            "schema": {
              "$ref": "#/components/schemas/InsightDX.Api.Common.Models.LoggedInAccountRequestModel"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string",
                  "format": "byte"
                }
              },
              "application/json": {
                "schema": {
                  "type": "string",
                  "format": "byte"
                }
              },
              "text/json": {
                "schema": {
                  "type": "string",
                  "format": "byte"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/psc/{pscLocationId}/locations": {
      "get": {
        "tags": [
          "Psc"
        ],
        "parameters": [
          {
            "name": "PscLocationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/InsightDX.Api.Features.Practice.PscLocation.PscLocationViewModel"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/InsightDX.Api.Features.Practice.PscLocation.PscLocationViewModel"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/InsightDX.Api.Features.Practice.PscLocation.PscLocationViewModel"
                  }
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/reporting-providers": {
      "get": {
        "tags": [
          "ReportingProvider"
        ],
        "parameters": [
          {
            "name": "PracticeId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "MaxResultDays",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/InsightDX.Api.Features.ReportingProvider.ReportingProviderViewModel"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/InsightDX.Api.Features.ReportingProvider.ReportingProviderViewModel"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/InsightDX.Api.Features.ReportingProvider.ReportingProviderViewModel"
                  }
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/InsightDX.Api.Features.ReportingProvider.ReportingProviderViewModel"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/InsightDX.Api.Features.ReportingProvider.ReportingProviderViewModel"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/InsightDX.Api.Features.ReportingProvider.ReportingProviderViewModel"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/requisition-batches/{id}/pdf": {
      "get": {
        "tags": [
          "RequisitionBatch"
        ],
        "parameters": [
          {
            "name": "Id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Logged-In-Location-Id",
            "in": "header",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/pdf": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/pdf": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/requisition-batches": {
      "post": {
        "tags": [
          "RequisitionBatch"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/InsightDX.Api.Features.RequisitionBatch.Create.RequisitionBatchCreateRequestModel"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/InsightDX.Api.Features.RequisitionBatch.Create.RequisitionBatchCreateRequestModel"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/InsightDX.Api.Features.RequisitionBatch.Create.RequisitionBatchCreateRequestModel"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/results/{id}": {
      "get": {
        "tags": [
          "Result"
        ],
        "parameters": [
          {
            "name": "Id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "account",
            "in": "header",
            "schema": {
              "$ref": "#/components/schemas/InsightDX.Api.Common.Models.LoggedInAccountRequestModel"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/results/{id}/pdf": {
      "get": {
        "tags": [
          "Result"
        ],
        "parameters": [
          {
            "name": "Id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "ResultPracticeId",
            "in": "query",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "PatientId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "account",
            "in": "header",
            "schema": {
              "$ref": "#/components/schemas/InsightDX.Api.Common.Models.LoggedInAccountRequestModel"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/pdf": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/pdf": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/results/{id}/faxes": {
      "post": {
        "tags": [
          "Result"
        ],
        "parameters": [
          {
            "name": "Id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "account",
            "in": "header",
            "schema": {
              "$ref": "#/components/schemas/InsightDX.Api.Common.Models.LoggedInAccountRequestModel"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/InsightDX.Api.Features.Result.ResultFaxCreateRequestModel"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/InsightDX.Api.Features.Result.ResultFaxCreateRequestModel"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/InsightDX.Api.Features.Result.ResultFaxCreateRequestModel"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Result.ResultFaxIdViewModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Result.ResultFaxIdViewModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Result.ResultFaxIdViewModel"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/result-faxes/{id}/confirmations": {
      "post": {
        "tags": [
          "ResultFax"
        ],
        "parameters": [
          {
            "name": "Id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "auth_token",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/InsightDX.Api.Features.Result.ResultFaxConfirmRequestModel"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/InsightDX.Api.Features.Result.ResultFaxConfirmRequestModel"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/InsightDX.Api.Features.Result.ResultFaxConfirmRequestModel"
              }
            }
          }
        },
        "responses": {
          "204": {
            "description": "No Content"
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/search/patients": {
      "get": {
        "tags": [
          "Search"
        ],
        "parameters": [
          {
            "name": "FirstName",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "LastName",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "BirthDate",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "date"
            }
          },
          {
            "name": "UserDefinedId",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "OrderId",
            "in": "query",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "AccessionNumber",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "SortColumn",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "SortDirection",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "PageNumber",
            "in": "query",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "PageSize",
            "in": "query",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "PracticeId",
            "in": "query",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Search.Patient.PracticePatientSearchResultViewModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Search.Patient.PracticePatientSearchResultViewModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Search.Patient.PracticePatientSearchResultViewModel"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/search/manifests": {
      "get": {
        "tags": [
          "Search"
        ],
        "parameters": [
          {
            "name": "OrderIdStartsWith",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "PracticeId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "StartDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date"
            }
          },
          {
            "name": "EndDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date"
            }
          },
          {
            "name": "Pagination.PageSize",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Pagination.PageNumber",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "account",
            "in": "header",
            "schema": {
              "$ref": "#/components/schemas/InsightDX.Api.Common.Models.LoggedInAccountRequestModel"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Search.Manifests.ManifestSearchResultViewModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Search.Manifests.ManifestSearchResultViewModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Search.Manifests.ManifestSearchResultViewModel"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/search/tests": {
      "get": {
        "tags": [
          "Search"
        ],
        "parameters": [
          {
            "name": "SearchText",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "PageNumber",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "PageSize",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "PracticeId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "LaboratoryFacilityId",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/SearchDomain.DomainModel.Enums.LaboratoryFacilityId"
            }
          },
          {
            "name": "IncludePrices",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "account",
            "in": "header",
            "schema": {
              "$ref": "#/components/schemas/InsightDX.Api.Common.Models.LoggedInAccountRequestModel"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Search.Test.TestSearchResultViewModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Search.Test.TestSearchResultViewModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Search.Test.TestSearchResultViewModel"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/search/diagnoses": {
      "get": {
        "tags": [
          "Search"
        ],
        "parameters": [
          {
            "name": "SearchText",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "PageNumber",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "PageSize",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Search.Diagnosis.DiagnosisSearchResultItemViewModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Search.Diagnosis.DiagnosisSearchResultItemViewModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Search.Diagnosis.DiagnosisSearchResultItemViewModel"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/search/orders/emr": {
      "get": {
        "tags": [
          "Search"
        ],
        "parameters": [
          {
            "name": "EmrOrderNumber",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "FirstName",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "LastName",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "DateOfBirth",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date"
            }
          },
          {
            "name": "LocationId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Pagination.PageSize",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Pagination.PageNumber",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Search.EmrOrders.EmrOrderSearchResultViewModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Search.EmrOrders.EmrOrderSearchResultViewModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Search.EmrOrders.EmrOrderSearchResultViewModel"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/search/users": {
      "get": {
        "tags": [
          "Search"
        ],
        "parameters": [
          {
            "name": "PracticeId",
            "in": "query",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/InsightDX.Api.Features.Search.User.UserViewModel"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/InsightDX.Api.Features.Search.User.UserViewModel"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/InsightDX.Api.Features.Search.User.UserViewModel"
                  }
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/search/orders": {
      "get": {
        "tags": [
          "Search"
        ],
        "parameters": [
          {
            "name": "PracticeId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Pagination.PageSize",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Pagination.PageNumber",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "RequisitionTypeId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "UserId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "LocationId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "StartDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date"
            }
          },
          {
            "name": "EndDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date"
            }
          },
          {
            "name": "SortColumn",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "SortDirection",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "LaboratoryFacilityId",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/SearchDomain.DomainModel.Enums.LaboratoryFacilityId"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Search.Order.OrderSearchResultViewModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Search.Order.OrderSearchResultViewModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Search.Order.OrderSearchResultViewModel"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/search/results": {
      "get": {
        "tags": [
          "Search"
        ],
        "parameters": [
          {
            "name": "PracticeId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "PatientFirstName",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "PatientLastName",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "PatientBirthDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date"
            }
          },
          {
            "name": "ReportPhysicianId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "AccessionNumber",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "LocationId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "ResultStatus",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Pagination.PageSize",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Pagination.PageNumber",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "SortColumn",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/SearchApplication.QueryServices.Queries.Result.ResultSortColumn"
            }
          },
          {
            "name": "SortDirection",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Search.Result.ResultSearchResultViewModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Search.Result.ResultSearchResultViewModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Search.Result.ResultSearchResultViewModel"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/search/tests/favorites": {
      "get": {
        "tags": [
          "Search"
        ],
        "parameters": [
          {
            "name": "PracticeId",
            "in": "query",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "LaboratoryFacilityId",
            "in": "query",
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/SearchDomain.DomainModel.Enums.LaboratoryFacilityId"
            }
          },
          {
            "name": "account",
            "in": "header",
            "schema": {
              "$ref": "#/components/schemas/InsightDX.Api.Common.Models.LoggedInAccountRequestModel"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/InsightDX.Api.Features.Search.Test.TestWithComponentsViewModel"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/InsightDX.Api.Features.Search.Test.TestWithComponentsViewModel"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/InsightDX.Api.Features.Search.Test.TestWithComponentsViewModel"
                  }
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/search/supply-orders": {
      "get": {
        "tags": [
          "Search"
        ],
        "parameters": [
          {
            "name": "LocationId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Pagination.PageSize",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Pagination.PageNumber",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Search.SupplyOrders.SupplyOrdersSearchResultViewModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Search.SupplyOrders.SupplyOrdersSearchResultViewModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Search.SupplyOrders.SupplyOrdersSearchResultViewModel"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/search/locations": {
      "get": {
        "tags": [
          "Search"
        ],
        "parameters": [
          {
            "name": "SearchText",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "ActiveOnly",
            "in": "query",
            "required": true,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "PageSize",
            "in": "query",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "PageNumber",
            "in": "query",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Search.Account.AccountLocationSearchResultViewModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Search.Account.AccountLocationSearchResultViewModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Search.Account.AccountLocationSearchResultViewModel"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/search/psc/patients": {
      "get": {
        "tags": [
          "Search"
        ],
        "parameters": [
          {
            "name": "PscLocationId",
            "in": "query",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "UserDefinedId",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "FirstName",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "LastName",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "SexAtBirth",
            "in": "query",
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/SearchDomain.DomainModel.Enums.SexAtBirth"
            }
          },
          {
            "name": "BirthDate",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "date"
            }
          },
          {
            "name": "SortColumn",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "SortDirection",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "PageSize",
            "in": "query",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "PageNumber",
            "in": "query",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Search.Psc.Patients.PatientSearchResultViewModel"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request"
          }
        }
      }
    },
    "/search/psc/emr-orders": {
      "get": {
        "tags": [
          "Search"
        ],
        "parameters": [
          {
            "name": "PscLocationId",
            "in": "query",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "FirstName",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "LastName",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "BirthDate",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "date"
            }
          },
          {
            "name": "LocationId",
            "in": "query",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "OrderNumber",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "PageSize",
            "in": "query",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "PageNumber",
            "in": "query",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Search.Psc.EmrOrders.EmrOrderSearchResultViewModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Search.Psc.EmrOrders.EmrOrderSearchResultViewModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Search.Psc.EmrOrders.EmrOrderSearchResultViewModel"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/search/psc/{pscLocationId}/providers": {
      "get": {
        "tags": [
          "Search"
        ],
        "parameters": [
          {
            "name": "PscLocationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "FirstName",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "LastName",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Npi",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "State",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "SortColumn",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "SortDirection",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "PageSize",
            "in": "query",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "PageNumber",
            "in": "query",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Search.Psc.Providers.PscSearchByProviderResultViewModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Search.Psc.Providers.PscSearchByProviderResultViewModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Search.Psc.Providers.PscSearchByProviderResultViewModel"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/search/psc/{pscLocationId}/accessions": {
      "get": {
        "tags": [
          "Search"
        ],
        "parameters": [
          {
            "name": "PscLocationId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "AccessionNumber",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "CollectionDate",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "date"
            }
          },
          {
            "name": "SortColumn",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "SortDirection",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "PageSize",
            "in": "query",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "PageNumber",
            "in": "query",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Search.Psc.Accession.PscSearchByAccessionResultViewModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Search.Psc.Accession.PscSearchByAccessionResultViewModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Search.Psc.Accession.PscSearchByAccessionResultViewModel"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/search/psc/external-ordering-providers": {
      "get": {
        "tags": [
          "Search"
        ],
        "parameters": [
          {
            "name": "SearchText",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "PracticeId",
            "in": "query",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "PageSize",
            "in": "query",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "PageNumber",
            "in": "query",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Search.ExternalOrderingProvider.ExternalOrderingProviderSearchResultViewModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Search.ExternalOrderingProvider.ExternalOrderingProviderSearchResultViewModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Search.ExternalOrderingProvider.ExternalOrderingProviderSearchResultViewModel"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/search/batch-results": {
      "get": {
        "tags": [
          "Search"
        ],
        "parameters": [
          {
            "name": "PracticeId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "PageSize",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "PageNumber",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "UserName",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Search.BatchResult.BatchResultSearchResultViewModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Search.BatchResult.BatchResultSearchResultViewModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Search.BatchResult.BatchResultSearchResultViewModel"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/search/requisition-batches": {
      "get": {
        "tags": [
          "Search"
        ],
        "parameters": [
          {
            "name": "PracticeId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Pagination.PageSize",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Pagination.PageNumber",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "SortColumn",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "SortDirection",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Search.RequisitionBatch.RequisitionBatchSearchResultViewModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Search.RequisitionBatch.RequisitionBatchSearchResultViewModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Search.RequisitionBatch.RequisitionBatchSearchResultViewModel"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/search/batch-results/users": {
      "get": {
        "tags": [
          "Search"
        ],
        "parameters": [
          {
            "name": "PracticeId",
            "in": "query",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Search.BatchResultUsers.BatchResultUsersSearchResultViewModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Search.BatchResultUsers.BatchResultUsersSearchResultViewModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Search.BatchResultUsers.BatchResultUsersSearchResultViewModel"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/search/practices/{practiceId}/global-results": {
      "post": {
        "tags": [
          "Search"
        ],
        "parameters": [
          {
            "name": "PracticeId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/InsightDX.Api.Features.Search.GlobalSearch.GlobalResultsSearchRequestModel"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/InsightDX.Api.Features.Search.GlobalSearch.GlobalResultsSearchRequestModel"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/InsightDX.Api.Features.Search.GlobalSearch.GlobalResultsSearchRequestModel"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Search.GlobalSearch.GlobalResultsSearchResultViewModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Search.GlobalSearch.GlobalResultsSearchResultViewModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Search.GlobalSearch.GlobalResultsSearchResultViewModel"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/search/practices/{practiceId}/global-results/xlsx": {
      "post": {
        "tags": [
          "Search"
        ],
        "parameters": [
          {
            "name": "PracticeId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "account",
            "in": "header",
            "schema": {
              "$ref": "#/components/schemas/InsightDX.Api.Common.Models.LoggedInAccountRequestModel"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/InsightDX.Api.Features.Search.GlobalSearch.GlobalResultsSearchRequestExportModel"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/InsightDX.Api.Features.Search.GlobalSearch.GlobalResultsSearchRequestExportModel"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/InsightDX.Api.Features.Search.GlobalSearch.GlobalResultsSearchRequestExportModel"
              }
            }
          }
        },
        "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": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/search/resulted-tests": {
      "get": {
        "tags": [
          "Search"
        ],
        "parameters": [
          {
            "name": "PracticeId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "FromDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date"
            }
          },
          {
            "name": "ToDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date"
            }
          },
          {
            "name": "SearchText",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Search.GlobalResultSearch.ResultedTests.ResultedTestsSearchResultViewModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Search.GlobalResultSearch.ResultedTests.ResultedTestsSearchResultViewModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Search.GlobalResultSearch.ResultedTests.ResultedTestsSearchResultViewModel"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/search/preaccession-manifests/orders": {
      "get": {
        "tags": [
          "Search"
        ],
        "parameters": [
          {
            "name": "PracticeId",
            "in": "query",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "PageSize",
            "in": "query",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "PageNumber",
            "in": "query",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "StartDate",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "date"
            }
          },
          {
            "name": "EndDate",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "date"
            }
          },
          {
            "name": "account",
            "in": "header",
            "schema": {
              "$ref": "#/components/schemas/InsightDX.Api.Common.Models.LoggedInAccountRequestModel"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Search.PreaccessionManifest.PreaccessionManifestOrdersSearchResultViewModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Search.PreaccessionManifest.PreaccessionManifestOrdersSearchResultViewModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Search.PreaccessionManifest.PreaccessionManifestOrdersSearchResultViewModel"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/search/preaccessioning-manifests": {
      "get": {
        "tags": [
          "Search"
        ],
        "parameters": [
          {
            "name": "PracticeId",
            "in": "query",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "StartDate",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "date"
            }
          },
          {
            "name": "EndDate",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string",
              "format": "date"
            }
          },
          {
            "name": "AccessionNumber",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "PageSize",
            "in": "query",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "PageNumber",
            "in": "query",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "account",
            "in": "header",
            "schema": {
              "$ref": "#/components/schemas/InsightDX.Api.Common.Models.LoggedInAccountRequestModel"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Search.PreaccessionManifest.Get.PreaccessioningManifestSearchResultViewModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Search.PreaccessionManifest.Get.PreaccessioningManifestSearchResultViewModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Search.PreaccessionManifest.Get.PreaccessioningManifestSearchResultViewModel"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/sso/Login/{logicalServiceProviderName}": {
      "get": {
        "tags": [
          "Sso"
        ],
        "parameters": [
          {
            "name": "LogicalServiceProviderName",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/sso/AssertionConsumerService/{logicalServiceProviderName}": {
      "post": {
        "tags": [
          "Sso"
        ],
        "parameters": [
          {
            "name": "LogicalServiceProviderName",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/sso/Logout/{logicalServiceProviderName}": {
      "post": {
        "tags": [
          "Sso"
        ],
        "parameters": [
          {
            "name": "LogicalServiceProviderName",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/sso/SingleLogoutService/{logicalServiceProviderName}": {
      "get": {
        "tags": [
          "Sso"
        ],
        "parameters": [
          {
            "name": "LogicalServiceProviderName",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/supply-orders/{id}": {
      "get": {
        "tags": [
          "SupplyOrder"
        ],
        "parameters": [
          {
            "name": "Id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.SupplyOrder.SupplyOrderViewModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.SupplyOrder.SupplyOrderViewModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.SupplyOrder.SupplyOrderViewModel"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.SupplyOrder.SupplyOrderViewModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.SupplyOrder.SupplyOrderViewModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.SupplyOrder.SupplyOrderViewModel"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/supply-orders/items": {
      "get": {
        "tags": [
          "SupplyOrder"
        ],
        "parameters": [
          {
            "name": "LocationId",
            "in": "query",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/InsightDX.Api.Features.SupplyOrder.SupplyItemViewModel"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/InsightDX.Api.Features.SupplyOrder.SupplyItemViewModel"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/InsightDX.Api.Features.SupplyOrder.SupplyItemViewModel"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/supply-orders": {
      "post": {
        "tags": [
          "SupplyOrder"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/InsightDX.Api.Features.SupplyOrder.SupplyOrder.SupplyOrderCreateRequestModel"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/InsightDX.Api.Features.SupplyOrder.SupplyOrder.SupplyOrderCreateRequestModel"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/InsightDX.Api.Features.SupplyOrder.SupplyOrder.SupplyOrderCreateRequestModel"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.SupplyOrder.SupplyOrder.OrderIdViewModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.SupplyOrder.SupplyOrder.OrderIdViewModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.SupplyOrder.SupplyOrder.OrderIdViewModel"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "502": {
            "description": "Bad Gateway"
          }
        }
      }
    },
    "/support/report-problem": {
      "post": {
        "tags": [
          "Support"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/InsightDX.Api.Features.Support.ReportProblemRequestModel"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/InsightDX.Api.Features.Support.ReportProblemRequestModel"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/InsightDX.Api.Features.Support.ReportProblemRequestModel"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/test-groups/favorites": {
      "get": {
        "tags": [
          "TestGroups"
        ],
        "parameters": [
          {
            "name": "PracticeId",
            "in": "query",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "LaboratoryFacilityId",
            "in": "query",
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/SearchDomain.DomainModel.Enums.LaboratoryFacilityId"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/InsightDX.Api.Features.TestGroups.Favorites.FavoriteTestGroupViewModel"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/InsightDX.Api.Features.TestGroups.Favorites.FavoriteTestGroupViewModel"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/InsightDX.Api.Features.TestGroups.Favorites.FavoriteTestGroupViewModel"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/tests/{id}": {
      "get": {
        "tags": [
          "Tests"
        ],
        "parameters": [
          {
            "name": "Id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Test.TestCompendiumViewModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Test.TestCompendiumViewModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Test.TestCompendiumViewModel"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/tests/requisition-types": {
      "get": {
        "tags": [
          "Tests"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/InsightDX.Api.Features.RequisitionTypeViewModel"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/InsightDX.Api.Features.RequisitionTypeViewModel"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/InsightDX.Api.Features.RequisitionTypeViewModel"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/users/me": {
      "get": {
        "tags": [
          "User"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.UserClaims.UserAccountViewModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.UserClaims.UserAccountViewModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.UserClaims.UserAccountViewModel"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/users/locations": {
      "get": {
        "tags": [
          "User"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/InsightDX.Api.Features.UserClaims.UserLocationInfoViewModel"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/InsightDX.Api.Features.UserClaims.UserLocationInfoViewModel"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/InsightDX.Api.Features.UserClaims.UserLocationInfoViewModel"
                  }
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/users/me/current-location": {
      "put": {
        "tags": [
          "User"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/InsightDX.Api.Features.UserClaims.UserLastSwitchedAccountViewModel"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/InsightDX.Api.Features.UserClaims.UserLastSwitchedAccountViewModel"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/InsightDX.Api.Features.UserClaims.UserLastSwitchedAccountViewModel"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/validation-rules/{practiceId}/patient": {
      "get": {
        "tags": [
          "ValidationRules"
        ],
        "parameters": [
          {
            "name": "PracticeId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Patient.ValidationRules.SegmentFieldsViewModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Patient.ValidationRules.SegmentFieldsViewModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Patient.ValidationRules.SegmentFieldsViewModel"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
                }
              }
            }
          }
        }
      }
    },
    "/version": {
      "get": {
        "tags": [
          "Version"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Version.VersionResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Version.VersionResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/InsightDX.Api.Features.Version.VersionResponse"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "HealthRecordsApplication.BusinessServices.Patient.PriorBalance.PatientPriorBalanceGetStatus": {
        "enum": [
          0,
          1,
          2,
          3
        ],
        "type": "integer",
        "format": "int32"
      },
      "HealthRecordsApplication.BusinessServices.Patient.PriorBalance.PaymentStatus": {
        "enum": [
          1,
          2
        ],
        "type": "integer",
        "format": "int32"
      },
      "HealthRecordsApplication.Handlers.CopyToProviders.CopyToProviderValidationFailedStatus": {
        "enum": [
          1,
          2,
          3,
          4
        ],
        "type": "integer",
        "format": "int32"
      },
      "HealthRecordsDomain.DomainModel.Enums.AgeFilterType": {
        "enum": [
          1,
          2,
          3,
          4
        ],
        "type": "integer",
        "format": "int32"
      },
      "HealthRecordsDomain.DomainModel.Enums.AnalyteValueComparisonOperator": {
        "enum": [
          1,
          2,
          3,
          4,
          5,
          6,
          7,
          8,
          9,
          10,
          11
        ],
        "type": "integer",
        "format": "int32"
      },
      "HealthRecordsDomain.DomainModel.Enums.BillTypeSegmentCode": {
        "enum": [
          1,
          2,
          3,
          4,
          5,
          6,
          7,
          8,
          9,
          10,
          11,
          12,
          13
        ],
        "type": "integer",
        "format": "int32"
      },
      "HealthRecordsDomain.DomainModel.Enums.CountryIds": {
        "enum": [
          1,
          2,
          3,
          4,
          5,
          6,
          7,
          8,
          9,
          10,
          11,
          12,
          13,
          14,
          15,
          16,
          17,
          18,
          19,
          20,
          21,
          22,
          23,
          24,
          25,
          26,
          27,
          28,
          29,
          30,
          31,
          32,
          33,
          34,
          35,
          36,
          37,
          38,
          39,
          40,
          41,
          42,
          43,
          44,
          45,
          46,
          47,
          48,
          49,
          50,
          51,
          52,
          53,
          54,
          55,
          56,
          57,
          58,
          59,
          60,
          61,
          62,
          63,
          64,
          65,
          66,
          67,
          68,
          69,
          70,
          71,
          72,
          73,
          74,
          75,
          76,
          77,
          78,
          79,
          80,
          81,
          82,
          83,
          84,
          85,
          86,
          87,
          88,
          89,
          90,
          91,
          92,
          93,
          94,
          95,
          96,
          97,
          98,
          99,
          100,
          101,
          102,
          103,
          104,
          105,
          106,
          107,
          108,
          109,
          110,
          111,
          112,
          113,
          114,
          115,
          116,
          117,
          118,
          119,
          120,
          121,
          122,
          123,
          124,
          125,
          126,
          127,
          128,
          129,
          130,
          131,
          132,
          133,
          134,
          135,
          136,
          137,
          138,
          139,
          140,
          141,
          142,
          143,
          144,
          145,
          146,
          147,
          148,
          149,
          150,
          151,
          152,
          153,
          154,
          155,
          156,
          157,
          158,
          159,
          160,
          161,
          162,
          163,
          164,
          165,
          166,
          167,
          168,
          169,
          170,
          171,
          172,
          173,
          174,
          175,
          176,
          177,
          178,
          179,
          180,
          181,
          182,
          183,
          184,
          185,
          186,
          187,
          188,
          189,
          190,
          191,
          192,
          193,
          194,
          195,
          196,
          197,
          198,
          199,
          200,
          201,
          202,
          203,
          204,
          205,
          206,
          207,
          208,
          209,
          210,
          211,
          212,
          213,
          214,
          215,
          216,
          217,
          218,
          219,
          220,
          221,
          222,
          223,
          224,
          225,
          226,
          227,
          228,
          229,
          230,
          231,
          232,
          233,
          234,
          235,
          236,
          237,
          238,
          239,
          240,
          241,
          242,
          243,
          244,
          245,
          246,
          247,
          248,
          249,
          287
        ],
        "type": "integer",
        "format": "int32"
      },
      "HealthRecordsDomain.DomainModel.Enums.DateFilterType": {
        "enum": [
          1,
          2
        ],
        "type": "integer",
        "format": "int32"
      },
      "HealthRecordsDomain.DomainModel.Enums.EligibilityStatus": {
        "enum": [
          1,
          2,
          3,
          4,
          5,
          6,
          7
        ],
        "type": "integer",
        "format": "int32"
      },
      "HealthRecordsDomain.DomainModel.Enums.EthnicityId": {
        "enum": [
          1,
          2,
          3,
          4,
          5
        ],
        "type": "integer",
        "format": "int32"
      },
      "HealthRecordsDomain.DomainModel.Enums.ManifestErrorCode": {
        "enum": [
          1,
          2,
          3,
          4,
          5,
          6
        ],
        "type": "integer",
        "format": "int32"
      },
      "HealthRecordsDomain.DomainModel.Enums.ManifestStatus": {
        "enum": [
          1,
          2
        ],
        "type": "integer",
        "format": "int32"
      },
      "HealthRecordsDomain.DomainModel.Enums.PhoneType": {
        "enum": [
          1,
          2,
          3
        ],
        "type": "integer",
        "format": "int32"
      },
      "HealthRecordsDomain.DomainModel.Enums.RaceId": {
        "enum": [
          1,
          2,
          3,
          4,
          5,
          6,
          7,
          8
        ],
        "type": "integer",
        "format": "int32"
      },
      "HealthRecordsDomain.DomainModel.Enums.RelationshipToPatient": {
        "enum": [
          1,
          2,
          3,
          4,
          5
        ],
        "type": "integer",
        "format": "int32"
      },
      "HealthRecordsDomain.DomainModel.Enums.RequisitionBatchSort": {
        "enum": [
          1,
          2,
          3
        ],
        "type": "integer",
        "format": "int32"
      },
      "HealthRecordsDomain.DomainModel.Enums.ResultReportBatchSort": {
        "enum": [
          1,
          2
        ],
        "type": "integer",
        "format": "int32"
      },
      "HealthRecordsDomain.DomainModel.Enums.SexAtBirth": {
        "enum": [
          1,
          2,
          3
        ],
        "type": "integer",
        "format": "int32"
      },
      "HealthRecordsDomain.DomainModel.Enums.SortOrder": {
        "enum": [
          1,
          2
        ],
        "type": "integer",
        "format": "int32"
      },
      "HealthRecordsDomain.DomainModel.Enums.SpecimenTemperature": {
        "enum": [
          1,
          2,
          3
        ],
        "type": "integer",
        "format": "int32"
      },
      "HealthRecordsDomain.DomainModel.Enums.TestType": {
        "enum": [
          1,
          2,
          3
        ],
        "type": "integer",
        "format": "int32"
      },
      "HealthRecordsDomain.DomainModel.ExternalOrderingProviderAggregate.Enums.SendVia": {
        "enum": [
          1,
          2,
          3,
          4
        ],
        "type": "integer",
        "format": "int32"
      },
      "HealthRecordsDomain.DomainModel.OrderAggregate.BillTypeId": {
        "enum": [
          1,
          2,
          3,
          4,
          5,
          6,
          7,
          8
        ],
        "type": "integer",
        "format": "int32"
      },
      "HealthRecordsDomain.DomainModel.OrderAggregate.Enums.CreditCardType": {
        "enum": [
          1,
          2,
          3,
          4
        ],
        "type": "integer",
        "format": "int32"
      },
      "HealthRecordsDomain.DomainModel.OrderAggregate.Enums.DiagnosisSourceType": {
        "enum": [
          1,
          2,
          3,
          4
        ],
        "type": "integer",
        "format": "int32"
      },
      "HealthRecordsDomain.DomainModel.OrderAggregate.Enums.LaboratoryFacilityId": {
        "enum": [
          1,
          13,
          14,
          15,
          16,
          17,
          19,
          20,
          22,
          23,
          24,
          25,
          26,
          27,
          28,
          29,
          30,
          31,
          32,
          33,
          34,
          37,
          38
        ],
        "type": "integer",
        "format": "int32"
      },
      "HealthRecordsDomain.DomainModel.OrderAggregate.Enums.OrderType": {
        "enum": [
          0,
          1,
          2,
          3
        ],
        "type": "integer",
        "format": "int32"
      },
      "HealthRecordsDomain.DomainModel.OrderAggregate.FastingType": {
        "enum": [
          0,
          1,
          2
        ],
        "type": "integer",
        "format": "int32"
      },
      "HealthRecordsDomain.DomainModel.OrderAggregate.OrderCancellationReasonId": {
        "enum": [
          1,
          2,
          3,
          4,
          5,
          6,
          7
        ],
        "type": "integer",
        "format": "int32"
      },
      "HealthRecordsDomain.DomainModel.OrderAggregate.OrderPriority": {
        "enum": [
          1,
          2
        ],
        "type": "integer",
        "format": "int32"
      },
      "HealthRecordsDomain.DomainModel.OrderAggregate.OrderStatus": {
        "enum": [
          1,
          2,
          3,
          4,
          5,
          6
        ],
        "type": "integer",
        "format": "int32"
      },
      "HealthRecordsDomain.DomainModel.OrderAggregate.OrderStep": {
        "enum": [
          0,
          1,
          2,
          3,
          4,
          5,
          6,
          7,
          8,
          9,
          10,
          11,
          12
        ],
        "type": "integer",
        "format": "int32"
      },
      "HealthRecordsDomain.DomainModel.PreaccessioningManifestAggregate.Enums.PreaccessioningManifestErrorCode": {
        "enum": [
          1,
          2,
          3,
          4,
          5,
          6,
          7
        ],
        "type": "integer",
        "format": "int32"
      },
      "HealthRecordsDomain.DomainModel.PreaccessioningManifestAggregate.Enums.PreaccessioningManifestStatus": {
        "enum": [
          1,
          2,
          3
        ],
        "type": "integer",
        "format": "int32"
      },
      "HealthRecordsDomain.DomainModel.ResultFax.ResultFaxVendorStatus": {
        "enum": [
          0,
          1,
          2,
          3,
          4,
          5,
          6,
          7
        ],
        "type": "integer",
        "format": "int32"
      },
      "HealthRecordsDomain.DomainModel.TypedIds.LocationAccountType": {
        "enum": [
          1,
          2,
          4,
          8
        ],
        "type": "integer",
        "format": "int32"
      },
      "HealthRecordsDomain.IntegrationModels.AoeQuestionAggregate.AoeQuestionType": {
        "enum": [
          1,
          2,
          3,
          4,
          5,
          6,
          7,
          8
        ],
        "type": "integer",
        "format": "int32"
      },
      "InsightDX.Api.Common.Models.LoggedInAccountRequestModel": {
        "required": [
          "locationId"
        ],
        "type": "object",
        "properties": {
          "locationId": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.AuthorizePayment.PaymentInfoResultViewModel": {
        "type": "object",
        "properties": {
          "amount": {
            "type": "number",
            "format": "double",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.BatchResult.Create.BatchResultCreateRequestModel": {
        "required": [
          "finalOnly",
          "fromDate",
          "locationIds",
          "practiceId",
          "sortBy",
          "toDate",
          "unprintedOnly"
        ],
        "type": "object",
        "properties": {
          "practiceId": {
            "type": "integer",
            "format": "int32"
          },
          "fromDate": {
            "type": "string",
            "format": "date"
          },
          "toDate": {
            "type": "string",
            "format": "date"
          },
          "sortBy": {
            "$ref": "#/components/schemas/HealthRecordsDomain.DomainModel.Enums.ResultReportBatchSort"
          },
          "locationIds": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "nullable": true
          },
          "finalOnly": {
            "type": "boolean"
          },
          "unprintedOnly": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Chat.ChatTokenViewModel": {
        "type": "object",
        "properties": {
          "accessToken": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Container.ContainerViewModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "code": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "description": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "labelQuantity": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "searchPriority": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.CopyToProvider.CopyToProviderCreateRequestModel": {
        "required": [
          "city",
          "countryId",
          "email",
          "fax",
          "faxCountryCode",
          "firstName",
          "lastName",
          "npi",
          "phone",
          "phoneCountryCode",
          "practiceId",
          "sendVia",
          "state",
          "street1",
          "street2",
          "zip"
        ],
        "type": "object",
        "properties": {
          "practiceId": {
            "type": "integer",
            "format": "int32"
          },
          "lastName": {
            "type": "string",
            "nullable": true
          },
          "firstName": {
            "type": "string",
            "nullable": true
          },
          "sendVia": {
            "$ref": "#/components/schemas/HealthRecordsDomain.DomainModel.ExternalOrderingProviderAggregate.Enums.SendVia"
          },
          "npi": {
            "type": "string",
            "nullable": true
          },
          "email": {
            "type": "string",
            "nullable": true
          },
          "phoneCountryCode": {
            "type": "string",
            "nullable": true
          },
          "phone": {
            "type": "string",
            "nullable": true
          },
          "faxCountryCode": {
            "type": "string",
            "nullable": true
          },
          "fax": {
            "type": "string",
            "nullable": true
          },
          "street1": {
            "type": "string",
            "nullable": true
          },
          "street2": {
            "type": "string",
            "nullable": true
          },
          "city": {
            "type": "string",
            "nullable": true
          },
          "countryId": {
            "type": "integer",
            "format": "int32"
          },
          "state": {
            "type": "string",
            "nullable": true
          },
          "zip": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.CopyToProvider.CopyToProviderFaxUpdateRequestModel": {
        "required": [
          "fax",
          "faxCountryCode"
        ],
        "type": "object",
        "properties": {
          "faxCountryCode": {
            "type": "string",
            "nullable": true
          },
          "fax": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.CopyToProvider.CopyToProviderUpdateRequestModel": {
        "required": [
          "city",
          "countryId",
          "email",
          "fax",
          "faxCountryCode",
          "firstName",
          "lastName",
          "npi",
          "phone",
          "phoneCountryCode",
          "sendVia",
          "state",
          "street1",
          "street2",
          "zip"
        ],
        "type": "object",
        "properties": {
          "lastName": {
            "type": "string",
            "nullable": true
          },
          "firstName": {
            "type": "string",
            "nullable": true
          },
          "sendVia": {
            "$ref": "#/components/schemas/HealthRecordsDomain.DomainModel.ExternalOrderingProviderAggregate.Enums.SendVia"
          },
          "npi": {
            "type": "string",
            "nullable": true
          },
          "email": {
            "type": "string",
            "nullable": true
          },
          "phoneCountryCode": {
            "type": "string",
            "nullable": true
          },
          "phone": {
            "type": "string",
            "nullable": true
          },
          "faxCountryCode": {
            "type": "string",
            "nullable": true
          },
          "fax": {
            "type": "string",
            "nullable": true
          },
          "street1": {
            "type": "string",
            "nullable": true
          },
          "street2": {
            "type": "string",
            "nullable": true
          },
          "city": {
            "type": "string",
            "nullable": true
          },
          "countryId": {
            "type": "integer",
            "format": "int32"
          },
          "state": {
            "type": "string",
            "nullable": true
          },
          "zip": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.CopyToProvider.CopyToProviderValidationFailedViewModel": {
        "type": "object",
        "properties": {
          "errorCode": {
            "$ref": "#/components/schemas/HealthRecordsApplication.Handlers.CopyToProviders.CopyToProviderValidationFailedStatus"
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Diagnosis.DiagnosisViewModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "code": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "description": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.GlobalConfiguration.GlobalSettingsViewModel": {
        "type": "object",
        "properties": {
          "isSupportFormEmailRequired": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.GlobalResultSearchParameters.AnalyteSearchParameterViewModel": {
        "type": "object",
        "properties": {
          "testCode": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "testDescription": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "operator": {
            "$ref": "#/components/schemas/HealthRecordsDomain.DomainModel.Enums.AnalyteValueComparisonOperator"
          },
          "value": {
            "type": "number",
            "format": "double",
            "nullable": true,
            "readOnly": true
          },
          "value2": {
            "type": "number",
            "format": "double",
            "nullable": true,
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.GlobalResultSearchParameters.AnalyteSearchRequestModel": {
        "required": [
          "operator",
          "testCode",
          "value",
          "value2"
        ],
        "type": "object",
        "properties": {
          "testCode": {
            "type": "string",
            "nullable": true
          },
          "operator": {
            "$ref": "#/components/schemas/HealthRecordsDomain.DomainModel.Enums.AnalyteValueComparisonOperator"
          },
          "value": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "value2": {
            "type": "number",
            "format": "double",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.GlobalResultSearchParameters.GlobalResultSearchCriteriaViewModel": {
        "type": "object",
        "properties": {
          "dateFrom": {
            "type": "string",
            "format": "date",
            "readOnly": true
          },
          "dateTo": {
            "type": "string",
            "format": "date",
            "readOnly": true
          },
          "dateType": {
            "$ref": "#/components/schemas/HealthRecordsDomain.DomainModel.Enums.DateFilterType"
          },
          "ageFilterType": {
            "$ref": "#/components/schemas/HealthRecordsDomain.DomainModel.Enums.AgeFilterType"
          },
          "ageFrom": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "readOnly": true
          },
          "ageTo": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "readOnly": true
          },
          "sexAtBirth": {
            "$ref": "#/components/schemas/HealthRecordsDomain.DomainModel.Enums.SexAtBirth"
          },
          "locationIds": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "nullable": true,
            "readOnly": true
          },
          "providerIds": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "nullable": true,
            "readOnly": true
          },
          "insuranceCompanies": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InsightDX.Api.Features.GlobalResultSearchParameters.GlobalResultSearchInsuranceCompanyViewModel"
            },
            "nullable": true,
            "readOnly": true
          },
          "analytes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InsightDX.Api.Features.GlobalResultSearchParameters.AnalyteSearchParameterViewModel"
            },
            "nullable": true,
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.GlobalResultSearchParameters.GlobalResultSearchInsuranceCompanyViewModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "displayName": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.GlobalResultSearchParameters.GlobalResultSearchParameterCreateRequestModel": {
        "required": [
          "ageFilterType",
          "ageFrom",
          "ageTo",
          "analytes",
          "dateFrom",
          "dateTo",
          "dateType",
          "insuranceIds",
          "locationIds",
          "practiceId",
          "providerIds",
          "reportName",
          "sexAtBirth"
        ],
        "type": "object",
        "properties": {
          "practiceId": {
            "type": "integer",
            "format": "int32"
          },
          "reportName": {
            "type": "string",
            "nullable": true
          },
          "dateFrom": {
            "type": "string",
            "format": "date"
          },
          "dateTo": {
            "type": "string",
            "format": "date"
          },
          "dateType": {
            "$ref": "#/components/schemas/HealthRecordsDomain.DomainModel.Enums.DateFilterType"
          },
          "locationIds": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "nullable": true
          },
          "providerIds": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "nullable": true
          },
          "insuranceIds": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "nullable": true
          },
          "ageFilterType": {
            "$ref": "#/components/schemas/HealthRecordsDomain.DomainModel.Enums.AgeFilterType"
          },
          "ageFrom": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "ageTo": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "sexAtBirth": {
            "$ref": "#/components/schemas/HealthRecordsDomain.DomainModel.Enums.SexAtBirth"
          },
          "analytes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InsightDX.Api.Features.GlobalResultSearchParameters.AnalyteSearchRequestModel"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.GlobalResultSearchParameters.GlobalResultSearchParameterUpdateRequestModel": {
        "required": [
          "ageFilterType",
          "ageFrom",
          "ageTo",
          "analytes",
          "dateFrom",
          "dateTo",
          "dateType",
          "insuranceIds",
          "locationIds",
          "providerIds",
          "sexAtBirth"
        ],
        "type": "object",
        "properties": {
          "dateFrom": {
            "type": "string",
            "format": "date"
          },
          "dateTo": {
            "type": "string",
            "format": "date"
          },
          "dateType": {
            "$ref": "#/components/schemas/HealthRecordsDomain.DomainModel.Enums.DateFilterType"
          },
          "locationIds": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "nullable": true
          },
          "providerIds": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "nullable": true
          },
          "insuranceIds": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "nullable": true
          },
          "analytes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InsightDX.Api.Features.GlobalResultSearchParameters.AnalyteSearchRequestModel"
            },
            "nullable": true
          },
          "ageFilterType": {
            "$ref": "#/components/schemas/HealthRecordsDomain.DomainModel.Enums.AgeFilterType"
          },
          "ageFrom": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "ageTo": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "sexAtBirth": {
            "$ref": "#/components/schemas/HealthRecordsDomain.DomainModel.Enums.SexAtBirth"
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.GlobalResultSearchParameters.GlobalResultSearchParameterViewModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "practiceId": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "reportName": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "userId": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "generatedDate": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "searchCriteria": {
            "$ref": "#/components/schemas/InsightDX.Api.Features.GlobalResultSearchParameters.GlobalResultSearchCriteriaViewModel"
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.GlobalResults.SavedReports.GlobalResultsSearchSavedReportAnalyteViewModel": {
        "type": "object",
        "properties": {
          "testCode": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "description": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "operator": {
            "$ref": "#/components/schemas/SearchApplication.IntegrationDataModels.Enums.AnalyteValueComparisonOperator"
          },
          "value": {
            "type": "number",
            "format": "double",
            "nullable": true,
            "readOnly": true
          },
          "value2": {
            "type": "number",
            "format": "double",
            "nullable": true,
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.GlobalResults.SavedReports.GlobalResultsSearchSavedReportItemViewModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "reportName": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "requestedBy": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "generatedDate": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "dateFrom": {
            "type": "string",
            "format": "date",
            "nullable": true,
            "readOnly": true
          },
          "dateTo": {
            "type": "string",
            "format": "date",
            "nullable": true,
            "readOnly": true
          },
          "analytes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InsightDX.Api.Features.GlobalResults.SavedReports.GlobalResultsSearchSavedReportAnalyteViewModel"
            },
            "nullable": true,
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.GlobalResults.SavedReports.GlobalResultsSearchSavedReportsViewModel": {
        "type": "object",
        "properties": {
          "reports": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InsightDX.Api.Features.GlobalResults.SavedReports.GlobalResultsSearchSavedReportItemViewModel"
            },
            "nullable": true,
            "readOnly": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Laboratory.LaboratoryViewModel": {
        "type": "object",
        "properties": {
          "id": {
            "$ref": "#/components/schemas/HealthRecordsDomain.DomainModel.OrderAggregate.Enums.LaboratoryFacilityId"
          },
          "code": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "isDefault": {
            "type": "boolean",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Manifest.ErrorOrderViewModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "isUpdatedDraft": {
            "type": "boolean",
            "readOnly": true
          },
          "status": {
            "$ref": "#/components/schemas/HealthRecordsDomain.DomainModel.OrderAggregate.OrderStatus"
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Manifest.ManifestCreateRequestModel": {
        "required": [
          "complete",
          "laboratoryFacilityId",
          "orderIds",
          "practiceId",
          "requisitionTypeId"
        ],
        "type": "object",
        "properties": {
          "orderIds": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "nullable": true
          },
          "practiceId": {
            "type": "integer",
            "format": "int32"
          },
          "requisitionTypeId": {
            "type": "integer",
            "format": "int32"
          },
          "laboratoryFacilityId": {
            "$ref": "#/components/schemas/HealthRecordsDomain.DomainModel.OrderAggregate.Enums.LaboratoryFacilityId"
          },
          "complete": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Manifest.ManifestDetailsViewModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "manifestStatus": {
            "$ref": "#/components/schemas/HealthRecordsDomain.DomainModel.Enums.ManifestStatus"
          },
          "laboratoryFacilityId": {
            "$ref": "#/components/schemas/HealthRecordsDomain.DomainModel.OrderAggregate.Enums.LaboratoryFacilityId"
          },
          "date": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "orders": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InsightDX.Api.Features.Manifest.ManifestOrderViewModel"
            },
            "nullable": true,
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Manifest.ManifestErrorViewModel": {
        "type": "object",
        "properties": {
          "errorCode": {
            "$ref": "#/components/schemas/HealthRecordsDomain.DomainModel.Enums.ManifestErrorCode"
          },
          "errorMessage": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "orderIds": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "nullable": true,
            "readOnly": true
          },
          "orders": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InsightDX.Api.Features.Manifest.ErrorOrderViewModel"
            },
            "nullable": true,
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Manifest.ManifestIdViewModel": {
        "type": "object",
        "properties": {
          "manifestId": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Manifest.ManifestOrderViewModel": {
        "required": [
          "id",
          "isUpdatedDraft",
          "laboratoryFacilityId",
          "patient",
          "status"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "patient": {
            "$ref": "#/components/schemas/InsightDX.Api.Features.Manifest.PatientViewModel"
          },
          "laboratoryFacilityId": {
            "$ref": "#/components/schemas/HealthRecordsDomain.DomainModel.OrderAggregate.Enums.LaboratoryFacilityId"
          },
          "status": {
            "$ref": "#/components/schemas/HealthRecordsDomain.DomainModel.OrderAggregate.OrderStatus"
          },
          "isUpdatedDraft": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Manifest.ManifestUpdateRequestModel": {
        "required": [
          "complete",
          "laboratoryFacilityId",
          "orderIds",
          "practiceId",
          "requisitionTypeId"
        ],
        "type": "object",
        "properties": {
          "practiceId": {
            "type": "integer",
            "format": "int32"
          },
          "orderIds": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "nullable": true
          },
          "requisitionTypeId": {
            "type": "integer",
            "format": "int32"
          },
          "laboratoryFacilityId": {
            "$ref": "#/components/schemas/HealthRecordsDomain.DomainModel.OrderAggregate.Enums.LaboratoryFacilityId"
          },
          "complete": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Manifest.PatientViewModel": {
        "required": [
          "firstName",
          "id",
          "lastName"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "firstName": {
            "type": "string",
            "nullable": true
          },
          "lastName": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Order.Aoe.AoeAnswerViewModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "text": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Order.Aoe.AoeQuestionViewModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "text": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "isRequired": {
            "type": "boolean",
            "readOnly": true
          },
          "questionType": {
            "$ref": "#/components/schemas/HealthRecordsDomain.IntegrationModels.AoeQuestionAggregate.AoeQuestionType"
          },
          "answers": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InsightDX.Api.Features.Order.Aoe.AoeAnswerViewModel"
            },
            "nullable": true,
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Order.Aoe.AoeTestSpecificQuestionsViewModel": {
        "type": "object",
        "properties": {
          "testCodeId": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "testCode": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "testDescription": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "questions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InsightDX.Api.Features.Order.Aoe.AoeQuestionViewModel"
            },
            "nullable": true,
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Order.Aoe.OrderAoeQuestionsViewModel": {
        "type": "object",
        "properties": {
          "commonQuestions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InsightDX.Api.Features.Order.Aoe.AoeQuestionViewModel"
            },
            "nullable": true,
            "readOnly": true
          },
          "testSpecificQuestions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InsightDX.Api.Features.Order.Aoe.AoeTestSpecificQuestionsViewModel"
            },
            "nullable": true,
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Order.Cancel.OrderCancelRequestModel": {
        "type": "object",
        "properties": {
          "cancelReasonId": {
            "$ref": "#/components/schemas/HealthRecordsDomain.DomainModel.OrderAggregate.OrderCancellationReasonId"
          },
          "cancelComment": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Order.CollectionGuidance.CollectionGuidanceViewModel": {
        "type": "object",
        "properties": {
          "specimens": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InsightDX.Api.Features.Order.CollectionGuidance.SpecimenViewModel"
            },
            "nullable": true,
            "readOnly": true
          },
          "tests": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InsightDX.Api.Features.Order.CollectionGuidance.TestViewModel"
            },
            "nullable": true,
            "readOnly": true
          },
          "isCollectionGuidanceAvailable": {
            "type": "boolean",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Order.CollectionGuidance.PrimaryContainerViewModel": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "description": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "storageRequirement": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Order.CollectionGuidance.SpecimenViewModel": {
        "type": "object",
        "properties": {
          "containerCode": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "quantity": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "pourContainerCode": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "pourQuantity": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "temperature": {
            "$ref": "#/components/schemas/HealthRecordsDomain.DomainModel.Enums.SpecimenTemperature"
          },
          "isIncalculable": {
            "type": "boolean",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Order.CollectionGuidance.TestViewModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "code": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "description": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "primaryContainer": {
            "$ref": "#/components/schemas/InsightDX.Api.Features.Order.CollectionGuidance.PrimaryContainerViewModel"
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Order.Complete.OrderCompleteViewModel": {
        "type": "object",
        "properties": {
          "splitOrders": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InsightDX.Api.Features.Order.Complete.OrderCompleteViewModel+SplitOrderModel"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Order.Complete.OrderCompleteViewModel+OrderTestModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "code": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Order.Complete.OrderCompleteViewModel+SplitOrderModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "accessionNumber": {
            "type": "string",
            "nullable": true
          },
          "requisitionType": {
            "type": "string",
            "nullable": true
          },
          "tests": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InsightDX.Api.Features.Order.Complete.OrderCompleteViewModel+OrderTestModel"
            },
            "nullable": true
          },
          "isAbnRequired": {
            "type": "boolean"
          },
          "isPreaccessioned": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Order.CopyToProviderViewModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "lastName": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "firstName": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "sendVia": {
            "$ref": "#/components/schemas/HealthRecordsDomain.DomainModel.ExternalOrderingProviderAggregate.Enums.SendVia"
          },
          "npi": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "email": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "phoneCountryCode": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "phone": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "faxCountryCode": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "fax": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "countryId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "readOnly": true
          },
          "state": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "street1": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "street2": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "city": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "zip": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "isNpiValidated": {
            "type": "boolean",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Order.Create.OrderCreateRequestModel": {
        "type": "object",
        "properties": {
          "patientId": {
            "type": "integer",
            "format": "int32"
          },
          "locationId": {
            "type": "integer",
            "format": "int32"
          },
          "billType": {
            "$ref": "#/components/schemas/HealthRecordsDomain.DomainModel.OrderAggregate.BillTypeId"
          },
          "isPatientPresent": {
            "type": "boolean",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Order.CreditCard.OrderCreditCardUpdateRequestModel": {
        "required": [
          "billingZip",
          "cardHolderName",
          "cardType"
        ],
        "type": "object",
        "properties": {
          "cardHolderName": {
            "type": "string",
            "nullable": true
          },
          "billingZip": {
            "type": "string",
            "nullable": true
          },
          "cardType": {
            "$ref": "#/components/schemas/HealthRecordsDomain.DomainModel.OrderAggregate.Enums.CreditCardType"
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Order.Eligibility.EligibilityCheckRequestModel": {
        "required": [
          "guarantor",
          "patient"
        ],
        "type": "object",
        "properties": {
          "patient": {
            "$ref": "#/components/schemas/InsightDX.Api.Features.Order.Eligibility.PatientDemographicsRequestModel"
          },
          "guarantor": {
            "$ref": "#/components/schemas/InsightDX.Api.Features.Order.Eligibility.GuarantorRequestModel"
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Order.Eligibility.EligibilityResponseViewModel": {
        "type": "object",
        "properties": {
          "eligibilityStatus": {
            "$ref": "#/components/schemas/HealthRecordsDomain.DomainModel.Enums.EligibilityStatus"
          },
          "description": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Order.Eligibility.GuarantorRequestModel": {
        "required": [
          "dateOfBirth",
          "firstName",
          "lastName",
          "sexAtBirth"
        ],
        "type": "object",
        "properties": {
          "relationshipToPatient": {
            "$ref": "#/components/schemas/HealthRecordsDomain.DomainModel.Enums.RelationshipToPatient"
          },
          "firstName": {
            "type": "string",
            "nullable": true
          },
          "lastName": {
            "type": "string",
            "nullable": true
          },
          "dateOfBirth": {
            "type": "string",
            "format": "date"
          },
          "sexAtBirth": {
            "$ref": "#/components/schemas/HealthRecordsDomain.DomainModel.Enums.SexAtBirth"
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Order.Eligibility.PatientDemographicsRequestModel": {
        "required": [
          "dateOfBirth",
          "firstName",
          "lastName",
          "sexAtBirth"
        ],
        "type": "object",
        "properties": {
          "firstName": {
            "type": "string",
            "nullable": true
          },
          "lastName": {
            "type": "string",
            "nullable": true
          },
          "dateOfBirth": {
            "type": "string",
            "format": "date"
          },
          "sexAtBirth": {
            "$ref": "#/components/schemas/HealthRecordsDomain.DomainModel.Enums.SexAtBirth"
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Order.Emr.EmrOrderRequestModel": {
        "type": "object",
        "properties": {
          "locationId": {
            "type": "integer",
            "format": "int32"
          },
          "emrOrderNumber": {
            "type": "string",
            "nullable": true
          },
          "eReqNumber": {
            "type": "string",
            "nullable": true
          },
          "resetExistingOrderToEmr": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Order.GetEmrOrderResultViewModel": {
        "type": "object",
        "properties": {
          "orderId": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "patientId": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "isOrderExists": {
            "type": "boolean",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Order.InquiredWithOfficeStaffDetailsViewModel": {
        "type": "object",
        "properties": {
          "firstName": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "lastName": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "title": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Order.OrderAdditionalInformationViewModel": {
        "type": "object",
        "properties": {
          "labComments": {
            "type": "string",
            "nullable": true
          },
          "reportComments": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Order.OrderAoeCommonAnswerViewModel": {
        "type": "object",
        "properties": {
          "questionId": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "answer": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Order.OrderAoeTestSpecificAnswerViewModel": {
        "type": "object",
        "properties": {
          "questionId": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "testCode": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "answer": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Order.OrderCancellationInfoViewModel": {
        "type": "object",
        "properties": {
          "reason": {
            "type": "string",
            "nullable": true
          },
          "comment": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Order.OrderCancellationReasonViewModel": {
        "type": "object",
        "properties": {
          "id": {
            "$ref": "#/components/schemas/HealthRecordsDomain.DomainModel.OrderAggregate.OrderCancellationReasonId"
          },
          "reason": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Order.OrderCopyToProviderViewModel": {
        "type": "object",
        "properties": {
          "sendVia": {
            "$ref": "#/components/schemas/HealthRecordsDomain.DomainModel.ExternalOrderingProviderAggregate.Enums.SendVia"
          },
          "copyToProvider": {
            "$ref": "#/components/schemas/InsightDX.Api.Features.Order.CopyToProviderViewModel"
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Order.OrderDemographicsViewModel": {
        "type": "object",
        "properties": {
          "patientId": {
            "type": "integer",
            "format": "int32"
          },
          "isPatientPresent": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Order.OrderDiagnosisSourceViewModel": {
        "type": "object",
        "properties": {
          "sourceType": {
            "$ref": "#/components/schemas/HealthRecordsDomain.DomainModel.OrderAggregate.Enums.DiagnosisSourceType"
          },
          "unableToObtainDetails": {
            "$ref": "#/components/schemas/InsightDX.Api.Features.Order.UnableToObtainDetailsViewModel"
          },
          "inquiredWithOfficeStaffDetails": {
            "$ref": "#/components/schemas/InsightDX.Api.Features.Order.InquiredWithOfficeStaffDetailsViewModel"
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Order.OrderDiagnosisViewModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "code": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Order.OrderIdViewModel": {
        "type": "object",
        "properties": {
          "orderId": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Order.OrderSpecimenViewModel": {
        "type": "object",
        "properties": {
          "containerCode": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "quantity": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "pourContainerCode": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "pourQuantity": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "temperature": {
            "$ref": "#/components/schemas/HealthRecordsDomain.DomainModel.Enums.SpecimenTemperature"
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Order.OrderTestViewModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "type": {
            "$ref": "#/components/schemas/HealthRecordsDomain.DomainModel.Enums.TestType"
          },
          "code": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Order.OrderViewModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "isLocked": {
            "type": "boolean",
            "readOnly": true
          },
          "createdByPracticeId": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "createdByLocationId": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "createdForLocationId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "readOnly": true
          },
          "billTypeId": {
            "$ref": "#/components/schemas/HealthRecordsDomain.DomainModel.OrderAggregate.BillTypeId"
          },
          "status": {
            "$ref": "#/components/schemas/HealthRecordsDomain.DomainModel.OrderAggregate.OrderStatus"
          },
          "isUpdatedDraft": {
            "type": "boolean",
            "readOnly": true
          },
          "rowVersion": {
            "type": "integer",
            "format": "int64",
            "readOnly": true
          },
          "orderType": {
            "$ref": "#/components/schemas/HealthRecordsDomain.DomainModel.OrderAggregate.Enums.OrderType"
          },
          "collectionTypeId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "readOnly": true
          },
          "orderDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true,
            "readOnly": true
          },
          "priority": {
            "$ref": "#/components/schemas/HealthRecordsDomain.DomainModel.OrderAggregate.OrderPriority"
          },
          "createdForLocationName": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "createdForLocationAccountType": {
            "$ref": "#/components/schemas/HealthRecordsDomain.DomainModel.TypedIds.LocationAccountType"
          },
          "accountNumber": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "laboratoryFacilityCode": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "laboratoryFacilityId": {
            "$ref": "#/components/schemas/HealthRecordsDomain.DomainModel.OrderAggregate.Enums.LaboratoryFacilityId"
          },
          "collectedDateTime": {
            "type": "string",
            "format": "date-time",
            "nullable": true,
            "readOnly": true
          },
          "collectedBy": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "providerUserId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "readOnly": true
          },
          "providerUserFullName": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "isEmr": {
            "type": "boolean",
            "readOnly": true
          },
          "orderNumber": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "demographics": {
            "$ref": "#/components/schemas/InsightDX.Api.Features.Order.OrderDemographicsViewModel"
          },
          "cancellationInfo": {
            "$ref": "#/components/schemas/InsightDX.Api.Features.Order.OrderCancellationInfoViewModel"
          },
          "additionalInformation": {
            "$ref": "#/components/schemas/InsightDX.Api.Features.Order.OrderAdditionalInformationViewModel"
          },
          "tests": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InsightDX.Api.Features.Order.OrderTestViewModel"
            },
            "nullable": true,
            "readOnly": true
          },
          "diagnosisSource": {
            "$ref": "#/components/schemas/InsightDX.Api.Features.Order.OrderDiagnosisSourceViewModel"
          },
          "diagnoses": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InsightDX.Api.Features.Order.OrderDiagnosisViewModel"
            },
            "nullable": true,
            "readOnly": true
          },
          "aoeCommonAnswers": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InsightDX.Api.Features.Order.OrderAoeCommonAnswerViewModel"
            },
            "nullable": true,
            "readOnly": true
          },
          "aoeTestSpecificAnswers": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InsightDX.Api.Features.Order.OrderAoeTestSpecificAnswerViewModel"
            },
            "nullable": true,
            "readOnly": true
          },
          "fasting": {
            "$ref": "#/components/schemas/HealthRecordsDomain.DomainModel.OrderAggregate.FastingType"
          },
          "patientArrivalTime": {
            "type": "string",
            "format": "date-time",
            "nullable": true,
            "readOnly": true
          },
          "specimens": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InsightDX.Api.Features.Order.OrderSpecimenViewModel"
            },
            "nullable": true,
            "readOnly": true
          },
          "copyToProviders": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InsightDX.Api.Features.Order.OrderCopyToProviderViewModel"
            },
            "nullable": true,
            "readOnly": true
          },
          "accessionNumber": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "isPreaccessioned": {
            "type": "boolean",
            "readOnly": true
          },
          "isPaymentAuthorized": {
            "type": "boolean",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Order.UnableToObtainDetailsViewModel": {
        "type": "object",
        "properties": {
          "didAttemptedToInquireWithOfficeStaff": {
            "type": "boolean",
            "readOnly": true
          },
          "reasonNotProvided": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Order.Update.Aoe.OrderAoeAnswersUpdateRequestModel": {
        "type": "object",
        "properties": {
          "commonAnswers": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InsightDX.Api.Features.Order.Update.Aoe.OrderAoeCommonAnswerUpdateRequestModel"
            },
            "nullable": true
          },
          "testSpecificAnswers": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InsightDX.Api.Features.Order.Update.Aoe.OrderAoeTestSpecificAnswerUpdateRequestModel"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Order.Update.Aoe.OrderAoeCommonAnswerUpdateRequestModel": {
        "type": "object",
        "properties": {
          "questionId": {
            "type": "integer",
            "format": "int32"
          },
          "answerId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "answer": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Order.Update.Aoe.OrderAoeTestSpecificAnswerUpdateRequestModel": {
        "type": "object",
        "properties": {
          "testId": {
            "type": "integer",
            "format": "int32"
          },
          "questionId": {
            "type": "integer",
            "format": "int32"
          },
          "answerId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "answer": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Order.Update.EvsValidation.OrderCriticalValidationMessageResultViewModel": {
        "type": "object",
        "properties": {
          "validationCode": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "validationCodeDescription": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "isError": {
            "type": "boolean",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Order.Update.EvsValidation.OrderEvsValidationResultViewModel": {
        "type": "object",
        "properties": {
          "tests": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InsightDX.Api.Features.Order.Update.EvsValidation.OrderTestEvsValidationResultViewModel"
            },
            "nullable": true
          },
          "specimens": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InsightDX.Api.Features.Order.Update.EvsValidation.OrderSpecimenEvsValidationResultViewModel"
            },
            "nullable": true
          },
          "criticalMessages": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InsightDX.Api.Features.Order.Update.EvsValidation.OrderCriticalValidationMessageResultViewModel"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Order.Update.EvsValidation.OrderSpecimenEvsValidationResultViewModel": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "name": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "validationCode": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "isError": {
            "type": "boolean",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Order.Update.EvsValidation.OrderTestEvsValidationResultViewModel": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "orderedTestCode": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "description": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "validationCode": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "validationHoldDescription": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "isError": {
            "type": "boolean",
            "readOnly": true
          },
          "governmentInsurancePrice": {
            "type": "number",
            "format": "double",
            "nullable": true,
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Order.Update.InquiredWithOfficeStaffDetailsRequestModel": {
        "type": "object",
        "properties": {
          "firstName": {
            "type": "string",
            "nullable": true
          },
          "lastName": {
            "type": "string",
            "nullable": true
          },
          "title": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Order.Update.OrderCopyToProviderUpdateRequestModel": {
        "type": "object",
        "properties": {
          "copyToProviderId": {
            "type": "integer",
            "format": "int32"
          },
          "sendVia": {
            "$ref": "#/components/schemas/HealthRecordsDomain.DomainModel.ExternalOrderingProviderAggregate.Enums.SendVia"
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Order.Update.OrderDiagnosisSourceUpdateRequestModel": {
        "required": [
          "sourceType"
        ],
        "type": "object",
        "properties": {
          "sourceType": {
            "$ref": "#/components/schemas/HealthRecordsDomain.DomainModel.OrderAggregate.Enums.DiagnosisSourceType"
          },
          "unableToObtainDetails": {
            "$ref": "#/components/schemas/InsightDX.Api.Features.Order.Update.UnableToObtainDetailsRequestModel"
          },
          "inquiredWithOfficeStaffDetails": {
            "$ref": "#/components/schemas/InsightDX.Api.Features.Order.Update.InquiredWithOfficeStaffDetailsRequestModel"
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Order.Update.OrderSpecimenUpdateRequestModel": {
        "type": "object",
        "properties": {
          "containerCode": {
            "type": "string",
            "nullable": true
          },
          "quantity": {
            "type": "integer",
            "format": "int32"
          },
          "pourContainerCode": {
            "type": "string",
            "nullable": true
          },
          "pourQuantity": {
            "type": "integer",
            "format": "int32"
          },
          "temperature": {
            "$ref": "#/components/schemas/HealthRecordsDomain.DomainModel.Enums.SpecimenTemperature"
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Order.Update.OrderUpdateRequestModel": {
        "type": "object",
        "properties": {
          "locationId": {
            "type": "integer",
            "format": "int32"
          },
          "billType": {
            "$ref": "#/components/schemas/HealthRecordsDomain.DomainModel.OrderAggregate.BillTypeId"
          },
          "orderType": {
            "$ref": "#/components/schemas/HealthRecordsDomain.DomainModel.OrderAggregate.Enums.OrderType"
          },
          "collectionTypeId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "orderDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "orderPriority": {
            "$ref": "#/components/schemas/HealthRecordsDomain.DomainModel.OrderAggregate.OrderPriority"
          },
          "createdForLocationId": {
            "type": "integer",
            "format": "int32"
          },
          "collectedDateTime": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "collectedBy": {
            "type": "string",
            "nullable": true
          },
          "providerUserId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "orderStep": {
            "$ref": "#/components/schemas/HealthRecordsDomain.DomainModel.OrderAggregate.OrderStep"
          },
          "testIds": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "nullable": true
          },
          "diagnosisIds": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "nullable": true
          },
          "labComments": {
            "type": "string",
            "nullable": true
          },
          "reportComments": {
            "type": "string",
            "nullable": true
          },
          "aoeAnswers": {
            "$ref": "#/components/schemas/InsightDX.Api.Features.Order.Update.Aoe.OrderAoeAnswersUpdateRequestModel"
          },
          "isPatientPresent": {
            "type": "boolean",
            "nullable": true
          },
          "diagnosisSource": {
            "$ref": "#/components/schemas/InsightDX.Api.Features.Order.Update.OrderDiagnosisSourceUpdateRequestModel"
          },
          "fasting": {
            "$ref": "#/components/schemas/HealthRecordsDomain.DomainModel.OrderAggregate.FastingType"
          },
          "patientArrivalTime": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "specimens": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InsightDX.Api.Features.Order.Update.OrderSpecimenUpdateRequestModel"
            },
            "nullable": true
          },
          "laboratoryFacilityId": {
            "$ref": "#/components/schemas/HealthRecordsDomain.DomainModel.OrderAggregate.Enums.LaboratoryFacilityId"
          },
          "copyToProviders": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InsightDX.Api.Features.Order.Update.OrderCopyToProviderUpdateRequestModel"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Order.Update.OrderValidationResultViewModel": {
        "type": "object",
        "properties": {
          "validationType": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "validationResults": {
            "$ref": "#/components/schemas/InsightDX.Api.Features.Order.Update.EvsValidation.OrderEvsValidationResultViewModel"
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Order.Update.UnableToObtainDetailsRequestModel": {
        "type": "object",
        "properties": {
          "didAttemptedToInquireWithOfficeStaff": {
            "type": "boolean"
          },
          "reasonNotProvided": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.OrderingProvider.ExternalOrderingProviderViewModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "lastName": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "firstName": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "npi": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "sendVia": {
            "$ref": "#/components/schemas/HealthRecordsDomain.DomainModel.ExternalOrderingProviderAggregate.Enums.SendVia"
          },
          "email": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "phoneCountryCode": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "phone": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "faxCountryCode": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "fax": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "countryId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "readOnly": true
          },
          "state": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "street1": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "street2": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "city": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "zip": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "isNpiValidated": {
            "type": "boolean",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.OrderingProvider.OrderingProviderCreateRequestModel": {
        "required": [
          "city",
          "countryId",
          "email",
          "fax",
          "faxCountryCode",
          "firstName",
          "lastName",
          "npi",
          "phone",
          "phoneCountryCode",
          "practiceId",
          "sendVia",
          "state",
          "street1",
          "street2",
          "zip"
        ],
        "type": "object",
        "properties": {
          "practiceId": {
            "type": "integer",
            "format": "int32"
          },
          "lastName": {
            "type": "string",
            "nullable": true
          },
          "firstName": {
            "type": "string",
            "nullable": true
          },
          "sendVia": {
            "$ref": "#/components/schemas/HealthRecordsDomain.DomainModel.ExternalOrderingProviderAggregate.Enums.SendVia"
          },
          "npi": {
            "type": "string",
            "nullable": true
          },
          "email": {
            "type": "string",
            "nullable": true
          },
          "phoneCountryCode": {
            "type": "string",
            "nullable": true
          },
          "phone": {
            "type": "string",
            "nullable": true
          },
          "faxCountryCode": {
            "type": "string",
            "nullable": true
          },
          "fax": {
            "type": "string",
            "nullable": true
          },
          "street1": {
            "type": "string",
            "nullable": true
          },
          "street2": {
            "type": "string",
            "nullable": true
          },
          "city": {
            "type": "string",
            "nullable": true
          },
          "countryId": {
            "type": "integer",
            "format": "int32"
          },
          "state": {
            "type": "string",
            "nullable": true
          },
          "zip": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.OrderingProvider.OrderingProviderIdViewModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.OrderingProvider.OrderingProviderUpdateRequestModel": {
        "required": [
          "city",
          "countryId",
          "email",
          "fax",
          "faxCountryCode",
          "firstName",
          "lastName",
          "npi",
          "phone",
          "phoneCountryCode",
          "sendVia",
          "state",
          "street1",
          "street2",
          "zip"
        ],
        "type": "object",
        "properties": {
          "lastName": {
            "type": "string",
            "nullable": true
          },
          "firstName": {
            "type": "string",
            "nullable": true
          },
          "sendVia": {
            "$ref": "#/components/schemas/HealthRecordsDomain.DomainModel.ExternalOrderingProviderAggregate.Enums.SendVia"
          },
          "npi": {
            "type": "string",
            "nullable": true
          },
          "email": {
            "type": "string",
            "nullable": true
          },
          "phoneCountryCode": {
            "type": "string",
            "nullable": true
          },
          "phone": {
            "type": "string",
            "nullable": true
          },
          "faxCountryCode": {
            "type": "string",
            "nullable": true
          },
          "fax": {
            "type": "string",
            "nullable": true
          },
          "street1": {
            "type": "string",
            "nullable": true
          },
          "street2": {
            "type": "string",
            "nullable": true
          },
          "city": {
            "type": "string",
            "nullable": true
          },
          "countryId": {
            "type": "integer",
            "format": "int32"
          },
          "state": {
            "type": "string",
            "nullable": true
          },
          "zip": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.OrderingProvider.OrderingProviderValidationFailedViewModel": {
        "type": "object",
        "properties": {
          "isNpiValidationFailed": {
            "type": "boolean",
            "readOnly": true
          },
          "message": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.OrderingProvider.OrderingProviderViewModel": {
        "type": "object",
        "properties": {
          "userId": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "id": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "firstName": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "lastName": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Patient.Bridge.BridgePatientSearchRequestModel": {
        "type": "object",
        "properties": {
          "locationId": {
            "type": "integer",
            "format": "int32"
          },
          "chartNumber": {
            "type": "string",
            "nullable": true
          },
          "lastName": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Patient.Bridge.BridgePatientSearchViewModel": {
        "type": "object",
        "properties": {
          "patients": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InsightDX.Api.Features.Patient.Bridge.BridgePatientViewModel"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Patient.Bridge.BridgePatientViewModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "chartNumber": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "lastName": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "firstName": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "dateOfBirth": {
            "type": "string",
            "format": "date",
            "nullable": true,
            "readOnly": true
          },
          "sexAtBirth": {
            "$ref": "#/components/schemas/HealthRecordsDomain.DomainModel.Enums.SexAtBirth"
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Patient.Bridge.Get.BridgeGuarantorAddressViewModel": {
        "type": "object",
        "properties": {
          "street1": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "street2": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "country": {
            "$ref": "#/components/schemas/HealthRecordsDomain.DomainModel.Enums.CountryIds"
          },
          "zip": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "city": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "state": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Patient.Bridge.Get.BridgeGuarantorViewModel": {
        "type": "object",
        "properties": {
          "relationshipToPatient": {
            "$ref": "#/components/schemas/HealthRecordsDomain.DomainModel.Enums.RelationshipToPatient"
          },
          "firstName": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "middleName": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "lastName": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "birthDate": {
            "type": "string",
            "format": "date",
            "nullable": true,
            "readOnly": true
          },
          "sexAtBirth": {
            "$ref": "#/components/schemas/HealthRecordsDomain.DomainModel.Enums.SexAtBirth"
          },
          "mobilePhoneCountryCode": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "mobilePhone": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "homePhoneCountryCode": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "homePhone": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "workPhoneCountryCode": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "workPhone": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "preferredPhoneType": {
            "$ref": "#/components/schemas/HealthRecordsDomain.DomainModel.Enums.PhoneType"
          },
          "address": {
            "$ref": "#/components/schemas/InsightDX.Api.Features.Patient.Bridge.Get.BridgeGuarantorAddressViewModel"
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Patient.Bridge.Get.BridgePatientAddressViewModel": {
        "type": "object",
        "properties": {
          "street1": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "street2": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "country": {
            "$ref": "#/components/schemas/HealthRecordsDomain.DomainModel.Enums.CountryIds"
          },
          "zip": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "city": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "state": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Patient.Bridge.Get.BridgePatientDetailsViewModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "chartNumber": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "address": {
            "$ref": "#/components/schemas/InsightDX.Api.Features.Patient.Bridge.Get.BridgePatientAddressViewModel"
          },
          "guarantor": {
            "$ref": "#/components/schemas/InsightDX.Api.Features.Patient.Bridge.Get.BridgeGuarantorViewModel"
          },
          "insurances": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InsightDX.Api.Features.Patient.Bridge.Get.BridgePatientInsuranceViewModel"
            },
            "nullable": true,
            "readOnly": true
          },
          "firstName": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "middleName": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "lastName": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "birthDate": {
            "type": "string",
            "format": "date",
            "nullable": true,
            "readOnly": true
          },
          "sexAtBirth": {
            "$ref": "#/components/schemas/HealthRecordsDomain.DomainModel.Enums.SexAtBirth"
          },
          "genderIdentity": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "readOnly": true
          },
          "sexualOrientation": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "readOnly": true
          },
          "race": {
            "$ref": "#/components/schemas/HealthRecordsDomain.DomainModel.Enums.RaceId"
          },
          "ethnicity": {
            "$ref": "#/components/schemas/HealthRecordsDomain.DomainModel.Enums.EthnicityId"
          },
          "language": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "readOnly": true
          },
          "mobilePhoneCountryCode": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "mobilePhone": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "homePhoneCountryCode": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "homePhone": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "workPhoneCountryCode": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "workPhone": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "preferredPhoneType": {
            "$ref": "#/components/schemas/HealthRecordsDomain.DomainModel.Enums.PhoneType"
          },
          "email": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "employmentStatus": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "readOnly": true
          },
          "employer": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "maritalStatus": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "readOnly": true
          },
          "notes": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Patient.Bridge.Get.BridgePatientInsuranceViewModel": {
        "type": "object",
        "properties": {
          "policyId": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "companyId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "readOnly": true
          },
          "companyName": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "companyCode": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "groupId": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "groupName": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "planId": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "expirationDate": {
            "type": "string",
            "format": "date",
            "nullable": true,
            "readOnly": true
          },
          "country": {
            "$ref": "#/components/schemas/HealthRecordsDomain.DomainModel.Enums.CountryIds"
          },
          "mobilePhoneCountryCode": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "mobilePhone": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "isGovernmentProgram": {
            "type": "boolean",
            "nullable": true,
            "readOnly": true
          },
          "sortOrder": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "payerId": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "payerName": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Patient.CheckDuplicate.PatientCheckDuplicateRequestModel": {
        "type": "object",
        "properties": {
          "practiceId": {
            "type": "integer",
            "format": "int32"
          },
          "firstName": {
            "type": "string",
            "nullable": true
          },
          "middleName": {
            "type": "string",
            "nullable": true
          },
          "lastName": {
            "type": "string",
            "nullable": true
          },
          "sexAtBirth": {
            "$ref": "#/components/schemas/HealthRecordsDomain.DomainModel.Enums.SexAtBirth"
          },
          "dateOfBirth": {
            "type": "string",
            "format": "date-time"
          },
          "address": {
            "$ref": "#/components/schemas/InsightDX.Api.Features.Patient.CheckDuplicate.PatientCheckDuplicateRequestModel+PatientAddressModel"
          },
          "phoneNumbers": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InsightDX.Api.Features.Patient.CheckDuplicate.PatientCheckDuplicateRequestModel+PhoneNumberModel"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Patient.CheckDuplicate.PatientCheckDuplicateRequestModel+PatientAddressModel": {
        "type": "object",
        "properties": {
          "street1": {
            "type": "string",
            "nullable": true
          },
          "street2": {
            "type": "string",
            "nullable": true
          },
          "city": {
            "type": "string",
            "nullable": true
          },
          "state": {
            "type": "string",
            "nullable": true
          },
          "zip": {
            "type": "string",
            "nullable": true
          },
          "countryId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Patient.CheckDuplicate.PatientCheckDuplicateRequestModel+PhoneNumberModel": {
        "type": "object",
        "properties": {
          "type": {
            "$ref": "#/components/schemas/InsightDX.Api.Features.Patient.CheckDuplicate.PatientPhoneType"
          },
          "number": {
            "type": "string",
            "nullable": true
          },
          "countryCode": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Patient.CheckDuplicate.PatientCheckDuplicateResultViewModel": {
        "type": "object",
        "properties": {
          "isDuplicate": {
            "type": "boolean"
          },
          "existingPatient": {
            "$ref": "#/components/schemas/InsightDX.Api.Features.Patient.CheckDuplicate.PatientCheckDuplicateResultViewModel+PatientModel"
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Patient.CheckDuplicate.PatientCheckDuplicateResultViewModel+PatientAddressModel": {
        "type": "object",
        "properties": {
          "street1": {
            "type": "string",
            "nullable": true
          },
          "street2": {
            "type": "string",
            "nullable": true
          },
          "city": {
            "type": "string",
            "nullable": true
          },
          "state": {
            "type": "string",
            "nullable": true
          },
          "zip": {
            "type": "string",
            "nullable": true
          },
          "countryId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Patient.CheckDuplicate.PatientCheckDuplicateResultViewModel+PatientModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "euid": {
            "type": "string",
            "nullable": true
          },
          "firstName": {
            "type": "string",
            "nullable": true
          },
          "middleName": {
            "type": "string",
            "nullable": true
          },
          "lastName": {
            "type": "string",
            "nullable": true
          },
          "genderId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "sexAtBirthId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "dateOfBirth": {
            "type": "string",
            "format": "date",
            "nullable": true
          },
          "address": {
            "$ref": "#/components/schemas/InsightDX.Api.Features.Patient.CheckDuplicate.PatientCheckDuplicateResultViewModel+PatientAddressModel"
          },
          "phoneNumbers": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InsightDX.Api.Features.Patient.CheckDuplicate.PatientCheckDuplicateResultViewModel+PatientPhoneNumberModel"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Patient.CheckDuplicate.PatientCheckDuplicateResultViewModel+PatientPhoneNumberModel": {
        "type": "object",
        "properties": {
          "type": {
            "$ref": "#/components/schemas/InsightDX.Api.Features.Patient.CheckDuplicate.PatientPhoneType"
          },
          "number": {
            "type": "string",
            "nullable": true
          },
          "countryCode": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Patient.CheckDuplicate.PatientPhoneType": {
        "enum": [
          "Mobile",
          "Home",
          "Work"
        ],
        "type": "string"
      },
      "InsightDX.Api.Features.Patient.Create.AddressCreateRequestModel": {
        "type": "object",
        "properties": {
          "street1": {
            "type": "string",
            "nullable": true
          },
          "street2": {
            "type": "string",
            "nullable": true
          },
          "countryId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "state": {
            "type": "string",
            "nullable": true
          },
          "zip": {
            "type": "string",
            "nullable": true
          },
          "city": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Patient.Create.GuarantorAddressCreateRequestModel": {
        "type": "object",
        "properties": {
          "street1": {
            "type": "string",
            "nullable": true
          },
          "street2": {
            "type": "string",
            "nullable": true
          },
          "countryId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "state": {
            "type": "string",
            "nullable": true
          },
          "zip": {
            "type": "string",
            "nullable": true
          },
          "city": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Patient.Create.GuarantorCreateRequestModel": {
        "type": "object",
        "properties": {
          "relationshipToPatientId": {
            "$ref": "#/components/schemas/HealthRecordsDomain.DomainModel.Enums.RelationshipToPatient"
          },
          "firstName": {
            "type": "string",
            "nullable": true
          },
          "lastName": {
            "type": "string",
            "nullable": true
          },
          "middleName": {
            "type": "string",
            "nullable": true
          },
          "birthDate": {
            "type": "string",
            "format": "date",
            "nullable": true
          },
          "sexAtBirthId": {
            "$ref": "#/components/schemas/HealthRecordsDomain.DomainModel.Enums.SexAtBirth"
          },
          "mobilePhoneCountryCode": {
            "type": "string",
            "nullable": true
          },
          "mobilePhone": {
            "type": "string",
            "nullable": true
          },
          "homePhoneCountryCode": {
            "type": "string",
            "nullable": true
          },
          "homePhone": {
            "type": "string",
            "nullable": true
          },
          "workPhoneCountryCode": {
            "type": "string",
            "nullable": true
          },
          "workPhone": {
            "type": "string",
            "nullable": true
          },
          "preferredPhoneType": {
            "$ref": "#/components/schemas/HealthRecordsDomain.DomainModel.Enums.PhoneType"
          },
          "address": {
            "$ref": "#/components/schemas/InsightDX.Api.Features.Patient.Create.GuarantorAddressCreateRequestModel"
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Patient.Create.InsuranceInformationCreateRequestModel": {
        "type": "object",
        "properties": {
          "companyId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "policyId": {
            "type": "string",
            "nullable": true
          },
          "groupId": {
            "type": "string",
            "nullable": true
          },
          "groupName": {
            "type": "string",
            "nullable": true
          },
          "planId": {
            "type": "string",
            "nullable": true
          },
          "expirationDate": {
            "type": "string",
            "format": "date",
            "nullable": true
          },
          "countryId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "mobilePhoneCountryCode": {
            "type": "string",
            "nullable": true
          },
          "mobilePhone": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Patient.Create.PatientCreateRequestModel": {
        "type": "object",
        "properties": {
          "practiceId": {
            "type": "integer",
            "format": "int32"
          },
          "firstName": {
            "type": "string",
            "nullable": true
          },
          "lastName": {
            "type": "string",
            "nullable": true
          },
          "middleName": {
            "type": "string",
            "nullable": true
          },
          "birthDate": {
            "type": "string",
            "format": "date"
          },
          "sexAtBirthId": {
            "$ref": "#/components/schemas/HealthRecordsDomain.DomainModel.Enums.SexAtBirth"
          },
          "genderIdentityId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "sexualOrientationId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "raceId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "ethnicityId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "languageId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "employmentStatusId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "employer": {
            "type": "string",
            "nullable": true
          },
          "maritalStatusId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "roomNumber": {
            "type": "string",
            "nullable": true
          },
          "bed": {
            "type": "string",
            "nullable": true
          },
          "floor": {
            "type": "string",
            "nullable": true
          },
          "notes": {
            "type": "string",
            "nullable": true
          },
          "mobilePhoneCountryCode": {
            "type": "string",
            "nullable": true
          },
          "mobilePhone": {
            "type": "string",
            "nullable": true
          },
          "homePhoneCountryCode": {
            "type": "string",
            "nullable": true
          },
          "homePhone": {
            "type": "string",
            "nullable": true
          },
          "workPhoneCountryCode": {
            "type": "string",
            "nullable": true
          },
          "workPhone": {
            "type": "string",
            "nullable": true
          },
          "preferredPhoneType": {
            "$ref": "#/components/schemas/HealthRecordsDomain.DomainModel.Enums.PhoneType"
          },
          "email": {
            "type": "string",
            "nullable": true
          },
          "userDefinedId": {
            "type": "string",
            "nullable": true
          },
          "address": {
            "$ref": "#/components/schemas/InsightDX.Api.Features.Patient.Create.AddressCreateRequestModel"
          },
          "guarantor": {
            "$ref": "#/components/schemas/InsightDX.Api.Features.Patient.Create.GuarantorCreateRequestModel"
          },
          "primaryInsurance": {
            "$ref": "#/components/schemas/InsightDX.Api.Features.Patient.Create.InsuranceInformationCreateRequestModel"
          },
          "secondaryInsurance": {
            "$ref": "#/components/schemas/InsightDX.Api.Features.Patient.Create.InsuranceInformationCreateRequestModel"
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Patient.Demographics.CountryInfo": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "countryName": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "countryCode": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "countryPhoneCode": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "states": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InsightDX.Api.Features.Patient.Demographics.StateInfo"
            },
            "nullable": true,
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Patient.Demographics.PatientDemographicsParametersViewModel": {
        "type": "object",
        "properties": {
          "genderIdentities": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InsightDX.Api.Features.Patient.Demographics.PatientGenderInfo"
            },
            "nullable": true,
            "readOnly": true
          },
          "sexualOrientations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InsightDX.Api.Features.Patient.Demographics.PatientSexualOrientationInfo"
            },
            "nullable": true,
            "readOnly": true
          },
          "races": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InsightDX.Api.Features.Patient.Demographics.PatientRaceInfo"
            },
            "nullable": true,
            "readOnly": true
          },
          "ethnicities": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InsightDX.Api.Features.Patient.Demographics.PatientEthnicityInfo"
            },
            "nullable": true,
            "readOnly": true
          },
          "languages": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InsightDX.Api.Features.Patient.Demographics.PatientLanguageInfo"
            },
            "nullable": true,
            "readOnly": true
          },
          "sexesAtBirth": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InsightDX.Api.Features.Patient.Demographics.PatientSexesAtBirthInfo"
            },
            "nullable": true,
            "readOnly": true
          },
          "relationshipsToPatient": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InsightDX.Api.Features.Patient.Demographics.PatientGuarantorRelationshipInfo"
            },
            "nullable": true,
            "readOnly": true
          },
          "employmentStatuses": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InsightDX.Api.Features.Patient.Demographics.PatientEmploymentStatusInfo"
            },
            "nullable": true,
            "readOnly": true
          },
          "maritalStatuses": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InsightDX.Api.Features.Patient.Demographics.PatientMaritalStatusInfo"
            },
            "nullable": true,
            "readOnly": true
          },
          "countries": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InsightDX.Api.Features.Patient.Demographics.CountryInfo"
            },
            "nullable": true,
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Patient.Demographics.PatientEmploymentStatusInfo": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "title": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Patient.Demographics.PatientEthnicityInfo": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "title": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Patient.Demographics.PatientGenderInfo": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "title": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Patient.Demographics.PatientGuarantorRelationshipInfo": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "title": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Patient.Demographics.PatientLanguageInfo": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "title": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Patient.Demographics.PatientMaritalStatusInfo": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "title": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Patient.Demographics.PatientRaceInfo": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "title": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Patient.Demographics.PatientSexesAtBirthInfo": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "title": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Patient.Demographics.PatientSexualOrientationInfo": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "title": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Patient.Demographics.StateInfo": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "stateName": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Patient.GuarantorAddressViewModel": {
        "type": "object",
        "properties": {
          "street1": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "street2": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "countryId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "readOnly": true
          },
          "zip": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "city": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "state": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Patient.GuarantorViewModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "relationshipToPatientId": {
            "$ref": "#/components/schemas/HealthRecordsDomain.DomainModel.Enums.RelationshipToPatient"
          },
          "firstName": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "middleName": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "lastName": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "birthDate": {
            "type": "string",
            "format": "date",
            "nullable": true,
            "readOnly": true
          },
          "sexAtBirthId": {
            "$ref": "#/components/schemas/HealthRecordsDomain.DomainModel.Enums.SexAtBirth"
          },
          "mobilePhoneCountryCode": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "mobilePhone": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "homePhoneCountryCode": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "homePhone": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "workPhoneCountryCode": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "workPhone": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "preferredPhoneType": {
            "$ref": "#/components/schemas/HealthRecordsDomain.DomainModel.Enums.PhoneType"
          },
          "address": {
            "$ref": "#/components/schemas/InsightDX.Api.Features.Patient.GuarantorAddressViewModel"
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Patient.InsuranceCompany.InsuranceCompanySearchResultItem": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "displayName": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "code": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "street": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "city": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "state": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "zipCode": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Patient.PatientAddressViewModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "street1": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "street2": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "countryId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "readOnly": true
          },
          "zip": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "city": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "state": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Patient.PatientExternalResults.ExternalResultsApprovalRequestModel": {
        "type": "object",
        "properties": {
          "locationId": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Patient.PatientExternalResults.PatientExternalResultSearchViewModel": {
        "type": "object",
        "properties": {
          "results": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InsightDX.Api.Features.Patient.PatientExternalResults.PatientExternalResultViewModel"
            },
            "nullable": true,
            "readOnly": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Patient.PatientExternalResults.PatientExternalResultViewModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "date": {
            "type": "string",
            "format": "date",
            "readOnly": true
          },
          "provider": {
            "$ref": "#/components/schemas/InsightDX.Api.Features.Patient.PatientExternalResults.ProviderViewModel"
          },
          "accessionNumber": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "resultStatus": {
            "$ref": "#/components/schemas/SearchApplication.IntegrationDataModels.Enums.LabAccessionStatus"
          },
          "isAbnormal": {
            "type": "boolean",
            "readOnly": true
          },
          "resultPracticeId": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Patient.PatientExternalResults.ProviderViewModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "fullName": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Patient.PatientIdViewModel": {
        "type": "object",
        "properties": {
          "patientId": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Patient.PatientInsuranceViewModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "policyId": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "companyId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "readOnly": true
          },
          "companyName": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "companyCode": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "groupId": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "groupName": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "planId": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "expirationDate": {
            "type": "string",
            "format": "date",
            "nullable": true,
            "readOnly": true
          },
          "countryId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "readOnly": true
          },
          "mobilePhoneCountryCode": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "mobilePhone": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "isGovernmentProgram": {
            "type": "boolean",
            "nullable": true,
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Patient.PatientOrderResults.PatientOrderResultSearchViewModel": {
        "type": "object",
        "properties": {
          "totalCount": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InsightDX.Api.Features.Patient.PatientOrderResults.PatientOrderResultViewModel"
            },
            "nullable": true,
            "readOnly": true
          },
          "hasResultsInCurrentPractice": {
            "type": "boolean",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Patient.PatientOrderResults.PatientOrderResultViewModel": {
        "type": "object",
        "properties": {
          "order": {
            "$ref": "#/components/schemas/InsightDX.Api.Features.Patient.PatientOrderResults.PatientOrderViewModel"
          },
          "result": {
            "$ref": "#/components/schemas/InsightDX.Api.Features.Patient.PatientOrderResults.PatientResultViewModel"
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Patient.PatientOrderResults.PatientOrderTestViewModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "code": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Patient.PatientOrderResults.PatientOrderViewModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "orderNumber": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "dateTime": {
            "type": "string",
            "format": "date-time",
            "nullable": true,
            "readOnly": true
          },
          "status": {
            "$ref": "#/components/schemas/SearchApplication.IntegrationDataModels.Enums.OrderStatus"
          },
          "isUpdatedDraft": {
            "type": "boolean",
            "nullable": true,
            "readOnly": true
          },
          "provider": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "accessionNumber": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "orderType": {
            "$ref": "#/components/schemas/SearchApplication.IntegrationDataModels.Enums.OrderType"
          },
          "isExternalLaboratory": {
            "type": "boolean",
            "readOnly": true
          },
          "tests": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InsightDX.Api.Features.Patient.PatientOrderResults.PatientOrderTestViewModel"
            },
            "nullable": true,
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Patient.PatientOrderResults.PatientResultViewModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "dateTime": {
            "type": "string",
            "format": "date-time",
            "nullable": true,
            "readOnly": true
          },
          "status": {
            "$ref": "#/components/schemas/SearchApplication.IntegrationDataModels.Enums.LabAccessionStatus"
          },
          "isAbnormal": {
            "type": "boolean",
            "nullable": true,
            "readOnly": true
          },
          "provider": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "accessionNumber": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "isExternalLaboratory": {
            "type": "boolean",
            "readOnly": true
          },
          "hasPdf": {
            "type": "boolean",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Patient.PatientOrderResultsCount.PatientOrderResultsCountViewModel": {
        "type": "object",
        "properties": {
          "totalCount": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Patient.PatientViewModel": {
        "type": "object",
        "properties": {
          "practiceId": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "id": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "euid": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "address": {
            "$ref": "#/components/schemas/InsightDX.Api.Features.Patient.PatientAddressViewModel"
          },
          "guarantor": {
            "$ref": "#/components/schemas/InsightDX.Api.Features.Patient.GuarantorViewModel"
          },
          "primaryInsurance": {
            "$ref": "#/components/schemas/InsightDX.Api.Features.Patient.PatientInsuranceViewModel"
          },
          "secondaryInsurance": {
            "$ref": "#/components/schemas/InsightDX.Api.Features.Patient.PatientInsuranceViewModel"
          },
          "firstName": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "middleName": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "lastName": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "birthDate": {
            "type": "string",
            "format": "date",
            "nullable": true,
            "readOnly": true
          },
          "sexAtBirthId": {
            "$ref": "#/components/schemas/HealthRecordsDomain.DomainModel.Enums.SexAtBirth"
          },
          "genderIdentityId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "readOnly": true
          },
          "sexualOrientationId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "readOnly": true
          },
          "raceId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "readOnly": true
          },
          "ethnicityId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "readOnly": true
          },
          "languageId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "readOnly": true
          },
          "mobilePhoneCountryCode": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "mobilePhone": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "homePhoneCountryCode": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "homePhone": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "workPhoneCountryCode": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "workPhone": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "preferredPhoneType": {
            "$ref": "#/components/schemas/HealthRecordsDomain.DomainModel.Enums.PhoneType"
          },
          "email": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "employmentStatusId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "readOnly": true
          },
          "employer": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "maritalStatusId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "readOnly": true
          },
          "roomNumber": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "bed": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "floor": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "notes": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "userDefinedId": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Patient.PriorBalance.PatientPriorBalanceViewModel": {
        "type": "object",
        "properties": {
          "status": {
            "$ref": "#/components/schemas/HealthRecordsApplication.BusinessServices.Patient.PriorBalance.PatientPriorBalanceGetStatus"
          },
          "euid": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "balanceItems": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InsightDX.Api.Features.Patient.PriorBalance.PriorBalanceItemViewModel"
            },
            "nullable": true,
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Patient.PriorBalance.PriorBalanceItemViewModel": {
        "type": "object",
        "properties": {
          "invoiceNumber": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "dateOfService": {
            "type": "string",
            "format": "date",
            "readOnly": true
          },
          "isPaymentPlan": {
            "type": "boolean",
            "readOnly": true
          },
          "paymentStatus": {
            "$ref": "#/components/schemas/HealthRecordsApplication.BusinessServices.Patient.PriorBalance.PaymentStatus"
          },
          "balance": {
            "type": "number",
            "format": "double",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Patient.Update.AddressUpdateRequestModel": {
        "type": "object",
        "properties": {
          "street1": {
            "type": "string",
            "nullable": true
          },
          "street2": {
            "type": "string",
            "nullable": true
          },
          "countryId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "state": {
            "type": "string",
            "nullable": true
          },
          "zip": {
            "type": "string",
            "nullable": true
          },
          "city": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Patient.Update.GuarantorAddressUpdateRequestModel": {
        "type": "object",
        "properties": {
          "street1": {
            "type": "string",
            "nullable": true
          },
          "street2": {
            "type": "string",
            "nullable": true
          },
          "countryId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "state": {
            "type": "string",
            "nullable": true
          },
          "zip": {
            "type": "string",
            "nullable": true
          },
          "city": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Patient.Update.GuarantorUpdateRequestModel": {
        "type": "object",
        "properties": {
          "relationshipToPatientId": {
            "$ref": "#/components/schemas/HealthRecordsDomain.DomainModel.Enums.RelationshipToPatient"
          },
          "firstName": {
            "type": "string",
            "nullable": true
          },
          "lastName": {
            "type": "string",
            "nullable": true
          },
          "middleName": {
            "type": "string",
            "nullable": true
          },
          "birthDate": {
            "type": "string",
            "format": "date",
            "nullable": true
          },
          "sexAtBirthId": {
            "$ref": "#/components/schemas/HealthRecordsDomain.DomainModel.Enums.SexAtBirth"
          },
          "mobilePhoneCountryCode": {
            "type": "string",
            "nullable": true
          },
          "mobilePhone": {
            "type": "string",
            "nullable": true
          },
          "homePhoneCountryCode": {
            "type": "string",
            "nullable": true
          },
          "homePhone": {
            "type": "string",
            "nullable": true
          },
          "workPhoneCountryCode": {
            "type": "string",
            "nullable": true
          },
          "workPhone": {
            "type": "string",
            "nullable": true
          },
          "preferredPhoneType": {
            "$ref": "#/components/schemas/HealthRecordsDomain.DomainModel.Enums.PhoneType"
          },
          "address": {
            "$ref": "#/components/schemas/InsightDX.Api.Features.Patient.Update.GuarantorAddressUpdateRequestModel"
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Patient.Update.InsuranceInformationUpdateRequestModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "companyId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "policyId": {
            "type": "string",
            "nullable": true
          },
          "groupId": {
            "type": "string",
            "nullable": true
          },
          "groupName": {
            "type": "string",
            "nullable": true
          },
          "planId": {
            "type": "string",
            "nullable": true
          },
          "expirationDate": {
            "type": "string",
            "format": "date",
            "nullable": true
          },
          "countryId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "mobilePhoneCountryCode": {
            "type": "string",
            "nullable": true
          },
          "mobilePhone": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Patient.Update.PatientUpdateRequestModel": {
        "type": "object",
        "properties": {
          "practiceId": {
            "type": "integer",
            "format": "int32"
          },
          "firstName": {
            "type": "string",
            "nullable": true
          },
          "lastName": {
            "type": "string",
            "nullable": true
          },
          "middleName": {
            "type": "string",
            "nullable": true
          },
          "birthDate": {
            "type": "string",
            "format": "date"
          },
          "sexAtBirthId": {
            "$ref": "#/components/schemas/HealthRecordsDomain.DomainModel.Enums.SexAtBirth"
          },
          "genderIdentityId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "sexualOrientationId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "raceId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "ethnicityId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "languageId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "employmentStatusId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "employer": {
            "type": "string",
            "nullable": true
          },
          "maritalStatusId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "roomNumber": {
            "type": "string",
            "nullable": true
          },
          "bed": {
            "type": "string",
            "nullable": true
          },
          "floor": {
            "type": "string",
            "nullable": true
          },
          "notes": {
            "type": "string",
            "nullable": true
          },
          "mobilePhoneCountryCode": {
            "type": "string",
            "nullable": true
          },
          "mobilePhone": {
            "type": "string",
            "nullable": true
          },
          "homePhoneCountryCode": {
            "type": "string",
            "nullable": true
          },
          "homePhone": {
            "type": "string",
            "nullable": true
          },
          "workPhoneCountryCode": {
            "type": "string",
            "nullable": true
          },
          "workPhone": {
            "type": "string",
            "nullable": true
          },
          "preferredPhoneType": {
            "$ref": "#/components/schemas/HealthRecordsDomain.DomainModel.Enums.PhoneType"
          },
          "email": {
            "type": "string",
            "nullable": true
          },
          "userDefinedId": {
            "type": "string",
            "nullable": true
          },
          "address": {
            "$ref": "#/components/schemas/InsightDX.Api.Features.Patient.Update.AddressUpdateRequestModel"
          },
          "guarantor": {
            "$ref": "#/components/schemas/InsightDX.Api.Features.Patient.Update.GuarantorUpdateRequestModel"
          },
          "primaryInsurance": {
            "$ref": "#/components/schemas/InsightDX.Api.Features.Patient.Update.InsuranceInformationUpdateRequestModel"
          },
          "secondaryInsurance": {
            "$ref": "#/components/schemas/InsightDX.Api.Features.Patient.Update.InsuranceInformationUpdateRequestModel"
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Patient.ValidationRules.FieldRequirementViewModel": {
        "type": "object",
        "properties": {
          "fieldName": {
            "$ref": "#/components/schemas/System.Enum"
          },
          "isRequired": {
            "type": "boolean",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Patient.ValidationRules.SegmentFieldViewModel": {
        "type": "object",
        "properties": {
          "segmentCode": {
            "$ref": "#/components/schemas/HealthRecordsDomain.DomainModel.Enums.BillTypeSegmentCode"
          },
          "fields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InsightDX.Api.Features.Patient.ValidationRules.FieldRequirementViewModel"
            },
            "nullable": true,
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Patient.ValidationRules.SegmentFieldsViewModel": {
        "type": "object",
        "properties": {
          "segmentFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InsightDX.Api.Features.Patient.ValidationRules.SegmentFieldViewModel"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Practice.Location.LabScript.PracticeLabScriptPdfRequestModel": {
        "required": [
          "diagnosisIds",
          "laboratoryFacilityId",
          "testGroupIds",
          "testIds"
        ],
        "type": "object",
        "properties": {
          "laboratoryFacilityId": {
            "$ref": "#/components/schemas/HealthRecordsDomain.DomainModel.OrderAggregate.Enums.LaboratoryFacilityId"
          },
          "testGroupIds": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "nullable": true
          },
          "testIds": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "nullable": true
          },
          "diagnosisIds": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Practice.Location.LocationInfoViewModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "name": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "isAccountTypeRestricted": {
            "type": "boolean",
            "readOnly": true
          },
          "accountType": {
            "$ref": "#/components/schemas/PracticeDomain.DomainModel.LocationAccountType"
          },
          "practiceId": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "code": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Practice.Location.Settings.BillTypeSegmentViewModel": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Practice.Location.Settings.BillTypeViewModel": {
        "type": "object",
        "properties": {
          "id": {
            "$ref": "#/components/schemas/PracticeApplication.BusinessServices.Location.Settings.BillTypeId"
          },
          "code": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "description": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "isDefault": {
            "type": "boolean",
            "readOnly": true
          },
          "orderRequiredSegments": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InsightDX.Api.Features.Practice.Location.Settings.BillTypeSegmentViewModel"
            },
            "nullable": true,
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Practice.Location.Settings.CollectionTypeAutoAddedTestsViewModel": {
        "type": "object",
        "properties": {
          "collectionTypeId": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "tests": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InsightDX.Api.Features.Practice.Location.Settings.TestViewModel"
            },
            "nullable": true,
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Practice.Location.Settings.CollectionTypeViewModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "description": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "sortOrder": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "isDefault": {
            "type": "boolean",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Practice.Location.Settings.CommunicationMethodAutoAddedTestsViewModel": {
        "type": "object",
        "properties": {
          "sendVia": {
            "$ref": "#/components/schemas/PracticeDomain.DomainModel.Enums.SendVia"
          },
          "tests": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InsightDX.Api.Features.Practice.Location.Settings.TestViewModel"
            },
            "nullable": true,
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Practice.Location.Settings.DiagnosisViewModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "code": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "description": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Practice.Location.Settings.LabelPrintingSettingsViewModel": {
        "type": "object",
        "properties": {
          "executeUri": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "updateUrl": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "updateFile": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "updateVersion": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "showBarcode": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Practice.Location.Settings.LocationSettingsViewModel": {
        "type": "object",
        "properties": {
          "billTypes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InsightDX.Api.Features.Practice.Location.Settings.BillTypeViewModel"
            },
            "nullable": true,
            "readOnly": true
          },
          "collectionTypes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InsightDX.Api.Features.Practice.Location.Settings.CollectionTypeViewModel"
            },
            "nullable": true,
            "readOnly": true
          },
          "orderTypes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InsightDX.Api.Features.Practice.Location.Settings.OrderTypeViewModel"
            },
            "nullable": true,
            "readOnly": true
          },
          "collectionTypeAutoAddedTestCodes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InsightDX.Api.Features.Practice.Location.Settings.CollectionTypeAutoAddedTestsViewModel"
            },
            "nullable": true,
            "readOnly": true
          },
          "communicationMethodAutoAddedTestCodes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InsightDX.Api.Features.Practice.Location.Settings.CommunicationMethodAutoAddedTestsViewModel"
            },
            "nullable": true,
            "readOnly": true
          },
          "isEmrEnabled": {
            "type": "boolean",
            "readOnly": true
          },
          "labelPrintSettings": {
            "$ref": "#/components/schemas/InsightDX.Api.Features.Practice.Location.Settings.LabelPrintingSettingsViewModel"
          },
          "unableToObtainDiagnosis": {
            "$ref": "#/components/schemas/InsightDX.Api.Features.Practice.Location.Settings.DiagnosisViewModel"
          },
          "isFastingRequired": {
            "type": "boolean",
            "readOnly": true
          },
          "isSupplyOrderingEnabled": {
            "type": "boolean",
            "readOnly": true
          },
          "defaultFastingType": {
            "$ref": "#/components/schemas/PracticeDomain.DomainModel.Enums.FastingType"
          },
          "showPatientOpenBalances": {
            "type": "boolean",
            "readOnly": true
          },
          "isPreAccessioningEnabled": {
            "type": "boolean",
            "readOnly": true
          },
          "isGlobalResultsSearchEnabled": {
            "type": "boolean",
            "readOnly": true
          },
          "isAuthorizePaymentEnabled": {
            "type": "boolean",
            "readOnly": true
          },
          "isPatientBridgeEnabled": {
            "type": "boolean",
            "readOnly": true
          },
          "timeZone": {
            "$ref": "#/components/schemas/InsightDX.Api.Features.Practice.Location.Settings.LocationTimeZoneViewModel"
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Practice.Location.Settings.LocationTimeZoneViewModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "code": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "description": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "utcOffset": {
            "type": "number",
            "format": "double",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Practice.Location.Settings.OrderTypeViewModel": {
        "type": "object",
        "properties": {
          "id": {
            "$ref": "#/components/schemas/PracticeApplication.IntegrationDataModels.OrderType"
          },
          "value": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "isDefault": {
            "type": "boolean",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Practice.Location.Settings.TestViewModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "code": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "description": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "laboratoryFacilityId": {
            "$ref": "#/components/schemas/PracticeDomain.DomainModel.Enums.LaboratoryFacilityId"
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Practice.PracticeInfoViewModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "name": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Practice.PracticeLocation.LocationLaboratoryFacilityViewModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "code": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "accountNumber": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "isDefault": {
            "type": "boolean",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Practice.PracticeLocation.PracticeLocationViewModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "name": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "code": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "laboratoryFacilities": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InsightDX.Api.Features.Practice.PracticeLocation.LocationLaboratoryFacilityViewModel"
            },
            "nullable": true,
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Practice.PscLocation.AlternateLocationViewModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "name": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "code": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "isActive": {
            "type": "boolean",
            "readOnly": true
          },
          "isAccessible": {
            "type": "boolean",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Practice.PscLocation.LocationViewModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "name": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "code": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "isActive": {
            "type": "boolean",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Practice.PscLocation.PscLocationViewModel": {
        "type": "object",
        "properties": {
          "location": {
            "$ref": "#/components/schemas/InsightDX.Api.Features.Practice.PscLocation.LocationViewModel"
          },
          "alternateLocation": {
            "$ref": "#/components/schemas/InsightDX.Api.Features.Practice.PscLocation.AlternateLocationViewModel"
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.PreaccessioningManifest.ContainerViewModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "code": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "description": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.PreaccessioningManifest.Create.PreaccessioningManifestCreateRequestModel": {
        "required": [
          "locationId",
          "orderIds"
        ],
        "type": "object",
        "properties": {
          "locationId": {
            "type": "integer",
            "format": "int32"
          },
          "orderIds": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.PreaccessioningManifest.ErrorOrderViewModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "isUpdatedDraft": {
            "type": "boolean",
            "readOnly": true
          },
          "status": {
            "$ref": "#/components/schemas/HealthRecordsDomain.DomainModel.OrderAggregate.OrderStatus"
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.PreaccessioningManifest.LocationViewModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "code": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.PreaccessioningManifest.OrderViewModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "status": {
            "$ref": "#/components/schemas/HealthRecordsDomain.DomainModel.OrderAggregate.OrderStatus"
          },
          "isUpdatedDraft": {
            "type": "boolean",
            "readOnly": true
          },
          "accessionNumber": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "patient": {
            "$ref": "#/components/schemas/InsightDX.Api.Features.PreaccessioningManifest.PatientViewModel"
          },
          "location": {
            "$ref": "#/components/schemas/InsightDX.Api.Features.PreaccessioningManifest.LocationViewModel"
          },
          "specimens": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InsightDX.Api.Features.PreaccessioningManifest.SpecimenViewModel"
            },
            "nullable": true,
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.PreaccessioningManifest.PatientViewModel": {
        "type": "object",
        "properties": {
          "firstName": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "lastName": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.PreaccessioningManifest.PreaccessioningManifestErrorViewModel": {
        "type": "object",
        "properties": {
          "errorCode": {
            "$ref": "#/components/schemas/HealthRecordsDomain.DomainModel.PreaccessioningManifestAggregate.Enums.PreaccessioningManifestErrorCode"
          },
          "orderIds": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "nullable": true,
            "readOnly": true
          },
          "orders": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InsightDX.Api.Features.PreaccessioningManifest.ErrorOrderViewModel"
            },
            "nullable": true,
            "readOnly": true
          },
          "errorMessage": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.PreaccessioningManifest.PreaccessioningManifestIdViewModel": {
        "type": "object",
        "properties": {
          "preaccessioningManifestId": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.PreaccessioningManifest.PreaccessioningManifestViewModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "status": {
            "$ref": "#/components/schemas/HealthRecordsDomain.DomainModel.PreaccessioningManifestAggregate.Enums.PreaccessioningManifestStatus"
          },
          "orders": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InsightDX.Api.Features.PreaccessioningManifest.OrderViewModel"
            },
            "nullable": true,
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.PreaccessioningManifest.SpecimenViewModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "container": {
            "$ref": "#/components/schemas/InsightDX.Api.Features.PreaccessioningManifest.ContainerViewModel"
          },
          "temperature": {
            "$ref": "#/components/schemas/HealthRecordsDomain.DomainModel.Enums.SpecimenTemperature"
          },
          "scannedQuantity": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "pourQuantity": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.PreaccessioningManifest.Update.PreaccessioningManifestOrderUpdateModel": {
        "required": [
          "id",
          "specimens"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "specimens": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InsightDX.Api.Features.PreaccessioningManifest.Update.PreaccessioningManifestSpecimenUpdateModel"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.PreaccessioningManifest.Update.PreaccessioningManifestSpecimenUpdateModel": {
        "required": [
          "id",
          "scannedQuantity"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "scannedQuantity": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.PreaccessioningManifest.Update.PreaccessioningManifestUpdateRequestModel": {
        "required": [
          "isComplete",
          "orders"
        ],
        "type": "object",
        "properties": {
          "isComplete": {
            "type": "boolean"
          },
          "orders": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InsightDX.Api.Features.PreaccessioningManifest.Update.PreaccessioningManifestOrderUpdateModel"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.ReportingProvider.ReportingProviderViewModel": {
        "type": "object",
        "properties": {
          "fullName": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "id": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.RequisitionBatch.Create.RequisitionBatchCreateRequestModel": {
        "required": [
          "fromDate",
          "laboratoryFacilityId",
          "locationIds",
          "practiceId",
          "sortBy",
          "sortOrder",
          "toDate"
        ],
        "type": "object",
        "properties": {
          "practiceId": {
            "type": "integer",
            "format": "int32"
          },
          "fromDate": {
            "type": "string",
            "format": "date"
          },
          "toDate": {
            "type": "string",
            "format": "date"
          },
          "sortBy": {
            "$ref": "#/components/schemas/HealthRecordsDomain.DomainModel.Enums.RequisitionBatchSort"
          },
          "locationIds": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "nullable": true
          },
          "laboratoryFacilityId": {
            "$ref": "#/components/schemas/HealthRecordsDomain.DomainModel.OrderAggregate.Enums.LaboratoryFacilityId"
          },
          "sortOrder": {
            "$ref": "#/components/schemas/HealthRecordsDomain.DomainModel.Enums.SortOrder"
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.RequisitionTypeViewModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "title": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "laboratoryFacilityId": {
            "$ref": "#/components/schemas/SearchDomain.DomainModel.Enums.LaboratoryFacilityId"
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Result.DeliveryAttemptRequestModel": {
        "required": [
          "state"
        ],
        "type": "object",
        "properties": {
          "state": {
            "$ref": "#/components/schemas/HealthRecordsDomain.DomainModel.ResultFax.ResultFaxVendorStatus"
          },
          "delivery_time": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Result.DeliveryRequestModel": {
        "required": [
          "delivery_attempts",
          "fax"
        ],
        "type": "object",
        "properties": {
          "fax": {
            "type": "string",
            "nullable": true
          },
          "delivery_attempts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InsightDX.Api.Features.Result.DeliveryAttemptRequestModel"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Result.ResultFaxConfirmRequestModel": {
        "required": [
          "deliveries",
          "job_id",
          "job_state"
        ],
        "type": "object",
        "properties": {
          "job_id": {
            "type": "string",
            "nullable": true
          },
          "job_state": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "deliveries": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InsightDX.Api.Features.Result.DeliveryRequestModel"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Result.ResultFaxCreateRequestModel": {
        "required": [
          "comment",
          "copyToProviderId",
          "faxCountryCode",
          "faxNumber",
          "providerFirstName",
          "providerLastName"
        ],
        "type": "object",
        "properties": {
          "copyToProviderId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "providerFirstName": {
            "type": "string",
            "nullable": true
          },
          "providerLastName": {
            "type": "string",
            "nullable": true
          },
          "faxCountryCode": {
            "type": "string",
            "nullable": true
          },
          "faxNumber": {
            "type": "string",
            "nullable": true
          },
          "comment": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Result.ResultFaxIdViewModel": {
        "required": [
          "id"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Search.Account.AccountLocationSearchResultViewModel": {
        "type": "object",
        "properties": {
          "totalCount": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "locations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InsightDX.Api.Features.Search.Account.LocationViewModel"
            },
            "nullable": true,
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Search.Account.AccountLocationViewModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "name": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "code": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "isActive": {
            "type": "boolean",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Search.Account.LocationViewModel": {
        "type": "object",
        "properties": {
          "location": {
            "$ref": "#/components/schemas/InsightDX.Api.Features.Search.Account.AccountLocationViewModel"
          },
          "alternateLocation": {
            "$ref": "#/components/schemas/InsightDX.Api.Features.Search.Account.AccountLocationViewModel"
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Search.BatchResult.BatchResultSearchResultViewModel": {
        "type": "object",
        "properties": {
          "results": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InsightDX.Api.Features.Search.BatchResult.BatchResultViewModel"
            },
            "nullable": true,
            "readOnly": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Search.BatchResult.BatchResultViewModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "type": {
            "$ref": "#/components/schemas/SearchDomain.DomainModel.Enums.BatchResultType"
          },
          "description": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "createdBy": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "spooledDate": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "finishedDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true,
            "readOnly": true
          },
          "error": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "isSplitBatch": {
            "type": "boolean",
            "readOnly": true
          },
          "isPdfReportAvailable": {
            "type": "boolean",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Search.BatchResultUsers.BatchResultUsersSearchResultViewModel": {
        "type": "object",
        "properties": {
          "usernames": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Search.Diagnosis.DiagnosisSearchResultItemViewModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "code": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "description": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Search.EmrOrders.EmrOrderSearchResultViewModel": {
        "type": "object",
        "properties": {
          "totalCount": {
            "type": "integer",
            "format": "int32"
          },
          "searchResultItems": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InsightDX.Api.Features.Search.EmrOrders.EmrOrderSearchResultViewModel+EmrOrderViewModel"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Search.EmrOrders.EmrOrderSearchResultViewModel+EmrOrderViewModel": {
        "type": "object",
        "properties": {
          "spmOrderId": {
            "type": "integer",
            "format": "int32"
          },
          "eReqNumber": {
            "type": "string",
            "nullable": true
          },
          "emrOrderNumber": {
            "type": "string",
            "nullable": true
          },
          "orderDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "locationCode": {
            "type": "string",
            "nullable": true
          },
          "provider": {
            "type": "string",
            "nullable": true
          },
          "patient": {
            "$ref": "#/components/schemas/InsightDX.Api.Features.Search.EmrOrders.EmrOrderSearchResultViewModel+PatientViewModel"
          },
          "orderTestSummaries": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InsightDX.Api.Features.Search.EmrOrders.EmrOrderSearchResultViewModel+OrderTestSummaryViewModel"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Search.EmrOrders.EmrOrderSearchResultViewModel+OrderTestSummaryViewModel": {
        "type": "object",
        "properties": {
          "orderTestId": {
            "type": "string",
            "nullable": true
          },
          "testCode": {
            "type": "string",
            "nullable": true
          },
          "fullTestCode": {
            "type": "string",
            "nullable": true
          },
          "testName": {
            "type": "string",
            "nullable": true
          },
          "dateOrdered": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Search.EmrOrders.EmrOrderSearchResultViewModel+PatientViewModel": {
        "type": "object",
        "properties": {
          "firstName": {
            "type": "string",
            "nullable": true
          },
          "middleName": {
            "type": "string",
            "nullable": true
          },
          "lastName": {
            "type": "string",
            "nullable": true
          },
          "dateOfBirth": {
            "type": "string",
            "format": "date",
            "nullable": true
          },
          "sexAtBirth": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Search.ExternalOrderingProvider.ExternalOrderingProviderSearchResultViewModel": {
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InsightDX.Api.Features.OrderingProvider.ExternalOrderingProviderViewModel"
            },
            "nullable": true,
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Search.GlobalResultSearch.ResultedTests.AnalyteViewModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "code": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "description": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Search.GlobalResultSearch.ResultedTests.ResultedTestsSearchResultViewModel": {
        "type": "object",
        "properties": {
          "analytes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InsightDX.Api.Features.Search.GlobalResultSearch.ResultedTests.AnalyteViewModel"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Search.GlobalSearch.AnalyteSearchRequestModel": {
        "type": "object",
        "properties": {
          "testCode": {
            "type": "string",
            "nullable": true
          },
          "operator": {
            "$ref": "#/components/schemas/SearchApplication.IntegrationDataModels.Enums.AnalyteValueComparisonOperator"
          },
          "value": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "value2": {
            "type": "number",
            "format": "double",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Search.GlobalSearch.GlobalResultsSearchRequestExportModel": {
        "type": "object",
        "properties": {
          "dateFrom": {
            "type": "string",
            "format": "date"
          },
          "dateTo": {
            "type": "string",
            "format": "date"
          },
          "dateType": {
            "$ref": "#/components/schemas/SearchApplication.IntegrationDataModels.Enums.DateFilterType"
          },
          "locationIds": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "nullable": true
          },
          "providerIds": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "nullable": true
          },
          "insuranceIds": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "nullable": true
          },
          "sexAtBirth": {
            "$ref": "#/components/schemas/SearchDomain.DomainModel.Enums.SexAtBirth"
          },
          "ageFilterType": {
            "$ref": "#/components/schemas/SearchApplication.IntegrationDataModels.Enums.AgeFilterType"
          },
          "ageFrom": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "ageTo": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "analytes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InsightDX.Api.Features.Search.GlobalSearch.AnalyteSearchRequestModel"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Search.GlobalSearch.GlobalResultsSearchRequestModel": {
        "type": "object",
        "properties": {
          "dateFrom": {
            "type": "string",
            "format": "date"
          },
          "dateTo": {
            "type": "string",
            "format": "date"
          },
          "dateType": {
            "$ref": "#/components/schemas/SearchApplication.IntegrationDataModels.Enums.DateFilterType"
          },
          "locationIds": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "nullable": true
          },
          "providerIds": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "nullable": true
          },
          "insuranceIds": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "nullable": true
          },
          "sexAtBirth": {
            "$ref": "#/components/schemas/SearchDomain.DomainModel.Enums.SexAtBirth"
          },
          "ageFilterType": {
            "$ref": "#/components/schemas/SearchApplication.IntegrationDataModels.Enums.AgeFilterType"
          },
          "ageFrom": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "ageTo": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "analytes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InsightDX.Api.Features.Search.GlobalSearch.AnalyteSearchRequestModel"
            },
            "nullable": true
          },
          "pageSize": {
            "type": "integer",
            "format": "int32"
          },
          "pageNumber": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Search.GlobalSearch.GlobalResultsSearchResultItemViewModel": {
        "type": "object",
        "properties": {
          "reportingPatient": {
            "$ref": "#/components/schemas/InsightDX.Api.Features.Search.GlobalSearch.ReportingPatientViewModel"
          },
          "patient": {
            "$ref": "#/components/schemas/InsightDX.Api.Features.Search.GlobalSearch.PatientViewModel"
          },
          "reportingTest": {
            "$ref": "#/components/schemas/InsightDX.Api.Features.Search.GlobalSearch.ReportingTestViewModel"
          },
          "providerName": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "accessionNumber": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "result": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "collectionDate": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "laboratoryAccessionId": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Search.GlobalSearch.GlobalResultsSearchResultViewModel": {
        "type": "object",
        "properties": {
          "results": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InsightDX.Api.Features.Search.GlobalSearch.GlobalResultsSearchResultItemViewModel"
            },
            "nullable": true,
            "readOnly": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Search.GlobalSearch.PatientViewModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "userDefinedId": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Search.GlobalSearch.ReportingPatientViewModel": {
        "type": "object",
        "properties": {
          "lastName": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "firstName": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "userDefinedId": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "birthDate": {
            "type": "string",
            "format": "date",
            "nullable": true,
            "readOnly": true
          },
          "phone": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Search.GlobalSearch.ReportingTestViewModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "code": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "description": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Search.Manifests.ManifestOrderPatientViewModel": {
        "type": "object",
        "properties": {
          "firstName": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "lastName": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Search.Manifests.ManifestOrderViewModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "patient": {
            "$ref": "#/components/schemas/InsightDX.Api.Features.Search.Manifests.ManifestOrderPatientViewModel"
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Search.Manifests.ManifestSearchResultViewModel": {
        "type": "object",
        "properties": {
          "totalCount": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "manifests": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InsightDX.Api.Features.Search.Manifests.ManifestViewModel"
            },
            "nullable": true,
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Search.Manifests.ManifestViewModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "date": {
            "type": "string",
            "format": "date-time",
            "nullable": true,
            "readOnly": true
          },
          "status": {
            "$ref": "#/components/schemas/SearchDomain.DomainModel.Enums.ManifestStatus"
          },
          "laboratoryFacilityId": {
            "$ref": "#/components/schemas/SearchDomain.DomainModel.Enums.LaboratoryFacilityId"
          },
          "laboratoryFacilityName": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "orders": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InsightDX.Api.Features.Search.Manifests.ManifestOrderViewModel"
            },
            "nullable": true,
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Search.Order.OrderLocationViewModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "code": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Search.Order.OrderPatientViewModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "firstName": {
            "type": "string",
            "nullable": true
          },
          "lastName": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Search.Order.OrderRequisitionTypeViewModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "title": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Search.Order.OrderSearchResultViewModel": {
        "type": "object",
        "properties": {
          "totalCount": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "orders": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InsightDX.Api.Features.Search.Order.OrderViewModel"
            },
            "nullable": true,
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Search.Order.OrderTestViewModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "code": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Search.Order.OrderViewModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "createdForLocation": {
            "$ref": "#/components/schemas/InsightDX.Api.Features.Search.Order.OrderLocationViewModel"
          },
          "patient": {
            "$ref": "#/components/schemas/InsightDX.Api.Features.Search.Order.OrderPatientViewModel"
          },
          "completedDateTime": {
            "type": "string",
            "format": "date-time",
            "nullable": true,
            "readOnly": true
          },
          "tests": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InsightDX.Api.Features.Search.Order.OrderTestViewModel"
            },
            "nullable": true,
            "readOnly": true
          },
          "providerUserId": {
            "type": "integer",
            "format": "int32",
            "nullable": true,
            "readOnly": true
          },
          "providerUserFullName": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "requisitionType": {
            "$ref": "#/components/schemas/InsightDX.Api.Features.Search.Order.OrderRequisitionTypeViewModel"
          },
          "accountNumber": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Search.Patient.PatientInfoViewModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "userDefinedId": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "firstName": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "lastName": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "birthDate": {
            "type": "string",
            "format": "date",
            "nullable": true,
            "readOnly": true
          },
          "sexAtBirth": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "mobilePhone": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Search.Patient.PracticePatientSearchResultViewModel": {
        "type": "object",
        "properties": {
          "patients": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InsightDX.Api.Features.Search.Patient.PatientInfoViewModel"
            },
            "nullable": true,
            "readOnly": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Search.PreaccessionManifest.Get.PreaccessioningManifestSearchResultViewModel": {
        "type": "object",
        "properties": {
          "totalCount": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "manifests": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InsightDX.Api.Features.Search.PreaccessionManifest.Get.PreaccessioningManifestViewModel"
            },
            "nullable": true,
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Search.PreaccessionManifest.Get.PreaccessioningManifestViewModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "manifestNumber": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "createdDate": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "specimenCount": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "ordersCount": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "status": {
            "$ref": "#/components/schemas/SearchApplication.IntegrationDataModels.Enums.PreaccessioningManifestStatus"
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Search.PreaccessionManifest.OrderViewModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "patient": {
            "$ref": "#/components/schemas/InsightDX.Api.Features.Search.PreaccessionManifest.PatientViewModel"
          },
          "accessionNumber": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "completedDate": {
            "type": "string",
            "format": "date",
            "readOnly": true
          },
          "accountNumber": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "totalPourQuantity": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Search.PreaccessionManifest.PatientViewModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "lastName": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "firstName": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Search.PreaccessionManifest.PreaccessionManifestOrdersSearchResultViewModel": {
        "type": "object",
        "properties": {
          "orders": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InsightDX.Api.Features.Search.PreaccessionManifest.OrderViewModel"
            },
            "nullable": true,
            "readOnly": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Search.Psc.Accession.LocationViewModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "name": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "code": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Search.Psc.Accession.PscSearchByAccessionResultViewModel": {
        "type": "object",
        "properties": {
          "totalCount": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InsightDX.Api.Features.Search.Psc.Accession.PscSearchByAccessionViewModel"
            },
            "nullable": true,
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Search.Psc.Accession.PscSearchByAccessionViewModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "patientId": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "practiceId": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "reportingPatient": {
            "$ref": "#/components/schemas/InsightDX.Api.Features.Search.Psc.Accession.ReportingPatientViewModel"
          },
          "collectionDate": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "location": {
            "$ref": "#/components/schemas/InsightDX.Api.Features.Search.Psc.Accession.LocationViewModel"
          },
          "resultStatus": {
            "$ref": "#/components/schemas/SearchApplication.IntegrationDataModels.Enums.LabAccessionStatus"
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Search.Psc.Accession.ReportingPatientViewModel": {
        "type": "object",
        "properties": {
          "firstName": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "lastName": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "birthDate": {
            "type": "string",
            "format": "date",
            "nullable": true,
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Search.Psc.EmrOrders.EmrOrderSearchResultItemViewModel": {
        "type": "object",
        "properties": {
          "patient": {
            "$ref": "#/components/schemas/InsightDX.Api.Features.Search.Psc.EmrOrders.EmrPatientViewModel"
          },
          "orderNumber": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "eReqNumber": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "location": {
            "$ref": "#/components/schemas/InsightDX.Api.Features.Search.Psc.EmrOrders.LocationViewModel"
          },
          "orderTestSummaries": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InsightDX.Api.Features.Search.Psc.EmrOrders.EmrOrderTestSummaryViewModel"
            },
            "nullable": true,
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Search.Psc.EmrOrders.EmrOrderSearchResultViewModel": {
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InsightDX.Api.Features.Search.Psc.EmrOrders.EmrOrderSearchResultItemViewModel"
            },
            "nullable": true,
            "readOnly": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Search.Psc.EmrOrders.EmrOrderTestSummaryViewModel": {
        "type": "object",
        "properties": {
          "orderTestID": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "testCode": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "fullTestCode": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "testName": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "dateOrdered": {
            "type": "string",
            "format": "date-time",
            "nullable": true,
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Search.Psc.EmrOrders.EmrPatientViewModel": {
        "type": "object",
        "properties": {
          "firstName": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "lastName": {
            "type": "string",
            "nullable": true
          },
          "birthDate": {
            "type": "string",
            "format": "date",
            "nullable": true
          },
          "sexAtBirth": {
            "$ref": "#/components/schemas/SearchDomain.DomainModel.Enums.SexAtBirth"
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Search.Psc.EmrOrders.LocationViewModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "name": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "code": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Search.Psc.Patients.PatientSearchResultItemViewModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "userDefinedId": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "firstName": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "lastName": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "birthDate": {
            "type": "string",
            "format": "date",
            "readOnly": true
          },
          "sexAtBirth": {
            "$ref": "#/components/schemas/SearchDomain.DomainModel.Enums.SexAtBirth"
          },
          "locationId": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "locationCode": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "locationName": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Search.Psc.Patients.PatientSearchResultViewModel": {
        "type": "object",
        "properties": {
          "patients": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InsightDX.Api.Features.Search.Psc.Patients.PatientSearchResultItemViewModel"
            },
            "nullable": true,
            "readOnly": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Search.Psc.Providers.AddressViewModel": {
        "type": "object",
        "properties": {
          "street1": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "street2": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "city": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "state": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "zip": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Search.Psc.Providers.LocationViewModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "code": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "name": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "address": {
            "$ref": "#/components/schemas/InsightDX.Api.Features.Search.Psc.Providers.AddressViewModel"
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Search.Psc.Providers.PracticeViewModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "name": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Search.Psc.Providers.ProviderViewModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "name": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "npi": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "isActive": {
            "type": "boolean",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Search.Psc.Providers.PscSearchByProviderResultViewModel": {
        "type": "object",
        "properties": {
          "totalCount": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InsightDX.Api.Features.Search.Psc.Providers.PscSearchByProviderViewModel"
            },
            "nullable": true,
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Search.Psc.Providers.PscSearchByProviderViewModel": {
        "type": "object",
        "properties": {
          "provider": {
            "$ref": "#/components/schemas/InsightDX.Api.Features.Search.Psc.Providers.ProviderViewModel"
          },
          "practice": {
            "$ref": "#/components/schemas/InsightDX.Api.Features.Search.Psc.Providers.PracticeViewModel"
          },
          "location": {
            "$ref": "#/components/schemas/InsightDX.Api.Features.Search.Psc.Providers.LocationViewModel"
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Search.RequisitionBatch.RequisitionBatchSearchResultViewModel": {
        "type": "object",
        "properties": {
          "results": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InsightDX.Api.Features.Search.RequisitionBatch.RequisitionBatchViewModel"
            },
            "nullable": true,
            "readOnly": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Search.RequisitionBatch.RequisitionBatchViewModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "description": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "status": {
            "$ref": "#/components/schemas/SearchDomain.DomainModel.Enums.BatchResultCompleteType"
          },
          "createdBy": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "spooledDate": {
            "type": "string",
            "format": "date-time",
            "readOnly": true
          },
          "finishedDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true,
            "readOnly": true
          },
          "isPdfReportAvailable": {
            "type": "boolean",
            "readOnly": true
          },
          "error": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Search.Result.LocationViewModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "name": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "code": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Search.Result.PatientViewModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Search.Result.ProviderViewModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "fullName": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Search.Result.ReportingPatientViewModel": {
        "type": "object",
        "properties": {
          "firstName": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "lastName": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "birthDate": {
            "type": "string",
            "format": "date",
            "nullable": true,
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Search.Result.ResultSearchResultViewModel": {
        "type": "object",
        "properties": {
          "results": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InsightDX.Api.Features.Search.Result.ResultViewModel"
            },
            "nullable": true,
            "readOnly": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Search.Result.ResultViewModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "patient": {
            "$ref": "#/components/schemas/InsightDX.Api.Features.Search.Result.PatientViewModel"
          },
          "reportingPatient": {
            "$ref": "#/components/schemas/InsightDX.Api.Features.Search.Result.ReportingPatientViewModel"
          },
          "date": {
            "type": "string",
            "format": "date",
            "nullable": true,
            "readOnly": true
          },
          "location": {
            "$ref": "#/components/schemas/InsightDX.Api.Features.Search.Result.LocationViewModel"
          },
          "provider": {
            "$ref": "#/components/schemas/InsightDX.Api.Features.Search.Result.ProviderViewModel"
          },
          "accessionNumber": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "resultStatus": {
            "$ref": "#/components/schemas/SearchApplication.IntegrationDataModels.Enums.LabAccessionStatus"
          },
          "isAbnormal": {
            "type": "boolean",
            "readOnly": true
          },
          "isViewed": {
            "type": "boolean",
            "readOnly": true
          },
          "isExternalLaboratory": {
            "type": "boolean",
            "readOnly": true
          },
          "hasPdf": {
            "type": "boolean",
            "readOnly": true
          },
          "hasAlert": {
            "type": "boolean",
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Search.SupplyOrders.SupplyOrderUserViewModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "firstName": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "lastName": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Search.SupplyOrders.SupplyOrderViewModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "date": {
            "type": "string",
            "format": "date",
            "readOnly": true
          },
          "orderNumber": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "user": {
            "$ref": "#/components/schemas/InsightDX.Api.Features.Search.SupplyOrders.SupplyOrderUserViewModel"
          },
          "items": {
            "type": "array",
            "items": {
              "type": "integer",
              "format": "int32"
            },
            "nullable": true,
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Search.SupplyOrders.SupplyOrdersSearchResultViewModel": {
        "type": "object",
        "properties": {
          "totalCount": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "supplyOrders": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InsightDX.Api.Features.Search.SupplyOrders.SupplyOrderViewModel"
            },
            "nullable": true,
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Search.Test.TestSearchComponentViewModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "code": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "type": {
            "$ref": "#/components/schemas/SearchApplication.QueryServices.Queries.Test.TestType"
          },
          "description": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Search.Test.TestSearchResultItemViewModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "code": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "description": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "type": {
            "$ref": "#/components/schemas/SearchApplication.QueryServices.Queries.Test.TestType"
          },
          "components": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InsightDX.Api.Features.Search.Test.TestSearchComponentViewModel"
            },
            "nullable": true,
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Search.Test.TestSearchResultViewModel": {
        "type": "object",
        "properties": {
          "tests": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InsightDX.Api.Features.Search.Test.TestSearchResultItemViewModel"
            },
            "nullable": true,
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Search.Test.TestWithComponentsViewModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "code": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "description": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "type": {
            "$ref": "#/components/schemas/SearchApplication.QueryServices.Queries.Test.TestType"
          },
          "components": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InsightDX.Api.Features.Search.Test.TestWithComponentsViewModel+ComponentViewModel"
            },
            "nullable": true,
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Search.Test.TestWithComponentsViewModel+ComponentViewModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "code": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "description": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "type": {
            "$ref": "#/components/schemas/SearchApplication.QueryServices.Queries.Test.TestType"
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Search.User.UserViewModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "firstName": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "lastName": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.SupplyOrder.SupplyItemViewModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "externalItemId": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "speedOrderId": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "description": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "unitOfMeasure": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.SupplyOrder.SupplyOrder.OrderIdViewModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.SupplyOrder.SupplyOrder.SupplyOrderCreateRequestModel": {
        "required": [
          "items",
          "locationId"
        ],
        "type": "object",
        "properties": {
          "locationId": {
            "type": "integer",
            "format": "int32"
          },
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InsightDX.Api.Features.SupplyOrder.SupplyOrder.SupplyOrderItemCreateRequestModel"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.SupplyOrder.SupplyOrder.SupplyOrderItemCreateRequestModel": {
        "required": [
          "quantity",
          "supplyItemId"
        ],
        "type": "object",
        "properties": {
          "supplyItemId": {
            "type": "integer",
            "format": "int32"
          },
          "quantity": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.SupplyOrder.SupplyOrderItemViewModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "itemId": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "quantity": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "externalItemId": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "speedOrderId": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "description": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "unitOfMeasure": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.SupplyOrder.SupplyOrderViewModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "orderNumber": {
            "type": "string",
            "nullable": true
          },
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InsightDX.Api.Features.SupplyOrder.SupplyOrderItemViewModel"
            },
            "nullable": true,
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Support.ReportProblemRequestModel": {
        "type": "object",
        "properties": {
          "firstName": {
            "type": "string",
            "nullable": true
          },
          "lastName": {
            "type": "string",
            "nullable": true
          },
          "accountNumber": {
            "type": "string",
            "nullable": true
          },
          "phone": {
            "type": "string",
            "nullable": true
          },
          "email": {
            "type": "string",
            "nullable": true
          },
          "comments": {
            "type": "string",
            "nullable": true
          },
          "problem": {
            "type": "string",
            "nullable": true
          },
          "username": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Test.TestCompendiumViewModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "laboratory": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "testCode": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "testName": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "shortDescription": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "mnemonic": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "longDescription": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "requisitionType": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "components": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InsightDX.Api.Features.Test.TestComponentViewModel"
            },
            "nullable": true,
            "readOnly": true
          },
          "cptCodes": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true,
            "readOnly": true
          },
          "containerDescription": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "containerCode": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "minimumVolume": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "collectionInstructions": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "storageRequirements": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "turnAroundTime": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "turnAroundTimeUnit": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "estimatedCost": {
            "type": "number",
            "format": "double",
            "nullable": true,
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Test.TestComponentViewModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "testCode": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "componentDescription": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.TestGroups.Favorites.FavoriteTestGroupViewModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "name": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "comments": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "tests": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InsightDX.Api.Features.TestGroups.Favorites.FavoriteTestGroupViewModel+Test"
            },
            "nullable": true,
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.TestGroups.Favorites.FavoriteTestGroupViewModel+Component": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "code": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "description": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "type": {
            "$ref": "#/components/schemas/SearchApplication.QueryServices.Queries.Test.TestType"
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.TestGroups.Favorites.FavoriteTestGroupViewModel+Test": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32",
            "readOnly": true
          },
          "code": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "description": {
            "type": "string",
            "nullable": true,
            "readOnly": true
          },
          "type": {
            "$ref": "#/components/schemas/SearchApplication.QueryServices.Queries.Test.TestType"
          },
          "components": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InsightDX.Api.Features.TestGroups.Favorites.FavoriteTestGroupViewModel+Component"
            },
            "nullable": true,
            "readOnly": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.UserClaims.UserAccountViewModel": {
        "type": "object",
        "properties": {
          "user": {
            "$ref": "#/components/schemas/InsightDX.Api.Features.UserClaims.UserInfoViewModel"
          },
          "userLocation": {
            "$ref": "#/components/schemas/InsightDX.Api.Features.UserClaims.UserLocationInfoViewModel"
          },
          "userPractice": {
            "$ref": "#/components/schemas/InsightDX.Api.Features.UserClaims.UserPracticeInfoViewModel"
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.UserClaims.UserInfoViewModel": {
        "required": [
          "firstName",
          "id",
          "lastName",
          "providerId",
          "staffId",
          "userName"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "userName": {
            "type": "string",
            "nullable": true
          },
          "firstName": {
            "type": "string",
            "nullable": true
          },
          "lastName": {
            "type": "string",
            "nullable": true
          },
          "staffId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "providerId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.UserClaims.UserLastSwitchedAccountViewModel": {
        "required": [
          "locationId"
        ],
        "type": "object",
        "properties": {
          "locationId": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.UserClaims.UserLocationInfoViewModel": {
        "required": [
          "accountType",
          "code",
          "id",
          "isAccountTypeRestricted",
          "name",
          "practiceId"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "practiceId": {
            "type": "integer",
            "format": "int32"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "code": {
            "type": "string",
            "nullable": true
          },
          "accountType": {
            "$ref": "#/components/schemas/UserDomain.DomainModel.LocationAccountType"
          },
          "isAccountTypeRestricted": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.UserClaims.UserPracticeInfoViewModel": {
        "required": [
          "id",
          "name"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "name": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Api.Features.Version.VersionResponse": {
        "type": "object",
        "properties": {
          "version": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Application.Aggregates.DownloadableDocument": {
        "required": [
          "fileName",
          "filePath",
          "groupName",
          "name"
        ],
        "type": "object",
        "properties": {
          "groupName": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "filePath": {
            "type": "string",
            "nullable": true
          },
          "fileName": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "InsightDX.Application.Features.Maintenance.Models.MaintenanceMessagesResponse": {
        "type": "object",
        "properties": {
          "message": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Microsoft.AspNetCore.Mvc.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": { }
      },
      "PracticeApplication.BusinessServices.Location.Settings.BillTypeId": {
        "enum": [
          1,
          2,
          3,
          4,
          5,
          6,
          7,
          8
        ],
        "type": "integer",
        "format": "int32"
      },
      "PracticeApplication.IntegrationDataModels.OrderType": {
        "enum": [
          0,
          1,
          2,
          3
        ],
        "type": "integer",
        "format": "int32"
      },
      "PracticeDomain.DomainModel.Enums.FastingType": {
        "enum": [
          0,
          1,
          2
        ],
        "type": "integer",
        "format": "int32"
      },
      "PracticeDomain.DomainModel.Enums.LaboratoryFacilityId": {
        "enum": [
          1,
          13,
          14,
          15,
          16,
          17,
          19,
          20,
          22,
          23,
          24,
          25,
          26,
          27,
          28,
          29,
          30,
          31,
          32,
          33,
          34,
          37,
          38
        ],
        "type": "integer",
        "format": "int32"
      },
      "PracticeDomain.DomainModel.Enums.SendVia": {
        "enum": [
          1,
          2,
          3,
          4
        ],
        "type": "integer",
        "format": "int32"
      },
      "PracticeDomain.DomainModel.LocationAccountType": {
        "enum": [
          1,
          2,
          4,
          8
        ],
        "type": "integer",
        "format": "int32"
      },
      "SearchApplication.IntegrationDataModels.Enums.AgeFilterType": {
        "enum": [
          1,
          2,
          3,
          4
        ],
        "type": "integer",
        "format": "int32"
      },
      "SearchApplication.IntegrationDataModels.Enums.AnalyteValueComparisonOperator": {
        "enum": [
          1,
          2,
          3,
          4,
          5,
          6,
          7,
          8,
          9,
          10,
          11
        ],
        "type": "integer",
        "format": "int32"
      },
      "SearchApplication.IntegrationDataModels.Enums.DateFilterType": {
        "enum": [
          1,
          2
        ],
        "type": "integer",
        "format": "int32"
      },
      "SearchApplication.IntegrationDataModels.Enums.LabAccessionStatus": {
        "enum": [
          0,
          1,
          2
        ],
        "type": "integer",
        "format": "int32"
      },
      "SearchApplication.IntegrationDataModels.Enums.OrderStatus": {
        "enum": [
          1,
          2,
          3,
          4,
          5,
          6
        ],
        "type": "integer",
        "format": "int32"
      },
      "SearchApplication.IntegrationDataModels.Enums.OrderType": {
        "enum": [
          0,
          1,
          2,
          3
        ],
        "type": "integer",
        "format": "int32"
      },
      "SearchApplication.IntegrationDataModels.Enums.PreaccessioningManifestStatus": {
        "enum": [
          1,
          2,
          3
        ],
        "type": "integer",
        "format": "int32"
      },
      "SearchApplication.QueryServices.Queries.Result.ResultSortColumn": {
        "enum": [
          0,
          1,
          2,
          3,
          4,
          5,
          6,
          7,
          8,
          9,
          10
        ],
        "type": "integer",
        "format": "int32"
      },
      "SearchApplication.QueryServices.Queries.Test.TestType": {
        "enum": [
          1,
          2,
          3
        ],
        "type": "integer",
        "format": "int32"
      },
      "SearchDomain.DomainModel.Enums.BatchResultCompleteType": {
        "enum": [
          0,
          10,
          100,
          -1
        ],
        "type": "integer",
        "format": "int32"
      },
      "SearchDomain.DomainModel.Enums.BatchResultType": {
        "enum": [
          1,
          2,
          3
        ],
        "type": "integer",
        "format": "int32"
      },
      "SearchDomain.DomainModel.Enums.LaboratoryFacilityId": {
        "enum": [
          1,
          13,
          14,
          15,
          16,
          17,
          19,
          20,
          22,
          23,
          24,
          25,
          26,
          27,
          28,
          29,
          30,
          31,
          32,
          33,
          34,
          37,
          38
        ],
        "type": "integer",
        "format": "int32"
      },
      "SearchDomain.DomainModel.Enums.ManifestStatus": {
        "enum": [
          1,
          2
        ],
        "type": "integer",
        "format": "int32"
      },
      "SearchDomain.DomainModel.Enums.SexAtBirth": {
        "enum": [
          1,
          2,
          3
        ],
        "type": "integer",
        "format": "int32"
      },
      "System.Enum": {
        "type": "object",
        "additionalProperties": false
      },
      "UserDomain.DomainModel.LocationAccountType": {
        "enum": [
          1,
          2,
          4,
          8
        ],
        "type": "integer",
        "format": "int32"
      }
    }
  },
  "tags": [
    {
      "name": "BatchResult"
    },
    {
      "name": "Chat"
    },
    {
      "name": "Container"
    },
    {
      "name": "Default"
    },
    {
      "name": "Diagnosis"
    },
    {
      "name": "Documents"
    },
    {
      "name": "GlobalResultSearchParameter"
    },
    {
      "name": "GlobalResultsExport"
    },
    {
      "name": "GlobalSettings"
    },
    {
      "name": "InsuranceCompany"
    },
    {
      "name": "Laboratory"
    },
    {
      "name": "Location"
    },
    {
      "name": "MaintenanceMessages"
    },
    {
      "name": "Manifest"
    },
    {
      "name": "Order"
    },
    {
      "name": "OrderCancellationReasons"
    },
    {
      "name": "OrderingProvider"
    },
    {
      "name": "Patient"
    },
    {
      "name": "PatientDemographics"
    },
    {
      "name": "Practice"
    },
    {
      "name": "PreaccessioningManifest"
    },
    {
      "name": "Psc"
    },
    {
      "name": "ReportingProvider"
    },
    {
      "name": "RequisitionBatch"
    },
    {
      "name": "Result"
    },
    {
      "name": "ResultFax"
    },
    {
      "name": "Search"
    },
    {
      "name": "Sso"
    },
    {
      "name": "SupplyOrder"
    },
    {
      "name": "Support"
    },
    {
      "name": "TestGroups"
    },
    {
      "name": "Tests"
    },
    {
      "name": "User"
    },
    {
      "name": "ValidationRules"
    },
    {
      "name": "Version"
    }
  ]
}