standardhealth / shr-es6-export

ES6 library for exporting SHR models to ES6 classes
Apache License 2.0
3 stars 0 forks source link

CIMPL6 Import #51

Closed cmoesel closed 5 years ago

cmoesel commented 5 years ago

Changes needed to support CIMPL6. The two most significant changes to the CIMPL6 model are:

To support the new concept primitive (and removal of the other code-ish classes), I created a Concept class that is output with (and used by) the generated code.

All unit tests should pass. For information on running w/ other required modules and CIMPL6 source see: https://github.com/standardhealth/shr-cli/pull/207

Marking as a DRAFT PR because all versions will need to be bumped to non-beta versions upon approval.

cmoesel commented 5 years ago

@dehall -- I've addressed your comments (well, the short-term ones anyway). We tried to shield most of the changes from the rest of the framework, but the replacement of CodeableConcept, Coding, and code with concept, as well as the removal of RefValue, was pretty much impossible to happen transparently. So... here we are.

It's worth noting that Mark has changed a lot of the base classes and such as well, so I don't think the grammar change is going to be the only challenge...