Lowell Buschert · Feb 28, 2024 go to post

I have it working.   The important thing with flask are the routes which establish a connection between the client and the server.   Config on both C and CS contain the same route names.    

Lowell Buschert · Feb 26, 2024 go to post

This is kinda related.     Is there another term for  httpRequest.httpVerb in Intersystems ObjectScript

Lowell Buschert · Feb 25, 2024 go to post

I set  

Set httpRequest.Server = "127.0.0.1
 Set httpRequest.Port = "8080 

Request from OS          Set status = httpRequest.Post("/collect_patient_information")

from the server side log   

Response  127.0.0.1 - - [25/Feb/2024 10:44:58] "POST /collect_patient_information HTTP/1.1" 200 -
 

Status on ObjectScript on Response. 

httpRequest: 127.0.0.1 application/json 2@%Library.GlobalBinaryStream status: 0 %«127.0.0.1:8080HSFNDý!e^zOpen+59^%Net.HttpRequest.1^2!e^zSend+30^%Net.HttpRequest.1^1 e^zPost+1^%Net.HttpRequest.1^1%e^zCollectInfo+20^OBHG.AIR.Main.1^1'e^zGetPatientInfo+2^OBHG.AIR.Main.1^1 e^zOnStart+3^OBHG.AIR.Main.1^1&d^zDebugStub+40^%Debugger.System.1^1d^^^0 statusline: reasonPhrase: StatusReasonPhrase: HTTP request failed with status code: Response:
 

Something is getting lost between Server  Python and client OS

Lowell Buschert · Feb 21, 2024 go to post

It looks like I will have to dig into the CV code and find the method that handles the response from the patient query.   If response is no results then trigger a form to collect info to send via a BPL to a destination for manual lookup from documents.  

Lowell Buschert · Feb 14, 2024 go to post

1.  User searches for patient on clinical viewer

2. Patient Not Found

3. Form pops up to fill in patient demographic information

4. Submit button is pushed

5. Data sent to backend for processing

6. Backend authenticates user through IRIS authentication or delegated authentication (AD/LDAP/local)

7. After authentication, HL7 message is built

8. A request is constructed to be sent to Health Connect Service API

9. The constructed request containing HL7 message is sent to the API

10 The API endpoint handles the request, triggering Health Connect workflow