Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SUSHI crashes if you try to put extensions on pages in sushi-config.yaml #1094

Closed
cmoesel opened this issue Jun 1, 2022 · 0 comments · Fixed by #1102
Closed

SUSHI crashes if you try to put extensions on pages in sushi-config.yaml #1094

cmoesel opened this issue Jun 1, 2022 · 0 comments · Fixed by #1102
Labels
bug Something isn't working

Comments

@cmoesel
Copy link
Member

cmoesel commented Jun 1, 2022

Apparently you can put FMM status on pages in an IG. If you try to do this, however, SUSHI crashes and prints out a usage statement.

To reproduce, add this in your sushi-config.yaml:

pages:
  index.md:
    title: Example Home
    extension:
      - url: http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status
        valueCode: trial-use
      - url: http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm
        valueInteger: 3

If you run SUSHI, it will crash. If you delete or comment out the extension parts, it runs fine.

Expected behavior: Generate an IG JSON with those extensions at ImplementationGuide.definition.page[0].extension.

See: https://chat.fhir.org/#narrow/stream/215610-shorthand/topic/FMM.20and.20standards.20status/near/284475473

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant