@cmoesel cmoesel released this Sep 13, 2018

Assets 2

Version 5.11.0 includes the following changes:

  • Support for importing CIMCORE JSON instead of CIMPL source
    • Example: node . -i /path/to/folder/containing/cimcore
  • Logical models fixes:
    • Choices should have names ending with [x], but collapsing sometimes caused this not to be the case.
    • Collapsing elements that indicated a specific selection in a choice caused incorrectly formed ids and paths.
    • Models were sometimes generated multiple times, which is inefficient, but in some cases also caused inconsistent results.
    • Card constraints should be applied first in logical models because other constraints may operate on or modify the card.

@cmoesel cmoesel released this Aug 31, 2018 · 11 commits to master since this release

Assets 2

Version 5.10.0 is a significant release, reflecting many changes made to support the HL7 FHIR September ballot process:

  • Initial ADL/BMM exporter
    • Disabled by default, use the -a or --adl flags to enable
    • Requires provenanceInfo to be added to config.json file:
    "provenanceInfo": {
        "leadAuthor": {
            "name":"Example Author",
            "organization": "Example Publisher",
            "email": "example@example.org"
        },
        "license": "Creative Commons CC-BY <https://creativecommons.org/licenses/by/3.0/>",
        "copyright": "Copyright (c) The Example Organization <http://example.org>"
    }
    
  • Text Importer:
    • Log an error when duplicate definitions are found (same name in same namespace)
    • Allow sub-elements to refer to referenced fields without the ref(...) when constraining them
  • CIMCORE
    • Fix an issue with creating CIMCORE output directories on Windows machines
    • Fix support for exporting CIMCORE when there are no mapping files
    • Improve support for exporting CIMCORE when there are mappings to multiple targets
  • ModelDoc
    • Do not create links from value set URIs (as they often are not resolvable)
    • Escape < and > in descriptions when generating markdown
  • FHIR IG config:
    • Support for multiple pages of documentation by putting them in a folder and referencing the folder via config.implementationGuide.indexContent
    • Add support for "hiding" supporting profiles/models/extensions/valuesets/codesystems via config.implementationGuide.primarySelectionStrategy.hideSupporting
      • Primary extensions are defined as only those extensions directly used by primary profiles
      • Primary value sets and code systems are those that are directly referenced by primary profiles and extensions or are defined in the primary namespace
    • Allow fixed-business-version to be controlled by config.implementationGuide.version
    • Allow npm-name to be controlled by config.implementationGuide.npmName
    • Allow history link to be controlled by config.implementationGuide.historyLink
    • Fix incorrect casing on license
    • Add version for uscore dependency (1.0.1)
  • FHIR IG rendering:
    • Update to latest IG Publisher jar
    • Improve display of listing pages when there is nothing to list
    • Fix empty descriptions from being rendered as 'undefined'
    • Remove the download link for the full IG
    • Move copyright symbol in footer
    • Remove pub tools version number from footer
  • FHIR Profiles:
    • Improve handling of slices inside of slices
    • Support type constraints on elements inside extensions
    • Support direct IncludesType constraints on extensions
    • Create a code system to define the codes used by profiles on Basic (HL7/us-breastcancer#6)
    • Fix type constraints on choices to properly narrow choices in FHIR profile element
    • Fix specialized types to use base type when constraining choices (HL7/us-breastcancer#11)
    • Fix incorrect constraint merging logic (standardhealth/shr_spec#73)
    • Fix incorrect slicing base on extensions
    • Fix bug which could potentially cause infinite loops
    • Fix to better identify no-diff profiles (and not create unnecessary differentials) (standardhealth/shr-cli#116)
    • Don't inherit examples from FHIR resources when creating profiles (HL7/us-breastcancer#3)
    • Always trim description and short fields to remove trailing spaces
  • FHIR Logical Models:
    • Create "compact" models that eliminate unecessary levels of indirection
    • Fix duplicate Codings (HL7/us-breastcancer#5)
Pre-release
Pre-release

@cmoesel cmoesel released this Aug 17, 2018

Assets 2

Version 5.10.0 Beta 8 introduces the following changes:

  • Initial support for ADL/BMM export
  • FHIR: Compacts logical model choices when a single value is chosen
  • FHIR: Improves display of VS/CS/Ext pages when there are no items to show
  • FHIR: Removes the "Full IG [ZIP]" link from downloads
Pre-release

@cmoesel cmoesel released this Aug 16, 2018

Assets 2

Version 5.10.0 Beta 7 introduces the following changes:

  • FHIR IG: Only displays primary value sets and code systems in IGs when hideSupporting is true
    • Primary value sets and code systems are those that are directly referenced by primary profiles and extensions or are defined in the primary namespace
  • FHIR IG: Adds support for direct "includes type" constraints on elements that get mapped to extensions
    • Nested "includes type" constraints on extensions is not yet supported (will emit a warning) -- but this condition does not currently happen in any SHR-related definitions
  • FHIR IG: Fixes bug that caused extra slicing directives in extensions
  • FHIR IG: Fixes bug that rendered the word "undefined" when element descriptions were empty
  • Filtering: Fixes bug that cause some necessary elements to be filtered out
Pre-release

@cmoesel cmoesel released this Aug 16, 2018

Assets 2

Version 5.10.0 Beta 6 introduces the following changes:

  • FHIR IG: Compact logical models: Simplify models by compacting value-only models to their values when used as fields
  • FHIR IG: Support multiple custom pages and images (see standardhealth/shr-fhir-export#100 for details)
  • FHIR IG: Fix issue w/ specialized types when mapped to choices (HL7/us-breastcancer#11)
  • FHIR IG: Fix issue w/ trailing spaces on short and display
  • FHIR IG: Update IG Publisher to 2018-08-16 build
  • ModelDoc: Escape < and > in descriptions
Pre-release

@cmoesel cmoesel released this Aug 14, 2018

Assets 2

The 5.10.0 Beta 5 release contains the following updates and fixes to the FHIR Exporter:

  • If hideSupporting is true, only primary extensions will be shown. Primary extensions are defined as only those extensions directly used by primary profiles. (#99)
  • De-duplicates Coding in logical models for certain edge cases (HL7/us-breastcancer#5)
  • Doesn't copy (possibly irrelevant) examples from the base spec into the profiles (HL7/us-breastcancer#3)
  • Adds the missing code system for types profiled on Basic (HL7/us-breastcancer#6)
  • Fixes case where sometimes incorrect constraints are applied from a parent (standardhealth/shr_spec#73)
  • Fixes case where type constraints were dropped when applied to an extension from a profile
  • Updated igpublisher.jar to daily build from 2018-08-13

It also contains the following change to the ModelDoc exporter:

  • Value Set URLs are no longer linked since Value Set URLs are not guaranteed to resolve (and often don't)
Pre-release

@cmoesel cmoesel released this Aug 8, 2018

Assets 2

This beta release includes the following updates:

  • Fixes an issue with creating CIMCORE output directories on Windows machines
  • Updates the igpublisher.jar based on the August 7, 2018 build. This addresses some issues in the publishing tool.
Pre-release

@cmoesel cmoesel released this Aug 6, 2018

Assets 2

This beta release contains fixes in preparation for the September 2018 FHIR ballot. Changes since Beta 2 include:

  • Properly support slices that are nested in slices
  • Allow sub-elements to refer to referenced fields without the ref(...) when constraining them

The grammar doesn't allow some constraints (like type constraints) to be applied when the left-hand side is a ref (e.g., ref(B) is type SubB violates the grammar). For this reason, sub-elements must apply constraints to ref fields as if they're not references (instead of ref(B) is type SubB, simply B is type SubB). Prior to this update, the latter would produce an error (since B is not a ref in the constraint phrase) -- but now it is allowed and properly understood as inheriting the ref-ness.

Pre-release

@cmoesel cmoesel released this Jul 23, 2018

Assets 2

This beta release contains fixes in preparation for the September 2018 FHIR ballot. Changes since Beta 1 include:

  • Fixed support for exporting CIMCORE when there are no mapping files
  • Improved support for exporting CIMCORE when there are mappings to multiple targets
  • Option to hide "supporting" profiles and logical models via the config parameter: implementationGuide.primarySelectionStrategy.hideSupporting.

For example:

"implementationGuide": {
  "npmName": "example",
  "version": "0.1.0",
  "includeLogicalModels": true,
  "includeModelDoc": true,
  "indexContent": "exampleIndexContent.html",
  "primarySelectionStrategy": {
    "strategy": "namespace",
    "primary": ["shr.example"],
    "hideSupporting": true
  }
},
Pre-release

@cmoesel cmoesel released this Jul 20, 2018

Assets 2

This beta release contains fixes in preparation for the September 2018 FHIR ballot. It uses the 5.7.0-beta.1 version of shr-fhir-export, which includes the following changes:

  • New config.json parameters:
    • implementationGuide.npmName: controls the npm-name in ig.json
    • implementationGuide.version: controls the fixed-business-version in ig.json
    • implementationGuide.historyLink: if present, will add a "History" link (with its value) in the navigation
  • Additional fixes to generated ig.jsonFix
    • incorrect casing on license
    • add version for uscore dependency
  • Fix some cases where no-diff profiles were being generated anyway
  • Fix type constraints on choices to properly narrow the choice
  • Update the igpublisher.jar to a recent build