Komposit.SygemeldingService (Version 1, 2024-2) [UDV] (tidl. IllnessCompositeService)
Siden er en UDV udgave manuelt ændret.
Metoder
Raskmeld (PUT/V1/sygemelding/action/Raskmeld{fravaerIdentifier}) (Tidl. CreateRecovery)
Metoden giver mulighed for at lave en raskmelding samtidig med en tilmelding og/eller et kontaktgruppeskifte eller afslutning af kontaktgruppe
Tilladte organisationer
| 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 |
---|---|---|---|---|---|---|---|---|
A-kasse |
| X |
|
|
|
|
|
|
JobCenter |
| X |
|
| X |
|
|
|
Kommune |
| X |
|
|
|
|
|
|
STAR | X |
|
|
|
|
|
|
|
Scope
komposit.sygemelding.write
Input
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 |
fravaerIdentifier [Path] | uuid |
| 1 |
|
requestBody | CreateSygemeldingRequestDto |
| 1 |
|
(AbsenceItem) | SygemeldingType |
| 1 | Angivelse af sygemeldingselementer. |
(StartDate) | dateTime |
| 1 | Startdato for fravær |
(EndDate) | dateTime |
| 0 - 1 | Slutdato for fravær |
(AbsenceTypeIdentifier) | FravaerTypeCodeList CodeListItemIdentifierType |
| 1 | Typeangivelse for fravær |
(AbsenceComment) | FravaersKommentarType | Length: 0-1500 | 0 - 1 | Kommentar til fraværsoprettelsen |
(AbsenceCauseTypeIdentifier) | FravaersafslutningsaarsagTypeCodeList CodeListItemIdentifierType | MaxInclusive: 10000 | 0 - 1 | Afslutningsårsag for fravær |
(NotificationDate) | dateTime |
| 1 | Anmeldelsesdato. |
(CurrentUnemploymentStatusTypeIdentifier) | LedighedsgradTypeCodeList |
| 0 - 1 | Ledighedsgrad. |
(CompanyIdentifier) | ArbejdsgiverDto |
| 0 - 1 | Virksomhedsinformation på borgers arbejdsgiver ved sygemelding fra beskæftigelse. |
(ProductionUnitIdentifier) | ProductionUnitIdentifierType | 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. |
(CVRnumberIdentifier) | CVRnumberIdentifierType | Length: 8 | 1 | CVR-nummeret er et 8-cifret nummer, der er unikt for den enkelte virksomhed. |
(EnrollmentItem) |
(EnrollmentItemType) |
| 0 - 1 | Indeholder data til en registrering af tilmelding. |
| GUID |
| 0 - 1 | Id som medsendes i de tilfælde hvor ekstern aftager har et lokalt id ved oprettelsen |
(ClientCategoryTypeIdentifier) |
| 1 | Typeangivelse for tilmeldekategori. | |
(EnrollmentDate) | dateTime |
| 1 | Tilmeldedatoen hvor det angivne tilmeldeforhold starter. Dette er datoen, hvor den ledige har henvendt sig enten gennem Jobnet eller Jobcentret. |
(CurrentUnemploymentStatusTypeIdentifier) |
| 1 | Typeangivelse for ledighedsstatus ved tilmelding. | |
(ProfessionCollection) | JoboenskeDtoCollection |
| 1 | Liste af stillingsbetegnelser. |
(ProfessionType) | JoboenskeDto |
| 0 - * |
|
| string |
| 1 | Unik ESCO STAR identifikation på stillingsbetegnelse. |
| guid | 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. |
(HasEducation) | boolean |
| 1 | Angivelse af om personen har uddannelse for den angivne stillingsbetegnelse. |
(YearLastUsed) | int |
| 1 | Angivelse hvornår personen senest var aktiv indenfor stillingen. |
(MonthsOfExperience) | int |
| 1 | Angivelse hvor mange måneder personen har erfaring fra stillingen. |
(EmailAddressIdentifier) | EmailAddressIdentifierType | 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 |
(ContactGroupItem) | KontaktgrupperDto |
| 0 - 1 | Angivelse af kontaktgruppeelement. ContactGroupIdentifier skal kun angives ved opdatering af eksisterende kontaktgruppe. |
(ContactGroupIdentifier) | guid | 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. |
(StartDate) | dateTime |
| 1 | Startdato for kontaktgruppe. |
(EndDate) | dateTime |
| 0 - 1 | Slutdato for kontaktgruppe. |
(EventTime) | dateTime |
| 0 - 1 | Hændelsesdato for kontaktgruppen. |
(ContactGroupTypeIdentifier) | VisiteringOgStatus.KontaktgruppeTypeCodeList [UDV] | MaxInclusive: 10000000 | 1 | Kontaktgruppen, som den ledige har på beregnings-tidspunkt. |
(CorrectionComment) | string | Length: 0-1500 | 0 - 1 | Kommentar til berigtigelse af en registrering. |
Output
Element | Type | Detaljer | Forekomst | Beskrivelse |
---|---|---|---|---|
| guid | Pattern: [\da-fA-F]{8}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{12} | 1 | Unik identifikation for den oprettede entitet |
CreateIllnessResponse | CreateIllnessResponseType |
| 1 |
|
| guid | 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. |
ReportIllnessResponse | ReportIllnessResponseType |
| 1 | Response ved tilmelding fra Jobnet |
| IllnessReceiptType |
| 1 | Kvittering for registreringen indeholdende. |
| dateTime |
| 1 | Hændelsesdato for registreringen i det fælles datagrundlag. |
| guid | Pattern: [\da-fA-F]{8}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{12} | 1 | Unikt ID for sygemeldingen. |
| PersonNameStructureType |
| 1 | Borgers navn. |
| string |
| 1 | Borgers personnummer. |
| string | Length: 0-3000 | 0 - 1 | Kvitteringstekst til borgeren |
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 |
RaskmeldOgBook (tidl. ReportIllnessRecoveryAndBook)
Metoden giver mulighed at raskmelde borgeren og samtidigt oprettet en booking.
Tilladte organisationer
| 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 defineret
Input
Element | Type | Detaljer | Forekomst | Beskrivelse |
---|---|---|---|---|
RaskmeldOgBookRequest |
|
| 1 |
|
| PersonCivilRegistrationIdentifierType | 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. |
| dateTime |
| 1 | Hændelsesdatoen for registreringen. |
| guid | Pattern: [\da-fA-F]{8}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{12} | 1 | Unikt ID for sygemeldingen, hvorpå der skal foretages en raskmelding. |
|
| 0 - 1 | Angivelse af afholdelsesform for indkaldelse. | |
| dateTime |
| 1 | Starttidspunktet på booking. |
| guid | Pattern: [\da-fA-F]{8}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{12} | 1 | Identifikation af et online tilbud med GUID |
| string |
| 0 - 1 | ID på den sagsbehandler som borger har valgt |
Output ¤
Element | Type | Detaljer | Forekomst | Beskrivelse |
---|---|---|---|---|
ReportIllnessRecoveryAndBookResponse | ReportIllnessRecoveryAndBookResponseType |
| 1 |
|
| IllnessReceiptType |
| 1 | Kvittering for registreringen indeholdende. |
| dateTime |
| 1 | Hændelsesdato for registreringen i det fælles datagrundlag. |
| guid | Pattern: [\da-fA-F]{8}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{12} | 1 | Unikt ID for sygemeldingen. |
| PersonNameStructureType |
| 1 | Borgers navn. |
| string |
| 1 | Borgers personnummer. |
| string | Length: 0-3000 | 0 - 1 | Kvitteringstekst. |
| guid | Pattern: [\da-fA-F]{8}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{12} | 1 | Identifier for den oprettede indkaldelse |
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 |
4769 | The connection to an external bookingsystem could not be established | The connection to an external bookingsystem could not be established |
4783 | The BookingTime cannot be before todays date | The BookingTime cannot be before todays date |
4819 | The BookingStartTime is no longer available | The BookingStartTime is no longer available |
4822 | Could not find the caseworker with the specified CVR-RID | Could not find the caseworker with the specified CVR-RID |
6006 | There is no open illness from work for this person | There is no open illness from work for this person |
8108 | The specified InterviewOptionID is not active or is unknown to the system | The specified InterviewOptionID is not active or is unknown to the system |
8109 | The booking time is NOT within the allowed range of dates for this interview option | The booking time is NOT within the allowed range of dates for this interview option |
8111 | An error occured when trying to look up the supplied PersonCivilRegistrationIdentifier | An error occured when trying to look up the supplied PersonCivilRegistrationIdentifier |
8273 | Citizen already has a booking of type Jobsamtale. | Citizen already has a booking of type Jobsamtale. |
8288 | Booking is later than deadline of existing InterviewDeadline with same InterviewType. | Booking is later than deadline of existing InterviewDeadline with same InterviewType. |
9003 | The interview supervisor specified is not allowed for this interview option | The interview supervisor specified is not allowed for this interview option |
9018 | Selfbooking failed because an External bookingsystem configuration is missing | Selfbooking failed because an External bookingsystem configuration is missing |
9337 | Call to SetFlexijobApproved failed | Call to SetFlexijobApproved failed |
9346 | Call to CVServiceForDFDG failed | Call to CVServiceForDFDG failed |