scandihealth / lpr3-docs

https://scandihealth.github.io/lpr3-docs/
MIT License
11 stars 7 forks source link

LPR3 rule 5.108: is the diag.foedbarn.doed is missing in the validation? #249

Closed clausheinecke closed 5 years ago

clausheinecke commented 5 years ago

When we report a stillborn child we get error 5.108 saying that we have not registered a valid diagnosis from the table diagn.doed. But the diagnosis DP950 is in the diag.foedbarn.doed which should be a valid diagnosis for a stillborn child and should be reported as a Kontakttype DØD and priority=Akut. See text in the LPR3 vejledning: Kontakttypen for fødselskontakten ved dødfødsel er ’død’. Aktionsdiagnosen er DP950 ’Dødfødt barn’. Aktionsdiagnosen er trigger for resultatindberetningen ’fødselsindberetning barn’.

TueCN commented 5 years ago

Rule 5.108 seems to be implemented correctly according to the spec: image

The problem is that you are reporting an encounter with a type code in admin.konttype.doed, this triggers validation of rule 5.108, which checks that the aktionsdiagnose code is in diag.dod, which DP950 is not. Thus it produces a validation error.

I think there is a problem with either the way rule 5.108 as is defined in Logisk datamodel og indberetningsregler - Bilag 1 (PDF) or the fact that the SKS codes in diag.foedbarn.doed are not also in diag.dod.

I will raise the issue with SDS.

smunck commented 5 years ago

SDS will update the code list [diag.dod] in SKS to contain aktionsdiagnose DP950 (dødfødt). The update will be part of the ordinary SKS-update next week (between 10-14 dec).

clausheinecke commented 5 years ago

Hvad er nu næste skridt? Du har assigned problemet til mig – og hvad så?? /Claus Med venlig hilsen Claus Heinecke Systemforvalter LPR IT Systemforvaltning Koncern IT

Mobil: +45 24 98 28 58 Mail: cbhi@regionsjaelland.dkmailto:cbhi@regionsjaelland.dk Jabber: 75357@regionsjaelland.dkmailto:75357@regionsjaelland.dk Nørregade 54, 4100 Ringsted www.regionsjaelland.dkhttp://www.regionsjaelland.dk/ [Region Sjælland - vi er til for dig]http://intra.regionsjaelland.dk/RegionenPåTværs/Viertilfordig

Fra: Tue Carr Nørgård [mailto:notifications@github.com] Sendt: 10. december 2018 13:07 Til: scandihealth/lpr3-docs lpr3-docs@noreply.github.com Cc: Claus Bo Heinecke cbhi@regionsjaelland.dk; Assign assign@noreply.github.com Emne: Re: [scandihealth/lpr3-docs] LPR3 rule 5.108: is the diag.foedbarn.doed is missing in the validation? (#249)

Assigned #249https://github.com/scandihealth/lpr3-docs/issues/249 to @clausheineckehttps://github.com/clausheinecke.

— You are receiving this because you were assigned. Reply to this email directly, view it on GitHubhttps://github.com/scandihealth/lpr3-docs/issues/249#event-2015717222, or mute the threadhttps://github.com/notifications/unsubscribe-auth/Arg0y03eNumYm3AvK2tUtrvF1h6vhBTvks5u3k5XgaJpZM4ZCi2k.

TueCN commented 5 years ago

@clausheinecke next step is to wait for the SKS code lists to be updated as stated by https://github.com/scandihealth/lpr3-docs/issues/249#issuecomment-445165729

When the list has been updated, you should no longer see a validation error from rule 5.108

Julie-Marie commented 5 years ago

This is tested and passed. Thank you