Closed artgoldberg closed 1 year ago
Also, I'm not seeing patient lists when I expect to see them:
Hmmm I'm not sure what to make of this, Arthur. We have Leaf v11.1 deployed on a dev instance:
And the feature is working as expected:
The patient list not working in your example actually makes sense if you are seeing that as well when the cohort is 5 patients, as cohorts <= your threshold should show no data in the patient list, and 5 is under 10 so that seems appropriate. The oddity is the number displayed in the UI.
Here are our dev instance appsettings:
{
"Runtime": {
"Mode": "FULL"
},
"Jwt": {
"SigningKey": "LEAF_JWT_KEY",
"Password": "LEAF_JWT_KEY_PW",
"Certificate": "LEAF_JWT_CERT",
"Issuer": "urn:leaf:iss:am-leafv3dev.analytics.uwmedicine.org"
},
"Db": {
"App": {
"Connection": "LEAF_APP_DB",
"DefaultTimeout": 60
},
"Clin": {
"Connection": "LEAF_CLIN_DB",
"DefaultTimeout": 180,
"RDBMS": "MSSQL",
"Cohort": {
"QueryStrategy": "PARALLEL",
"MaxParallelThreads": 5
}
}
},
"Authentication": {
"Mechanism": "SAML2",
"SessionTimeoutMinutes": 480,
"InactivityTimeoutMinutes": 20,
"Logout": {
"Enabled": true,
"URI": "https://am-leafv3dev.analytics.uwmedicine.org/Shibboleth.sso/Logout?return=https://uwmedicine.org"
},
"SAML2": {
"Headers": {
"ScopedIdentity": "uwUPN"
}
}
},
"Authorization": {
"Mechanism": "SAML2",
"AllowAllAuthenticatedUsers": false,
"SAML2": {
"HeadersMapping": {
"Entitlements": {
"Name": "uwGroups",
"Delimiter": ";"
}
},
"RolesMapping": {
"User": "amApp_RIT_Leaf_User",
"Super": "NOT_USED",
"Identified": "amApp_RIT_Leaf_Admin",
"Admin": "amApp_RIT_Leaf_Admin"
}
}
},
"Attestation": {
"Enabled": true
},
"Compiler": {
"Alias": "@",
"FieldPersonId": "PatientDurableKey",
"FieldEncounterId": "EncounterDurableKey"
},
"Cohort": {
"RowLimit": 200000,
"ExportLimit": 499
},
"Export": {
"REDCap": {
"Enabled": true,
"ApiURI": "https://rcdev.iths.org/api/",
"BatchSize": 10,
"RowLimit": 5000,
"Scope": "washington.edu",
"IncludeScopeInUsername": true,
"SuperToken": "LEAF_REDCAP_SUPERTOKEN"
},
"CSV": {
"Enabled": true
}
},
"Import": {
"REDCap": {
"Enabled": true,
"ApiURI": "https://rcdev.iths.org/api/",
"BatchSize": 1000
}
},
"Deidentification": {
"Patient": {
"Enabled": true,
"DateShifting": {
"Increment": "DAY",
"LowerBound": -365,
"UpperBound": 365
}
},
"Cohort": {
"Enabled": true,
"Noise": {
"Enabled": false,
"LowerBound": -10,
"UpperBound": 10
},
"LowCellSizeMasking": {
"Enabled": true,
"Threshold": 1000
}
}
},
"Client": {
"Map": {
"Enabled": false,
"TileURI": "https://server.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer/tile/{z}/{y}/{x}"
},
"Visualize": {
"Enabled": true,
"ShowFederated": false
},
"Timelines": {
"Enabled": true
},
"PatientList": {
"Enabled": true
},
"Help": {
"Enabled": true,
"Email": "leafsupport@uw.edu",
"URI": ""
}
},
"Notification": {
"Enabled": false,
"Email": {
"Server": "",
"UseSSL": true,
"Sender": {
"Address": "leafdevops@uw.edu"
},
"Receiver": {
"Address": "leafsupport@uw.edu"
}
}
}
}
Thanks @ndobb
The problems vanished fortunately. I hypothesize that I unknowingly used Leaf v3.9. I've been testing dev at the prod domain name by modifying /etc/hosts. The VPN client occasionally rewrites the file and drops the mapping for the prod domain name. I could have pinged the prod domain to check.
A related suggestion: my hypothesized confusion could be avoided by including Leaf's version on its launch page also on its home page. Or make the version available elsewhere, e.g. under the user menu.
Great! We can probably add the version in elsewhere too as you suggest, Arthur. In the meantime, if you open up the developer console in your browser you can also find details of the version of each tier in Leaf's deployment:
Closing as it seems this is resolved.
@ndobb Great RE "We can probably add the version in elsewhere too as you suggest, Arthur. In the meantime, if you open up the developer console in your browser you can also find details of the version"
Hello Leaf folks
I'm testing Leaf 3.11 with
But nevertheless it's displaying counts less than 10:
This really perplexes me because I tested code that I believe is the same on June 16 with a threshold of 100 and it worked:
![image](https://user-images.githubusercontent.com/33882/183133292-2a570650-dbd7-46fb-a56d-bdf61a873ee3.png)
LowCellSizeMasking.Threshold: 10
(in/var/opt/leafapi/api/appsettings.json
):My appsettings.json:
Thanks Arthur