diff --git a/app/Controllers/DigiFiBVN.php b/app/Controllers/DigiFiBVN.php index 4084470..1ad5fd2 100644 --- a/app/Controllers/DigiFiBVN.php +++ b/app/Controllers/DigiFiBVN.php @@ -20,13 +20,8 @@ class DigiFiBVN extends BaseController public function completeBVNVerify(){ - return $this->respond([], 200); - } - public function startBVNVerify() - { $data = $this->request->getPost(); - - if ($data['bvn'] != '') { + if ($data['bvn'] != '' && $data['verification_id'] !='' && $data['otp'] !='') { $final_out = $data; @@ -45,6 +40,32 @@ class DigiFiBVN extends BaseController $token = JWT::encode($payload, $key, 'HS256'); + $response = [ + 'message' => 'Account Verified', + 'call_return' => '100', + "uid" => "3119b744-42ad-4834-bb83-b737588754ca", + "firstname"=>'Firstname', + "lastname"=>'lastname', + "last_login"=> "2024-04-26 13:35:19.750027", + "token" =>$token + ]; + + return $this->respond($response, 200); + } else { + $response = [ + 'message' => 'Invalid account found', + 'call_return' => '100', + 'token' => '' + ]; + return $this->fail($response, 409); + } + } + public function startBVNVerify() + { + $data = $this->request->getPost(); + + if ($data['bvn'] != '') { + $response = [ 'message' => 'Verification text sent to user', 'call_return' => '100', @@ -54,7 +75,7 @@ class DigiFiBVN extends BaseController return $this->respond($response, 200); } else { $response = [ - 'message' => 'Login failed', + 'message' => 'Failure', 'call_return' => '100', 'token' => '' ]; diff --git a/public/apidoc/digifi.json b/public/apidoc/digifi.json index 111b745..5e1ef73 100644 --- a/public/apidoc/digifi.json +++ b/public/apidoc/digifi.json @@ -37,52 +37,7 @@ }, "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]" + "$ref": "#/components/schemas/BNV.ResponseType" } } } diff --git a/public/swagger/digifi.json b/public/swagger/digifi.json new file mode 100644 index 0000000..54530e0 --- /dev/null +++ b/public/swagger/digifi.json @@ -0,0 +1,6433 @@ +{ + "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": [] + } + ] + } \ No newline at end of file diff --git a/public/swagger/favicon-16x16.png b/public/swagger/favicon-16x16.png new file mode 100644 index 0000000..8b194e6 Binary files /dev/null and b/public/swagger/favicon-16x16.png differ diff --git a/public/swagger/favicon-32x32.png b/public/swagger/favicon-32x32.png new file mode 100644 index 0000000..249737f Binary files /dev/null and b/public/swagger/favicon-32x32.png differ diff --git a/public/swagger/index.css b/public/swagger/index.css new file mode 100644 index 0000000..f2376fd --- /dev/null +++ b/public/swagger/index.css @@ -0,0 +1,16 @@ +html { + box-sizing: border-box; + overflow: -moz-scrollbars-vertical; + overflow-y: scroll; +} + +*, +*:before, +*:after { + box-sizing: inherit; +} + +body { + margin: 0; + background: #fafafa; +} diff --git a/public/swagger/index.html b/public/swagger/index.html new file mode 100644 index 0000000..84ae62d --- /dev/null +++ b/public/swagger/index.html @@ -0,0 +1,19 @@ + + + +
+ +P&&(u=P-B),x=u;x>=0;x--){let u=!0;for(let _=0;_w&&(_=w):_=w;const x=i.length;let j;for(_>x/2&&(_=x/2),j=0;j<_;++j){const _=parseInt(i.substr(2*j,2),16);if(numberIsNaN(_))return j;s[u+j]=_}return j}function utf8Write(s,i,u,_){return blitBuffer(utf8ToBytes(i,s.length-u),s,u,_)}function asciiWrite(s,i,u,_){return blitBuffer(function asciiToBytes(s){const i=[];for(let u=0;u >>=0,isFinite(u)?(u>>>=0,void 0===_&&(_="utf8")):(_=u,u=void 0)}const w=this.length-i;if((void 0===u||u>w)&&(u=w),s.length>0&&(u<0||i<0)||i>this.length)throw new RangeError("Attempt to write outside buffer bounds");_||(_="utf8");let x=!1;for(;;)switch(_){case"hex":return hexWrite(this,s,i,u);case"utf8":case"utf-8":return utf8Write(this,s,i,u);case"ascii":case"latin1":case"binary":return asciiWrite(this,s,i,u);case"base64":return base64Write(this,s,i,u);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ucs2Write(this,s,i,u);default:if(x)throw new TypeError("Unknown encoding: "+_);_=(""+_).toLowerCase(),x=!0}},Buffer.prototype.toJSON=function toJSON(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};const P=4096;function asciiSlice(s,i,u){let _="";u=Math.min(s.length,u);for(let w=i;w_)&&(u=_);let w="";for(let _=i;_u)throw new RangeError("Trying to access beyond buffer length")}function checkInt(s,i,u,_,w,x){if(!Buffer.isBuffer(s))throw new TypeError('"buffer" argument must be a Buffer instance');if(i>w||iu&&(s+=" ... "),">>=0,i>>>=0,u||checkOffset(s,i,this.length);let _=this[s],w=1,x=0;for(;++x>>=0,i>>>=0,u||checkOffset(s,i,this.length);let _=this[s+--i],w=1;for(;i>0&&(w*=256);)_+=this[s+--i]*w;return _},Buffer.prototype.readUint8=Buffer.prototype.readUInt8=function readUInt8(s,i){return s>>>=0,i||checkOffset(s,1,this.length),this[s]},Buffer.prototype.readUint16LE=Buffer.prototype.readUInt16LE=function readUInt16LE(s,i){return s>>>=0,i||checkOffset(s,2,this.length),this[s]|this[s+1]<<8},Buffer.prototype.readUint16BE=Buffer.prototype.readUInt16BE=function readUInt16BE(s,i){return s>>>=0,i||checkOffset(s,2,this.length),this[s]<<8|this[s+1]},Buffer.prototype.readUint32LE=Buffer.prototype.readUInt32LE=function readUInt32LE(s,i){return s>>>=0,i||checkOffset(s,4,this.length),(this[s]|this[s+1]<<8|this[s+2]<<16)+16777216*this[s+3]},Buffer.prototype.readUint32BE=Buffer.prototype.readUInt32BE=function readUInt32BE(s,i){return s>>>=0,i||checkOffset(s,4,this.length),16777216*this[s]+(this[s+1]<<16|this[s+2]<<8|this[s+3])},Buffer.prototype.readBigUInt64LE=defineBigIntMethod((function readBigUInt64LE(s){validateNumber(s>>>=0,"offset");const i=this[s],u=this[s+7];void 0!==i&&void 0!==u||boundsError(s,this.length-8);const _=i+256*this[++s]+65536*this[++s]+this[++s]*2**24,w=this[++s]+256*this[++s]+65536*this[++s]+u*2**24;return BigInt(_)+(BigInt(w)<
/g,"\n"))},"after:highlightElement":({result:s})=>{$.useBR&&(s.value=s.value.replace(/\n/g,"
"))}},Y=/^(<[^>]+>|\t)+/gm,X={"after:highlightElement":({result:s})=>{$.tabReplace&&(s.value=s.value.replace(Y,(s=>s.replace(/\t/g,$.tabReplace))))}};function highlightElement(s){let i=null;const u=function blockLanguage(s){let i=s.className+" ";i+=s.parentNode?s.parentNode.className:"";const u=$.languageDetectRe.exec(i);if(u){const i=getLanguage(u[1]);return i||(warn(P.replace("{}",u[1])),warn("Falling back to no-highlight mode for this block.",s)),i?u[1]:"no-highlight"}return i.split(/\s+/).find((s=>shouldNotHighlight(s)||getLanguage(s)))}(s);if(shouldNotHighlight(u))return;fire("before:highlightElement",{el:s,language:u}),i=s;const w=i.textContent,x=u?highlight(w,{language:u,ignoreIllegals:!0}):highlightAuto(w);fire("after:highlightElement",{el:s,result:x,text:w}),s.innerHTML=x.value,function updateClassName(s,i,u){const w=i?_[i]:u;s.classList.add("hljs"),w&&s.classList.add(w)}(s,u,x.language),s.result={language:x.language,re:x.relevance,relavance:x.relevance},x.second_best&&(s.second_best={language:x.second_best.language,re:x.second_best.relevance,relavance:x.second_best.relevance})}const initHighlighting=()=>{if(initHighlighting.called)return;initHighlighting.called=!0,deprecated("10.6.0","initHighlighting() is deprecated. Use highlightAll() instead.");document.querySelectorAll("pre code").forEach(highlightElement)};let Z=!1;function highlightAll(){if("loading"===document.readyState)return void(Z=!0);document.querySelectorAll("pre code").forEach(highlightElement)}function getLanguage(s){return s=(s||"").toLowerCase(),u[s]||u[_[s]]}function registerAliases(s,{languageName:i}){"string"==typeof s&&(s=[s]),s.forEach((s=>{_[s.toLowerCase()]=i}))}function autoDetection(s){const i=getLanguage(s);return i&&!i.disableAutodetect}function fire(s,i){const u=s;w.forEach((function(s){s[u]&&s[u](i)}))}"undefined"!=typeof window&&window.addEventListener&&window.addEventListener("DOMContentLoaded",(function boot(){Z&&highlightAll()}),!1),Object.assign(s,{highlight,highlightAuto,highlightAll,fixMarkup:function deprecateFixMarkup(s){return deprecated("10.2.0","fixMarkup will be removed entirely in v11.0"),deprecated("10.2.0","Please see https://github.com/highlightjs/highlight.js/issues/2534"),function fixMarkup(s){return $.tabReplace||$.useBR?s.replace(j,(s=>"\n"===s?$.useBR?"
":s:$.tabReplace?s.replace(/\t/g,$.tabReplace):s)):s}(s)},highlightElement,highlightBlock:function deprecateHighlightBlock(s){return deprecated("10.7.0","highlightBlock will be removed entirely in v12.0"),deprecated("10.7.0","Please use highlightElement now."),highlightElement(s)},configure:function configure(s){s.useBR&&(deprecated("10.3.0","'useBR' will be removed entirely in v11.0"),deprecated("10.3.0","Please see https://github.com/highlightjs/highlight.js/issues/2559")),$=Re($,s)},initHighlighting,initHighlightingOnLoad:function initHighlightingOnLoad(){deprecated("10.6.0","initHighlightingOnLoad() is deprecated. Use highlightAll() instead."),Z=!0},registerLanguage:function registerLanguage(i,_){let w=null;try{w=_(s)}catch(s){if(error("Language definition for '{}' could not be registered.".replace("{}",i)),!x)throw s;error(s),w=B}w.name||(w.name=i),u[i]=w,w.rawDefinition=_.bind(null,s),w.aliases&®isterAliases(w.aliases,{languageName:i})},unregisterLanguage:function unregisterLanguage(s){delete u[s];for(const i of Object.keys(_))_[i]===s&&delete _[i]},listLanguages:function listLanguages(){return Object.keys(u)},getLanguage,registerAliases,requireLanguage:function requireLanguage(s){deprecated("10.4.0","requireLanguage will be removed entirely in v11."),deprecated("10.4.0","Please see https://github.com/highlightjs/highlight.js/pull/2844");const i=getLanguage(s);if(i)return i;throw new Error("The '{}' language is required, but not loaded.".replace("{}",s))},autoDetection,inherit:Re,addPlugin:function addPlugin(s){!function upgradePluginAPI(s){s["before:highlightBlock"]&&!s["before:highlightElement"]&&(s["before:highlightElement"]=i=>{s["before:highlightBlock"](Object.assign({block:i.el},i))}),s["after:highlightBlock"]&&!s["after:highlightElement"]&&(s["after:highlightElement"]=i=>{s["after:highlightBlock"](Object.assign({block:i.el},i))})}(s),w.push(s)},vuePlugin:BuildVuePlugin(s).VuePlugin}),s.debugMode=function(){x=!1},s.safeMode=function(){x=!0},s.versionString="10.7.3";for(const s in _e)"object"==typeof _e[s]&&i(_e[s]);return Object.assign(s,_e),s.addPlugin(U),s.addPlugin(xe),s.addPlugin(X),s}({});s.exports=$e},35344:s=>{function concat(...s){return s.map((s=>function source(s){return s?"string"==typeof s?s:s.source:null}(s))).join("")}s.exports=function bash(s){const i={},u={begin:/\$\{/,end:/\}/,contains:["self",{begin:/:-/,contains:[i]}]};Object.assign(i,{className:"variable",variants:[{begin:concat(/\$[\w\d#@][\w\d_]*/,"(?![\\w\\d])(?![$])")},u]});const _={className:"subst",begin:/\$\(/,end:/\)/,contains:[s.BACKSLASH_ESCAPE]},w={begin:/<<-?\s*(?=\w+)/,starts:{contains:[s.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:"string"})]}},x={className:"string",begin:/"/,end:/"/,contains:[s.BACKSLASH_ESCAPE,i,_]};_.contains.push(x);const j={begin:/\$\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},s.NUMBER_MODE,i]},P=s.SHEBANG({binary:`(${["fish","bash","zsh","sh","csh","ksh","tcsh","dash","scsh"].join("|")})`,relevance:10}),B={className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[s.inherit(s.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0};return{name:"Bash",aliases:["sh","zsh"],keywords:{$pattern:/\b[a-z._-]+\b/,keyword:"if then else elif fi for while in do done case esac function",literal:"true false",built_in:"break cd continue eval exec exit export getopts hash pwd readonly return shift test times trap umask unset alias bind builtin caller command declare echo enable help let local logout mapfile printf read readarray source type typeset ulimit unalias set shopt autoload bg bindkey bye cap chdir clone comparguments compcall compctl compdescribe compfiles compgroups compquote comptags comptry compvalues dirs disable disown echotc echoti emulate fc fg float functions getcap getln history integer jobs kill limit log noglob popd print pushd pushln rehash sched setcap setopt stat suspend ttyctl unfunction unhash unlimit unsetopt vared wait whence where which zcompile zformat zftp zle zmodload zparseopts zprof zpty zregexparse zsocket zstyle ztcp"},contains:[P,s.SHEBANG(),B,j,s.HASH_COMMENT_MODE,w,x,{className:"",begin:/\\"/},{className:"string",begin:/'/,end:/'/},i]}}},73402:s=>{function concat(...s){return s.map((s=>function source(s){return s?"string"==typeof s?s:s.source:null}(s))).join("")}s.exports=function http(s){const i="HTTP/(2|1\\.[01])",u={className:"attribute",begin:concat("^",/[A-Za-z][A-Za-z0-9-]*/,"(?=\\:\\s)"),starts:{contains:[{className:"punctuation",begin:/: /,relevance:0,starts:{end:"$",relevance:0}}]}},_=[u,{begin:"\\n\\n",starts:{subLanguage:[],endsWithParent:!0}}];return{name:"HTTP",aliases:["https"],illegal:/\S/,contains:[{begin:"^(?="+i+" \\d{3})",end:/$/,contains:[{className:"meta",begin:i},{className:"number",begin:"\\b\\d{3}\\b"}],starts:{end:/\b\B/,illegal:/\S/,contains:_}},{begin:"(?=^[A-Z]+ (.*?) "+i+"$)",end:/$/,contains:[{className:"string",begin:" ",end:" ",excludeBegin:!0,excludeEnd:!0},{className:"meta",begin:i},{className:"keyword",begin:"[A-Z]+"}],starts:{end:/\b\B/,illegal:/\S/,contains:_}},s.inherit(u,{relevance:0})]}}},95089:s=>{const i="[A-Za-z$_][0-9A-Za-z$_]*",u=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],_=["true","false","null","undefined","NaN","Infinity"],w=[].concat(["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],["arguments","this","super","console","window","document","localStorage","module","global"],["Intl","DataView","Number","Math","Date","String","RegExp","Object","Function","Boolean","Error","Symbol","Set","Map","WeakSet","WeakMap","Proxy","Reflect","JSON","Promise","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Float32Array","Array","Uint8Array","Uint8ClampedArray","ArrayBuffer","BigInt64Array","BigUint64Array","BigInt"],["EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"]);function lookahead(s){return concat("(?=",s,")")}function concat(...s){return s.map((s=>function source(s){return s?"string"==typeof s?s:s.source:null}(s))).join("")}s.exports=function javascript(s){const x=i,j="<>",P=">",B={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(s,i)=>{const u=s[0].length+s.index,_=s.input[u];"<"!==_?">"===_&&(((s,{after:i})=>{const u=""+s[0].slice(1);return-1!==s.input.indexOf(u,i)})(s,{after:u})||i.ignoreMatch()):i.ignoreMatch()}},$={$pattern:i,keyword:u,literal:_,built_in:w},U="[0-9](_?[0-9])*",Y=`\\.(${U})`,X="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",Z={className:"number",variants:[{begin:`(\\b(${X})((${Y})|\\.)?|(${Y}))[eE][+-]?(${U})\\b`},{begin:`\\b(${X})\\b((${Y})\\b|\\.)?|(${Y})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},ee={className:"subst",begin:"\\$\\{",end:"\\}",keywords:$,contains:[]},ie={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[s.BACKSLASH_ESCAPE,ee],subLanguage:"xml"}},ae={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[s.BACKSLASH_ESCAPE,ee],subLanguage:"css"}},le={className:"string",begin:"`",end:"`",contains:[s.BACKSLASH_ESCAPE,ee]},ce={className:"comment",variants:[s.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+",contains:[{className:"type",begin:"\\{",end:"\\}",relevance:0},{className:"variable",begin:x+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),s.C_BLOCK_COMMENT_MODE,s.C_LINE_COMMENT_MODE]},pe=[s.APOS_STRING_MODE,s.QUOTE_STRING_MODE,ie,ae,le,Z,s.REGEXP_MODE];ee.contains=pe.concat({begin:/\{/,end:/\}/,keywords:$,contains:["self"].concat(pe)});const de=[].concat(ce,ee.contains),fe=de.concat([{begin:/\(/,end:/\)/,keywords:$,contains:["self"].concat(de)}]),ye={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:$,contains:fe};return{name:"Javascript",aliases:["js","jsx","mjs","cjs"],keywords:$,exports:{PARAMS_CONTAINS:fe},illegal:/#(?![$_A-z])/,contains:[s.SHEBANG({label:"shebang",binary:"node",relevance:5}),{label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},s.APOS_STRING_MODE,s.QUOTE_STRING_MODE,ie,ae,le,ce,Z,{begin:concat(/[{,\n]\s*/,lookahead(concat(/(((\/\/.*$)|(\/\*(\*[^/]|[^*])*\*\/))\s*)*/,x+"\\s*:"))),relevance:0,contains:[{className:"attr",begin:x+lookahead("\\s*:"),relevance:0}]},{begin:"("+s.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",contains:[ce,s.REGEXP_MODE,{className:"function",begin:"(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+s.UNDERSCORE_IDENT_RE+")\\s*=>",returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:s.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:$,contains:fe}]}]},{begin:/,/,relevance:0},{className:"",begin:/\s/,end:/\s*/,skip:!0},{variants:[{begin:j,end:P},{begin:B.begin,"on:begin":B.isTrulyOpeningTag,end:B.end}],subLanguage:"xml",contains:[{begin:B.begin,end:B.end,skip:!0,contains:["self"]}]}],relevance:0},{className:"function",beginKeywords:"function",end:/[{;]/,excludeEnd:!0,keywords:$,contains:["self",s.inherit(s.TITLE_MODE,{begin:x}),ye],illegal:/%/},{beginKeywords:"while if switch catch for"},{className:"function",begin:s.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,contains:[ye,s.inherit(s.TITLE_MODE,{begin:x})]},{variants:[{begin:"\\."+x},{begin:"\\$"+x}],relevance:0},{className:"class",beginKeywords:"class",end:/[{;=]/,excludeEnd:!0,illegal:/[:"[\]]/,contains:[{beginKeywords:"extends"},s.UNDERSCORE_TITLE_MODE]},{begin:/\b(?=constructor)/,end:/[{;]/,excludeEnd:!0,contains:[s.inherit(s.TITLE_MODE,{begin:x}),"self",ye]},{begin:"(get|set)\\s+(?="+x+"\\()",end:/\{/,keywords:"get set",contains:[s.inherit(s.TITLE_MODE,{begin:x}),{begin:/\(\)/},ye]},{begin:/\$[(.]/}]}}},65772:s=>{s.exports=function json(s){const i={literal:"true false null"},u=[s.C_LINE_COMMENT_MODE,s.C_BLOCK_COMMENT_MODE],_=[s.QUOTE_STRING_MODE,s.C_NUMBER_MODE],w={end:",",endsWithParent:!0,excludeEnd:!0,contains:_,keywords:i},x={begin:/\{/,end:/\}/,contains:[{className:"attr",begin:/"/,end:/"/,contains:[s.BACKSLASH_ESCAPE],illegal:"\\n"},s.inherit(w,{begin:/:/})].concat(u),illegal:"\\S"},j={begin:"\\[",end:"\\]",contains:[s.inherit(w)],illegal:"\\S"};return _.push(x,j),u.forEach((function(s){_.push(s)})),{name:"JSON",contains:_,keywords:i,illegal:"\\S"}}},26571:s=>{s.exports=function powershell(s){const i={$pattern:/-?[A-z\.\-]+\b/,keyword:"if else foreach return do while until elseif begin for trap data dynamicparam end break throw param continue finally in switch exit filter try process catch hidden static parameter",built_in:"ac asnp cat cd CFS chdir clc clear clhy cli clp cls clv cnsn compare copy cp cpi cpp curl cvpa dbp del diff dir dnsn ebp echo|0 epal epcsv epsn erase etsn exsn fc fhx fl ft fw gal gbp gc gcb gci gcm gcs gdr gerr ghy gi gin gjb gl gm gmo gp gps gpv group gsn gsnp gsv gtz gu gv gwmi h history icm iex ihy ii ipal ipcsv ipmo ipsn irm ise iwmi iwr kill lp ls man md measure mi mount move mp mv nal ndr ni nmo npssc nsn nv ogv oh popd ps pushd pwd r rbp rcjb rcsn rd rdr ren ri rjb rm rmdir rmo rni rnp rp rsn rsnp rujb rv rvpa rwmi sajb sal saps sasv sbp sc scb select set shcm si sl sleep sls sort sp spjb spps spsv start stz sujb sv swmi tee trcm type wget where wjb write"},u={begin:"`[\\s\\S]",relevance:0},_={className:"variable",variants:[{begin:/\$\B/},{className:"keyword",begin:/\$this/},{begin:/\$[\w\d][\w\d_:]*/}]},w={className:"string",variants:[{begin:/"/,end:/"/},{begin:/@"/,end:/^"@/}],contains:[u,_,{className:"variable",begin:/\$[A-z]/,end:/[^A-z]/}]},x={className:"string",variants:[{begin:/'/,end:/'/},{begin:/@'/,end:/^'@/}]},j=s.inherit(s.COMMENT(null,null),{variants:[{begin:/#/,end:/$/},{begin:/<#/,end:/#>/}],contains:[{className:"doctag",variants:[{begin:/\.(synopsis|description|example|inputs|outputs|notes|link|component|role|functionality)/},{begin:/\.(parameter|forwardhelptargetname|forwardhelpcategory|remotehelprunspace|externalhelp)\s+\S+/}]}]}),P={className:"built_in",variants:[{begin:"(".concat("Add|Clear|Close|Copy|Enter|Exit|Find|Format|Get|Hide|Join|Lock|Move|New|Open|Optimize|Pop|Push|Redo|Remove|Rename|Reset|Resize|Search|Select|Set|Show|Skip|Split|Step|Switch|Undo|Unlock|Watch|Backup|Checkpoint|Compare|Compress|Convert|ConvertFrom|ConvertTo|Dismount|Edit|Expand|Export|Group|Import|Initialize|Limit|Merge|Mount|Out|Publish|Restore|Save|Sync|Unpublish|Update|Approve|Assert|Build|Complete|Confirm|Deny|Deploy|Disable|Enable|Install|Invoke|Register|Request|Restart|Resume|Start|Stop|Submit|Suspend|Uninstall|Unregister|Wait|Debug|Measure|Ping|Repair|Resolve|Test|Trace|Connect|Disconnect|Read|Receive|Send|Write|Block|Grant|Protect|Revoke|Unblock|Unprotect|Use|ForEach|Sort|Tee|Where",")+(-)[\\w\\d]+")}]},B={className:"class",beginKeywords:"class enum",end:/\s*[{]/,excludeEnd:!0,relevance:0,contains:[s.TITLE_MODE]},$={className:"function",begin:/function\s+/,end:/\s*\{|$/,excludeEnd:!0,returnBegin:!0,relevance:0,contains:[{begin:"function",relevance:0,className:"keyword"},{className:"title",begin:/\w[\w\d]*((-)[\w\d]+)*/,relevance:0},{begin:/\(/,end:/\)/,className:"params",relevance:0,contains:[_]}]},U={begin:/using\s/,end:/$/,returnBegin:!0,contains:[w,x,{className:"keyword",begin:/(using|assembly|command|module|namespace|type)/}]},Y={variants:[{className:"operator",begin:"(".concat("-and|-as|-band|-bnot|-bor|-bxor|-casesensitive|-ccontains|-ceq|-cge|-cgt|-cle|-clike|-clt|-cmatch|-cne|-cnotcontains|-cnotlike|-cnotmatch|-contains|-creplace|-csplit|-eq|-exact|-f|-file|-ge|-gt|-icontains|-ieq|-ige|-igt|-ile|-ilike|-ilt|-imatch|-in|-ine|-inotcontains|-inotlike|-inotmatch|-ireplace|-is|-isnot|-isplit|-join|-le|-like|-lt|-match|-ne|-not|-notcontains|-notin|-notlike|-notmatch|-or|-regex|-replace|-shl|-shr|-split|-wildcard|-xor",")\\b")},{className:"literal",begin:/(-)[\w\d]+/,relevance:0}]},X={className:"function",begin:/\[.*\]\s*[\w]+[ ]??\(/,end:/$/,returnBegin:!0,relevance:0,contains:[{className:"keyword",begin:"(".concat(i.keyword.toString().replace(/\s/g,"|"),")\\b"),endsParent:!0,relevance:0},s.inherit(s.TITLE_MODE,{endsParent:!0})]},Z=[X,j,u,s.NUMBER_MODE,w,x,P,_,{className:"literal",begin:/\$(null|true|false)\b/},{className:"selector-tag",begin:/@\B/,relevance:0}],ee={begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[].concat("self",Z,{begin:"("+["string","char","byte","int","long","bool","decimal","single","double","DateTime","xml","array","hashtable","void"].join("|")+")",className:"built_in",relevance:0},{className:"type",begin:/[\.\w\d]+/,relevance:0})};return X.contains.unshift(ee),{name:"PowerShell",aliases:["ps","ps1"],case_insensitive:!0,keywords:i,contains:Z.concat(B,$,U,Y,ee)}}},17285:s=>{function source(s){return s?"string"==typeof s?s:s.source:null}function lookahead(s){return concat("(?=",s,")")}function concat(...s){return s.map((s=>source(s))).join("")}function either(...s){return"("+s.map((s=>source(s))).join("|")+")"}s.exports=function xml(s){const i=concat(/[A-Z_]/,function optional(s){return concat("(",s,")?")}(/[A-Z0-9_.-]*:/),/[A-Z0-9_.-]*/),u={className:"symbol",begin:/&[a-z]+;|[0-9]+;|[a-f0-9]+;/},_={begin:/\s/,contains:[{className:"meta-keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},w=s.inherit(_,{begin:/\(/,end:/\)/}),x=s.inherit(s.APOS_STRING_MODE,{className:"meta-string"}),j=s.inherit(s.QUOTE_STRING_MODE,{className:"meta-string"}),P={endsWithParent:!0,illegal:/,relevance:0,contains:[{className:"attr",begin:/[A-Za-z0-9._:-]+/,relevance:0},{begin:/=\s*/,relevance:0,contains:[{className:"string",endsParent:!0,variants:[{begin:/"/,end:/"/,contains:[u]},{begin:/'/,end:/'/,contains:[u]},{begin:/[^\s"'=<>`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,contains:[{className:"meta",begin://,relevance:10,contains:[_,j,x,w,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin://,contains:[_,w,j,x]}]}]},s.COMMENT(//,{relevance:10}),{begin://,relevance:10},u,{className:"meta",begin:/<\?xml/,end:/\?>/,relevance:10},{className:"tag",begin:/