6433 lines
199 KiB
JSON
6433 lines
199 KiB
JSON
{
|
|
"openapi": "3.0.1",
|
|
"info": {
|
|
"title": "AutoMedSys Order Service",
|
|
"description": "Contents for patient services",
|
|
"license": {
|
|
"name": "Microsoft Licence",
|
|
"url": "https://automedsys.net/licence"
|
|
},
|
|
"version": "v1"
|
|
},
|
|
"paths": {
|
|
"/emrapi/v1/orders/interactions/interaction-settings": {
|
|
"get": {
|
|
"tags": [
|
|
"Interactions"
|
|
],
|
|
"operationId": "GetInteractionSetting",
|
|
"responses": {
|
|
"200": {
|
|
"description": "Success",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AutoMedSystem.CommonService.ViewModels.DrugInteractionSettingResponseType]"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AutoMedSystem.CommonService.ViewModels.DrugInteractionSettingResponseType]"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"400": {
|
|
"description": "Bad Request",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AutoMedSystem.CommonService.ViewModels.DrugInteractionSettingResponseType]"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AutoMedSystem.CommonService.ViewModels.DrugInteractionSettingResponseType]"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized",
|
|
"content": {
|
|
"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": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AutoMedSystem.CommonService.ViewModels.DrugInteractionSettingResponseType]"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AutoMedSystem.CommonService.ViewModels.DrugInteractionSettingResponseType]"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"default": {
|
|
"description": "Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/emrapi/v1/orders/interactions": {
|
|
"post": {
|
|
"tags": [
|
|
"Interactions"
|
|
],
|
|
"requestBody": {
|
|
"content": {
|
|
"application/json-patch+json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AutoMedSystem.CommonService.ViewModels.InteractionSettingsRequestViewModel"
|
|
}
|
|
},
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AutoMedSystem.CommonService.ViewModels.InteractionSettingsRequestViewModel"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AutoMedSystem.CommonService.ViewModels.InteractionSettingsRequestViewModel"
|
|
}
|
|
},
|
|
"application/*+json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AutoMedSystem.CommonService.ViewModels.InteractionSettingsRequestViewModel"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "Success",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxService.Common.Responses.AddResponse]"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxService.Common.Responses.AddResponse]"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"400": {
|
|
"description": "Bad Request",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxService.Common.Responses.AddResponse]"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxService.Common.Responses.AddResponse]"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxService.Common.Responses.AddResponse]"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxService.Common.Responses.AddResponse]"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"404": {
|
|
"description": "Not Found",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxService.Common.Responses.AddResponse]"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxService.Common.Responses.AddResponse]"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"500": {
|
|
"description": "Server Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxService.Common.Responses.AddResponse]"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxService.Common.Responses.AddResponse]"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"default": {
|
|
"description": "Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/emrapi/v1/orders/labresults": {
|
|
"get": {
|
|
"tags": [
|
|
"LabResults"
|
|
],
|
|
"parameters": [
|
|
{
|
|
"name": "PatientId",
|
|
"in": "query",
|
|
"schema": {
|
|
"type": "string",
|
|
"nullable": true
|
|
}
|
|
},
|
|
{
|
|
"name": "Status",
|
|
"in": "query",
|
|
"schema": {
|
|
"type": "integer",
|
|
"format": "int32"
|
|
}
|
|
},
|
|
{
|
|
"name": "PatientIdentity",
|
|
"in": "query",
|
|
"schema": {
|
|
"type": "integer",
|
|
"format": "int32"
|
|
}
|
|
},
|
|
{
|
|
"name": "Facility",
|
|
"in": "query",
|
|
"schema": {
|
|
"type": "string",
|
|
"nullable": true
|
|
}
|
|
},
|
|
{
|
|
"name": "Channel",
|
|
"in": "query",
|
|
"schema": {
|
|
"type": "string",
|
|
"nullable": true
|
|
}
|
|
},
|
|
{
|
|
"name": "Provider",
|
|
"in": "query",
|
|
"schema": {
|
|
"type": "string",
|
|
"nullable": true
|
|
}
|
|
},
|
|
{
|
|
"name": "DateFrom",
|
|
"in": "query",
|
|
"schema": {
|
|
"type": "string",
|
|
"nullable": true
|
|
}
|
|
},
|
|
{
|
|
"name": "DateTo",
|
|
"in": "query",
|
|
"schema": {
|
|
"type": "string",
|
|
"nullable": true
|
|
}
|
|
},
|
|
{
|
|
"name": "PageNumber",
|
|
"in": "query",
|
|
"schema": {
|
|
"type": "integer",
|
|
"format": "int32"
|
|
}
|
|
},
|
|
{
|
|
"name": "PageSize",
|
|
"in": "query",
|
|
"schema": {
|
|
"type": "integer",
|
|
"format": "int32"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Success",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxService.Common.Responses.CountModel`1[AuxFrmwrkXsd.LabResultType]]"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxService.Common.Responses.CountModel`1[AuxFrmwrkXsd.LabResultType]]"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"400": {
|
|
"description": "Bad Request",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxService.Common.Responses.CountModel`1[AuxFrmwrkXsd.LabResultType]]"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxService.Common.Responses.CountModel`1[AuxFrmwrkXsd.LabResultType]]"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxService.Common.Responses.CountModel`1[AuxFrmwrkXsd.LabResultType]]"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxService.Common.Responses.CountModel`1[AuxFrmwrkXsd.LabResultType]]"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"404": {
|
|
"description": "Not Found",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxService.Common.Responses.CountModel`1[AuxFrmwrkXsd.LabResultType]]"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxService.Common.Responses.CountModel`1[AuxFrmwrkXsd.LabResultType]]"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"500": {
|
|
"description": "Server Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxService.Common.Responses.CountModel`1[AuxFrmwrkXsd.LabResultType]]"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxService.Common.Responses.CountModel`1[AuxFrmwrkXsd.LabResultType]]"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"default": {
|
|
"description": "Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/emrapi/v1/orders/labresults/{Id}": {
|
|
"get": {
|
|
"tags": [
|
|
"LabResults"
|
|
],
|
|
"parameters": [
|
|
{
|
|
"name": "Id",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"nullable": true
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Success",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxFrmwrkXsd.LabResultType2]"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxFrmwrkXsd.LabResultType2]"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"400": {
|
|
"description": "Bad Request",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxFrmwrkXsd.LabResultType2]"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxFrmwrkXsd.LabResultType2]"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxFrmwrkXsd.LabResultType2]"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxFrmwrkXsd.LabResultType2]"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"404": {
|
|
"description": "Not Found",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxFrmwrkXsd.LabResultType2]"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxFrmwrkXsd.LabResultType2]"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"500": {
|
|
"description": "Server Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxFrmwrkXsd.LabResultType2]"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxFrmwrkXsd.LabResultType2]"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"default": {
|
|
"description": "Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/emrapi/v1/orders/labresults/embeddeddocument": {
|
|
"get": {
|
|
"tags": [
|
|
"LabResults"
|
|
],
|
|
"parameters": [
|
|
{
|
|
"name": "ResultId",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"name": "DocumentId",
|
|
"in": "query",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Success",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxFrmwrkXsd.DocumentTypeWithFile]"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxFrmwrkXsd.DocumentTypeWithFile]"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"400": {
|
|
"description": "Bad Request",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxFrmwrkXsd.DocumentTypeWithFile]"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxFrmwrkXsd.DocumentTypeWithFile]"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxFrmwrkXsd.DocumentTypeWithFile]"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxFrmwrkXsd.DocumentTypeWithFile]"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"404": {
|
|
"description": "Not Found",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxFrmwrkXsd.DocumentTypeWithFile]"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxFrmwrkXsd.DocumentTypeWithFile]"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"500": {
|
|
"description": "Server Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxFrmwrkXsd.DocumentTypeWithFile]"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxFrmwrkXsd.DocumentTypeWithFile]"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"default": {
|
|
"description": "Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/emrapi/v1/orders/labresults/{resultId}/status": {
|
|
"patch": {
|
|
"tags": [
|
|
"LabResults"
|
|
],
|
|
"summary": "Order Status (1) - Created, (2) - Submitted, (3) - Awaiting Review, (4) - Reviewed, (5) - Closed",
|
|
"parameters": [
|
|
{
|
|
"name": "resultId",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"nullable": true
|
|
}
|
|
}
|
|
],
|
|
"requestBody": {
|
|
"content": {
|
|
"application/json-patch+json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AutoMedSystem.CommonService.ViewModels.QueryParameters.LabResultStatusPatchViewModel"
|
|
}
|
|
},
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AutoMedSystem.CommonService.ViewModels.QueryParameters.LabResultStatusPatchViewModel"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AutoMedSystem.CommonService.ViewModels.QueryParameters.LabResultStatusPatchViewModel"
|
|
}
|
|
},
|
|
"application/*+json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AutoMedSystem.CommonService.ViewModels.QueryParameters.LabResultStatusPatchViewModel"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "Success",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxService.Common.Responses.AddResponse]"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxService.Common.Responses.AddResponse]"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"400": {
|
|
"description": "Bad Request",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxService.Common.Responses.AddResponse]"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxService.Common.Responses.AddResponse]"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxService.Common.Responses.AddResponse]"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxService.Common.Responses.AddResponse]"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"404": {
|
|
"description": "Not Found",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxService.Common.Responses.AddResponse]"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxService.Common.Responses.AddResponse]"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"500": {
|
|
"description": "Server Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxService.Common.Responses.AddResponse]"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxService.Common.Responses.AddResponse]"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"default": {
|
|
"description": "Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/emrapi/v1/orders/labresults/{resultId}/link": {
|
|
"patch": {
|
|
"tags": [
|
|
"LabResults"
|
|
],
|
|
"parameters": [
|
|
{
|
|
"name": "resultId",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"nullable": true
|
|
}
|
|
}
|
|
],
|
|
"requestBody": {
|
|
"content": {
|
|
"application/json-patch+json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AutoMedSystem.CommonService.ViewModels.QueryParameters.LinkPatientToResultViewmodel"
|
|
}
|
|
},
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AutoMedSystem.CommonService.ViewModels.QueryParameters.LinkPatientToResultViewmodel"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AutoMedSystem.CommonService.ViewModels.QueryParameters.LinkPatientToResultViewmodel"
|
|
}
|
|
},
|
|
"application/*+json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AutoMedSystem.CommonService.ViewModels.QueryParameters.LinkPatientToResultViewmodel"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "Success",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxService.Common.Responses.AddResponse]"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxService.Common.Responses.AddResponse]"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"400": {
|
|
"description": "Bad Request",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxService.Common.Responses.AddResponse]"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxService.Common.Responses.AddResponse]"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxService.Common.Responses.AddResponse]"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxService.Common.Responses.AddResponse]"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"404": {
|
|
"description": "Not Found",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxService.Common.Responses.AddResponse]"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxService.Common.Responses.AddResponse]"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"500": {
|
|
"description": "Server Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxService.Common.Responses.AddResponse]"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxService.Common.Responses.AddResponse]"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"default": {
|
|
"description": "Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/emrapi/v1/orders/labs/{LabId}": {
|
|
"delete": {
|
|
"tags": [
|
|
"Labs"
|
|
],
|
|
"operationId": "LabOrderDelete",
|
|
"parameters": [
|
|
{
|
|
"name": "LabId",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"nullable": true
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"201": {
|
|
"description": "Success",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxService.Common.Responses.AddResponse]"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxService.Common.Responses.AddResponse]"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"400": {
|
|
"description": "Bad Request",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxService.Common.Responses.AddResponse]"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxService.Common.Responses.AddResponse]"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxService.Common.Responses.AddResponse]"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxService.Common.Responses.AddResponse]"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"500": {
|
|
"description": "Server Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxService.Common.Responses.AddResponse]"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxService.Common.Responses.AddResponse]"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"404": {
|
|
"description": "Not Found",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxService.Common.Responses.AddResponse]"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxService.Common.Responses.AddResponse]"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"default": {
|
|
"description": "Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"get": {
|
|
"tags": [
|
|
"Labs"
|
|
],
|
|
"parameters": [
|
|
{
|
|
"name": "LabId",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"nullable": true
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Success",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxFrmwrkXsd.LabOrderDetailsType]"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxFrmwrkXsd.LabOrderDetailsType]"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"400": {
|
|
"description": "Bad Request",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxFrmwrkXsd.LabOrderDetailsType]"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxFrmwrkXsd.LabOrderDetailsType]"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxFrmwrkXsd.LabOrderDetailsType]"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxFrmwrkXsd.LabOrderDetailsType]"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"404": {
|
|
"description": "Not Found",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxFrmwrkXsd.LabOrderDetailsType]"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxFrmwrkXsd.LabOrderDetailsType]"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"500": {
|
|
"description": "Server Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxFrmwrkXsd.LabOrderDetailsType]"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxFrmwrkXsd.LabOrderDetailsType]"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"default": {
|
|
"description": "Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"patch": {
|
|
"tags": [
|
|
"Labs"
|
|
],
|
|
"summary": "Order Type (1) - Lab Order, (2) - Radiology Order",
|
|
"parameters": [
|
|
{
|
|
"name": "LabId",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"nullable": true
|
|
}
|
|
}
|
|
],
|
|
"requestBody": {
|
|
"content": {
|
|
"application/json-patch+json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AutoMedSystem.CommonService.ViewModels.OrderPatchViewModel"
|
|
}
|
|
},
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AutoMedSystem.CommonService.ViewModels.OrderPatchViewModel"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AutoMedSystem.CommonService.ViewModels.OrderPatchViewModel"
|
|
}
|
|
},
|
|
"application/*+json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AutoMedSystem.CommonService.ViewModels.OrderPatchViewModel"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "Success",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxService.Common.Responses.AddResponse]"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxService.Common.Responses.AddResponse]"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"400": {
|
|
"description": "Bad Request",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxService.Common.Responses.AddResponse]"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxService.Common.Responses.AddResponse]"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxService.Common.Responses.AddResponse]"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxService.Common.Responses.AddResponse]"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"404": {
|
|
"description": "Not Found",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxService.Common.Responses.AddResponse]"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxService.Common.Responses.AddResponse]"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"500": {
|
|
"description": "Server Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxService.Common.Responses.AddResponse]"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxService.Common.Responses.AddResponse]"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"default": {
|
|
"description": "Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/emrapi/v1/orders/labs": {
|
|
"get": {
|
|
"tags": [
|
|
"Labs"
|
|
],
|
|
"parameters": [
|
|
{
|
|
"name": "PatientId",
|
|
"in": "query",
|
|
"schema": {
|
|
"type": "string",
|
|
"nullable": true
|
|
}
|
|
},
|
|
{
|
|
"name": "PatientName",
|
|
"in": "query",
|
|
"schema": {
|
|
"type": "string",
|
|
"nullable": true
|
|
}
|
|
},
|
|
{
|
|
"name": "LabName",
|
|
"in": "query",
|
|
"schema": {
|
|
"type": "string",
|
|
"nullable": true
|
|
}
|
|
},
|
|
{
|
|
"name": "ChartVisitNumber",
|
|
"in": "query",
|
|
"schema": {
|
|
"type": "string",
|
|
"nullable": true
|
|
}
|
|
},
|
|
{
|
|
"name": "Status",
|
|
"in": "query",
|
|
"schema": {
|
|
"type": "string",
|
|
"nullable": true
|
|
}
|
|
},
|
|
{
|
|
"name": "OrderType",
|
|
"in": "query",
|
|
"schema": {
|
|
"type": "integer",
|
|
"format": "int32"
|
|
}
|
|
},
|
|
{
|
|
"name": "ICDCode",
|
|
"in": "query",
|
|
"schema": {
|
|
"type": "string",
|
|
"nullable": true
|
|
}
|
|
},
|
|
{
|
|
"name": "ICDCodeId",
|
|
"in": "query",
|
|
"schema": {
|
|
"type": "string",
|
|
"nullable": true
|
|
}
|
|
},
|
|
{
|
|
"name": "DateFrom",
|
|
"in": "query",
|
|
"schema": {
|
|
"type": "string",
|
|
"nullable": true
|
|
}
|
|
},
|
|
{
|
|
"name": "DateTo",
|
|
"in": "query",
|
|
"schema": {
|
|
"type": "string",
|
|
"nullable": true
|
|
}
|
|
},
|
|
{
|
|
"name": "PageNumber",
|
|
"in": "query",
|
|
"schema": {
|
|
"type": "integer",
|
|
"format": "int32"
|
|
}
|
|
},
|
|
{
|
|
"name": "PageSize",
|
|
"in": "query",
|
|
"schema": {
|
|
"type": "integer",
|
|
"format": "int32"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Success",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxService.Common.Responses.CountModel`1[AuxFrmwrkXsd.LabOrderType]]"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxService.Common.Responses.CountModel`1[AuxFrmwrkXsd.LabOrderType]]"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"400": {
|
|
"description": "Bad Request",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxService.Common.Responses.CountModel`1[AuxFrmwrkXsd.LabOrderType]]"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxService.Common.Responses.CountModel`1[AuxFrmwrkXsd.LabOrderType]]"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxService.Common.Responses.CountModel`1[AuxFrmwrkXsd.LabOrderType]]"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxService.Common.Responses.CountModel`1[AuxFrmwrkXsd.LabOrderType]]"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"404": {
|
|
"description": "Not Found",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxService.Common.Responses.CountModel`1[AuxFrmwrkXsd.LabOrderType]]"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxService.Common.Responses.CountModel`1[AuxFrmwrkXsd.LabOrderType]]"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"500": {
|
|
"description": "Server Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxService.Common.Responses.CountModel`1[AuxFrmwrkXsd.LabOrderType]]"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxService.Common.Responses.CountModel`1[AuxFrmwrkXsd.LabOrderType]]"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"default": {
|
|
"description": "Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"post": {
|
|
"tags": [
|
|
"Labs"
|
|
],
|
|
"summary": "Order Type (1) - Lab Order, (2) - Radiology Order",
|
|
"requestBody": {
|
|
"content": {
|
|
"application/json-patch+json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AutoMedSystem.CommonService.ViewModels.OrderPostViewModel"
|
|
}
|
|
},
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AutoMedSystem.CommonService.ViewModels.OrderPostViewModel"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AutoMedSystem.CommonService.ViewModels.OrderPostViewModel"
|
|
}
|
|
},
|
|
"application/*+json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AutoMedSystem.CommonService.ViewModels.OrderPostViewModel"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "Success",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxService.Common.Responses.AddResponse]"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxService.Common.Responses.AddResponse]"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"400": {
|
|
"description": "Bad Request",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxService.Common.Responses.AddResponse]"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxService.Common.Responses.AddResponse]"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxService.Common.Responses.AddResponse]"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxService.Common.Responses.AddResponse]"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"404": {
|
|
"description": "Not Found",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxService.Common.Responses.AddResponse]"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxService.Common.Responses.AddResponse]"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"500": {
|
|
"description": "Server Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxService.Common.Responses.AddResponse]"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxService.Common.Responses.AddResponse]"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"default": {
|
|
"description": "Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/emrapi/v1/orders/labs/{LabId}/status": {
|
|
"patch": {
|
|
"tags": [
|
|
"Labs"
|
|
],
|
|
"summary": "Order Status (1) - Created, (2) - Submitted, (3) - Awaiting Review, (4) - Reviewed, (5) - Closed",
|
|
"parameters": [
|
|
{
|
|
"name": "LabId",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"nullable": true
|
|
}
|
|
}
|
|
],
|
|
"requestBody": {
|
|
"content": {
|
|
"application/json-patch+json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AutoMedSystem.CommonService.ViewModels.OrderStatusPatchViewModel"
|
|
}
|
|
},
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AutoMedSystem.CommonService.ViewModels.OrderStatusPatchViewModel"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AutoMedSystem.CommonService.ViewModels.OrderStatusPatchViewModel"
|
|
}
|
|
},
|
|
"application/*+json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AutoMedSystem.CommonService.ViewModels.OrderStatusPatchViewModel"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "Success",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxService.Common.Responses.AddResponse]"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxService.Common.Responses.AddResponse]"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"400": {
|
|
"description": "Bad Request",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxService.Common.Responses.AddResponse]"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxService.Common.Responses.AddResponse]"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxService.Common.Responses.AddResponse]"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxService.Common.Responses.AddResponse]"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"404": {
|
|
"description": "Not Found",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxService.Common.Responses.AddResponse]"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxService.Common.Responses.AddResponse]"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"500": {
|
|
"description": "Server Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxService.Common.Responses.AddResponse]"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxService.Common.Responses.AddResponse]"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"default": {
|
|
"description": "Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/emrapi/v1/orders/lookups/{patientid}": {
|
|
"get": {
|
|
"tags": [
|
|
"Lookups"
|
|
],
|
|
"operationId": "GetMedicationLookup",
|
|
"parameters": [
|
|
{
|
|
"name": "patientid",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"nullable": true
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Success",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxFrmwrkXsd.MedicationLookupType]"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxFrmwrkXsd.MedicationLookupType]"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"400": {
|
|
"description": "Bad Request",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxFrmwrkXsd.MedicationLookupType]"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxFrmwrkXsd.MedicationLookupType]"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxFrmwrkXsd.MedicationLookupType]"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxFrmwrkXsd.MedicationLookupType]"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"404": {
|
|
"description": "Not Found",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxFrmwrkXsd.MedicationLookupType]"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxFrmwrkXsd.MedicationLookupType]"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"500": {
|
|
"description": "Server Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxFrmwrkXsd.MedicationLookupType]"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxFrmwrkXsd.MedicationLookupType]"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"default": {
|
|
"description": "Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/emrapi/v1/orders/prescriptions/{prescriptionId}": {
|
|
"delete": {
|
|
"tags": [
|
|
"Prescriptions"
|
|
],
|
|
"parameters": [
|
|
{
|
|
"name": "prescriptionId",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"nullable": true
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Success",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxService.Common.Responses.AddResponse]"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxService.Common.Responses.AddResponse]"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"400": {
|
|
"description": "Bad Request",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxService.Common.Responses.AddResponse]"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxService.Common.Responses.AddResponse]"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxService.Common.Responses.AddResponse]"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxService.Common.Responses.AddResponse]"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"404": {
|
|
"description": "Not Found",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxService.Common.Responses.AddResponse]"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxService.Common.Responses.AddResponse]"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"500": {
|
|
"description": "Server Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxService.Common.Responses.AddResponse]"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxService.Common.Responses.AddResponse]"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"default": {
|
|
"description": "Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"get": {
|
|
"tags": [
|
|
"Prescriptions"
|
|
],
|
|
"operationId": "GetPatientMedicationPrescription",
|
|
"parameters": [
|
|
{
|
|
"name": "prescriptionId",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"nullable": true
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Success",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[System.Collections.Generic.List`1[AuxFrmwrkXsd.PatientRxOrderDetailType]]"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[System.Collections.Generic.List`1[AuxFrmwrkXsd.PatientRxOrderDetailType]]"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"400": {
|
|
"description": "Bad Request",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[System.Collections.Generic.List`1[AuxFrmwrkXsd.PatientRxOrderDetailType]]"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[System.Collections.Generic.List`1[AuxFrmwrkXsd.PatientRxOrderDetailType]]"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[System.Collections.Generic.List`1[AuxFrmwrkXsd.PatientRxOrderDetailType]]"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[System.Collections.Generic.List`1[AuxFrmwrkXsd.PatientRxOrderDetailType]]"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"404": {
|
|
"description": "Not Found",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[System.Collections.Generic.List`1[AuxFrmwrkXsd.PatientRxOrderDetailType]]"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[System.Collections.Generic.List`1[AuxFrmwrkXsd.PatientRxOrderDetailType]]"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"500": {
|
|
"description": "Server Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[System.Collections.Generic.List`1[AuxFrmwrkXsd.PatientRxOrderDetailType]]"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[System.Collections.Generic.List`1[AuxFrmwrkXsd.PatientRxOrderDetailType]]"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"default": {
|
|
"description": "Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"put": {
|
|
"tags": [
|
|
"Prescriptions"
|
|
],
|
|
"parameters": [
|
|
{
|
|
"name": "prescriptionId",
|
|
"in": "path",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string",
|
|
"nullable": true
|
|
}
|
|
}
|
|
],
|
|
"requestBody": {
|
|
"content": {
|
|
"application/json-patch+json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AutoMedSystem.CommonService.ViewModels.PrescriptionUpdateViewModel"
|
|
}
|
|
},
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AutoMedSystem.CommonService.ViewModels.PrescriptionUpdateViewModel"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AutoMedSystem.CommonService.ViewModels.PrescriptionUpdateViewModel"
|
|
}
|
|
},
|
|
"application/*+json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AutoMedSystem.CommonService.ViewModels.PrescriptionUpdateViewModel"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "Success",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxService.Common.Responses.AddResponse]"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxService.Common.Responses.AddResponse]"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"400": {
|
|
"description": "Bad Request",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxService.Common.Responses.AddResponse]"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxService.Common.Responses.AddResponse]"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxService.Common.Responses.AddResponse]"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxService.Common.Responses.AddResponse]"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"404": {
|
|
"description": "Not Found",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxService.Common.Responses.AddResponse]"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxService.Common.Responses.AddResponse]"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"500": {
|
|
"description": "Server Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxService.Common.Responses.AddResponse]"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxService.Common.Responses.AddResponse]"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"default": {
|
|
"description": "Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/emrapi/v1/orders/prescriptions": {
|
|
"get": {
|
|
"tags": [
|
|
"Prescriptions"
|
|
],
|
|
"parameters": [
|
|
{
|
|
"name": "PatientId",
|
|
"in": "query",
|
|
"schema": {
|
|
"type": "string",
|
|
"nullable": true
|
|
}
|
|
},
|
|
{
|
|
"name": "ProviderId",
|
|
"in": "query",
|
|
"schema": {
|
|
"type": "string",
|
|
"nullable": true
|
|
}
|
|
},
|
|
{
|
|
"name": "MedicationId",
|
|
"in": "query",
|
|
"schema": {
|
|
"type": "string",
|
|
"nullable": true
|
|
}
|
|
},
|
|
{
|
|
"name": "PatientName",
|
|
"in": "query",
|
|
"schema": {
|
|
"type": "string",
|
|
"nullable": true
|
|
}
|
|
},
|
|
{
|
|
"name": "ProviderName",
|
|
"in": "query",
|
|
"schema": {
|
|
"type": "string",
|
|
"nullable": true
|
|
}
|
|
},
|
|
{
|
|
"name": "MedicationName",
|
|
"in": "query",
|
|
"schema": {
|
|
"type": "string",
|
|
"nullable": true
|
|
}
|
|
},
|
|
{
|
|
"name": "Status",
|
|
"in": "query",
|
|
"schema": {
|
|
"type": "string",
|
|
"nullable": true
|
|
}
|
|
},
|
|
{
|
|
"name": "DateFrom",
|
|
"in": "query",
|
|
"schema": {
|
|
"type": "string",
|
|
"nullable": true
|
|
}
|
|
},
|
|
{
|
|
"name": "DateTo",
|
|
"in": "query",
|
|
"schema": {
|
|
"type": "string",
|
|
"nullable": true
|
|
}
|
|
},
|
|
{
|
|
"name": "PageNumber",
|
|
"in": "query",
|
|
"schema": {
|
|
"type": "integer",
|
|
"format": "int32"
|
|
}
|
|
},
|
|
{
|
|
"name": "PageSize",
|
|
"in": "query",
|
|
"schema": {
|
|
"type": "integer",
|
|
"format": "int32"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "Success",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxService.Common.Responses.CountModel`1[AuxService.Common.Responses.PatientPrescriptionResponse]]"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxService.Common.Responses.CountModel`1[AuxService.Common.Responses.PatientPrescriptionResponse]]"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"400": {
|
|
"description": "Bad Request",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxService.Common.Responses.CountModel`1[AuxService.Common.Responses.PatientPrescriptionResponse]]"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxService.Common.Responses.CountModel`1[AuxService.Common.Responses.PatientPrescriptionResponse]]"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxService.Common.Responses.CountModel`1[AuxService.Common.Responses.PatientPrescriptionResponse]]"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxService.Common.Responses.CountModel`1[AuxService.Common.Responses.PatientPrescriptionResponse]]"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"404": {
|
|
"description": "Not Found",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxService.Common.Responses.CountModel`1[AuxService.Common.Responses.PatientPrescriptionResponse]]"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxService.Common.Responses.CountModel`1[AuxService.Common.Responses.PatientPrescriptionResponse]]"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"500": {
|
|
"description": "Server Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxService.Common.Responses.CountModel`1[AuxService.Common.Responses.PatientPrescriptionResponse]]"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxService.Common.Responses.CountModel`1[AuxService.Common.Responses.PatientPrescriptionResponse]]"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"default": {
|
|
"description": "Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"post": {
|
|
"tags": [
|
|
"Prescriptions"
|
|
],
|
|
"requestBody": {
|
|
"content": {
|
|
"application/json-patch+json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AutoMedSystem.CommonService.ViewModels.PrescriptionPostViewModel"
|
|
}
|
|
},
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AutoMedSystem.CommonService.ViewModels.PrescriptionPostViewModel"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AutoMedSystem.CommonService.ViewModels.PrescriptionPostViewModel"
|
|
}
|
|
},
|
|
"application/*+json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AutoMedSystem.CommonService.ViewModels.PrescriptionPostViewModel"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "Success",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxService.Common.Responses.AddResponse]"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxService.Common.Responses.AddResponse]"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"400": {
|
|
"description": "Bad Request",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxService.Common.Responses.AddResponse]"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxService.Common.Responses.AddResponse]"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxService.Common.Responses.AddResponse]"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxService.Common.Responses.AddResponse]"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"404": {
|
|
"description": "Not Found",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxService.Common.Responses.AddResponse]"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxService.Common.Responses.AddResponse]"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"500": {
|
|
"description": "Server Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxService.Common.Responses.AddResponse]"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxService.Common.Responses.AddResponse]"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"default": {
|
|
"description": "Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"/emrapi/v1/orders/prescriptions/notifyprinting": {
|
|
"post": {
|
|
"tags": [
|
|
"Prescriptions"
|
|
],
|
|
"requestBody": {
|
|
"content": {
|
|
"application/json-patch+json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.PrintNotifyModel"
|
|
}
|
|
},
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.PrintNotifyModel"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.PrintNotifyModel"
|
|
}
|
|
},
|
|
"application/*+json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.PrintNotifyModel"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "Success",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxService.Common.Responses.AddResponse]"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxService.Common.Responses.AddResponse]"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"400": {
|
|
"description": "Bad Request",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxService.Common.Responses.AddResponse]"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxService.Common.Responses.AddResponse]"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"401": {
|
|
"description": "Unauthorized",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxService.Common.Responses.AddResponse]"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxService.Common.Responses.AddResponse]"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"404": {
|
|
"description": "Not Found",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxService.Common.Responses.AddResponse]"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxService.Common.Responses.AddResponse]"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"500": {
|
|
"description": "Server Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxService.Common.Responses.AddResponse]"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxService.Common.Responses.AddResponse]"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"default": {
|
|
"description": "Error",
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"components": {
|
|
"schemas": {
|
|
"AutoMedSystem.CommonService.ViewModels.InteractionAndAllergyIndicationResponseType": {
|
|
"type": "object",
|
|
"properties": {
|
|
"Id": {
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"Value": {
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"Parameter": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"ParameterName": {
|
|
"type": "string",
|
|
"nullable": true
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"AutoMedSystem.CommonService.ViewModels.IntSeverityListItemResponse": {
|
|
"type": "object",
|
|
"properties": {
|
|
"Code": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"Description": {
|
|
"type": "string",
|
|
"nullable": true
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"AutoMedSystem.CommonService.ViewModels.IntProviderExemptionResponse": {
|
|
"type": "object",
|
|
"properties": {
|
|
"ProviderId": {
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"PersonnelId": {
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"FirstName": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"LastName": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"Severity": {
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"IntSeverityList": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/AutoMedSystem.CommonService.ViewModels.IntSeverityListItemResponse"
|
|
},
|
|
"nullable": true
|
|
},
|
|
"Title": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"Suffix": {
|
|
"type": "string",
|
|
"nullable": true
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"AutoMedSystem.CommonService.ViewModels.DrugInteractionSettingResponseType": {
|
|
"type": "object",
|
|
"properties": {
|
|
"MinorInteraction": {
|
|
"type": "boolean"
|
|
},
|
|
"ModerateInteraction": {
|
|
"type": "boolean"
|
|
},
|
|
"SevereInteraction": {
|
|
"type": "boolean"
|
|
},
|
|
"ColorCodeAllAlerts": {
|
|
"type": "boolean"
|
|
},
|
|
"SuppressAlerts": {
|
|
"type": "boolean"
|
|
},
|
|
"ColorCodeAlertOnRxForm": {
|
|
"type": "boolean"
|
|
},
|
|
"DrugInteractionIndicators": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/AutoMedSystem.CommonService.ViewModels.InteractionAndAllergyIndicationResponseType"
|
|
},
|
|
"nullable": true
|
|
},
|
|
"AllergyInteractionIndicators": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/AutoMedSystem.CommonService.ViewModels.InteractionAndAllergyIndicationResponseType"
|
|
},
|
|
"nullable": true
|
|
},
|
|
"ProviderExemptions": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/AutoMedSystem.CommonService.ViewModels.IntProviderExemptionResponse"
|
|
},
|
|
"nullable": true
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"AuxService.Common.Responses.ResultType": {
|
|
"enum": [
|
|
"1 - Success",
|
|
"2 - Error",
|
|
"3 - ValidationError",
|
|
"4 - Warning",
|
|
"5 - NotFound",
|
|
"6 - Empty",
|
|
"7 - UnAuthorized",
|
|
"8 - Duplicate",
|
|
"9 - Acknowledged"
|
|
],
|
|
"type": "string"
|
|
},
|
|
"AuxService.Common.Model.ValidationError": {
|
|
"type": "object",
|
|
"properties": {
|
|
"inpField": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"errMessage": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"nullable": true
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"AuxService.Common.Responses.Response`1[AutoMedSystem.CommonService.ViewModels.DrugInteractionSettingResponseType]": {
|
|
"type": "object",
|
|
"properties": {
|
|
"HasResult": {
|
|
"type": "boolean",
|
|
"description": "Indicates if the response contains a result",
|
|
"readOnly": true
|
|
},
|
|
"ResponseData": {
|
|
"$ref": "#/components/schemas/AutoMedSystem.CommonService.ViewModels.DrugInteractionSettingResponseType"
|
|
},
|
|
"Successful": {
|
|
"type": "boolean",
|
|
"description": "Indicates if the response is successful or not. Warning or success result type indicate success",
|
|
"readOnly": true
|
|
},
|
|
"ResultType": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.ResultType"
|
|
},
|
|
"Message": {
|
|
"type": "string",
|
|
"description": "The message returned with the response",
|
|
"nullable": true
|
|
},
|
|
"ValidationMessages": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"description": "The validation error messages returned with the response",
|
|
"nullable": true
|
|
},
|
|
"ValidationErrors": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Model.ValidationError"
|
|
},
|
|
"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
|
|
},
|
|
"Extensions": {
|
|
"type": "object",
|
|
"additionalProperties": {
|
|
"type": "object",
|
|
"additionalProperties": false
|
|
},
|
|
"nullable": true,
|
|
"readOnly": true
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"AutoMedSystem.CommonService.ViewModels.DrugInteractionSettingsModel": {
|
|
"type": "object",
|
|
"properties": {
|
|
"MinorInteraction": {
|
|
"type": "boolean"
|
|
},
|
|
"ModerateInteraction": {
|
|
"type": "boolean"
|
|
},
|
|
"SevereInteraction": {
|
|
"type": "boolean"
|
|
},
|
|
"ColorCodeAllAlerts": {
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"AutoMedSystem.CommonService.ViewModels.AllergyInteractionSettingsModel": {
|
|
"type": "object",
|
|
"properties": {
|
|
"SuppressAlerts": {
|
|
"type": "boolean"
|
|
},
|
|
"ColorCodeAlertOnRxForm": {
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"AutoMedSystem.CommonService.ViewModels.ProviderExemptionRequest": {
|
|
"type": "object",
|
|
"properties": {
|
|
"ProviderId": {
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"ExemptFromMinor": {
|
|
"type": "boolean"
|
|
},
|
|
"ExemptFromModerate": {
|
|
"type": "boolean"
|
|
},
|
|
"ExemptFromSevere": {
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"AutoMedSystem.CommonService.ViewModels.InteractionSettingsRequestViewModel": {
|
|
"type": "object",
|
|
"properties": {
|
|
"DrugInteractionSettingsModel": {
|
|
"$ref": "#/components/schemas/AutoMedSystem.CommonService.ViewModels.DrugInteractionSettingsModel"
|
|
},
|
|
"AllergyInteractionSettingsModel": {
|
|
"$ref": "#/components/schemas/AutoMedSystem.CommonService.ViewModels.AllergyInteractionSettingsModel"
|
|
},
|
|
"ProviderExemptions": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/AutoMedSystem.CommonService.ViewModels.ProviderExemptionRequest"
|
|
},
|
|
"nullable": true
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"AuxService.Common.Responses.AddResponse": {
|
|
"type": "object",
|
|
"properties": {
|
|
"MiscField1": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"MiscField2": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"IsPartial": {
|
|
"type": "boolean"
|
|
},
|
|
"Warning": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"nullable": true
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"AuxService.Common.Responses.Response`1[AuxService.Common.Responses.AddResponse]": {
|
|
"type": "object",
|
|
"properties": {
|
|
"HasResult": {
|
|
"type": "boolean",
|
|
"description": "Indicates if the response contains a result",
|
|
"readOnly": true
|
|
},
|
|
"ResponseData": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.AddResponse"
|
|
},
|
|
"Successful": {
|
|
"type": "boolean",
|
|
"description": "Indicates if the response is successful or not. Warning or success result type indicate success",
|
|
"readOnly": true
|
|
},
|
|
"ResultType": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.ResultType"
|
|
},
|
|
"Message": {
|
|
"type": "string",
|
|
"description": "The message returned with the response",
|
|
"nullable": true
|
|
},
|
|
"ValidationMessages": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"description": "The validation error messages returned with the response",
|
|
"nullable": true
|
|
},
|
|
"ValidationErrors": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Model.ValidationError"
|
|
},
|
|
"nullable": true
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"AuxFrmwrkXsd.NameType": {
|
|
"type": "object",
|
|
"properties": {
|
|
"LastName": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"FirstName": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"MiddleName": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"Suffix": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"Prefix": {
|
|
"type": "string",
|
|
"nullable": true
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"AuxFrmwrkXsd.GenderType": {
|
|
"enum": [
|
|
"0 - M",
|
|
"1 - F",
|
|
"2 - U"
|
|
],
|
|
"type": "string"
|
|
},
|
|
"AuxFrmwrkXsd.AddressType": {
|
|
"type": "object",
|
|
"properties": {
|
|
"Country": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"AddressLine1": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"AddressLine2": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"City": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"State": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"ZipCode": {
|
|
"type": "string",
|
|
"nullable": true
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"AuxFrmwrkXsd.PhoneType": {
|
|
"type": "object",
|
|
"properties": {
|
|
"Number": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"Qualifier": {
|
|
"type": "string",
|
|
"nullable": true
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"AuxFrmwrkXsd.GuarantorType": {
|
|
"type": "object",
|
|
"properties": {
|
|
"RelationshipToGuarantor": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"SegmentTypeID": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"Status": {
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"RecordId": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"SSN": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"AccountNumber": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"Name": {
|
|
"$ref": "#/components/schemas/AuxFrmwrkXsd.NameType"
|
|
},
|
|
"Gender": {
|
|
"$ref": "#/components/schemas/AuxFrmwrkXsd.GenderType"
|
|
},
|
|
"DateOfBirth": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"Address": {
|
|
"$ref": "#/components/schemas/AuxFrmwrkXsd.AddressType"
|
|
},
|
|
"Email": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"PhoneNumbers": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/AuxFrmwrkXsd.PhoneType"
|
|
},
|
|
"nullable": true
|
|
},
|
|
"FacilityId": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"EmployeeName": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"SPI": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"NPI": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"RxReferenceNumber": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"PrescriberOrderNumber": {
|
|
"type": "string",
|
|
"nullable": true
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"AuxFrmwrkXsd.PersonInformationType": {
|
|
"type": "object",
|
|
"properties": {
|
|
"RecordId": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"SSN": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"AccountNumber": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"Name": {
|
|
"$ref": "#/components/schemas/AuxFrmwrkXsd.NameType"
|
|
},
|
|
"Gender": {
|
|
"$ref": "#/components/schemas/AuxFrmwrkXsd.GenderType"
|
|
},
|
|
"DateOfBirth": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"Address": {
|
|
"$ref": "#/components/schemas/AuxFrmwrkXsd.AddressType"
|
|
},
|
|
"Email": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"PhoneNumbers": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/AuxFrmwrkXsd.PhoneType"
|
|
},
|
|
"nullable": true
|
|
},
|
|
"FacilityId": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"EmployeeName": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"SPI": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"NPI": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"RxReferenceNumber": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"PrescriberOrderNumber": {
|
|
"type": "string",
|
|
"nullable": true
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"AuxFrmwrkXsd.InsuranceProviderType": {
|
|
"type": "object",
|
|
"properties": {
|
|
"Phones": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/AuxFrmwrkXsd.PhoneType"
|
|
},
|
|
"nullable": true
|
|
},
|
|
"CompanyName": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"PayerId": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"Address": {
|
|
"$ref": "#/components/schemas/AuxFrmwrkXsd.AddressType"
|
|
},
|
|
"PayerType": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"PayerTypeCode": {
|
|
"type": "string",
|
|
"nullable": true
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"AuxFrmwrkXsd.InsurancePolicyType": {
|
|
"type": "object",
|
|
"properties": {
|
|
"RecordId": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"PolicyNumber": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"RelationshipToSubscriber": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"Subscriber": {
|
|
"$ref": "#/components/schemas/AuxFrmwrkXsd.PersonInformationType"
|
|
},
|
|
"GroupNumber": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"InsuranceProvider": {
|
|
"$ref": "#/components/schemas/AuxFrmwrkXsd.InsuranceProviderType"
|
|
},
|
|
"SetID": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"SegmentID": {
|
|
"type": "string",
|
|
"nullable": true
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"AuxFrmwrkXsd.MaritalStatusType": {
|
|
"enum": [
|
|
"0 - M",
|
|
"1 - S",
|
|
"2 - D",
|
|
"3 - W",
|
|
"4 - R",
|
|
"5 - A",
|
|
"6 - U"
|
|
],
|
|
"type": "string"
|
|
},
|
|
"AuxFrmwrkXsd.ItemsChoiceType3": {
|
|
"enum": [
|
|
"0 - MedicaidNumber",
|
|
"1 - MedicareNumber",
|
|
"2 - AutoMedSysChartNo",
|
|
"3 - SocialSecurity",
|
|
"4 - AutoMedSysRecordId",
|
|
"5 - AutoMedSysLastname"
|
|
],
|
|
"type": "string"
|
|
},
|
|
"AuxFrmwrkXsd.PatientIDType": {
|
|
"type": "object",
|
|
"properties": {
|
|
"Item": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"ItemElementName": {
|
|
"$ref": "#/components/schemas/AuxFrmwrkXsd.ItemsChoiceType3"
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"AuxFrmwrkXsd.PatientIdentityDocumentType": {
|
|
"type": "object",
|
|
"properties": {
|
|
"IDNumber": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"IdTypeCode": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"ExpirationDate": {
|
|
"type": "string",
|
|
"format": "date-time",
|
|
"nullable": true
|
|
},
|
|
"DateIssued": {
|
|
"type": "string",
|
|
"format": "date-time",
|
|
"nullable": true
|
|
},
|
|
"IssuringCountry": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"IssuringState": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"IsActive": {
|
|
"type": "boolean"
|
|
},
|
|
"DateCreated": {
|
|
"type": "string",
|
|
"format": "date-time",
|
|
"nullable": true
|
|
},
|
|
"DocImgId": {
|
|
"type": "string",
|
|
"nullable": true
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"AuxFrmwrkXsd.PatientAdditionalInformationType": {
|
|
"type": "object",
|
|
"properties": {
|
|
"Ethnicity": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"Language": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"Race": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"SmokingStatus": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"SmokingStatuCommunication": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"Note": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"AdvancedDirectives": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"LivingWill": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"Hippa": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"ServiceLocationId": {
|
|
"type": "string",
|
|
"nullable": true
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"AuxFrmwrkXsd.PatientType": {
|
|
"type": "object",
|
|
"properties": {
|
|
"Guarantor": {
|
|
"$ref": "#/components/schemas/AuxFrmwrkXsd.GuarantorType"
|
|
},
|
|
"InsurancePolicySet": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/AuxFrmwrkXsd.InsurancePolicyType"
|
|
},
|
|
"nullable": true
|
|
},
|
|
"SegmentTypeID": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"MaritalStatus": {
|
|
"$ref": "#/components/schemas/AuxFrmwrkXsd.MaritalStatusType"
|
|
},
|
|
"PatientIDList": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/AuxFrmwrkXsd.PatientIDType"
|
|
},
|
|
"nullable": true
|
|
},
|
|
"Note": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"Height": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"Weight": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"DateCreated": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"Status": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"PrimaryProviderId": {
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"ReferingProvider": {
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"PrimaryProviderName": {
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"ReferingProviderName": {
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"DocumentTypes": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/AuxFrmwrkXsd.PatientIdentityDocumentType"
|
|
},
|
|
"nullable": true
|
|
},
|
|
"AdditionalInformation": {
|
|
"$ref": "#/components/schemas/AuxFrmwrkXsd.PatientAdditionalInformationType"
|
|
},
|
|
"LastName": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"Id": {
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"RecordId": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"SSN": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"AccountNumber": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"Name": {
|
|
"$ref": "#/components/schemas/AuxFrmwrkXsd.NameType"
|
|
},
|
|
"Gender": {
|
|
"$ref": "#/components/schemas/AuxFrmwrkXsd.GenderType"
|
|
},
|
|
"DateOfBirth": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"Address": {
|
|
"$ref": "#/components/schemas/AuxFrmwrkXsd.AddressType"
|
|
},
|
|
"Email": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"PhoneNumbers": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/AuxFrmwrkXsd.PhoneType"
|
|
},
|
|
"nullable": true
|
|
},
|
|
"FacilityId": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"EmployeeName": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"SPI": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"NPI": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"RxReferenceNumber": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"PrescriberOrderNumber": {
|
|
"type": "string",
|
|
"nullable": true
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"AuxFrmwrkXsd.HL7PatientType": {
|
|
"type": "object",
|
|
"properties": {
|
|
"ExternalPatientID": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"LabPatientID": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"AlternatePatientID": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"FirstName": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"LastName": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"MiddleInitial": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"DOB": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"Gender": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"Address": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"City": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"State": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"ZipCode": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"PatientAccountNumber": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"PhoneNumber": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"SSN": {
|
|
"type": "string",
|
|
"nullable": true
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"AuxFrmwrkXsd.HL7NoteAndCommentType": {
|
|
"type": "object",
|
|
"properties": {
|
|
"Comment": {
|
|
"type": "string",
|
|
"nullable": true
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"AuxFrmwrkXsd.HL7PatientORU": {
|
|
"type": "object",
|
|
"properties": {
|
|
"PatientType": {
|
|
"$ref": "#/components/schemas/AuxFrmwrkXsd.HL7PatientType"
|
|
},
|
|
"Notes": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/AuxFrmwrkXsd.HL7NoteAndCommentType"
|
|
},
|
|
"nullable": true
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"AuxFrmwrkXsd.HL7CommonOrderType": {
|
|
"type": "object",
|
|
"properties": {
|
|
"OrderControl": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"DateOfTransaction": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"ProviderID": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"ProviderLastName": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"ProviderFirstName": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"ProviderIdentification": {
|
|
"type": "string",
|
|
"nullable": true
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"AuxFrmwrkXsd.HL7ObservationRequestType": {
|
|
"type": "object",
|
|
"properties": {
|
|
"OrderControl": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"DateOfTransaction": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"ProviderID": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"ProviderLastName": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"ProviderFirstName": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"SpecimenSource": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"SpecimenCondition": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"TestHeader": {
|
|
"type": "string",
|
|
"nullable": true
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"AuxFrmwrkXsd.HL7ObservationType": {
|
|
"type": "object",
|
|
"properties": {
|
|
"SetID": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"ObservationSubID": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"ObservationValue": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"nullable": true
|
|
},
|
|
"ReferenceRange": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"AbnormalFlags": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"Probability": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"NatureOfAbnormalTest": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"ObservationResultStatus": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"DateLastObsNormalValues": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"ObservationDateTime": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"TestNameShort": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"TestNameLong": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"TestUnit": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"TestResult": {
|
|
"type": "string",
|
|
"nullable": true
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"AuxFrmwrkXsd.HL7ZEFType": {
|
|
"type": "object",
|
|
"properties": {
|
|
"SetID": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"Documents": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"nullable": true
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"AuxFrmwrkXsd.HL7LabAddressType": {
|
|
"type": "object",
|
|
"properties": {
|
|
"StreetAddress": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"City": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"State": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"PostalCode": {
|
|
"type": "string",
|
|
"nullable": true
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"AuxFrmwrkXsd.HL7LabPersonType": {
|
|
"type": "object",
|
|
"properties": {
|
|
"Title": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"FirstName": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"LastName": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"MiddleInitial": {
|
|
"type": "string",
|
|
"nullable": true
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"AuxFrmwrkXsd.HL7ZPSType": {
|
|
"type": "object",
|
|
"properties": {
|
|
"SetID": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"LabName": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"LabAddress": {
|
|
"$ref": "#/components/schemas/AuxFrmwrkXsd.HL7LabAddressType"
|
|
},
|
|
"LabPhoneNumber": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"LabPerson": {
|
|
"$ref": "#/components/schemas/AuxFrmwrkXsd.HL7LabPersonType"
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"AuxFrmwrkXsd.HL7ObservationORU": {
|
|
"type": "object",
|
|
"properties": {
|
|
"ObservationType": {
|
|
"$ref": "#/components/schemas/AuxFrmwrkXsd.HL7ObservationType"
|
|
},
|
|
"Notes": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/AuxFrmwrkXsd.HL7NoteAndCommentType"
|
|
},
|
|
"nullable": true
|
|
},
|
|
"ZEFType": {
|
|
"$ref": "#/components/schemas/AuxFrmwrkXsd.HL7ZEFType"
|
|
},
|
|
"ZPSTypes": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/AuxFrmwrkXsd.HL7ZPSType"
|
|
},
|
|
"nullable": true
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"AuxFrmwrkXsd.HL7OrderObservationORU": {
|
|
"type": "object",
|
|
"properties": {
|
|
"CommonOrderType": {
|
|
"$ref": "#/components/schemas/AuxFrmwrkXsd.HL7CommonOrderType"
|
|
},
|
|
"ObservationRequestType": {
|
|
"$ref": "#/components/schemas/AuxFrmwrkXsd.HL7ObservationRequestType"
|
|
},
|
|
"Observations": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/AuxFrmwrkXsd.HL7ObservationORU"
|
|
},
|
|
"nullable": true
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"AuxFrmwrkXsd.HL7Type": {
|
|
"type": "object",
|
|
"properties": {
|
|
"Patient": {
|
|
"$ref": "#/components/schemas/AuxFrmwrkXsd.HL7PatientORU"
|
|
},
|
|
"OrderObservations": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/AuxFrmwrkXsd.HL7OrderObservationORU"
|
|
},
|
|
"nullable": true
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"AuxFrmwrkXsd.LabResultType": {
|
|
"type": "object",
|
|
"properties": {
|
|
"Id": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"Channel": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"ChannelName": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"VisitDate": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"LStatus": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"PatientInfo": {
|
|
"$ref": "#/components/schemas/AuxFrmwrkXsd.PatientType"
|
|
},
|
|
"DateAdded": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"DateUpdated": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"ResultName": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"AlertStatus": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"Status": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"ControlId": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"ProviderId": {
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"ProviderName": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"HL7Type": {
|
|
"$ref": "#/components/schemas/AuxFrmwrkXsd.HL7Type"
|
|
},
|
|
"PrintedResult": {
|
|
"type": "boolean",
|
|
"nullable": true
|
|
},
|
|
"LabId": {
|
|
"type": "string",
|
|
"nullable": true
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"AuxService.Common.Responses.CountModel`1[AuxFrmwrkXsd.LabResultType]": {
|
|
"type": "object",
|
|
"properties": {
|
|
"CurrentPage": {
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"TotalPages": {
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"PageSize": {
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"TotalCount": {
|
|
"type": "integer",
|
|
"format": "int64"
|
|
},
|
|
"HasPrevious": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"HasNext": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"Items": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/AuxFrmwrkXsd.LabResultType"
|
|
},
|
|
"nullable": true
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"AuxService.Common.Responses.Response`1[AuxService.Common.Responses.CountModel`1[AuxFrmwrkXsd.LabResultType]]": {
|
|
"type": "object",
|
|
"properties": {
|
|
"HasResult": {
|
|
"type": "boolean",
|
|
"description": "Indicates if the response contains a result",
|
|
"readOnly": true
|
|
},
|
|
"ResponseData": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.CountModel`1[AuxFrmwrkXsd.LabResultType]"
|
|
},
|
|
"Successful": {
|
|
"type": "boolean",
|
|
"description": "Indicates if the response is successful or not. Warning or success result type indicate success",
|
|
"readOnly": true
|
|
},
|
|
"ResultType": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.ResultType"
|
|
},
|
|
"Message": {
|
|
"type": "string",
|
|
"description": "The message returned with the response",
|
|
"nullable": true
|
|
},
|
|
"ValidationMessages": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"description": "The validation error messages returned with the response",
|
|
"nullable": true
|
|
},
|
|
"ValidationErrors": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Model.ValidationError"
|
|
},
|
|
"nullable": true
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"AuxFrmwrkXsd.LabResultType2": {
|
|
"type": "object",
|
|
"properties": {
|
|
"Id": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"Channel": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"ChannelName": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"VisitDate": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"LStatus": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"DateAdded": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"DateUpdated": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"ResultName": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"AlertStatus": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"Status": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"ControlId": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"ProviderId": {
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"ProviderName": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"HL7Type": {
|
|
"$ref": "#/components/schemas/AuxFrmwrkXsd.HL7Type"
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"AuxService.Common.Responses.Response`1[AuxFrmwrkXsd.LabResultType2]": {
|
|
"type": "object",
|
|
"properties": {
|
|
"HasResult": {
|
|
"type": "boolean",
|
|
"description": "Indicates if the response contains a result",
|
|
"readOnly": true
|
|
},
|
|
"ResponseData": {
|
|
"$ref": "#/components/schemas/AuxFrmwrkXsd.LabResultType2"
|
|
},
|
|
"Successful": {
|
|
"type": "boolean",
|
|
"description": "Indicates if the response is successful or not. Warning or success result type indicate success",
|
|
"readOnly": true
|
|
},
|
|
"ResultType": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.ResultType"
|
|
},
|
|
"Message": {
|
|
"type": "string",
|
|
"description": "The message returned with the response",
|
|
"nullable": true
|
|
},
|
|
"ValidationMessages": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"description": "The validation error messages returned with the response",
|
|
"nullable": true
|
|
},
|
|
"ValidationErrors": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Model.ValidationError"
|
|
},
|
|
"nullable": true
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"AuxFrmwrkXsd.DocumentTypeWithFile": {
|
|
"type": "object",
|
|
"properties": {
|
|
"DocumentFile": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"DocumentTypeName": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"PatientName": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"Id": {
|
|
"type": "integer",
|
|
"format": "int64"
|
|
},
|
|
"PatientRecordID": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"PersonnelID": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"ChartNo": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"OrigDocumentDate": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"FileSize": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"PracticeFlag": {
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"Description": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"DocumentName": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"DocumentSequenceNo": {
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"DocumentTypeID": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"DocumentID": {
|
|
"type": "integer",
|
|
"format": "int64"
|
|
},
|
|
"EncounterID": {
|
|
"type": "integer",
|
|
"format": "int64"
|
|
},
|
|
"DocumentExtension": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"RawFileData": {
|
|
"type": "string",
|
|
"format": "byte",
|
|
"nullable": true
|
|
},
|
|
"Alias": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"Category": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"DocumentDate": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"StatusCode": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"RawResponse": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"MiscField1": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"MiscField2": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"SessionId": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"ErrorCode": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"ErrorMessage": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"MessageID": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"Suggestion": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"SessionTimeout": {
|
|
"type": "number",
|
|
"format": "double"
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"AuxService.Common.Responses.Response`1[AuxFrmwrkXsd.DocumentTypeWithFile]": {
|
|
"type": "object",
|
|
"properties": {
|
|
"HasResult": {
|
|
"type": "boolean",
|
|
"description": "Indicates if the response contains a result",
|
|
"readOnly": true
|
|
},
|
|
"ResponseData": {
|
|
"$ref": "#/components/schemas/AuxFrmwrkXsd.DocumentTypeWithFile"
|
|
},
|
|
"Successful": {
|
|
"type": "boolean",
|
|
"description": "Indicates if the response is successful or not. Warning or success result type indicate success",
|
|
"readOnly": true
|
|
},
|
|
"ResultType": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.ResultType"
|
|
},
|
|
"Message": {
|
|
"type": "string",
|
|
"description": "The message returned with the response",
|
|
"nullable": true
|
|
},
|
|
"ValidationMessages": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"description": "The validation error messages returned with the response",
|
|
"nullable": true
|
|
},
|
|
"ValidationErrors": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Model.ValidationError"
|
|
},
|
|
"nullable": true
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"AutoMedSystem.CommonService.ViewModels.QueryParameters.LabResultStatusPatchViewModel": {
|
|
"type": "object",
|
|
"properties": {
|
|
"Status": {
|
|
"type": "string",
|
|
"nullable": true
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"AutoMedSystem.CommonService.ViewModels.QueryParameters.LinkPatientToResultViewmodel": {
|
|
"required": [
|
|
"ChartNo"
|
|
],
|
|
"type": "object",
|
|
"properties": {
|
|
"ChartNo": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"AuxFrmwrkXsd.DocumentType": {
|
|
"type": "object",
|
|
"properties": {
|
|
"Id": {
|
|
"type": "integer",
|
|
"format": "int64"
|
|
},
|
|
"PatientRecordID": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"PersonnelID": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"ChartNo": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"OrigDocumentDate": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"FileSize": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"PracticeFlag": {
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"Description": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"DocumentName": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"DocumentSequenceNo": {
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"DocumentTypeID": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"DocumentID": {
|
|
"type": "integer",
|
|
"format": "int64"
|
|
},
|
|
"EncounterID": {
|
|
"type": "integer",
|
|
"format": "int64"
|
|
},
|
|
"DocumentExtension": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"RawFileData": {
|
|
"type": "string",
|
|
"format": "byte",
|
|
"nullable": true
|
|
},
|
|
"Alias": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"Category": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"DocumentDate": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"StatusCode": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"RawResponse": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"MiscField1": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"MiscField2": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"SessionId": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"ErrorCode": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"ErrorMessage": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"MessageID": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"Suggestion": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"SessionTimeout": {
|
|
"type": "number",
|
|
"format": "double"
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"AuxFrmwrkXsd.LabOrderDetailsType": {
|
|
"type": "object",
|
|
"properties": {
|
|
"Documents": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/AuxFrmwrkXsd.DocumentType"
|
|
},
|
|
"nullable": true
|
|
},
|
|
"Id": {
|
|
"type": "integer",
|
|
"format": "int64"
|
|
},
|
|
"PvCheckInDate": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"LEndDate": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"LStatus": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"PatientName": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"LabName": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"LabCode": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"Instruction": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"Indication": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"Status": {
|
|
"type": "integer",
|
|
"format": "int64"
|
|
},
|
|
"PId": {
|
|
"type": "integer",
|
|
"format": "int64"
|
|
},
|
|
"PAccountNumber": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"LabId": {
|
|
"type": "integer",
|
|
"format": "int64"
|
|
},
|
|
"VisitId": {
|
|
"type": "integer",
|
|
"format": "int64"
|
|
},
|
|
"VDocumentNumber": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"TestResult": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"OrderActive": {
|
|
"type": "integer",
|
|
"format": "int64"
|
|
},
|
|
"OrderType": {
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"OrderTypeName": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"ICDCode": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"ICDCodeId": {
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"OrderDate": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"ResultId": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"DocumentId": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"ProviderId": {
|
|
"type": "integer",
|
|
"format": "int64"
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"AuxService.Common.Responses.Response`1[AuxFrmwrkXsd.LabOrderDetailsType]": {
|
|
"type": "object",
|
|
"properties": {
|
|
"HasResult": {
|
|
"type": "boolean",
|
|
"description": "Indicates if the response contains a result",
|
|
"readOnly": true
|
|
},
|
|
"ResponseData": {
|
|
"$ref": "#/components/schemas/AuxFrmwrkXsd.LabOrderDetailsType"
|
|
},
|
|
"Successful": {
|
|
"type": "boolean",
|
|
"description": "Indicates if the response is successful or not. Warning or success result type indicate success",
|
|
"readOnly": true
|
|
},
|
|
"ResultType": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.ResultType"
|
|
},
|
|
"Message": {
|
|
"type": "string",
|
|
"description": "The message returned with the response",
|
|
"nullable": true
|
|
},
|
|
"ValidationMessages": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"description": "The validation error messages returned with the response",
|
|
"nullable": true
|
|
},
|
|
"ValidationErrors": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Model.ValidationError"
|
|
},
|
|
"nullable": true
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"AutoMedSystem.CommonService.ViewModels.OrderPatchViewModel": {
|
|
"required": [
|
|
"LabName",
|
|
"OrderDate"
|
|
],
|
|
"type": "object",
|
|
"properties": {
|
|
"VisitId": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"LabName": {
|
|
"maxLength": 200,
|
|
"minLength": 0,
|
|
"type": "string"
|
|
},
|
|
"LabCode": {
|
|
"maxLength": 10,
|
|
"minLength": 0,
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"OrderDate": {
|
|
"type": "string"
|
|
},
|
|
"EndDate": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"Instruction": {
|
|
"maxLength": 250,
|
|
"minLength": 0,
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"Indication": {
|
|
"maxLength": 100,
|
|
"minLength": 0,
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"OrderType": {
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"ICDCode": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"ICDCodeId": {
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"ProviderId": {
|
|
"type": "integer",
|
|
"format": "int64"
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"AuxFrmwrkXsd.LabOrderType": {
|
|
"type": "object",
|
|
"properties": {
|
|
"Id": {
|
|
"type": "integer",
|
|
"format": "int64"
|
|
},
|
|
"PvCheckInDate": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"LEndDate": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"LStatus": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"PatientName": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"LabName": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"LabCode": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"Instruction": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"Indication": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"Status": {
|
|
"type": "integer",
|
|
"format": "int64"
|
|
},
|
|
"PId": {
|
|
"type": "integer",
|
|
"format": "int64"
|
|
},
|
|
"PAccountNumber": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"LabId": {
|
|
"type": "integer",
|
|
"format": "int64"
|
|
},
|
|
"VisitId": {
|
|
"type": "integer",
|
|
"format": "int64"
|
|
},
|
|
"VDocumentNumber": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"TestResult": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"OrderActive": {
|
|
"type": "integer",
|
|
"format": "int64"
|
|
},
|
|
"OrderType": {
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"OrderTypeName": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"ICDCode": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"ICDCodeId": {
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"OrderDate": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"ResultId": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"DocumentId": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"ProviderId": {
|
|
"type": "integer",
|
|
"format": "int64"
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"AuxService.Common.Responses.CountModel`1[AuxFrmwrkXsd.LabOrderType]": {
|
|
"type": "object",
|
|
"properties": {
|
|
"CurrentPage": {
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"TotalPages": {
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"PageSize": {
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"TotalCount": {
|
|
"type": "integer",
|
|
"format": "int64"
|
|
},
|
|
"HasPrevious": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"HasNext": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"Items": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/AuxFrmwrkXsd.LabOrderType"
|
|
},
|
|
"nullable": true
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"AuxService.Common.Responses.Response`1[AuxService.Common.Responses.CountModel`1[AuxFrmwrkXsd.LabOrderType]]": {
|
|
"type": "object",
|
|
"properties": {
|
|
"HasResult": {
|
|
"type": "boolean",
|
|
"description": "Indicates if the response contains a result",
|
|
"readOnly": true
|
|
},
|
|
"ResponseData": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.CountModel`1[AuxFrmwrkXsd.LabOrderType]"
|
|
},
|
|
"Successful": {
|
|
"type": "boolean",
|
|
"description": "Indicates if the response is successful or not. Warning or success result type indicate success",
|
|
"readOnly": true
|
|
},
|
|
"ResultType": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.ResultType"
|
|
},
|
|
"Message": {
|
|
"type": "string",
|
|
"description": "The message returned with the response",
|
|
"nullable": true
|
|
},
|
|
"ValidationMessages": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"description": "The validation error messages returned with the response",
|
|
"nullable": true
|
|
},
|
|
"ValidationErrors": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Model.ValidationError"
|
|
},
|
|
"nullable": true
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"AutoMedSystem.CommonService.ViewModels.OrderPostViewModel": {
|
|
"required": [
|
|
"LabName",
|
|
"OrderDate",
|
|
"PatientId"
|
|
],
|
|
"type": "object",
|
|
"properties": {
|
|
"PatientId": {
|
|
"pattern": "^.{4,}$",
|
|
"type": "string"
|
|
},
|
|
"VisitId": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"LabName": {
|
|
"maxLength": 200,
|
|
"minLength": 0,
|
|
"type": "string"
|
|
},
|
|
"LabCode": {
|
|
"maxLength": 10,
|
|
"minLength": 0,
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"OrderDate": {
|
|
"type": "string"
|
|
},
|
|
"EndDate": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"Instruction": {
|
|
"maxLength": 250,
|
|
"minLength": 0,
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"Indication": {
|
|
"maxLength": 100,
|
|
"minLength": 0,
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"OrderType": {
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"ICDCode": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"ICDCodeId": {
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"ProviderId": {
|
|
"type": "integer",
|
|
"format": "int64"
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"AutoMedSystem.CommonService.ViewModels.OrderStatusPatchViewModel": {
|
|
"type": "object",
|
|
"properties": {
|
|
"Status": {
|
|
"type": "string",
|
|
"nullable": true
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"AuxFrmwrkXsd.MedicationFrequencyLookup": {
|
|
"type": "object",
|
|
"properties": {
|
|
"FrequencyId": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"Description": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"Code": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"ADMIN_PER_DAY": {
|
|
"type": "string",
|
|
"nullable": true
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"AuxFrmwrkXsd.MedicationTakeLookup": {
|
|
"type": "object",
|
|
"properties": {
|
|
"Id": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"Code": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"DESCRIPTION": {
|
|
"type": "string",
|
|
"nullable": true
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"AuxFrmwrkXsd.ProviderType": {
|
|
"type": "object",
|
|
"properties": {
|
|
"Id": {
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"UniqueId": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"Description": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"Firstname": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"Lastname": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"Title": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"Suffix": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"ProviderCode": {
|
|
"type": "string",
|
|
"nullable": true
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"AuxFrmwrkXsd.PatientPharmacyType": {
|
|
"type": "object",
|
|
"properties": {
|
|
"Id": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"Code": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"Description": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"PatientId": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"NCPDPID": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"StoreName": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"AddressLine1": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"AddressLine2": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"City": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"State": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"ZipCode": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"PhonePrimary": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"Fax": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"Email": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"CountryCode": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"SetPreferred": {
|
|
"type": "integer",
|
|
"format": "int32"
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"AuxFrmwrkXsd.IdNameType": {
|
|
"type": "object",
|
|
"properties": {
|
|
"Id": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"Name": {
|
|
"type": "string",
|
|
"nullable": true
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"AuxFrmwrkXsd.MedicationLookupType": {
|
|
"type": "object",
|
|
"properties": {
|
|
"MedicationFrequencyLookup": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/AuxFrmwrkXsd.MedicationFrequencyLookup"
|
|
},
|
|
"nullable": true
|
|
},
|
|
"MedicationTakeLookup": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/AuxFrmwrkXsd.MedicationTakeLookup"
|
|
},
|
|
"nullable": true
|
|
},
|
|
"MedicationQuantityLookup": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/AuxFrmwrkXsd.MedicationTakeLookup"
|
|
},
|
|
"nullable": true
|
|
},
|
|
"ProviderType": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/AuxFrmwrkXsd.ProviderType"
|
|
},
|
|
"nullable": true
|
|
},
|
|
"PatientPharmacyType": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/AuxFrmwrkXsd.PatientPharmacyType"
|
|
},
|
|
"nullable": true
|
|
},
|
|
"Substitution": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/AuxFrmwrkXsd.IdNameType"
|
|
},
|
|
"nullable": true
|
|
},
|
|
"PreAuthorization": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/AuxFrmwrkXsd.IdNameType"
|
|
},
|
|
"nullable": true
|
|
},
|
|
"RefillIndicator": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/AuxFrmwrkXsd.IdNameType"
|
|
},
|
|
"nullable": true
|
|
},
|
|
"DrugTypes": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/AuxFrmwrkXsd.IdNameType"
|
|
},
|
|
"nullable": true
|
|
},
|
|
"Dea": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"nullable": true
|
|
},
|
|
"NDea": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"nullable": true
|
|
},
|
|
"MedStatus": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/AuxFrmwrkXsd.IdNameType"
|
|
},
|
|
"nullable": true
|
|
},
|
|
"DrugFilter": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/AuxFrmwrkXsd.IdNameType"
|
|
},
|
|
"nullable": true
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"AuxService.Common.Responses.Response`1[AuxFrmwrkXsd.MedicationLookupType]": {
|
|
"type": "object",
|
|
"properties": {
|
|
"HasResult": {
|
|
"type": "boolean",
|
|
"description": "Indicates if the response contains a result",
|
|
"readOnly": true
|
|
},
|
|
"ResponseData": {
|
|
"$ref": "#/components/schemas/AuxFrmwrkXsd.MedicationLookupType"
|
|
},
|
|
"Successful": {
|
|
"type": "boolean",
|
|
"description": "Indicates if the response is successful or not. Warning or success result type indicate success",
|
|
"readOnly": true
|
|
},
|
|
"ResultType": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.ResultType"
|
|
},
|
|
"Message": {
|
|
"type": "string",
|
|
"description": "The message returned with the response",
|
|
"nullable": true
|
|
},
|
|
"ValidationMessages": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"description": "The validation error messages returned with the response",
|
|
"nullable": true
|
|
},
|
|
"ValidationErrors": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Model.ValidationError"
|
|
},
|
|
"nullable": true
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"AuxFrmwrkXsd.PatientPersonInformationType": {
|
|
"type": "object",
|
|
"properties": {
|
|
"Height": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"Weight": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"RecordId": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"SSN": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"AccountNumber": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"Name": {
|
|
"$ref": "#/components/schemas/AuxFrmwrkXsd.NameType"
|
|
},
|
|
"Gender": {
|
|
"$ref": "#/components/schemas/AuxFrmwrkXsd.GenderType"
|
|
},
|
|
"DateOfBirth": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"Address": {
|
|
"$ref": "#/components/schemas/AuxFrmwrkXsd.AddressType"
|
|
},
|
|
"Email": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"PhoneNumbers": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/AuxFrmwrkXsd.PhoneType"
|
|
},
|
|
"nullable": true
|
|
},
|
|
"FacilityId": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"EmployeeName": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"SPI": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"NPI": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"RxReferenceNumber": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"PrescriberOrderNumber": {
|
|
"type": "string",
|
|
"nullable": true
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"AuxFrmwrkXsd.PharmacyType": {
|
|
"type": "object",
|
|
"properties": {
|
|
"RecordId": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"NCPDPID": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"StoreName": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"Address": {
|
|
"$ref": "#/components/schemas/AuxFrmwrkXsd.AddressType"
|
|
},
|
|
"Email": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"PhoneNumbers": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/AuxFrmwrkXsd.PhoneType"
|
|
},
|
|
"nullable": true
|
|
},
|
|
"PatientId": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"LastTrxAttemptDate": {
|
|
"type": "string",
|
|
"nullable": true
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"AuxFrmwrkXsd.PrescriberIDs": {
|
|
"type": "object",
|
|
"properties": {
|
|
"DEA_Number": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"NPI": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"NDEAN": {
|
|
"type": "string",
|
|
"nullable": true
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"AuxFrmwrkXsd.PrescriberType": {
|
|
"type": "object",
|
|
"properties": {
|
|
"Id": {
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"Phone": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/AuxFrmwrkXsd.PhoneType"
|
|
},
|
|
"nullable": true
|
|
},
|
|
"Name": {
|
|
"$ref": "#/components/schemas/AuxFrmwrkXsd.NameType"
|
|
},
|
|
"Address": {
|
|
"$ref": "#/components/schemas/AuxFrmwrkXsd.AddressType"
|
|
},
|
|
"PrescriberIDs": {
|
|
"$ref": "#/components/schemas/AuxFrmwrkXsd.PrescriberIDs"
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"AuxFrmwrkXsd.PatientRxOrderType": {
|
|
"type": "object",
|
|
"properties": {
|
|
"MedicationId": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"RecordId": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"ProviderId": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"PatientRecordId": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"EncounterId": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"BrandName": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"DrugName": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"DrugCode": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"CodeType": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"Direction": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"Strength": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"StrengthUOM": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"WrittenDate": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"Substitution": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"NoteToPharmacy": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"Quantity": {
|
|
"type": "number",
|
|
"format": "double"
|
|
},
|
|
"QuantityUOM": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"FreqCode": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"Refills": {
|
|
"type": "integer",
|
|
"format": "int64"
|
|
},
|
|
"Take": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"TakeUnit": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"RefillIndicator": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"PreAuthorization": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"PreAuthCode": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"Duration": {
|
|
"type": "integer",
|
|
"format": "int64"
|
|
},
|
|
"FreqDescr": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"QuantityQualifier": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"TakeQualifier": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"DosageForm": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"PharmacyID": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"ICDCode": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"ICDCodeId": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"ERxStatusCode": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"RefReqReferenceNo": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"EffectiveDate": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"RefMessageId": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"PFirstName": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"PLastName": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"ProviderName": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"PDob": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"PGender": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"LastAction": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"Status": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"OrderNumber": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"CsaCode": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"Schedule": {
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"ReadyToSignFlag": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"SignedFlag": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"SignedProvider": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"RtsProvider": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"SignedDate": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"RtsDate": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"Dea": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"NDea": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"PatientId": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"ErxAction": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"TRANS_RMK_CODE": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"TRANS_RMK_TEXT": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"PrintCount": {
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"PatientHeight": {
|
|
"type": "number",
|
|
"format": "double",
|
|
"nullable": true
|
|
},
|
|
"PatientHeightUOM": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"PatientWeight": {
|
|
"type": "number",
|
|
"format": "double",
|
|
"nullable": true
|
|
},
|
|
"PatientWeightUOM": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"LastStatMsg": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"CoBIndex": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"nullable": true
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"AuxFrmwrkXsd.PatientRxOrderDetailType": {
|
|
"type": "object",
|
|
"properties": {
|
|
"Id": {
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"Patient": {
|
|
"$ref": "#/components/schemas/AuxFrmwrkXsd.PatientPersonInformationType"
|
|
},
|
|
"PharmacyType": {
|
|
"$ref": "#/components/schemas/AuxFrmwrkXsd.PharmacyType"
|
|
},
|
|
"Prescriber": {
|
|
"$ref": "#/components/schemas/AuxFrmwrkXsd.PrescriberType"
|
|
},
|
|
"Supervisor": {
|
|
"$ref": "#/components/schemas/AuxFrmwrkXsd.PrescriberType"
|
|
},
|
|
"OrderType": {
|
|
"$ref": "#/components/schemas/AuxFrmwrkXsd.PatientRxOrderType"
|
|
},
|
|
"LastTransmittedPharmacy": {
|
|
"$ref": "#/components/schemas/AuxFrmwrkXsd.PharmacyType"
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"AuxService.Common.Responses.Response`1[System.Collections.Generic.List`1[AuxFrmwrkXsd.PatientRxOrderDetailType]]": {
|
|
"type": "object",
|
|
"properties": {
|
|
"HasResult": {
|
|
"type": "boolean",
|
|
"description": "Indicates if the response contains a result",
|
|
"readOnly": true
|
|
},
|
|
"ResponseData": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/AuxFrmwrkXsd.PatientRxOrderDetailType"
|
|
},
|
|
"description": "The result of the response",
|
|
"nullable": true
|
|
},
|
|
"Successful": {
|
|
"type": "boolean",
|
|
"description": "Indicates if the response is successful or not. Warning or success result type indicate success",
|
|
"readOnly": true
|
|
},
|
|
"ResultType": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.ResultType"
|
|
},
|
|
"Message": {
|
|
"type": "string",
|
|
"description": "The message returned with the response",
|
|
"nullable": true
|
|
},
|
|
"ValidationMessages": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"description": "The validation error messages returned with the response",
|
|
"nullable": true
|
|
},
|
|
"ValidationErrors": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Model.ValidationError"
|
|
},
|
|
"nullable": true
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"AutoMedSystem.CommonService.ViewModels.PrescriptionUpdateViewModel": {
|
|
"required": [
|
|
"Direction",
|
|
"PatientRecordId",
|
|
"Quantity",
|
|
"RecordId",
|
|
"WrittenDate"
|
|
],
|
|
"type": "object",
|
|
"properties": {
|
|
"RecordId": {
|
|
"type": "string"
|
|
},
|
|
"MedicationId": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"ProviderId": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"PatientRecordId": {
|
|
"type": "string"
|
|
},
|
|
"EncounterId": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"BrandName": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"DrugName": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"DrugCode": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"CodeType": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"Direction": {
|
|
"type": "string"
|
|
},
|
|
"Strength": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"StrengthUOM": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"WrittenDate": {
|
|
"type": "string"
|
|
},
|
|
"Substitution": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"NoteToPharmacy": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"Quantity": {
|
|
"type": "number",
|
|
"format": "double"
|
|
},
|
|
"QuantityUOM": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"FreqCode": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"Refills": {
|
|
"type": "integer",
|
|
"format": "int64"
|
|
},
|
|
"Take": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"TakeUnit": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"RefillIndicator": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"PreAuthorization": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"PreAuthCode": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"Duration": {
|
|
"type": "integer",
|
|
"format": "int64"
|
|
},
|
|
"FreqDescr": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"QuantityQualifier": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"TakeQualifier": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"DosageForm": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"PharmacyID": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"ICDCode": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"ICDCodeId": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"LastAction": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"Status": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"OrderNumber": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"CsaCode": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"Dea": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"NDea": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"EffectiveDate": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"CoBIndex": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"nullable": true
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"AuxService.Common.Responses.PatientPrescriptionResponse": {
|
|
"type": "object",
|
|
"properties": {
|
|
"MedicationId": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"RecordId": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"ProviderId": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"EncounterId": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"BrandName": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"DrugName": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"DrugCode": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"CodeType": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"Direction": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"Strength": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"StrengthUOM": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"WrittenDate": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"Substitution": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"NoteToPharmacy": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"Quantity": {
|
|
"type": "number",
|
|
"format": "double"
|
|
},
|
|
"QuantityUOM": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"FreqCode": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"Refills": {
|
|
"type": "integer",
|
|
"format": "int64"
|
|
},
|
|
"Take": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"TakeUnit": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"RefillIndicator": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"Duration": {
|
|
"type": "integer",
|
|
"format": "int64"
|
|
},
|
|
"FreqDescr": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"QuantityQualifier": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"TakeQualifier": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"DosageForm": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"PharmacyID": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"ICDCode": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"ICDCodeId": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"PFirstName": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"PLastName": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"ProviderName": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"PDob": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"PGender": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"LastAction": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"Status": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"OrderNumber": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"CsaCode": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"Schedule": {
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"ReadyToSignFlag": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"SignedFlag": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"SignedProvider": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"RtsProvider": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"SignedDate": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"RtsDate": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"Dea": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"NDea": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"AccountNumber": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"ERxStatusCode": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"EffectiveDate": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"ErxAction": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"TrnRmk": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"TransRmkText": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"PrintCount": {
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"PatientHeight": {
|
|
"type": "number",
|
|
"format": "double",
|
|
"nullable": true
|
|
},
|
|
"PatientHeightUOM": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"PatientWeight": {
|
|
"type": "number",
|
|
"format": "double",
|
|
"nullable": true
|
|
},
|
|
"PatientWeightUOM": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"LastStatMsg": {
|
|
"type": "string",
|
|
"nullable": true
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"AuxService.Common.Responses.CountModel`1[AuxService.Common.Responses.PatientPrescriptionResponse]": {
|
|
"type": "object",
|
|
"properties": {
|
|
"CurrentPage": {
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"TotalPages": {
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"PageSize": {
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"TotalCount": {
|
|
"type": "integer",
|
|
"format": "int64"
|
|
},
|
|
"HasPrevious": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"HasNext": {
|
|
"type": "boolean",
|
|
"readOnly": true
|
|
},
|
|
"Items": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.PatientPrescriptionResponse"
|
|
},
|
|
"nullable": true
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"AuxService.Common.Responses.Response`1[AuxService.Common.Responses.CountModel`1[AuxService.Common.Responses.PatientPrescriptionResponse]]": {
|
|
"type": "object",
|
|
"properties": {
|
|
"HasResult": {
|
|
"type": "boolean",
|
|
"description": "Indicates if the response contains a result",
|
|
"readOnly": true
|
|
},
|
|
"ResponseData": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.CountModel`1[AuxService.Common.Responses.PatientPrescriptionResponse]"
|
|
},
|
|
"Successful": {
|
|
"type": "boolean",
|
|
"description": "Indicates if the response is successful or not. Warning or success result type indicate success",
|
|
"readOnly": true
|
|
},
|
|
"ResultType": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Responses.ResultType"
|
|
},
|
|
"Message": {
|
|
"type": "string",
|
|
"description": "The message returned with the response",
|
|
"nullable": true
|
|
},
|
|
"ValidationMessages": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"description": "The validation error messages returned with the response",
|
|
"nullable": true
|
|
},
|
|
"ValidationErrors": {
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "#/components/schemas/AuxService.Common.Model.ValidationError"
|
|
},
|
|
"nullable": true
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"AutoMedSystem.CommonService.ViewModels.PrescriptionPostViewModel": {
|
|
"required": [
|
|
"Direction",
|
|
"PatientRecordId",
|
|
"Quantity",
|
|
"WrittenDate"
|
|
],
|
|
"type": "object",
|
|
"properties": {
|
|
"MedicationId": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"ProviderId": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"PatientRecordId": {
|
|
"type": "string"
|
|
},
|
|
"EncounterId": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"BrandName": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"DrugName": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"DrugCode": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"CodeType": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"Direction": {
|
|
"type": "string"
|
|
},
|
|
"Strength": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"StrengthUOM": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"WrittenDate": {
|
|
"type": "string"
|
|
},
|
|
"Substitution": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"NoteToPharmacy": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"Quantity": {
|
|
"type": "number",
|
|
"format": "double"
|
|
},
|
|
"QuantityUOM": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"FreqCode": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"Refills": {
|
|
"type": "integer",
|
|
"format": "int64"
|
|
},
|
|
"Take": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"TakeUnit": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"RefillIndicator": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"PreAuthorization": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"PreAuthCode": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"Duration": {
|
|
"type": "integer",
|
|
"format": "int64"
|
|
},
|
|
"FreqDescr": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"QuantityQualifier": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"TakeQualifier": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"DosageForm": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"PharmacyID": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"ICDCode": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"ICDCodeId": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"LastAction": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"Status": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"OrderNumber": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"CsaCode": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"Dea": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"NDea": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"EffectiveDate": {
|
|
"type": "string",
|
|
"nullable": true
|
|
},
|
|
"CoBIndex": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "integer",
|
|
"format": "int32"
|
|
},
|
|
"nullable": true
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
},
|
|
"AuxService.Common.Responses.PrintNotifyModel": {
|
|
"type": "object",
|
|
"properties": {
|
|
"PrescriptionIds": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"nullable": true
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
}
|
|
},
|
|
"securitySchemes": {
|
|
"Bearer": {
|
|
"type": "apiKey",
|
|
"description": "JWT Authorization header using the Bearer scheme. \r\n \nEnter 'Bearer' [space] and then your token in the text input below.\r\n \nExample: 'Bearer 12345abcdef'",
|
|
"name": "Authorization",
|
|
"in": "header"
|
|
}
|
|
}
|
|
},
|
|
"security": [
|
|
{
|
|
"Bearer": []
|
|
}
|
|
]
|
|
} |