-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
headerLevel.js module throws TypeError exceptions #26
Comments
Hi @JohnWMay, You shouldn't have to change anything to get the module to work--we've been using the source file in question for the past 10 months without issue. A few questions:
|
@JohnWMay , is this still an issue? |
Hi. I can’t follow up with this issue, to give you a definite answer, as I was re-assigned to other work back then. John W. May From: Michael R. Bernstein [mailto:[email protected]] @JohnWMayhttps://github.com/JohnWMay , is this still an issue? — |
Hmm. No commits to this repo since February. Is it still being maintained? |
@webmaven we still maintain the repo, we just haven't done active development on it in a while. |
When parsing a document the gender and marital status are code array consisting of code and display name where headerLevel.js:24 (and other's) look for a string. So while using supplied json will work because gender object is not complete but only a string(display name), normal ccd parsed json will not. |
@sjpadgett I'm not quite sure what you're saying. Are you saying that when |
What i'm saying is that when a xml document is parsed the resolved json gender is an array of |
Also, I have dumped the item value at that location and indeed it is an array of name,code,code_system |
If anyone who is monitoring this repo has any tools that help populate the bb model for generating document such as empty json arrays or routines for doing so, I may be able to give something back to ya as I progress. |
Thanks jsachs, I've seen them and have a pretty good working knowledge of all the tools but I'm at the point of populating patient data to create documents and was wondering how others handle this. |
There are some sample documents at http://developers.amida-tech.com/document_model.html. Is this what you're looking for? |
The headerLevel.js module throws:
.../node_modules/blue-button-generate/lib/headerLevel.js:24
return input.substring(0, 1);
^
TypeError: undefined is not a function
as well as on line 36.
I was able to generate the XML version by changing "input" to "input.code" on each of these lines: 24, and 36. Is this accurate? It worked.
The text was updated successfully, but these errors were encountered: