projectcypress/health-data-standards — pull request #28 by nonlinearity (2013-02-13 16:06:35+00:00)
Title: QRDA Importer Refactoring

EntryPackage object created - encapsulates all code for creating a complete QRDA entry with HQMF oid and proper status
Fixed an error in the JSON HQMF lookup file (wrong OID)
Added assertions for status codes and hqmf oids to all QRDA import unit tests
Rewrote external Cat1 importer class test cases to leverage EntryPackage object
Refactored the PatientImporter class (no longer instantiating importers in constructor as they need to be passed the XML fragment)
Wrote test case for care goals (hand-coded test XML fragment using QRDA spec)