-
Notifications
You must be signed in to change notification settings - Fork 1
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
Provenance agent entity #166
Conversation
Make the Provenance profile more generic, and add a separate profile for information custodianship (rekisterinpitäjä).
To keep track of how this was tested. Not to be included into the IG.
This reverts commit daa3cc7.
Just saving a snapshot before changing direction. Exploring whether the organization type should still be in `.agent.role`...
Also add some identifier types. And add .entity.agent as an example for the occupational healthcare.
I did not find a good way how to explain why to have these in the examples. The original idea was to illustrate how to make it more clear which agent the registry is relevant to, in case there would be more agents present in the same Provenance instance. This was discussed briefly with Kela, but I did not have good enough of a concept in my mind to be able to explain it.
The name custodian would be easily be mistaken to represent the custodian of a patient. Also, add some minor editorial changes.
Without the ugly hack the asterisks look bad on the profile listing page.
@mikajylha, ready for final review. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One error that would need to be fixed. One small term issue.
Good work!
I see following issues with this:
entity.what is slightly mis-using indetifier type, to point to a code. Alternative would require use of extensions. Trade-off between a slight mis-use and another extension is reasonably balanced here.
The definition of the code system KanTa-palvelut - Potilasasiakirjan rekisteritunnus is document-based and doesnt seem to be a perfect fit for entity.what. However the contents of the codesystem and the general spirit fit well.
input/pagecontent/StructureDefinition-fi-base-information-custodian-intro.md
Outdated
Show resolved
Hide resolved
input/fsh/informationCustodian.fsh
Outdated
* ^definition = "The status of the healthcare provider (*eArkisto - Rekisteripitäjän laji*), i.e., whether the provider is a public or private actor. The value for the identifier SHALL be 1 for public, 2 for private." | ||
* ^short = "Public or private occupational healthcare provider" | ||
* agent[custodian].who.identifier.type = http://terminology.hl7.org/CodeSystem/v2-0203#PRN | ||
* agent[custodian].who.identifier.system = "urn:oid:1.2.246.537.6.202" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is incorrect. Custodians are not in SOTE organisaatiorekisteri, they are in eArkisto - Rekisterinpitäjärekisteri
Examples need to be updated also.
(THL Codeserver has organization registries for different purposes, at least SOTE-Organisaatio, Rekisterinpitäjä and Apteekki).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Argh!
Any idea whether the example should use 1.2.246.10.32213086.19.2
Pirkanmaan hyvinvointialueen arkistonmuodostaja or 1.2.246.10.32213086.19.0
Pirkanmaan hyvinvointialueen rekisterinpitäjä?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mikajylha eArkisto - Rekisterinpitäjärekisteri seems to only include public sector organizations. How should the identifier system be expressed for the private organization?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Kanta Cda Header docs (2.2.17 ClinicalDocument.custodian – asiakirjan rekisterinpitäjä) :
Julkiset toimijat löytyvät eArkisto-Rekisterinpitäjärekisteristä. Yksityisten toimijoiden tietoja ei viedä lainkaan rekisterinpitäjärekisteriin. Rekisterinpitäjätietona käytetään yksityisten toimijoiden osalta palvelunantajatietoa (SOTE-organisaatiorekisterin Sektori 2 Yksityinen palvelunantaja, Sektori 3 Yksityinen itse ilmoitettu yksikkö tai koodiston Terveydenhuollon itsenäiset ammatinharjoittajat toimija). SOTE-organisaatiorekisterin osalta saa rekisterinpitäjänä käyttää vain terveydenhuollon toimintayksikköä.
That would mean that we need both code systems.
So for private the exact rule would be that when private then use SOTE organisaatiorekisteri and when public then use Rekisterinpitäjärekisteri.
Even further constraints could be introduced for private sector (regarding rule for "Terveydenhuollon toimintayksikkö only), that means this flag:
. ... but I'm sure we dont need to go that deep :) (writing here just for background).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Julkiset toimijat löytyvät eArkisto-Rekisterinpitäjärekisteristä. Yksityisten toimijoiden tietoja ei viedä lainkaan rekisterinpitäjärekisteriin. Rekisterinpitäjätietona käytetään yksityisten toimijoiden osalta palvelunantajatietoa (SOTE-organisaatiorekisterin Sektori 2 Yksityinen palvelunantaja, Sektori 3 Yksityinen itse ilmoitettu yksikkö tai koodiston Terveydenhuollon itsenäiset ammatinharjoittajat toimija). SOTE-organisaatiorekisterin osalta saa rekisterinpitäjänä käyttää vain terveydenhuollon toimintayksikköä.
Pitääkö siis tehdä kaksi vaihtoehtoa, julkisille toimijoille system
olisi tuo rekisterinpitäjärekisteri ja yksityisille sote-organisaatiorekisteri?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Itse asiassa kolme, mukaan myös 1.2.246.537.6.203, Valvira - Terveydenhuollon itsenäiset ammatinharjoittajat
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any idea whether the example should use 1.2.246.10.32213086.19.2 Pirkanmaan hyvinvointialueen arkistonmuodostaja or 1.2.246.10.32213086.19.0 Pirkanmaan hyvinvointialueen rekisterinpitäjä?
Examples should point to_Rekisterinpitäjä_, thats most definitely the right one. (I dont understand the concept of Arkistonmuodostaja, its removed from kanta spec too (see 2.2.21.1 ClinicalDocument.participant – arkistonmuodostaja for "proof" that its no longer in use. It may have other purposes, but there shouldn't be any need for it in FHIR...). But I don't think we need to explicitly limit this to a specific hiearchy level...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pitääkö siis tehdä kaksi vaihtoehtoa, julkisille toimijoille system olisi tuo rekisterinpitäjärekisteri ja yksityisille sote-organisaatiorekisteri?
Kyllä.
Itse asiassa kolme, mukaan myös 1.2.246.537.6.203, Valvira - Terveydenhuollon itsenäiset ammatinharjoittajat
En löydä tätä CDA Header dokkarista. @mikatuomainen Osaatko kommentoida voiko tätä käyttää rekisterinpitäjänä?
The more appropriate GDPR term
The identifier may come from three different registers, depending on the type of the information custodian.
1.2.246.537.6.203 was new information for me. Using it seems consistent, even if its missing from Kanta CDA Header spec. |
I wasn't able to find a way to target the slicing properly and definitely otherwise. This feels more logical too.
@mikajylha I did find the code set 1.2.246.537.6.203 through the CDA Header spec, in a way.
|
A proposal for the information custodian, expressed in both Provenance.who and Provenance.what.