PersonContactService (Version 3 [UDV], 2020-1)
Denne service understøtter registrering og hent af borgeres kontaktpersoner, såsom koordinerende sagsbehandlere, personlig jobformidler, støtte-kontaktperson, kontaktperson i socialområde, bisidder, pårørende m.fl.
Bemærk: mht. mentor angives denne i forbindelse med ActivityService og vil derfor også fremgå som en del af Min plan.
Metoder
GetPersonContacts
Metoden henter en borgers kontaktpersoner afholdte samtaler for en borger
Denne metode gør det muligt at oprette (tilknytte) en kontaktperson af en given type til en eller flere borger.
Output
Element | Type | Detaljer | Forekomst | Beskrivelse |
---|---|---|---|---|
GetPersonContactResponse | GetPersonContactResponseType | 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 | CivilRegistrationNumber (PNR) Description: Unique identification of a person The Civil Registration System contains: - Data on persons, who after 1968 April 2nd Danish registry of citizens. As for Greenland the corresponding date is 1972 may 1st. - Danish citizens living outside Denmark (who must pay duty and ATP) has also been given a civil registration number. - Civil registration numbers are also assigned for other administrative purposes. Value space: The civil registration number consists of two parts. The first part is the valid birthday in the form DDMMYY. The following part is a serial number of four digits. The civil registration number may also hold the value 0000000000. This value is used where the civil registration number is required but unknown. Lifecycle: The civil registration number is generated and assigned at birth, entry and change of civil registration number of for administrative reasons. The civil registration number may be assigned via hospitals. The civil registration number is not to be deleted. Remarks: 1994 June 11th the civil registration number was changed according to this description. | |
- PersonContactCollection | PersonContactCollectionType | 0 - * | Liste af borgens kontaktperson. | |
- PersonContact | PersonContactType | 1 | Giver PersonContactInfo collection: Kontaktpersontilknytning, koordinerende sagsbehandler, personlig jobformidler m.m. | |
- - PersonContactIdentifier | guid Base: string | Pattern: [0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12} | Identifikation af kontaktpersontilknytningen. | |
- - PersonContactName | String_1_255 Base: string | Length: 1-250 | 1 | Navn (fornavn, mellemnavn, efternavn) på kontaktpersonen. |
- - PersonContactTypeIdentifier | PersonContactTypeIdentifierType | 1 | ||
- - TelephoneNumberIdentifier | TelephoneNumberIdentifierType Base: string | Pattern: (\+)?[0-9]{3,20} | 0 - 1 | Telefonnummer inkl. internationalt prefix |
- - MobileNumberIdentifier | MobileNumberIdentifierType Base: TelephoneNumberIdentifierType | 0 - 1 | Mobilnummer inkl. internationalt prefix | |
- - EmailAddressIdentifier | EmailAddressIdentifierType Base: string | Pattern: ([^>\(\)\[\]\\,;:@\s]{0,191}@[^>\(\)\[\]\\,;:@\s]{1,64}) | 0 - 1 | Emailadresse. |
- - StartDate | dateTime | 1 | Startdato for tilknytning af kontaktperson. | |
- - EndDate | dateTime | 0 - 1 | Slutdato for tilknytning af kontaktperson. | |
- - CommentToCitizen | String_1_255 Base: string | Length: 1-250 | 0 - 1 | Kommentar/bemærkninger til visning for borger på Jobnet. |
- - CommentToCaseWorker | String_1_255 Base: string | Length: 1-250 | 0 - 1 | Kommentar/bemærkninger til visning for jobkonsulent i a-kasse og jobcenter. |
- - ShowContactPersonInJobnet | Boolean | 1 | Skal kontaktpersonen vises på Jobnet med denne rolle for borgerne. Hvis den undlades, bliver kontaktpersonen vist | |
- - ResponsibleAuthority | 1 | Den myndighed som har oprettet evalueringen | ||
- - - AuthorityCode | 1 | Myndighedskode for ansvarlig myndighed | ||
- - - OrganisationTypeIdentifier | 1 | Myndighedstype, ansvarlig myndighed | ||
- - DFDGRegistrationDateTime | DateTime | 1 | Tidspunkt hvor hændelsen/data er registreret i DFDG |
CreatePersonContact
Denne metode gør det muligt at oprette (tilknytte) en kontaktperson af en given type til en eller flere borger.
Input
Element | Type | Detaljer | Forekomst | Beskrivelse |
---|---|---|---|---|
CreatePersonContactRequest | CreatePersonContactRequestType | 1 | ||
- PersonCivilRegistrationIdentifierCollection | PersonCivilRegistrationIdentifierCollectionType | 1 - * | Liste af borgere der alle skal have samme kontaktperson med samme rolle | |
- - 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 | CivilRegistrationNumber (PNR) Description: Unique identification of a person The Civil Registration System contains: - Data on persons, who after 1968 April 2nd Danish registry of citizens. As for Greenland the corresponding date is 1972 may 1st. - Danish citizens living outside Denmark (who must pay duty and ATP) has also been given a civil registration number. - Civil registration numbers are also assigned for other administrative purposes. Value space: The civil registration number consists of two parts. The first part is the valid birthday in the form DDMMYY. The following part is a serial number of four digits. The civil registration number may also hold the value 0000000000. This value is used where the civil registration number is required but unknown. Lifecycle: The civil registration number is generated and assigned at birth, entry and change of civil registration number of for administrative reasons. The civil registration number may be assigned via hospitals. The civil registration number is not to be deleted. Remarks: 1994 June 11th the civil registration number was changed according to this description. |
- - PersonContactIdentifier | guid Base: string | Pattern: [0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12} | 1 | Identifikation af kontaktpersontilknytningen. |
- PersonContact | PersonContactType | 1 | Giver PersonContactInfo collection: Kontaktpersontilknytning, koordinerende sagsbehandler, personlig jobformidler m.m. | |
- - PersonContactName | String_1_255 Base: string | Length: 1-250 | 1 | Navn (fornavn, mellemnavn, efternavn) på kontaktpersonen. |
- - PersonContactTypeIdentifier | PersonContactTypeIdentifierType | 1 | ||
- - TelephoneNumberIdentifier | TelephoneNumberIdentifierType Base: string | Pattern: (\+)?[0-9]{3,20} | 0 - 1 | Telefonnummer inkl. internationalt prefix |
- - MobileNumberIdentifier | MobileNumberIdentifierType Base: TelephoneNumberIdentifierType | 0 - 1 | Mobilnummer inkl. internationalt prefix | |
- - EmailAddressIdentifier | EmailAddressIdentifierType Base: string | Pattern: ([^>\(\)\[\]\\,;:@\s]{0,191}@[^>\(\)\[\]\\,;:@\s]{1,64}) | 0 - 1 | Emailadresse. |
- - StartDate | dateTime | 1 | Startdato for tilknytning af kontaktperson. | |
- - EndDate | dateTime | 0 - 1 | Slutdato for tilknytning af kontaktperson. | |
- - CommentToCitizen | String_1_255 Base: string | Length: 1-250 | 0 - 1 | Kommentar/bemærkninger til visning for borger på Jobnet. |
- - CommentToCaseWorker | String_1_255 Base: string | Length: 1-250 | 0 - 1 | Kommentar/bemærkninger til visning for jobkonsulent i a-kasse og jobcenter. |
- - ShowContactPersonInJobnet | Boolean | 1 | Skal kontaktpersonen vises på Jobnet med denne rolle for borgerne. Hvis den undlades, bliver kontaktpersonen vist |
Output
Element | Type | Detaljer | Forekomst | Beskrivelse |
---|---|---|---|---|
CreatePersonContactResponse | CreatePersonContactResponseType | 1 | ||
- EmptyResponse | EmptyResponseType | 1 | Tomt svar |
Fejlkoder
Fejlkode | Fejltekst | Beskrivelse |
---|---|---|
1001 | Invalid cpr | The submitted cpr is either to long or short or contains data not interpretable as a date |
1003 | Duration is negative | The reported duration is negative, start date is greater than end date |
1010 | Unknown cpr | The submitted cpr is unknown to the system |
4405 | The person with specified cpr is dead | The person with specified cpr is dead |
8105 | The PersonContactTypeIdentifier type is unknown. | The PersonContactTypeIdentifier type is unknown. |
8310 | Person contact enddate cannot be in the past | Person contact enddate cannot be in the past |
UpdatePersonContact
Denne metode gør det muligt at opdatere oplysninger på en kontaktperson af en given type, der er tilknyttet en eller flere borger. Denne metoder bør primært anvendes til ajoutfører stamoplysninger om kontaktpersonen. dvs.:
- Ændringer til Navn, Telefonnummer, Telefonnummer, Mobilnummer, Emailadresse, Kommentar/bemærkninger til visning for borger på Jobnet og eller Kommentar/bemærkninger til visning for jobkonsulent i a-kasse og jobcenter.
- Påsætning af Slutdato
Ændringer til eksisterende startdato og slutdato kan foretages, men opdateres de og er de i konflikt med senere startdato eller slutdato for senere registrering, vil de blive overrulet af den senere registrering i visning for borger på Jobnet.
Input
Element | Type | Detaljer | Forekomst | Beskrivelse |
---|---|---|---|---|
UpdatePersonContactRequest | UpdatePersonContactRequestType | 1 | ||
- PersonCivilRegistrationIdentifierCollection | PersonCivilRegistrationIdentifierCollectionType | 1 - * | Liste af borgere der alle skal have samme kontaktperson med samme rolle | |
- - 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 | CivilRegistrationNumber (PNR) Description: Unique identification of a person The Civil Registration System contains: - Data on persons, who after 1968 April 2nd Danish registry of citizens. As for Greenland the corresponding date is 1972 may 1st. - Danish citizens living outside Denmark (who must pay duty and ATP) has also been given a civil registration number. - Civil registration numbers are also assigned for other administrative purposes. Value space: The civil registration number consists of two parts. The first part is the valid birthday in the form DDMMYY. The following part is a serial number of four digits. The civil registration number may also hold the value 0000000000. This value is used where the civil registration number is required but unknown. Lifecycle: The civil registration number is generated and assigned at birth, entry and change of civil registration number of for administrative reasons. The civil registration number may be assigned via hospitals. The civil registration number is not to be deleted. Remarks: 1994 June 11th the civil registration number was changed according to this description. |
- - PersonContactIdentifier | guid Base: string | Pattern: [0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12} | 1 | Identifikation af kontaktpersontilknytningen. |
- PersonContact | PersonContactType | 1 | Giver PersonContactInfo collection: Kontaktpersontilknytning, koordinerende sagsbehandler, personlig jobformidler m.m. | |
- - PersonContactName | String_1_255 Base: string | Length: 1-250 | 1 | Navn (fornavn, mellemnavn, efternavn) på kontaktpersonen. |
- - TelephoneNumberIdentifier | TelephoneNumberIdentifierType Base: string | Pattern: (\+)?[0-9]{3,20} | 0 - 1 | Telefonnummer inkl. internationalt prefix |
- - MobileNumberIdentifier | MobileNumberIdentifierType Base: TelephoneNumberIdentifierType | 0 - 1 | Mobilnummer inkl. internationalt prefix | |
- - EmailAddressIdentifier | EmailAddressIdentifierType Base: string | Pattern: ([^>\(\)\[\]\\,;:@\s]{0,191}@[^>\(\)\[\]\\,;:@\s]{1,64}) | 0 - 1 | Emailadresse. |
- - StartDate | dateTime | 1 | Startdato for tilknytning af kontaktperson. | |
- - EndDate | dateTime | 0 - 1 | Slutdato for tilknytning af kontaktperson. | |
- - CommentToCitizen | String_1_255 Base: string | Length: 1-250 | 0 - 1 | Kommentar/bemærkninger til visning for borger på Jobnet. |
- - CommentToCaseWorker | String_1_255 Base: string | Length: 1-250 | 0 - 1 | Kommentar/bemærkninger til visning for jobkonsulent i a-kasse og jobcenter. |
- - ShowContactPersonInJobnet | Boolean | 0 - 1 | Skal kontaktpersonen vises på Jobnet med denne rolle for borgerne. Hvis den undlades, bliver kontaktpersonen vist |
Output
Element | Type | Detaljer | Forekomst | Beskrivelse |
---|---|---|---|---|
UpdatePersonContactResponse | UpdatePersonContactResponseType | 1 | ||
- EmptyResponse | EmptyResponseType | 1 | Tomt svar |
Fejlkoder
Fejlkode | Fejltekst | Beskrivelse |
---|---|---|
1001 | Invalid cpr | The submitted cpr is either to long or short or contains data not interpretable as a date |
1003 | Duration is negative | The reported duration is negative, start date is greater than end date |
1010 | Unknown cpr | The submitted cpr is unknown to the system |
4405 | The person with specified cpr is dead | The person with specified cpr is dead |
8105 | The PersonContactTypeIdentifier type is unknown. | The PersonContactTypeIdentifier type is unknown. |
8106 | A contact with the given identifier does not exist. | A contact with the given identifier does not exist. |
8310 | Person contact enddate cannot be in the past | Person contact enddate cannot be in the past |