Skip to content

Fix DkCoreProfessionGroupCodes: resolve non-unique code 5176, sync with current autorisationsregister - #225

Open
jkiddo with Copilot wants to merge 2 commits into
masterfrom
copilot/fix-missing-uniqueness-profession-group
Open

Fix DkCoreProfessionGroupCodes: resolve non-unique code 5176, sync with current autorisationsregister#225
jkiddo with Copilot wants to merge 2 commits into
masterfrom
copilot/fix-missing-uniqueness-profession-group

Conversation

Copilot AI commented Jul 17, 2026

Copy link
Copy Markdown

Code 5176 in DkCoreProfessionGroupCodes was non-unique in the autorisationsregister — it mapped to both "Kontaktlinseoptiker" and "Optometrist". A previous workaround introduced artificial codes 5176a/5176b. The upstream register (now at autregwebservice.stps.dk) has since been corrected, making the workaround obsolete.

Changes to input/fsh/codeSystems.fsh

  • Remove #5176a "Kontaktlinseoptiker" and #5176b "Optometrist" — no longer present in the register
  • Update #4498 from "Optiker" to "Optiker og Optometrist" — profession group was merged upstream
  • Add #7150 "Psykolog" — new entry in the current register
  • Update ^count from 2120
  • Update description: remove the workaround note; update source URL from autregwebservice.sst.dk to autregwebservice.stps.dk
-Description: "...derived from http://autregwebservice.sst.dk/autregservice.asmx/GetAllProfessionGroups. Code (5176) was not uniqe, and have been converted to 5176a and 5176b"
+Description: "...derived from https://autregwebservice.stps.dk/autregservice.asmx/GetAllProfessionGroups"
-* ^count = 21
+* ^count = 20
-* #5176a "Kontaktlinseoptiker"
-* #4498 "Optiker"
-* #5176b "Optometrist"
+* #4498 "Optiker og Optometrist"
+* #7150 "Psykolog"

Copilot AI changed the title [WIP] Fix missing uniqueness in profession group in AutoristationsRegister Fix DkCoreProfessionGroupCodes: resolve non-unique code 5176, sync with current autorisationsregister Jul 17, 2026
Copilot AI requested a review from jkiddo July 17, 2026 14:07
@jkiddo
jkiddo marked this pull request as ready for review July 17, 2026 14:13

@christiangasser-lakeside christiangasser-lakeside left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No other comments :-)

Comment thread input/fsh/codeSystems.fsh
Id: DkCoreProfessionGroupCodes
Title: "DK Profession Group Codes"
Description: "DK health ProfessionGroup codes as defined by https://www.retsinformation.dk/eli/lta/2019/731, and derived from http://autregwebservice.sst.dk/autregservice.asmx/GetAllProfessionGroups. Code (5176) was not uniqe, and have been converted to 5176a and 5176b"
Description: "DK health ProfessionGroup codes as defined by https://www.retsinformation.dk/eli/lta/2019/731, and derived from https://autregwebservice.stps.dk/autregservice.asmx/GetAllProfessionGroups"

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Update retsinformation to latest: https://www.retsinformation.dk/eli/lta/2024/1008

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Missing uniqueness in profession group in AutoristationsRegister

3 participants