Information
This page is meant for documentation of CPR data on the CPR integration to Serviceplatformen
Available data
KOMBIT has supplied Mogens Kjeldsen (Unlicensed) with an overview of the CPR data available in the different CPR integrations on Serviceplatformen:
As determined on Integrations to Serviceplatformen we’ll be using https://digitaliseringskataloget.dk/integration/sf1520 . More specific the service 'PersonBaseDataExtendedService'
We need the following data to create the validation in OS2valghalla:
Age
Home municipality
Citizenship
Deceased
Disenfranchised (umyndiggjort)
Deceased
Based on the code used in the CPR integration on OS2sofd, we will use a lookup on status after result ‘70’ or ‘90’ to determine if a participant is deceased
person.IsDead = false; if (response.PersonLookupResponse1.persondata?.status?.status != null) { // 90 is "Død", 70 is "Bortkommet" if (90 == response.PersonLookupResponse1.persondata.status.status || 70 == response.PersonLookupResponse1.persondata.status.status) { person.IsDead = true;