Skip to content
This repository has been archived by the owner on Oct 17, 2019. It is now read-only.

6.8.0

Latest
Compare
Choose a tag to compare
@cmoesel cmoesel released this 20 Sep 21:02
· 4 commits to master since this release

Version 6.8.0 includes the following changes:

  • New logging format that is easier to read and contains suggestions to fix common errors.
  • Authors can now fix date, dateTime, instant, and time values.
  • Improved SearchParameters page in FHIR IGs (w/ param code, resource, type, and description).
  • New top-level Examples page in FHIR IGs that lists all examples in the IG w/ their resource type and profile.
  • The shr.base.Entry class is no longer required. Support for entry properties (ids and types) is now built in.
  • CIMCORE JSON output has been deprecated.
  • Bug fixes

New Logging Format

The new logging format displays logs and their metadata in a more structured, easier-to-read format. In addition, when a suggested fix is available, it will be displayed to the user.

image

If users wish to reduce the number of logs shown, the -d or --deduplicate flag can be used to suppress errors when the same error has occurred more than 10 times.

image

Fixing date, dateTime, instant, and time values

Fixing date, dateTime, instant, and time values is done the same way as fixing string values. For example:

Element:    DateElement
Value:      date = "1996-11-22"

The format of the date/dateTime/instant/time must follow the formats defined by FHIR here.

Improved SearchParameters page and new Examples page

Users do not need to do anything additional to get the improved SearchParameters page or the new Examples page. As long as their IG contains SearchParameter definitions and/or examples (and the config points to them), these pages will be automatically generated.

Search Parameters

image

Examples

image

Removal of shr.base.Entry

Prior versions of the SHR CLI required a shr.base.Entry class to be defined. This is no longer necessary. If possible, users should remove the shr.base.Entry definition (and the corresponding ShrId, EntryId, and EntryType definitions) if they do not reference them elsewhere.

This results in changes to the output of the JSON Schema exporter and ES6 class generator. The JSON schemas use a new builtin schema definition called Entry. The ES6 classes use a new built-in class called EntryInfo -- and the shrId, entryId, and entryType properties have been simplified to be strings.