blue-button-meta
Advanced tools
Comparing version 0.0.1 to 0.1.0
82
index.js
@@ -0,81 +1,7 @@ | ||
var CCDA = require("./lib/CCDA/index.js"); | ||
//CCDA metadata stuff | ||
var meta = {}; | ||
meta.CCDA = CCDA; | ||
//General Header Constraints | ||
var meta = {"document" : { | ||
"name": "CCDA", | ||
"templateId":"2.16.840.1.113883.10.20.22.1.1" | ||
}, | ||
//DOCUMENT-LEVEL TEMPLATES | ||
"templates":[ | ||
{ | ||
"name":"Consultation Note", | ||
"templateId":"2.16.840.1.113883.10.20.22.1.4" | ||
}, | ||
{ | ||
"name":"Continuity Of Care Document", | ||
"templateId":"2.16.840.1.113883.10.20.22.1.2" | ||
}, | ||
{ | ||
"name":"Diagnostic Imaging Report", | ||
"templateId":"2.16.840.1.113883.10.20.22.1.5" | ||
}, | ||
{ | ||
"name":"Discharge Summary", | ||
"templateId":"2.16.840.1.113883.10.20.22.1.8" | ||
}, | ||
{ | ||
"name":"History And Physical Note", | ||
"templateId":"2.16.840.1.113883.10.20.22.1.3" | ||
}, | ||
{ | ||
"name":"Operative Note", | ||
"templateId":"2.16.840.1.113883.10.20.22.1.7" | ||
}, | ||
{ | ||
"name":"Procedure Note", | ||
"templateId":"2.16.840.1.113883.10.20.22.1.6" | ||
}, | ||
{ | ||
"name":"Progress Note", | ||
"templateId":"2.16.840.1.113883.10.20.22.1.9" | ||
}, | ||
{ | ||
"name":"Unstructured Document", | ||
"templateId":"2.16.840.1.113883.10.20.21.1.10" | ||
}, | ||
], | ||
//Sections | ||
"sections":[ | ||
{"name": "Allergies", | ||
"templateIds": ['2.16.840.1.113883.10.20.22.2.6', '2.16.840.1.113883.10.20.22.2.6.1'] | ||
}, | ||
{"name": "Encounters", | ||
"templateIds": ['2.16.840.1.113883.10.20.22.2.22', '2.16.840.1.113883.10.20.22.2.22.1'] | ||
}, | ||
{"name": "Immunizations", | ||
"templateIds": ["2.16.840.1.113883.10.20.22.2.2", "2.16.840.1.113883.10.20.22.2.2.1"] | ||
}, | ||
{"name": "Medications", | ||
"templateIds": ["2.16.840.1.113883.10.20.22.2.1", "2.16.840.1.113883.10.20.22.2.1.1"] | ||
}, | ||
{"name": "Problems", | ||
"templateIds": ["2.16.840.1.113883.10.20.22.2.5.1"] | ||
}, | ||
{"name": "Procedures", | ||
"templateIds": ['2.16.840.1.113883.10.20.22.2.7', '2.16.840.1.113883.10.20.22.2.7.1'] | ||
}, | ||
{"name": "Results", | ||
"templateIds": ['2.16.840.1.113883.10.20.22.2.3', '2.16.840.1.113883.10.20.22.2.3.1'] | ||
}, | ||
{"name": "Vital Signs", | ||
"templateIds": ["2.16.840.1.113883.10.20.22.2.4","2.16.840.1.113883.10.20.22.2.4.1"] | ||
}, | ||
{"name": "Social History", | ||
"templateIds": ["2.16.840.1.113883.10.20.22.2.17"] | ||
} | ||
]} | ||
//Good source http://cdatools.org/SectionMatrix.html | ||
//and http://cdatools.org/ClinicalStatementMatrix.html | ||
module.exports = exports = meta; |
{ | ||
"name": "blue-button-meta", | ||
"version": "0.0.1", | ||
"version": "0.1.0", | ||
"description": "Metadata about Blue Button format (CCDA) internal structures", | ||
@@ -28,3 +28,9 @@ "main": "index.js", | ||
}, | ||
"homepage": "https://github.com/amida-tech/blue-button-meta" | ||
} | ||
"homepage": "https://github.com/amida-tech/blue-button-meta", | ||
"devDependencies": { | ||
"should": "3.1.x", | ||
"assert": "1.1.x", | ||
"mocha": "1.17.x", | ||
"chai": "1.8.x" | ||
} | ||
} |
@@ -5,1 +5,24 @@ blue-button-meta | ||
Metadata about Blue Button format (CCDA) internal structures | ||
##Usage | ||
``` javascript | ||
var CCDA = require("blue-button-meta").CCDA; | ||
//CCDA Document OID | ||
console.log(CCDA.document.templateId); | ||
//list of CCDA Templates and their OIDs | ||
console.log(CCDA.templates); | ||
//list of CCDA Sections and their OIDs | ||
console.log(CCDA.sections); | ||
//list of CCDA Clinical Statements and their OIDs | ||
console.log(CCDA.statements); | ||
//list of CCDA constraints | ||
console.log(CCDA.constraints.templates); | ||
console.log(CCDA.constraints.sections); | ||
``` |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
66061
12
2052
28
4
1