avoid crash for cmd file plan of care
Merge pull request #179 from amida-tech/afsin-generator-cms

avoid crash for cms file