Skip to content
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

Populate Author #27

Open
sjpadgett opened this issue Apr 6, 2018 · 4 comments
Open

Populate Author #27

sjpadgett opened this issue Apr 6, 2018 · 4 comments

Comments

@sjpadgett
Copy link

I can't seem to get the Author or other headers to populate. I am using meta.ccda_header for templates, is this correct? Or could someone give an example of how to setup data model for header.

@jsachs
Copy link
Contributor

jsachs commented Apr 10, 2018

Could you give a few more details on your use case? You shouldn't have to do this to get Author to populate. Following the Usage instructions in the README should be sufficient.

@sjpadgett
Copy link
Author

I'm trying to generate the document header json arrays to populate and render the bb header to ccda. Use to be in previous release the header was taken from document arrays but now they have been moved to meta as meta.ccda_header. This I can not get to work. An example json of the header would go a long way. The BB document data model of header http://developers.amida.com/document_model.html no longer works. The content document sections work fine but it is the header I can't get to render. A json example meta model of a header would be great.

@jsachs
Copy link
Contributor

jsachs commented Apr 10, 2018

I'm actually having trouble identifying where the breaking change is that you are referencing, since this repo hasn't had a breaking change in over two years. Are you getting any error messages, or are you just getting an empty header section?

@sjpadgett
Copy link
Author

At some point the header model was moved from the main BB document model json tree to the meta data section in meta.ccda_header i.e headerLevel.js. How do I generate a header and what is the json model to populate the headers templates? This does not work.
"author": { "author": [ { "identifiers": [ { "identifier": "2.16.840.1.113883.4.6", "extension": "99999999" } ], "name": [ { "last": "Seven", "first": "Henry" } ], "address": [ { "street_lines": [ "1002 Healthcare Drive" ], "city": "Portland", "state": "OR", "zip": "99123", "country": "US" } ], "phone": [ { "number": "555-555-1002", "type": "work place" } ], "code": [ { "name": "Allopathic & Osteopathic Physicians", "code": "200000000X" } ] } ], "date_time": { "point": { "date": "2005-03-29T17:44:11.000Z", "precision": "second" } }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants