Created a demo CLI project, enabling the testing of the generated cms measures resources against test cases. (Currently only a subset of resources is used)
Command lines switches:
-l, --library : (Required) The name of the CMS measure containing the library name and version e.g. AlaraCTFHIR-0.1.001
-t ,--testCase: (Required) The name of the test case. Test cases are found in the subdirectory Measures\{library}\TestCases\{testCase} e.g. 1d5593d0-f513-46f6-8c2d-538685a61185 (see screenshot below)
-r, --resourceDirectory - (Optional) The override of the resource directory name. It is currently configured to $(SolutionDir)LibrarySets\\CMS\\Resources\. If it is left unset, then it will get it from the Measures\{library}\Resources
-a, --assemblySource - (Optional) Where to source the library assembly from. It can load the assembly from the resource files -a Resource, or run it from the measures-cms project -a Project, which is handy if one needs to step through the code while debugging. The default behaviour is to get it from the Resource.
Note: The project still uses a copy of the DirectedGraph code, which will eventually be replaced by a FhirResourceSet type (similar to the LibrarySet).
ℹ️Work for issue #328
Created a demo CLI project, enabling the testing of the generated cms measures resources against test cases. (Currently only a subset of resources is used)
Command lines switches:
-l
,--library
: (Required) The name of the CMS measure containing the library name and version e.g. AlaraCTFHIR-0.1.001-t
,--testCase
: (Required) The name of the test case. Test cases are found in the subdirectoryMeasures\{library}\TestCases\{testCase}
e.g.1d5593d0-f513-46f6-8c2d-538685a61185
(see screenshot below)-r
,--resourceDirectory
- (Optional) The override of the resource directory name. It is currently configured to$(SolutionDir)LibrarySets\\CMS\\Resources\
. If it is left unset, then it will get it from theMeasures\{library}\Resources
-a
,--assemblySource
- (Optional) Where to source the library assembly from. It can load the assembly from the resource files-a Resource
, or run it from the measures-cms project-a Project
, which is handy if one needs to step through the code while debugging. The default behaviour is to get it from the Resource.Note: The project still uses a copy of the DirectedGraph code, which will eventually be replaced by a FhirResourceSet type (similar to the LibrarySet).