Comments (3)
I agree that codes should be parsed consistently, lots of benefits there, but I'm not sure what you mean about by giving the code a property name. The structure currently looks like:
{
"name": "CBC WO DIFFERENTIAL",
"code": "43789009",
"code_system": "2.16.840.1.113883.6.96",
"code_system_name": "SNOMED CT",
Are you suggesting something more like this?
{
"label": "CBC WO DIFFERENTIAL",
"code": {
"code": "43789009",
"code_system": "2.16.840.1.113883.6.96",
"code_system_name": "SNOMED CT",
},
Or would you drop code_system
and code_system_name
entirely?
{
"label": "CBC WO DIFFERENTIAL",
"code": "43789009",
from bluebutton.js.
We most certainly need code_system
and/or a standardized code_system_name
-- otherwise the codes are incomplete. What I was thinking about was more like your code: {}
example. Although rather than calling it code, I'd give it a meaningful property like
"labPanelName": {
"label": "CBC",
"code": "43789009",
"code_system": "2.16.840.1.113883.6.96",
"code_system_name": "SNOMED CT",
"translations": [{}, {}, ..]
},
"date": "2013-04-04", ...
the idea thought would be in bb.js
there's a common function parseCode
-ish for picking a code out the XML (and translating to JSON) for any resource, rather than repeating the same steps for every resource.
from bluebutton.js.
I've added this to the list of JSON to review. I'm working on a PR to add a lib/ccda/codes.js
that all CCDA codes would be sent to and parsed consistently.
from bluebutton.js.
Related Issues (20)
- Patient Address - Street/Apt HOT 4
- Past Medical History - "History of Past Illness" HOT 4
- Encounter Provider HOT 1
- Procedure Specimen always null HOT 1
- Relies on <?xml to choose parser HOT 1
- insurance HOT 2
- 'encounterParticipant' is missing from parser under 'encompassingEncounter'
- TypeError: undefined is not a function HOT 2
- Seeing sample CCDA observation not picking up text HOT 3
- Multiple template Id's (C32 & CCDA) in header cause parsing to fail
- <patientRole> ID and SSN should have real data elements not fake values HOT 1
- Question: Removing hard-coded OIDs in entry population functions HOT 3
- Enhancement: Generalized "code" capture with translations HOT 2
- bluebuttonjs.com has expired HOT 1
- CCD Generator does not work at all HOT 4
- CCD Generator does not work at all
- Providing document type by hand
- religiousAffiliationCode does not work without displayName HOT 1
- Blue-Button doesn't parse through all of the Telecom use cases HOT 5
- In Document Author section the assigned person and representedOrganization is not handled
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bluebutton.js.