Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Table of Contents
maxLevel2

CreateSygemelding (POST/v1/Sygemelding (Tidl. CreateIllness

...

)

Metoden giver mulighed for at lave en sygemelding samtidig med en afmelding.

...

Fejlkode

Fejltekst

Beskrivelse

1001

Invalid cpr

The submitted cpr is either to long or short or contains data not interpretable as a date

1010

Unknown cpr

The submitted cpr is unknown to the system

1014

Failed to validate message

The submitted message could not be validated

4322

The cancellation date must be today, maximum 30 days after or 60 in case of a less intensive effort

The cancellation date must be today, maximum 30 days after or 60 in case of a less intensive effort

4340

The submitted CauseTypeIdentifier is invalid

The submitted CauseTypeIdentifier is invalid

4367

The person is not enrolled

The person is not enrolled

4405

The person with specified cpr is dead

The person with specified cpr is dead

4575

You are not authorized

You are not authorized to execute the operation

4632

The specified Absenceregistration is not known to the system

The specified Absenceregistration is not known to the system

4637

The reported absence overlaps an existing absence of the same type

The reported absence overlaps an existing absence of the same type

4647

The Startdate cannot be changed

The Startdate cannot be changed

4685

The reported absence has a start date before todays date

The reported absence has a start date before todays date

4686

This person must have an active contact group registration

This person must have an active contactgroupregistration

4963

Registration cannot be completed because start date is in the past

Registration cannot be completed because start date is in the past

4966

Registration cannot be completed because start date is more than 4 weeks in the past

Registration cannot be completed because start date is more than 4 weeks in the past

4980

Cause type identifier is required when setting illness end date

Cause type identifier is required when setting illness end date

4981

Absence comment required when updating illness start date and end date

Absence comment required when updating illness start date and end date

4990

Illness is not possible because of open enrollment

Illness is not possible because of open enrollment

5013

Unemployment-level must be set when current ContactGroup is 1, Dagpengemodtager

Unemployment-level must be set when current ContactGroup is 1, Dagpengemodtager

5014

Unemployment-level only valid when current ContactGroup is 1, Dagpengemodtager

Unemployment-level only valid when current ContactGroup is 1, Dagpengemodtager

5015

Unemployment-level can not be changed

Unemployment-level can not be changed

5017

Cvr number and p number cannot be changed

Cvr number and p number cannot be changed

5018

Update of illness for contactgroup 24 and 25 is not allowed

Update of illness for contactgroup 24 and 25 is not allowed

7061

AbsenceCause is not coherent with contact group.

AbsenceCause is not coherent with contact group.

9361

AbsenceCause is illegal for this AbsenceType

AbsenceCause is illegal for this AbsenceType

9362

Illness NotificationDate must be today or earlier

Illness NotificationDate must be today or earlier

CreateRaskmelding (POST/V1/Raskmelding) (Tidl. CreateRecovery

...

)

Metoden giver mulighed for at lave en raskmelding samtidig med en tilmelding og/eller et kontaktgruppeskifte eller afslutning af kontaktgruppe

...

    StartDate    EndDate    AbsenceTypeIdentifierAbsenceTypeIdentifierType    AbsenceCommentstring    AbsenceCauseTypeIdentifierAbsenceCauseTypeIdentifierType    NotificationDate    CurrentUnemploymentStatusTypeIdentifierCurrentUnemploymentStatusTypeIdentifierType    CompanyIdentifier    ProductionUnitIdentifier    CVRnumberIdentifier    EnrollmentItem    ClientCategoryTypeIdentifier    EnrollmentDate    CurrentUnemploymentStatusTypeIdentifier    ProfessionCollectionProfessionTypeCollection    ProfessionType    HasEducation    YearLastUsed    MonthsOfExperience    EmailAddressIdentifier    ContactGroupItemContactGroupItemType    ContactGroupIdentifier    StartDate    EndDate    EventTime    ContactGroupTypeIdentifier    CorrectionComment

Element

Type

Detaljer

Forekomst

Beskrivelse

-civilRegistrationIdentifier [Header]

string

Pattern: ((((0[1-9]|1[0-9]|2[0-9]|3[0-1])(01|03|05|07|08|10|12))|((0[1-9]|1[0-9]|2[0-9]|30)(04|06|09|11))|((0[1-9]|1[0-9]|2[0-9])(02)))[0-9]{6})|0000000000

1

Beskrivelse af cpr

x-requestId [Header]

string

 

1

Unikt id for requestet (typisk guid). Hvis api'et modtager samme requestId mere end én gang returneres http status kode 412. Max længde for id'et er 46 chars

requestBody
(CreateRecoveryRequest)

CreateSygemeldingRequestDto
(CreateRecoveryRequestType)

1

-    PersonCivilRegistrationIdentifier

PersonCivilRegistrationIdentifierType
Base: string

Pattern: ((((0[1-9]|1[0-9]|2[0-9]|3[0-1])(01|03|05|07|08|10|12))|((0[1-9]|1[0-9]|2[0-9]|30)(04|06|09|11))|((0[1-9]|1[0-9]|2[0-9])(02)))[0-9]{6})|0000000000

1

Borgers personnummer.

-    Sygemelding
(AbsenceItem)

SygemeldingType
(AbsenceItemType)

1

Angivelse af sygemeldingselementer.

-    -    fravaerIdentifier
(AbsenceIdentifier)

guid
Base: string

Pattern: [\da-fA-F]{8}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{12}

0 - 1

Nøgle for den tilhørende fraværsregistrering.

-    -

    Startdato
(StartDate)

dateTime

1

Startdato for fravær

-    -

    Slutdato
(EndDate)

dateTime

0 - 1

Slutdato for fravær

-    -

    fravaerType
(AbsenceTypeIdentifier)

FravaerTypeCodeList

CodeListItemIdentifierType
AbsenceTypeIdentifier
(AbsenceTypeIdentifierType)

1

Typeangivelse for fravær

-    -

    Fravaerskommentar
(AbsenceComment)

FravaersKommentarType
(Base: string)

Length: 0-1500

0 - 1

Kommentar til fraværsoprettelsen

-    -

    Fravaersafslutningsaarsag
(AbsenceCauseTypeIdentifier)

FravaersafslutningsaarsagTypeCodeList

CodeListItemIdentifierType
(AbsenceCauseTypeIdentifierType)

MaxInclusive: 10000

0 - 1

Afslutningsårsag for fravær

-    -

    Anmeldelsesdato
(NotificationDate)

dateTime

1

Anmeldelsesdato.

-    -

    Ledighedsgrad
(CurrentUnemploymentStatusTypeIdentifier)

LedighedsgradTypeCodeList
(CurrentUnemploymentStatusTypeIdentifierType)

0 - 1

Ledighedsgrad.

-    -

    Virksomhed
(CompanyIdentifier)

(VirksomhedsidentifierType)
CompanyIdentifierType

0 - 1

Virksomhedsinformation.

-    -    -

    Pnummer
(ProductionUnitIdentifier)

ProductionUnitIdentifierType
Base: string

Length: 10

0 - 1

En P-enhed får tildelt et entydigt identifikationsnummer, et P-nummer, som er et 10-cifret nummer. Et P-nummer vil altid være tilknyttet et CVR-nummer.

-    -    -

    cvrEnhedsid
(CVRnumberIdentifier)

CVRnumberIdentifierType
Base: string

Length: 8

1

CVR-nummeret er et 8-cifret nummer, der er unikt for den enkelte virksomhed.

-

    Tilmelding
(EnrollmentItem)


(EnrollmentItemType)

0 - 1

Indeholder data til en registrering af tilmelding.

-    -

    Klientkategori
(ClientCategoryTypeIdentifier)

ClientCategoryTypeIdentifierType

1

Typeangivelse for tilmeldekategori.

-    -

    Tilmeldingsdato
(EnrollmentDate)

dateTime

1

Tilmeldedatoen hvor det angivne tilmeldeforhold starter. Dette er datoen, hvor den ledige har henvendt sig enten gennem Jobnet eller Jobcentret.

-    -

    Ledighedsgrad
(CurrentUnemploymentStatusTypeIdentifier)

CurrentUnemploymentStatusTypeIdentifierType

1

Typeangivelse for ledighedsstatus ved tilmelding.

-    -

    Joboensker
(ProfessionCollection)

JoboenskeDtoCollection
(ProfessionTypeCollection)

1

Liste af stillingsbetegnelser.

-    -    -

    JoboenskeDto
(ProfessionType)

JoboenskeDto
(ProfessionType)

0 - *

-    -    -    -    ConceptUriDa

string

1

Unik ESCO STAR identifikation på stillingsbetegnelse.

-    -    -    -    AliasIdentifier

guid
Base: string

Pattern: [\da-fA-F]{8}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{12}

0 - 1

Unik ESCO STAR identifikation på alias.

-    -    -    -

    HarUddannelse
(HasEducation)

boolean

1

Angivelse af om personen har uddannelse for den angivne stillingsbetegnelse.

-    -    -    -

    AarSidstBrugt
(YearLastUsed)

int

1

Angivelse hvornår personen senest var aktiv indenfor stillingen.

-    -    -    -

    maanederMedErfaring
(MonthsOfExperience)

int

1

Angivelse hvor mange måneder personen har erfaring fra stillingen.

-    -

    Emailadresse
(EmailAddressIdentifier)

EmailAddressIdentifierType
Base: string

Pattern: ([^>\(\)\[\]\\,;:@\s]{0,191}@[^>\(\)\[\]\\,;:@\s]{1,64})

0 - 1

Emailadresse som tidligere skulle angives ved tilmelding fra Jobnet for at kunne bekræfte timeldingen digitalt til borger. Løses med dialogmodul hvis vi ikke har emailadresse på borger
(Emailadresse.)

-

    Kontaktgruppe
(ContactGroupItem)

KontaktgrupperDto
(ContactGroupItemType)

0 - 1

Angivelse af kontaktgruppeelement. ContactGroupIdentifier skal kun angives ved opdatering af eksisterende kontaktgruppe.

-    -

    kontaktgruppeId
(ContactGroupIdentifier)

guid
Base: string

Pattern: [\da-fA-F]{8}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{12}

1

Unik nøgle for denne kontaktgruppe.

-    -

    Starttidspunkt
(StartDate)

dateTime

1

Startdato for kontaktgruppe.

-    -

    Sluttidspunkt
(EndDate)

dateTime

0 - 1

Slutdato for kontaktgruppe.

-    -

    Haendelsestidspunkt
(EventTime)

dateTime

0 - 1

Hændelsesdato for kontaktgruppen.

-    -

ContactGroupTypeIdentifierType

1

    kontaktgruppeType
(ContactGroupTypeIdentifier)

VisiteringOgStatus.KontaktgruppeTypeCodeList [UDV]
(ContactGroupTypeIdentifierType)

MaxInclusive: 10000000

1

Kontaktgruppen, som den ledige har på beregnings-tidspunkt.
(Typeangivelse for kontaktgruppe.)

-    -

    berigtigelseskommentar
(CorrectionComment)

string

Length: 0-1500

0 - 1

Kommentar til berigtigelse af en registrering.
(Typeangivelse for kontaktgruppe.)

Output

Element

Type

Detaljer

Forekomst

Beskrivelse

CreateRecoveryResponse

CreateRecoveryResponseType

1

-    AbsenceIdentifier

guid
Base: string

Pattern: [\da-fA-F]{8}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{12}

1

Nøgle for den tilhørende fraværsregistrering.

-    EnrollmentIdentifier

guid
Base: string

Pattern: [\da-fA-F]{8}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{12}

0 - 1

Nøgle for den tilhørende tilmelderegistrering.

-    ContactGroupIdentifier

guid
Base: string

Pattern: [\da-fA-F]{8}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{12}

0 - 1

Nøgle for den tilhørende kontaktgrupperegistrering.

-    EventDate

dateTime

1

Hændelsestidspunkt for registrering I DFDG.

Fejlkoder

Fejlkode

Fejltekst

Beskrivelse

1001

Invalid cpr

The submitted cpr is either to long or short or contains data not interpretable as a date

1010

Unknown cpr

The submitted cpr is unknown to the system

1014

Failed to validate message

The submitted message could not be validated

4313

Invalid client category type

The submitted client category type is no recognized as a valid client category type

4314

Invalid current unemployment status type identifier

The submitted identifier is not recognized as a valid unemployment status type identifier

4316

Enrollment overlap

The submitted enrollment date lies within or before an existing enrollment period

4318

One or more profession is invalid

The submitted request contains one or more invalid profession identifiers

4405

The person with specified cpr is dead

The person with specified cpr is dead

4417

Client must be a member of an unemploymentfund to be an unemploymentfundrecipient

Client must be a member of an unemploymentfund to be an unemploymentfundrecipient

4615

This absenceregistration must have an end-date

This absenceregistration must have an end-date

4637

The reported absence overlaps an existing absence of the same type

The reported absence overlaps an existing absence of the same type

4645

This person has a absenceregistration that conflicts with this Contactgroup

This person has a absenceregistration that conflicts with this Contactgroup

4646

The ContactGroupTypeIdentifier cannot be changed

The ContactGroupTypeIdentifier cannot be changed

4647

The Startdate cannot be changed

The Startdate cannot be changed

4648

The Enddate cannot be before todays date

The Enddate cannot be before todays date

4669

The enddate must not be earlier than the start date

The enddate must not be earlier than the start date

4685

The reported absence has a start date before todays date

The reported absence has a start date before todays date

4686

This person must have an active contact group registration

This person must have an active contactgroupregistration

4698

Parameter is negative

Parameter is negative

4710

The submitted value of YearLastUsed is not a valid year

The submitted value of YearLastUsed is not a valid year

4725

This person cannot be enrolled because the person has a temporary foreign address registered

This person cannot be enrolled because the person has a temporary foreign address registered

4749

The enrollment date must be of todays date

The enrollment date must be of todays date

4750

The client has an absence registration that does not allow enrollment

The client has an absence registration that does not allow enrollment

4919

The contact group can not be ended due to an active enrollment

The contact group can not be ended due to an active enrollment

4575

You are not authorized

You are not authorized to execute the operation

4731

Registration is not allowed because of an illegal combination of the contactgroup and enrollment

Registration is not allowed because of an illegal combination of the contactgroup and enrollment

4966

Registration cannot be completed because start date is more than 4 weeks in the past

Registration cannot be completed because start date is more than 4 weeks in the past

4980

Cause type identifier is required when setting illness end date

Cause type identifier is required when setting illness end date

4990

Illness is not possible because of open enrollment

Illness is not possible because of open enrollment

4992

The person must be enrolled or contactgroup ended

The person must be enrolled or contactgroup ended

4993

The person has an open illness

The person has an open illness

5010

When absence end date is today, Enrollment date must not be today.

When absence end date is today, Enrollment date must not be today.

6052

Codelist value is only for internal use

Codelist value is only for internal use

7061

AbsenceCause is not coherent with contact group.

AbsenceCause is not coherent with contact group.

8063

EventTime must be equal to or before contactgroup start.

EventTime must be equal to or before contactgroup start.

8065

EventTime can not be changed.

EventTime can not be changed.

9148

The current category does not allow enrollment.

The current category does not allow enrollment.

9331

It is not allowed to create the ContactGroup for jobcenter

It is not allowed to create the ContactGroup for jobcenter

9361

AbsenceCause is illegal for this AbsenceType

AbsenceCause is illegal for this AbsenceType

...

Alle borgere

Egne borgere

Tidligere egne borgere

Gæsteadgang

Anden Aktør - egne borgere

Anden Aktør - gæsteadgang

Anden Aktør - alle borgere

System - alle borgere

STAR

X

Scope

Ikke defineretvisiteringogstatus.read

Input

GetIllnessStateRequestType

Element

Type

Detaljer

Forekomst

Beskrivelse

GetSygdomStateRequest
(GetIllnessStateRequest)

GetSygdomStateRequestType

1

x-civilRegistrationIdentifier [Header]
(-    PersonCivilRegistrationIdentifierType)

string
(PersonCivilRegistrationIdentifierType)
Base: string

Pattern: ((((0[1-9]|1[0-9]|2[0-9]|3[0-1])(01|03|05|07|08|10|12))|((0[1-9]|1[0-9]|2[0-9]|30)(04|06|09|11))|((0[1-9]|1[0-9]|2[0-9])(02)))[0-9]{6})|0000000000

1

Borgers personnummer.

Output

GetIllnessStateResponseGetIllnessStateResponseType    IsIllnessAllowed

Element

Type

Detaljer

Forekomst

Beskrivelse

GetSygdomStateResponse

GetSygdomStateResponseType

1

-

    ErSygdomTilladt
(IsIllnessAllowed)

boolean

1

Fejlkoder

Fejlkode

Fejltekst

Beskrivelse

1001

Invalid cpr

The submitted cpr is either to long or short or contains data not interpretable as a date

1010

Unknown cpr

The submitted cpr is unknown to the system

1014

Failed to validate message

The submitted message could not be validated