Skip to content

Commit

Permalink
Merge pull request #1 from intersystems-ib/production
Browse files Browse the repository at this point in the history
Production
  • Loading branch information
isc-lperezra authored Sep 5, 2024
2 parents 1721dfe + c652467 commit 5b403f2
Show file tree
Hide file tree
Showing 20 changed files with 300 additions and 299 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,5 @@ encoder-ui/typings
encoder-ui/.DS_Store
encoder-ui/Thumbs.db
webgateway/shared/durable/webgateway/CSP.log
webgateway/shared/CA_Server.srl
webgateway/shared/durable/webgateway/CSP.log
40 changes: 20 additions & 20 deletions encoder-ui/cert/encoder_ui.crt
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
-----BEGIN CERTIFICATE-----
MIIDqTCCApGgAwIBAgIUaHeLEhTeyLjjLdnJvXSY4oU50Y0wDQYJKoZIhvcNAQEL
BQAwZDELMAkGA1UEBhMCRVMxDzANBgNVBAgMBk1hZHJpZDEPMA0GA1UEBwwGTWFk
cmlkMRIwEAYDVQQKDAlDb21tdW5pdHkxCzAJBgNVBAsMAkVTMRIwEAYDVQQDDAls
b2NhbGhvc3QwHhcNMjQwODMwMDgyMDM2WhcNMzQwODI4MDgyMDM2WjBkMQswCQYD
VQQGEwJFUzEPMA0GA1UECAwGTWFkcmlkMQ8wDQYDVQQHDAZNYWRyaWQxEjAQBgNV
BAoMCUNvbW11bml0eTELMAkGA1UECwwCRVMxEjAQBgNVBAMMCWxvY2FsaG9zdDCC
ASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKg36oygEthbX/PsE/5kh5tH
f75dDbwvhb5GS2UDtkAG7rVfxSlB97IaPs5ZceABr06FN9pgl2CyTsn8qiiOzRYE
UF7I7v+iXwB95TdqFcSvG/n8iM0sKzcxxufa6WXSMY5D/lAbJnvJAz5VhES7nGq0
vGht775HTWI0TDh3cpCLWD+AWCxyj6CtmMPaKeb3tyjgiZEmo3ENqTAlO1XCM2ce
Wx+LSvicK+lN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
7704H2ZqFelK4fcgyZVKi6gwmKsQ+bz+CEG4niwxqxVAycf8kay/g+p6hCGcdFLy
Gyt85ZGDJGFcFtXb04Gmw1dcbXuWzPucv5lafmLBcm+FD9DIVwUa+XXWgHMb4kJ6
dCAI4lVZ5rpDKxKIumwLJcq0Uya+Wdz44kvEQzLMeVr+ftxnAxuU2hR2Kuouul+x
NC67GS20XsM2BQyg4G+RL6LAI1jFTFauNAP2jQliwkwL+RA2oLck1uHMaOBBpPAW
9MFJLgCUdEMe2c607jB1Ugvi5QTTeDaBOL69BdFGSLXYquVcGoOF8XiA3Lp3mj+O
9t8sl4MCAwEAAaNTMFEwHQYDVR0OBBYEFMq5r7CjobguGC2PVVC9LlTpMgHqMB8G
A1UdIwQYMBaAFMq5r7CjobguGC2PVVC9LlTpMgHqMA8GA1UdEwEB/wQFMAMBAf8w
DQYJKoZIhvcNAQELBQADggEBAClytDICbPYuoMvGzjhwJknZpopGplPKNnrfv2NC
RTkYfhX4nWSRW1C2V/n4DlXbUX2hu9AYercofVH4N1KqEvJDW/8qVy+HmgqOfF5Q
NBZsuXa2vOp7y6FpXwXhu/MqR+ByFNTQFcOQ7ioOap50U45ogcMEbwyUZqhGAl4k
PDiBhC2S5azvjk9dYCjYKEWdo1ulWeDhyDq4HPxiGm75D7WnsWGnS9JcPkHjra5V
a9fDoixZO+tRJzEiCjsnh1CZGXM9W0cwrMbn/y0y+YLXBY5Utro5z0AYy/+8sxQ1
jduw53XOdcF6R8B4oNSSl5pw7XqPVqy7SLYInaX/GYIFHN0=
-----END CERTIFICATE-----
52 changes: 26 additions & 26 deletions encoder-ui/cert/encoder_ui.key
Original file line number Diff line number Diff line change
@@ -1,28 +1,28 @@
-----BEGIN PRIVATE KEY-----
MIIEvAIBADANBgkqhkiG9w0BAQEFAASCBKYwggSiAgEAAoIBAQCoN+qMoBLYW1/z
7BP+ZIebR3++XQ28L4W+RktlA7ZABu61X8UpQfeyGj7OWXHgAa9OhTfaYJdgsk7J
/Koojs0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ginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,18 @@ events {
http {
server {
listen 443 ssl;
server_name localhost;
server_name 18.134.160.8;
ssl_certificate /etc/nginx/ssl/encoder_ui.crt;
ssl_certificate_key /etc/nginx/ssl/encoder_ui.key;

location / {
root /usr/share/nginx/html;
index index.html index.htm;
try_files $uri /index.html;
}
location /api/encoder/ {
proxy_pass https://webgateway/api/encoder/;
proxy_set_header Host localhost:8443;
proxy_set_header Host 18.134.160.8:8443;
}
}
fastcgi_read_timeout 300;
Expand Down
2 changes: 0 additions & 2 deletions iris/DemoSetup.Utilities.cls
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,6 @@ Method EnableSSLSuperServer(password="")
Write !, $system.Status.GetErrorText(sc)
}
Write !, "Done enabling SSL for the SuperServer"
set p("SSLSuperServer") = 1
set sc = ##class(Security.System).Modify("SYSTEM", .p)
}

}
40 changes: 20 additions & 20 deletions iris/certificates/CA_Server.cer
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
-----BEGIN CERTIFICATE-----
MIIDsjCCApWgAwIBAgIUQhEu10FJFoYHk5ZmuXgbLe22QjIwDQYJKoZIhvcNAQEL
BQAwZDELMAkGA1UEBhMCRVMxDzANBgNVBAgMBk1hZHJpZDEPMA0GA1UEBwwGTWFk
cmlkMRIwEAYDVQQKDAlDb21tdW5pdHkxCzAJBgNVBAsMAkVTMRIwEAYDVQQDDAls
b2NhbGhvc3QwHhcNMjQwODMwMDc1NDE0WhcNMzQwODI4MDc1NDE0WjBkMQswCQYD
VQQGEwJFUzEPMA0GA1UECAwGTWFkcmlkMQ8wDQYDVQQHDAZNYWRyaWQxEjAQBgNV
BAoMCUNvbW11bml0eTELMAkGA1UECwwCRVMxEjAQBgNVBAMMCWxvY2FsaG9zdDCC
ASYwDQYJKoZIhvcNAQEBBQADggETADCCAQ4CggEFC5GK2c3k2mbVGabtw5co2EA4
ddRlBqP/OSL7XL0x4xEc3QHehZrGk9U+73z/UwT49qs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TWFkcmlkMQ8wDQYDVQQHDAZNYWRyaWQxEjAQ
BgNVBAoMCUNvbW11bml0eTELMAkGA1UECwwCRVMxFTATBgNVBAMMDDE4LjEzNC4x
NjAuODCCASYwDQYJKoZIhvcNAQEBBQADggETADCCAQ4CggEFDbLCllO4RjG8kzp9
l+mjrgzB9gWVPsltywZedNepHow7TGJpDDsHQGrw3om13JOeWwZmPOyz2VHYb7et
MB+CLLJIMZhS15kqz3OBeO7TcMCf1hM2Ycrt6VSGIVmYCAE5RxkQnfrvxaQTZs6R
G2lktufLT+vx2u+1u70CKXP423YQ2A6h6OtutxAOq6Os6I382H8o989afRhpZqeT
9vIoTYBGu/zuyLVDbONuWy09gWiQLSDRyZorYxJF/3ofAsRzlQb0lgaUX+P1bOgD
aXZ23sbzqn1rhjSRsRaOTBGJZJ6c5q5E+e+YZoqzw74n30EeIa7dID3O9enFYDnO
Pm6QFI6OGK7ZAgMBAAGjUzBRMB0GA1UdDgQWBBSra/Nl0bscS7UwI9xl1EsrM9Y2
VDAfBgNVHSMEGDAWgBSra/Nl0bscS7UwI9xl1EsrM9Y2VDAPBgNVHRMBAf8EBTAD
AQH/MA0GCSqGSIb3DQEBCwUAA4IBBgAGshO/cTIErYaKJr/zcVum5oEvo/QYZvEw
GAH1UXHPDSVp9lv2tdQqRekeOeNg/navfS/Q7syHoo3ZahTUoJAG7uRbwLVt5cXq
/i8AzR22Dd8l+1ndQabg4pnyYr36RJeRuGFxtu7E6MvtJ2BAqhklT4GLNEXn9Vsh
XYoUBAHjtzNEy6ARMezjJPHq1mB//0316vm1wOMQf+cd0cEJNRLD2qdyu4elrqNs
F8HLXFUwliHjyiv7dcr+YVJjepsZeWdymJGVJyvAAsWP1hAChIq2H2iviqK2/KK1
L/de7CVzdxjsmvEzQApsfLbV/jpekiynEjSbYaQy/J+YXCVY0eG8F7Z6aYI=
-----END CERTIFICATE-----
34 changes: 17 additions & 17 deletions iris/certificates/iris_server.cer
Original file line number Diff line number Diff line change
@@ -1,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N0BYlCNWaHPMO4NGrdGW4ol
ueIzWZ2PhYEhgnJSjEx8r+JsqfwtrhD+oC/at8JiEPUrR9U7zkztNGzi46nIjTW3
StTyq5LmBKS8xCCo5M0Kz8H+kpyXVSjhEnvRm1b4NG5qFDuTWGE=
-----END CERTIFICATE-----
26 changes: 13 additions & 13 deletions iris/certificates/iris_server.csr
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
-----BEGIN CERTIFICATE REQUEST-----
MIICpDCCAYwCAQAwXzELMAkGA1UEBhMCRVMxDzANBgNVBAgMBk1hZHJpZDEPMA0G
A1UEBwwGTWFkcmlkMRIwEAYDVQQKDAlDb21tdW5pdHkxCzAJBgNVBAsMAkVTMQ0w
CwYDVQQDDARpcmlzMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAg4hC
TxCwAMWL2xRV/wb5Fm7r/GbxhJ3AODhyp8oSQbFBx72q0/65Vjp+xtcEPT50k5Wg
7TU4QmgbJwxRoQAJpS7CLHL6mlqGEVC6OMv7mHQ/pdM0Cl8Zh1LRfAn77hg0fgMs
CrsYkoAzdqnlWzmsHCLr45bae607fdrbIK2Aym+EW5dFy2FXaynZMJJtwDLaMl8k
FGqsfnP0GFJVMp300u7PcqDK8p6WtI5yixvWIG8kXeomk2bXpRO92haVDVTPVI52
SjU7IijHRzwyZ1ZKVidLyYtVKuUDyX3d3LzAUcD9OMWUwa9MH2NJUsHI3hJ7UQIr
ZhtI8a/ycoHMgOkPfwIDAQABoAAwDQYJKoZIhvcNAQELBQADggEBAHZW1wIZF8Zy
dEZ34Y/3BTEl6VxrxsPNa5jZzEyhppAuqDADHMqqW8sJ6VTSuUOwiSess2y60o7f
G1Uu5vURUKZHNNqbBPtfxOO5SGJ4u5seUAKrkR1xYBQ6t8rzWpWVb0oIAivXuBVW
K84Y6csg7/panbIwkMFDTM7N/kS5qaPjP5IT/RFBO8DTgAHPyWWK7ltmG49s3l2S
zbZAccmunZPfR6ig02hIl7b0gTWR7apSsQha6UiQmJ/WDf5EP9/p9isRqSKU5ZoN
XSqXUGu+UHdHw5MdpetGFNtB4P+wE1VDTgbi5ln16iCpl6dp/hlR2h7f9tsZAtzG
WFs0eeJp5iE=
CwYDVQQDDARpcmlzMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAyZSz
T1N/OJvasDF+XWWY27ny5/yGPHd0quLI46K+mO0jNdgNewrO9REuMM8cXN/cYwgD
uP1CNm2UXNByA4JT/vILAEYtTKKAVglbCQ4IHmLX42PIONvYEFBobgzXX0tQxqmd
Q9G6RG0QCtMp66S2l7Jv+WfPiV5gI/h5DaXvjqZcugCmcichKgTgM93k0iRdHsRF
MGa4vhiLzJrwitjRAh/BOGU+1fLWGSODL4oMlxfdg8YDBtLqkFNUcja3NxRcqw4U
pr5jSBWguyhfWiE7pvfCr6ee+jaligR5/61YhocPzpqITv3ovdr9XWXbmdz0lpha
MJfjnEvETDyTetmHcwIDAQABoAAwDQYJKoZIhvcNAQELBQADggEBAJdYMelJNbrb
dlOVbIl3IuPmdUUBsAGMPs0Npmc3l63F4TydWT4tGbe6hTVN0B1eOx3uov44d+FF
hWF3Yeem3mX3PGGn6Ob9fyi1rskYj3nrxpZtx0DleNa7mdS+9STsfGHBaoU4Qee0
a3jw2zAUbNDxEgpZ0WZXZcD5BYfYopttUYWCi1pSffvy7ovhbklV1OlC2E/Z5gsh
b8gHnAunI0+2GTGYBC5M6KNtS5QiaXh3DZCNigqe7NXWqmIRAHNbqP/of3hvw+Wi
t+99jE345Um55V6Bb5GIjWrvUDS0KGvjB8yeWJ/87nB4Rlhy1aClLsc+ZJ3URv/7
acppWfc00iw=
-----END CERTIFICATE REQUEST-----
52 changes: 26 additions & 26 deletions iris/certificates/iris_server.key
Original file line number Diff line number Diff line change
@@ -1,28 +1,28 @@
-----BEGIN PRIVATE KEY-----
MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQCDiEJPELAAxYvb
FFX/B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NiI+xE7su
-----END PRIVATE KEY-----
2 changes: 1 addition & 1 deletion iris/shared/hl7/messagesa01_es.hl7
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ MSH|^~\&|HIS|HULP|EMPI||||ADT^A01|884471|P|2.5.1
EVN|A01|
PID|||1398528318^^^SERMAS^SN~900263^^^HULP^PI||LÓPEZ CABEZUELA^ÁLVARO^^^||19560121|F|||PASEO MARIO FERNÁNDEZ 258 1 DERECHA^^MADRID^MADRID^28627^SPAIN||555819817^PRN^^ALVARO.LOPEZ@VODAFONE.COM|||||||||||||||||N|
PV1||N
DG1|1|||Granulomatosis eosinofílica||A||
DG1|1|||VIH Estadio 3||A||


MSH|^~\&|HIS|HULP|EMPI||||ADT^A01|180968|P|2.5.1
Expand Down
2 changes: 1 addition & 1 deletion src/ENCODER/BP/AnalyzeTextProcess.cls
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ Method AnalyzeText(text As %String, analysisId As %String, language As %String)
i = 0
for text in texts:
iris.cls("Ens.Util.Log").LogInfo("ENCODER.BP.AnalyzeTextProcess", "AnalyzeText", text)
sqlsentence = "INSERT INTO ENCODER_Object.TextMatches (CodeId, Description, Similarity, AnalysisId, RawText) SELECT * FROM (SELECT CodeId, Description, VECTOR_DOT_PRODUCT(VectorDescription, TO_VECTOR('"+str(embeddingList[i])+"', DECIMAL)) AS Similarity, '"+analysisId+"', '"+text+"' FROM ENCODER_Object.Codes) WHERE Similarity > 0.8"
sqlsentence = "INSERT INTO ENCODER_Object.TextMatches (CodeId, Description, Similarity, AnalysisId, RawText) SELECT * FROM (SELECT CodeId, Description, VECTOR_DOT_PRODUCT(VectorDescription, TO_VECTOR('"+str(embeddingList[i])+"', DECIMAL)) AS Similarity, '"+analysisId+"', '"+text+"' FROM ENCODER_Object.Codes) WHERE Similarity > 0.7"
#iris.cls("Ens.Util.Log").LogInfo("ENCODER.BP.AnalyzeTextProcess", "AnalyzeText", sqlsentence)
iris.cls("ENCODER.Utils.Manager").ExecuteInsertQuery(sqlsentence)
iris.cls("Ens.Util.Log").LogInfo("ENCODER.BP.AnalyzeTextProcess", "AnalyzeText", "Sentence finished")
Expand Down
Loading

0 comments on commit 5b403f2

Please sign in to comment.