-
Notifications
You must be signed in to change notification settings - Fork 20
encounter
Stephen Laws edited this page Jun 20, 2022
·
2 revisions
The Encounter project provides web APIs for:
- Authenticated access to client encounter data (MSP Visits)
- OpenAPI documentation for implemented APIs
The Patient service needs to be configured.
No special configuration required at this time.
cd $GATEWAYHOME/Apps/Encounter/src/
dotnet run
- Select the Encounter project
- Say Yes or Accept any popups regarding adding assets for debugging
- Select the Medication Solution and click Enter which should create a .vscode/launch.json
- Click F5 or Run/Start Debugging
- Right Click on the solution and select Properties
- Select Multiple startup projects
- Set Encounter action to Start
- Click Ok
- Click F5 or Debug/Start Debugging
- Right Click on the solution and select set startup project
- Ensure that the Encounter solution item is checked
- Click Ok
- Select Run Menu then Start Debugging
- Ensure WebClient is running
- Open a Chrome session to http://localhost:5000
- Open Developer tools.
- Logon to WebClient
- In the console make note of the HDID or you can likely use: P6FFO433A5WPMVTGM7T4ZVWBKCSVNAYGTWTU3J2LWMGUMERKI72A
- Go to the network tab and refresh the page.
- You will want to look for a failed call to Encounter go to the Headers tab and copy the text after Authorization: Bearer
You should be able to open a new Browser window and connect to http://localhost:3005/swagger
- Click on the Authorize button and paste in the bearer token, then click Authorize and Close.
- Click on the Encounter Get API to expand it.
- Click on Try it out button.
- Paste the HDID into the text input.
- Click on Execute
You should see a response of 200 and a body similar to:
{
{
"resourcePayload": [
{
"id": "1007684098",
"encounterDate": "2020-07-15T00:00:00",
"specialtyDescription": "GENERAL PRACTICE",
"practitionerName": "ILCVAPPOJ CLPXWG",
"clinic": {
"name": "OVMTJNMDO FHQXUA SMZRFHZQ",
"addressLine1": "IKI KNNH IOYHDW KXQRN",
"addressLine2": "",
"addressLine3": "",
"addressLine4": "",
"city": "KELOWNA",
"postalCode": "V1W3X7",
"province": "BC"
}
},
...
{
"id": "1007680865",
"encounterDate": "2020-06-26T00:00:00",
"specialtyDescription": "LABORATORY MEDICINE",
"practitionerName": "LPCMN ODTQN W P",
"clinic": {
"name": "WLEOJRFQ RAAL D RKTKFQZ",
"addressLine1": "IKI NNL MGOU PEGUAM",
"addressLine2": "",
"addressLine3": "",
"addressLine4": "",
"city": "KELOWNA",
"postalCode": "V1Y6J5",
"province": "BC"
}
}
],
"totalResultCount": 176,
"pageIndex": 1,
"pageSize": 20000,
"resultStatus": 1,
"resultError": null
}
-
Developer Standard and Processes
-
Workstation Setup
-
IDE Configuration
-
Application Config
-
RedHat SSO Authorization Server
-
Known Issues