From 9597d7354d2e2ce1bb7db87032e4de3799bb44f9 Mon Sep 17 00:00:00 2001 From: "CHIEFSOFT\\ameye" Date: Fri, 26 Apr 2024 20:55:49 -0400 Subject: [PATCH] swagger update --- public/apidoc/digifi.json | 2013 +------------------------------------ 1 file changed, 18 insertions(+), 1995 deletions(-) diff --git a/public/apidoc/digifi.json b/public/apidoc/digifi.json index ccec7fa..6fd9a07 100644 --- a/public/apidoc/digifi.json +++ b/public/apidoc/digifi.json @@ -218,10 +218,10 @@ } } }, - "/emrapi/v1/orders/labresults": { + "/digiusers/v1/dash": { "get": { "tags": [ - "LabResults" + "Dashboard" ], "parameters": [ { @@ -399,10 +399,10 @@ } } }, - "/emrapi/v1/orders/labresults/{Id}": { - "get": { + "/digiusers/v1/loan/apply": { + "post": { "tags": [ - "LabResults" + "Loan" ], "parameters": [ { @@ -509,509 +509,14 @@ } } }, - "/emrapi/v1/orders/labresults/embeddeddocument": { + "/digiusers/v1/loan/loanlist": { "get": { "tags": [ - "LabResults" + "Loan" ], "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", + "name": "Id", "in": "path", "required": true, "schema": { @@ -1026,12 +531,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxFrmwrkXsd.LabOrderDetailsType]" + "$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxFrmwrkXsd.LabResultType2]" } }, "text/json": { "schema": { - "$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxFrmwrkXsd.LabOrderDetailsType]" + "$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxFrmwrkXsd.LabResultType2]" } } } @@ -1041,12 +546,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxFrmwrkXsd.LabOrderDetailsType]" + "$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxFrmwrkXsd.LabResultType2]" } }, "text/json": { "schema": { - "$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxFrmwrkXsd.LabOrderDetailsType]" + "$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxFrmwrkXsd.LabResultType2]" } } } @@ -1056,12 +561,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxFrmwrkXsd.LabOrderDetailsType]" + "$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxFrmwrkXsd.LabResultType2]" } }, "text/json": { "schema": { - "$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxFrmwrkXsd.LabOrderDetailsType]" + "$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxFrmwrkXsd.LabResultType2]" } } } @@ -1071,12 +576,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxFrmwrkXsd.LabOrderDetailsType]" + "$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxFrmwrkXsd.LabResultType2]" } }, "text/json": { "schema": { - "$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxFrmwrkXsd.LabOrderDetailsType]" + "$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxFrmwrkXsd.LabResultType2]" } } } @@ -1086,1494 +591,12 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxFrmwrkXsd.LabOrderDetailsType]" + "$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxFrmwrkXsd.LabResultType2]" } }, "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]" + "$ref": "#/components/schemas/AuxService.Common.Responses.Response`1[AuxFrmwrkXsd.LabResultType2]" } } }