fhir-works-on-aws-deployment icon indicating copy to clipboard operation
fhir-works-on-aws-deployment copied to clipboard

[Bug] Same Structure Defintion can be registered

Open kuma1416 opened this issue 2 years ago • 3 comments

Describe the bug

After a structure definition was registered, I tried to register same one. FHIR Works allowed it. I don't think FHIR specification allows to register duplicated structure definition because structure definition is uniquely identified by the URL.

To Reproduce Steps to reproduce the behavior:

  1. Making a structure definition
  2. Registering the structure definition
  3. One more

the sample of a structure definition. https://github.com/HealthDataWorks/fhir-ig-jp-eCheckup/blob/main/input-json/resources/StructureDefinition-jp-eCheckup-Observation.json

Expected behavior When I register the structure definition again, FHIR has to say 'an error' because FHIR has already the same structure definition.

Screenshots If applicable, add screenshots to help explain your problem.

Versions (please complete the following information):

  • commit 432d4a88e74c4bfec5b0374ee21f592aaebaef02

kuma1416 avatar Jun 28 '22 11:06 kuma1416

Thank you for creating this bug report. I'll create a ticket in our team's backlog.

SanketD92 avatar Jul 01 '22 15:07 SanketD92

Thank you for creating a ticket!

kuma1416 avatar Jul 06 '22 06:07 kuma1416

@kuma1416 When you "register the structure definition again" are you saying the id is the same or the canonical url (url element) is the same? I believe canonical urls may be duplicate--actually, duplicate canonicals have to be permitted in order to have multiple versions of the same struct def.

ElliotSilver avatar Sep 12 '22 17:09 ElliotSilver

This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take action. Please reach out if you have or find the answers we need so that we can investigate further.

github-actions[bot] avatar Jan 20 '23 17:01 github-actions[bot]