crs4 / flatehr

tool for generating openEHR compositions from other formats
GNU General Public License v3.0
14 stars 1 forks source link

Generated config file does not properly include "" #46

Closed abebehailu closed 2 years ago

abebehailu commented 2 years ago

FlatEHR Version: 1.1.0

Running the following command flatehr generate skeleton web_template.json on your test json generates a config file which does not properly set "" around suffix keys.

Result:

...
  ctx/category: #  required
    maps_to: []
    suffixes:
      |code:
...

Expected:

...
  ctx/category: #  required
    maps_to: []
    suffixes:
      "|code":
...
mdrio commented 2 years ago

Hi, thanks for reporting the issue.