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

Log error for ValueSet self-reference #1487

Open
mint-thompson opened this issue Jun 28, 2024 · 0 comments
Open

Log error for ValueSet self-reference #1487

mint-thompson opened this issue Jun 28, 2024 · 0 comments
Labels
good first issue Good for newcomers

Comments

@mint-thompson
Copy link
Collaborator

Transferred from internal JIRA issue originally created 2024-03-06.

A component rule on a ValueSet should not reference itself. If this happens, log an error and skip the rule.

Alias: SCT = http://snomed.info/sct

Profile: MyServiceReqeust
Parent: ServiceRequest
Title: "Radiotherapy Plan Prescription"
Description: "A Radiotherapy Plan Prescription is a request for radiotherapy treatment with a single treatment plan."
* category from MaxVS (extensible)

ValueSet: MaxVS
Title: "Category Code Max Value Set"
Description: "Category value set required to support backward compatibility by including an inactive SNOMED code"
* ^experimental = false
* include codes from valueset MaxVS
* SCT#108290001 "Radiation oncology AND/OR radiotherapy (procedure)" // this code is inactive  

In the above FSH, the rule * include codes from valueset MaxVS should cause an error and be skipped.

@mint-thompson mint-thompson added the good first issue Good for newcomers label Jul 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant