Skip to content

Commit

Permalink
check and fix data inconsistency
Browse files Browse the repository at this point in the history
  • Loading branch information
ashaban committed Oct 27, 2020
1 parent 8bd2931 commit 13cbe2b
Show file tree
Hide file tree
Showing 3 changed files with 509 additions and 96 deletions.
7 changes: 4 additions & 3 deletions exampleUsage.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,13 @@ let caching = new CacheFhirToES({
ESBaseURL: 'http://localhost:9200',
ESUsername: '',
ESPassword: '',
ESMaxCompilationRate: '10000/1m',
ESMaxCompilationRate: '60000/1m',
FHIRBaseURL: 'http://localhost:8081/hapi4/fhir',
FHIRUsername: '',
FHIRPassword: '',
relationshipsIDs: ["ihris-es-report-mhero-send-message"], //if not specified then all relationships will be processed
reset: true
// relationshipsIDs: ["ihris-es-report-mhero-send-message"], //if not specified then all relationships will be processed
relationshipsIDs: ["testgroup"], //if not specified then all relationships will be processed
reset: false
})
caching.cache().then(() => {
console.log('Done')
Expand Down
12 changes: 8 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "fhir2es",
"version": "1.3.0",
"version": "2.0.0",
"description": "Reads and caches fhir data to elasticsearch",
"main": "reports.js",
"scripts": {
Expand All @@ -11,19 +11,23 @@
"url": "git+https://github.com/intrahealth/fhir2es.git"
},
"keywords": [
"fhir to elasticsearch",
"fhir2es",
"fhir",
"elasticsearch"
"elasticsearch",
"elasticsearch caching"
],
"author": "Ally Shaban and Luke Duncan",
"author": "Ally Shaban",
"license": "ISC",
"bugs": {
"url": "https://github.com/iHRIS/fhir2es/issues"
"url": "https://github.com/intrahealth/fhir2es/issues"
},
"homepage": "https://github.com/intrahealth/fhir2es",
"dependencies": {
"async": "^3.2.0",
"axios": "^0.19.2",
"fhir": "^4.7.3",
"fhirpath": "^2.6.2",
"lodash": "^4.17.15",
"moment": "^2.27.0",
"urijs": "^1.19.2",
Expand Down
Loading

0 comments on commit 13cbe2b

Please sign in to comment.