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

Double Definition Error on Inherited Slices #56

Closed
markkramerus opened this issue Dec 11, 2020 · 0 comments · Fixed by #60
Closed

Double Definition Error on Inherited Slices #56

markkramerus opened this issue Dec 11, 2020 · 0 comments · Fixed by #60
Labels
bug Something isn't working

Comments

@markkramerus
Copy link

I am getting the following error in the second step of round-tripping mCODE (FHIR to FSH back to FHIR):

error  Slice named conditionCode already exists on element Observation.component:alcoholAbuse.extension of CancerRelatedComorbidities
  File: C:\Users\mkramer\Documents\GitHub\mcode-gofsh\input\fsh\resources.fsh
  Line: 352

Here are the profiles generated by GoFSH for CancerRelatedComorbidities and its parent:

Profile:  ComorbiditiesParent
Parent: Observation
---snip---
* component.extension contains
    ComorbidConditionCode named conditionCode 0..* and
    ComorbidConditionReference named conditionReference 0..*
---snip---

Profile: CancerRelatedComorbidities
Parent: ComorbiditiesParent
---snip ---
* component contains
    alcoholAbuse 0..1 and ...
--- snip---
* component[alcoholAbuse].extension contains conditionCode 0..*
@markkramerus markkramerus changed the title Double Definition on Inherited Slices Double Definition Error on Inherited Slices Dec 11, 2020
@cmoesel cmoesel added added to backlog bug Something isn't working labels Dec 17, 2020
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.

2 participants