parent
b4e7acc5db
commit
b545ce1a3d
@ -1,53 +1,89 @@
|
|||||||
{
|
{
|
||||||
"system":{
|
"system": {
|
||||||
"logo":"www/parser/_images/cog-red.png","context":"", "theme":"oss.css",
|
"logo": "www/parser/_images/cog-red.png",
|
||||||
"app":{
|
"context": "",
|
||||||
|
"theme": "oss.css",
|
||||||
"debug":true,"port":8000},
|
"app": {
|
||||||
"version":0.6,"mode":"portal",
|
"debug": true,
|
||||||
"source":{
|
"port": 8000
|
||||||
"id":"cloud",
|
|
||||||
"auth":"nextcloud-auth.json",
|
|
||||||
"store":"/home/steve/git/sites/parser/store-auth.json"
|
|
||||||
},
|
|
||||||
"routes":{
|
|
||||||
"data-transport":{
|
|
||||||
"menu":"tools",
|
|
||||||
"path":"/home/steve/git/sites/data-transport/config.json"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
},
|
},
|
||||||
"plugins":{
|
"version": 0.6,
|
||||||
"store":["init","plans"],
|
"mode": "portal",
|
||||||
"users":["signup"]
|
"source": {
|
||||||
|
"id": "cloud",
|
||||||
|
"auth": "nextcloud-auth.json",
|
||||||
|
"store": "/home/steve/git/sites/parser/store-auth.json",
|
||||||
|
"key": "/home/steve/dev/data/qcms/parser.json"
|
||||||
},
|
},
|
||||||
"layout":{
|
"routes": {
|
||||||
"header":{"title":"{x12} Parser :: Healthcare/IO","logo":true,"subtitle":"Open, Simple & Extensible - Powered by data-transport"},
|
"data-transport": {
|
||||||
"icons":[],
|
"menu": "tools",
|
||||||
"root":"www/parser",
|
"path": "/home/steve/git/sites/data-transport/config.json"
|
||||||
"index":"index.html",
|
},
|
||||||
"order":{
|
"privacykit": {
|
||||||
"menu":["tools","resources","about"]
|
"menu": "tools",
|
||||||
},
|
"path": "/home/steve/git/sites/privacykit/config.json"
|
||||||
"overwrite":{
|
}
|
||||||
"license":{
|
|
||||||
"title":"MIT License",
|
|
||||||
"text":"license",
|
|
||||||
"type":"dialog",
|
|
||||||
"uri":"www/parser/about/license.md"
|
|
||||||
},
|
|
||||||
"source-code":{
|
|
||||||
"text":"Source Code",
|
|
||||||
"type":"redirect",
|
|
||||||
"url":"https://hiplab.mc.vanderbilt.edu/git/hiplab/parser.git"
|
|
||||||
},
|
|
||||||
"credit":{
|
|
||||||
"title":"{x12} Parser Credit",
|
|
||||||
"type":"dialog","uri":"www/parser/about/credit.html"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"footer":[{"text":"Health Information Privacy Laboratory"},{"text":"Powered By - QCMS"}]
|
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"plugins": {
|
||||||
|
"store": ["init","plans","version"
|
||||||
|
],
|
||||||
|
"users": [
|
||||||
|
"signup"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"layout": {
|
||||||
|
"header": {
|
||||||
|
"title": "{x12} Parser :: Healthcare/IO",
|
||||||
|
"logo": true,
|
||||||
|
"subtitle": "Open, Simple & Extensible - Powered by data-transport"
|
||||||
|
},
|
||||||
|
"icons": [],
|
||||||
|
"root": "www/parser",
|
||||||
|
"index": "index.html",
|
||||||
|
"order": {
|
||||||
|
"menu": ["tools","tutorials", "about"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"overwrite": {
|
||||||
|
"1-parse":{
|
||||||
|
"text":"{12} Parsing", "title":"{x12} Parsing","type":"dialog","uri":"www/parser/tutorials/1-parse.md"
|
||||||
|
},
|
||||||
|
"license": {
|
||||||
|
"title": "MIT License",
|
||||||
|
"text": "license",
|
||||||
|
"type": "dialog",
|
||||||
|
"uri": "www/parser/about/license.md"
|
||||||
|
},
|
||||||
|
"source-code": {
|
||||||
|
"text": "Source Code",
|
||||||
|
"type": "redirect",
|
||||||
|
"url": "https://hiplab.mc.vanderbilt.edu/git/hiplab/parser.git"
|
||||||
|
},
|
||||||
|
"change-database":{
|
||||||
|
"title":"Change Database",
|
||||||
|
"text":"change database",
|
||||||
|
"type":"dialog",
|
||||||
|
"uri":"www/parser/tutorials/change-database.md"
|
||||||
|
},
|
||||||
|
"embed-in-code":{
|
||||||
|
"title":"embed in code","text":"{x12} Import Library","type":"dialog","uri":"www/parser/tutorials/embed-in-code.md"
|
||||||
|
},
|
||||||
|
"export-data":{"title":"Export Data","text":"Export Data","type":"dialog","uri":"www/parser/tutorials/export-data.md"},
|
||||||
|
"credit": {
|
||||||
|
"title": "{x12} Parser Credit",
|
||||||
|
"type": "dialog",
|
||||||
|
"uri": "www/parser/about/credit.html"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"footer": [
|
||||||
|
{
|
||||||
|
"text": "Health Information Privacy Laboratory"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"text": "Powered By - QCMS"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -0,0 +1,13 @@
|
|||||||
|
"""
|
||||||
|
|
||||||
|
"""
|
||||||
|
import transport
|
||||||
|
_QUERY = {
|
||||||
|
"missing_elements":{
|
||||||
|
transport.providers.SQLITE3:"select count(*) counts, date, json_extract(data,'$.element') element, json_extract(data,'$.anchor') qualifier from logs where action = 'missing-plugin' group by element, qualifier ",
|
||||||
|
transport.providers.MONGODB:{"mongo":{"aggregate":"x12logs"}},
|
||||||
|
}
|
||||||
|
}
|
||||||
|
def query(**_args):
|
||||||
|
_request = _args['request']
|
||||||
|
|
||||||
Loading…
Reference in new issue