Skip to content

Commit

Permalink
make it r5
Browse files Browse the repository at this point in the history
  • Loading branch information
grongierisc committed Jul 22, 2024
1 parent f4ff9cd commit 1e8f523
Showing 1 changed file with 3 additions and 15 deletions.
18 changes: 3 additions & 15 deletions iris.script
Original file line number Diff line number Diff line change
@@ -1,18 +1,6 @@
zn "%SYS"
Do ##class(Security.Users).UnExpireUserPasswords("*")

// For front end api disable license
// HS.HC.FHIRSQL.REST.FrontEndAPI.Map
set db="/usr/irissys/mgr/irislib"
set tDB = ##class(SYS.Database).%OpenId(db)
set tDB.ReadOnly = 0
zw tDB.%Save()

set db="/usr/irissys/mgr/hslib"
set tDB = ##class(SYS.Database).%OpenId(db)
set tDB.ReadOnly = 0
zw tDB.%Save()

zn "HSLIB"

// Enable FHIR SQL Builder
Expand All @@ -21,9 +9,9 @@


set namespace="FHIRSERVER"
Set appKey = "/fhir/r4"
Set appKey = "/fhir/r5"
Set strategyClass = "HS.FHIRServer.Storage.Json.InteractionsStrategy"
Set metadataConfigKey = "HL7v40"
Set metadataConfigKey = "HL7v50"
set importdir="/irisdev/app/src"

//Install a Foundation namespace and change to it
Expand All @@ -44,7 +32,7 @@
set config.DebugMode = 4
do strategy.SaveServiceConfigData(config)

zw ##class(HS.FHIRServer.Tools.DataLoader).SubmitResourceFiles("/irisdev/app/fhirdata/", namespace, appKey)
//zw ##class(HS.FHIRServer.Tools.DataLoader).SubmitResourceFiles("/irisdev/app/fhirdata/", namespace, appKey)

do $System.OBJ.LoadDir("/irisdev/app/src","ck",,1)

Expand Down

0 comments on commit 1e8f523

Please sign in to comment.