Managing funerals (Legacy Approach)

Deprecated

This page describes the legacy approach for managing funerals. For the recommended approach using structured data, please see Managing funerals (Structured API).

Note

Funeral homes will be using the dgm/api/funeral-home endpoints to manage funerals, while graveyard authorities will be using the dgm/api/graveyard-authority endpoints. The following sequence diagram uses the funeral home as an example.

Both funeral homes and graveyard authorities can manage a funeral by creating or updating a responsibility statement.

Workflow

sequenceDiagram participant FS as Specialist system participant DGM as DGM API FS -) DGM: GET dgm/api/funeral-home/lookup DGM -) FS: 200 OK w/ list of funerals a next-of-kin can take responsibility for opt If no funerals are found FS -) DGM: POST dgm/api/funeral-home/party DGM -) FS: 200 OK end FS -) DGM: POST dgm/api/funeral-home/responsibility-statements DGM -) FS: 200 OK FS -) DGM: POST dgm/api/funeral-home/responsibility-statements/{id}/attachment DGM -) FS: Uploads the v0916B attachment to the responsibility statement FS -) DGM: POST dgm/api/funeral-home/attachments - upload declaration or other attachments DGM -) FS: 200 OK

1. Doing a funeral lookup

The first step is to do a lookup on the ssn(fødselsnummer) of the next-of-kin. This will return a list of funerals that the next-of-kin can take responsibility for. If no funerals are found, the next-of-kin doesn't have a relation to the deceased in Folkeregisteret. In this case, the funeral home will need to attach the next-of-kin to the funeral.

2. Attach a next-of-kin to the funeral

The unique relationship between a next-of-kin and a funeral is in DGM addressed as party. The next-of-kin is a party of the funeral. If the next-of-kin is not already a party on the funeral, the funeral home or graveyard authority will need to attach the next-of-kin to the funeral. This is done by calling the POST dgm/api/funeral-home/party.

3. Creating a responsibility statement

The next step is to create a responsibility statement. This is done by calling the POST dgm/api/funeral-home/responsibility-statements endpoint. There isn't a possibility to update a responsibility statement. However, you can create a new one. This will then take precedence over the old one.

Important

When you create a responsibility statement, the next-of-kin will need to sign the responsibility statement in the Altinn form.

Warning

At the time of writing(13.05.2024) there is no possibility to change the responsible of a funeral.

4. Uploading declaration or ash spreading permit

If there are any attachments specific to the party, like a declaration or an ash spreading permit, these can be uploaded by calling the POST dgm/api/funeral-home/attachments endpoint. The attachment will be linked to the party.

5. Uploading v0916B attachment to responsibility statement

The next step is to upload the v0916B attachment to the responsibility statement. This is done by calling the POST dgm/api/funeral-home/responsibility-statements/{id}/attachment endpoint.