{ "swagger": "2.0", "info": { "title": "Nedap Ons API", "version": "0.0.0" }, "host": "api-development.ons.io", "basePath": "/", "schemes": [ "https" ], "paths": { "/t/payroll/account_entries/{id}": { "get": { "tags": [ "payroll.AccountEntry" ], "summary": "Return the Account Entry corresponding to the given id", "operationId": "payroll.AccountEntryAPI.byId", "parameters": [ { "name": "id", "in": "path", "description": "used for selecting AccountEntry", "required": true, "format": "int64", "type": "integer" }, { "name": "X-Cupido-User-Name", "in": "header", "type": "string" }, { "name": "X-Cupido-Active-Identity", "in": "header", "type": "string" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/payroll.AccountEntry" } }, "400": { "description": "The ID is required" }, "404": { "description": "The account entry cannot be found" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/account_entries/{id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/payroll/account_entries/by_employee_and_type_in_period/{employee_id}": { "get": { "tags": [ "payroll.AccountEntry" ], "summary": "Retrieve all AccountEntry for an Employee for a specific AccountType in a period", "description": "Retrieve all {@link AccountEntry} for an {@link Employee} for a specific {@link AccountType} in a period", "operationId": "payroll.AccountEntryAPI.byEmployeeAndAccountTypeInPeriod", "parameters": [ { "name": "employee_id", "in": "path", "description": "the specific employee", "required": true, "format": "int64", "type": "integer" }, { "name": "account_type_id", "in": "query", "description": "the account type", "required": true, "format": "int64", "type": "integer" }, { "name": "valid_from", "in": "query", "description": "the start of the period", "required": true, "format": "date", "type": "string" }, { "name": "valid_to", "in": "query", "description": "the end of the period", "required": true, "format": "date", "type": "string" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/payroll.list.AccountEntryList" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/account_entries/by_employee_and_type_in_period/{employee_id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/payroll/account_entries/by_employee_and_type_till_date/{employee_id}": { "get": { "tags": [ "payroll.AccountEntry" ], "summary": "Retrieve the account entries up until the specified date for a specific employee and specified type", "operationId": "payroll.AccountEntryAPI.byEmployeeIdAndAccountTypeIdTillDate", "parameters": [ { "name": "employee_id", "in": "path", "description": "of the requested employee", "required": true, "format": "int64", "type": "integer" }, { "name": "account_type_id", "in": "query", "description": "the specified accountType", "required": true, "format": "int64", "type": "integer" }, { "name": "date", "in": "query", "description": "until accountentries are requested", "required": true, "type": "string" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/payroll.list.AccountEntryList" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/account_entries/by_employee_and_type_till_date/{employee_id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/payroll/account_entries/by_employee_and_type/{employee_id}": { "get": { "tags": [ "payroll.AccountEntry" ], "summary": "Retrieve all AccountEntry for an Employee and a specific AccountType", "description": "Retrieve all {@link AccountEntry} for an {@link Employee} and a specific {@link AccountType}", "operationId": "payroll.AccountEntryAPI.byEmployeeAndAccountType", "parameters": [ { "name": "employee_id", "in": "path", "description": "the requested employee", "required": true, "format": "int64", "type": "integer" }, { "name": "account_type_id", "in": "query", "description": "the specific accountType", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/payroll.list.AccountEntryList" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/account_entries/by_employee_and_type/{employee_id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/payroll/account_entries/by_employee_in_period/{employee_id}": { "get": { "tags": [ "payroll.AccountEntry" ], "summary": "Retrieve all the AccountEntry for an Employee in a specified period", "description": "Retrieve all the {@link AccountEntry} for an {@link Employee} in a specified period", "operationId": "payroll.AccountEntryAPI.byEmployeeInPeriod", "parameters": [ { "name": "employee_id", "in": "path", "description": "of the request employee", "required": true, "format": "int64", "type": "integer" }, { "name": "valid_from", "in": "query", "description": "the start of the period", "required": true, "format": "date", "type": "string" }, { "name": "valid_to", "in": "query", "description": "the end of the period", "required": true, "format": "date", "type": "string" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/payroll.list.AccountEntryList" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/account_entries/by_employee_in_period/{employee_id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/payroll/account_entries/by_employee_till_date/{employee_id}": { "get": { "tags": [ "payroll.AccountEntry" ], "summary": "Retrieve the account entries up until the specified date for a specific employee", "operationId": "payroll.AccountEntryAPI.byEmployeeIdTillDate", "parameters": [ { "name": "employee_id", "in": "path", "description": "of the requested employee", "required": true, "format": "int64", "type": "integer" }, { "name": "date", "in": "query", "description": "until accountentries are requested", "required": true, "type": "string" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/payroll.list.AccountEntryList" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/account_entries/by_employee_till_date/{employee_id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/payroll/account_entries/by_employee/{employee_id}": { "get": { "tags": [ "payroll.AccountEntry" ], "summary": "Retrieve all AccountEntry for an Employee", "description": "Retrieve all {@link AccountEntry} for an {@link Employee}", "operationId": "payroll.AccountEntryAPI.byEmployee", "parameters": [ { "name": "employee_id", "in": "path", "description": "the requested employee", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/payroll.list.AccountEntryList" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/account_entries/by_employee/{employee_id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/payroll/account_type_expire_statistics/by_employee_at_date/{employee_id}": { "get": { "tags": [ "payroll.AccountTypeExpireStatistic" ], "summary": "Retrieve all the AccountTypeExpireStatistic for an Employee calculated at the given date", "description": "Retrieve all the {@link AccountTypeExpireStatistic} for an {@link Employee} calculated at the given date", "operationId": "payroll.AccountTypeExpireStatisticAPI.byEmployeeAtDate", "parameters": [ { "name": "employee_id", "in": "path", "description": "of the requested employee", "required": true, "format": "int32", "type": "integer" }, { "name": "date", "in": "query", "description": "the date for which AccountTypeExpireStatistics are requested", "required": true, "format": "date", "type": "string" }, { "name": "subtype", "in": "query", "description": "the subtype of the account types for which AccountTypeExpireStatistics should be returned. Valid inputs are 0 (none), 1 (PLB) and 2 (LFB).", "required": true, "format": "int32", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/payroll.list.AccountTypeExpireStatisticList" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/account_type_expire_statistics/by_employee_at_date/{employee_id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/payroll/account_types": { "get": { "tags": [ "payroll.AccountType" ], "summary": "Returns every AccountType available from the AccountTypeAPI", "operationId": "payroll.AccountTypeAPI.all", "parameters": [ { "name": "X-Cupido-User-Name", "in": "header", "type": "string" }, { "name": "X-Cupido-Active-Identity", "in": "header", "type": "string" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/payroll.list.AccountTypeList" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/account_types", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/payroll/account_types/{id}": { "get": { "tags": [ "payroll.AccountType" ], "summary": "Return the AccountType corresponding to the given id", "operationId": "payroll.AccountTypeAPI.byId", "parameters": [ { "name": "id", "in": "path", "description": "used for selecting AccountType", "required": true, "format": "int64", "type": "integer" }, { "name": "X-Cupido-User-Name", "in": "header", "type": "string" }, { "name": "X-Cupido-Active-Identity", "in": "header", "type": "string" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/payroll.AccountType" } }, "400": { "description": "ID is required" }, "404": { "description": "The account type could not be found" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/account_types/{id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/addresses/{id}": { "get": { "tags": [ "Address" ], "summary": "Find address by id", "operationId": "AddressAPI.byId", "parameters": [ { "name": "id", "in": "path", "description": "the id of an address", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/Address" } }, "404": { "description": "Address not found" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/addresses/{id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/admin/background_image": { "get": { "tags": [ "admin.BackgroundImage" ], "summary": "Retrieves the BackgroundImage", "operationId": "admin.BackgroundImageAPI.get", "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/admin.BackgroundImage" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/admin/background_image", "x-internal": false, "parameters": [], "produces": [ "application/json", "application/xml" ] } }, "/t/admin/licenses": { "get": { "tags": [ "admin.License" ], "summary": "Returns every License available from the LicenseAPI", "operationId": "admin.LicenseAPI.all", "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/admin.list.LicenseList" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/admin/licenses", "x-internal": false, "parameters": [], "produces": [ "application/json", "application/xml" ] } }, "/t/admin/logo_image": { "get": { "tags": [ "admin.LogoImage" ], "summary": "Retrieves the LogoImage", "operationId": "admin.LogoImageAPI.get", "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/admin.LogoImage" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/admin/logo_image", "x-internal": false, "parameters": [], "produces": [ "application/json", "application/xml" ] } }, "/t/admin/logo_image/download": { "get": { "tags": [ "admin.LogoImage" ], "summary": "Download logo image.", "operationId": "admin.LogoImageAPI.download", "responses": { "200": { "description": "No response was specified", "schema": { "type": "string", "format": "binary" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/admin/logo_image/download", "x-internal": false, "parameters": [], "produces": [ "image/jpeg" ] } }, "/t/timesheet_config": { "get": { "tags": [ "admin.TimesheetConfig" ], "summary": "Retrieves the TimesheetConfig", "operationId": "admin.TimesheetConfigAPI.get", "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/admin.TimesheetConfig" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/admin/timesheetconfig", "x-internal": false, "parameters": [], "produces": [ "application/json", "application/xml" ] }, "put": { "tags": [ "admin.TimesheetConfig" ], "summary": "Updates the given TimesheetConfig", "operationId": "admin.TimesheetConfigAPI.update", "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/admin.TimesheetConfig" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/admin/timesheetconfig", "x-internal": false, "parameters": [ { "description": "TimesheetConfig to update", "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/admin.TimesheetConfig" } } ], "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] } }, "/t/admin/version": { "get": { "tags": [ "admin.Version" ], "summary": "Retrieves the Version", "operationId": "admin.VersionAPI.get", "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/admin.Version" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/admin/version", "x-internal": false, "parameters": [], "produces": [ "application/json", "application/xml" ] } }, "/t/agbcodes": { "get": { "tags": [ "Agbcode" ], "summary": "Returns every Agbcode available from the AgbcodeAPI", "operationId": "AgbcodeAPI.all", "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/list.AgbcodeList" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/agbcodes", "x-internal": false, "parameters": [], "produces": [ "application/json", "application/xml" ] } }, "/t/agbcodes/{id}": { "get": { "tags": [ "Agbcode" ], "summary": "Return the Agbcode corresponding to the given id", "operationId": "AgbcodeAPI.byId", "parameters": [ { "name": "id", "in": "path", "description": "used for selecting Agbcode", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/Agbcode" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/agbcodes/{id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/agbcodes/by_client_id/{id}/sorted": { "get": { "tags": [ "Agbcode" ], "summary": "Return a list of sorted agbcodes, using the tree depth of the location of given person", "description": "if the agbcode of the location fails, return agbcode from the parent unit", "operationId": "AgbcodeAPI.sortedByClientId", "parameters": [ { "name": "id", "in": "path", "description": "of the client's object from who we want the associated agbcode", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/list.AgbcodeList" } }, "400": { "description": "Client ID is required" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/agbcodes/by_client_id/{id}/sorted", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/arrangement/intent_preferences/add_intent_to_time_slot/{intent_uuid}": { "post": { "tags": [ "arrangement.IntentPreference" ], "summary": "Adds an extra or first Intent to the TimeSlot.", "operationId": "arrangement.IntentPreferenceAPI.addIntentToTimeSlot", "parameters": [ { "name": "intent_uuid", "in": "path", "required": true, "type": "string" }, { "name": "time_slot_uuid", "in": "query", "required": true, "type": "string" } ], "responses": { "200": { "description": "Success" }, "400": { "description": "No time slot UUID specified" }, "403": { "description": "Intent can't be set to time slots, because it is created by the OA-CONVERTER" }, "404": { "description": "Intent or time slot not found" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/arrangement/intent_preferences/add_intent_to_time_slot/{intent_uuid}", "x-internal": false } }, "/t/arrangement/intent_preferences/for_client_in_period/{client_uuid}": { "get": { "tags": [ "arrangement.IntentPreference" ], "summary": "Gets a list of IntentPreferences for the client in a period.", "description": "Only Intents that are within the period or partially overlap with it, will be included in the result\nIntentPreferenceList.", "operationId": "arrangement.IntentPreferenceAPI.forClientInPeriod", "parameters": [ { "name": "client_uuid", "in": "path", "required": true, "type": "string" }, { "name": "period_begin", "in": "query", "required": true, "format": "date", "type": "string" }, { "name": "period_end", "in": "query", "required": true, "format": "date", "type": "string" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/arrangement.list.IntentPreferenceList" } }, "400": { "description": "Invalid period" }, "404": { "description": "Client was not found" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/arrangement/intent_preferences/for_client_in_period/{client_uuid}", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/arrangement/intent_preferences/remove_intent_from_time_slot/{intent_uuid}": { "delete": { "tags": [ "arrangement.IntentPreference" ], "summary": "Removes an Intent from the TimeSlot.", "operationId": "arrangement.IntentPreferenceAPI.removeIntentFromTimeSlot", "parameters": [ { "name": "intent_uuid", "in": "path", "required": true, "type": "string" }, { "name": "time_slot_uuid", "in": "query", "required": true, "type": "string" } ], "responses": { "204": { "description": "Deleted" }, "400": { "description": "No time slot UUID specified" }, "403": { "description": "Intent can't be set to time slots, because it is created by the OA-CONVERTER" }, "404": { "description": "Intent or time slot not found" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/arrangement/intent_preferences/remove_intent_from_time_slot/{intent_uuid}", "x-internal": false } }, "/t/arrangement/intent_preferences/set_intent_to_time_slots/{intent_uuid}": { "post": { "tags": [ "arrangement.IntentPreference" ], "summary": "Ties an Intent to a list of TimeSlots, replacing all previous connections.", "operationId": "arrangement.IntentPreferenceAPI.setIntentToTimeSlots", "parameters": [ { "name": "intent_uuid", "in": "path", "required": true, "type": "string" }, { "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/arrangement.UuidList" } } ], "responses": { "204": { "description": "No response was specified" }, "400": { "description": "No time slot UUID's specified, or Intent not found" }, "403": { "description": "Intent can't be set to time slots, because it is created by the OA-CONVERTER" }, "404": { "description": "Intent cannot be found" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/arrangement/intent_preferences/set_intent_to_time_slots/{intent_uuid}", "x-internal": false, "consumes": [ "application/json", "application/xml" ] } }, "/t/arrangement/intent_preferences/set_time_slot_to_intents/{time_slot_uuid}": { "post": { "tags": [ "arrangement.IntentPreference" ], "summary": "Connects a TimeSlot to a list of Intents, replacing all, if any, previous connections.", "operationId": "arrangement.IntentPreferenceAPI.setTimeSlotToIntents", "parameters": [ { "name": "time_slot_uuid", "in": "path", "required": true, "type": "string" }, { "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/arrangement.UuidList" } } ], "responses": { "204": { "description": "No response was specified" }, "400": { "description": "No time slot UUID specified" }, "403": { "description": "Intent can't be set to time slots, because it is created by the OA-CONVERTER" }, "404": { "description": "Time slot not found" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/arrangement/intent_preferences/set_time_slot_to_intents/{time_slot_uuid}", "x-internal": false, "consumes": [ "application/json", "application/xml" ] } }, "/t/arrangement/intents": { "post": { "tags": [ "arrangement.Intent" ], "summary": "Create Intent", "description": "Deprecated due to potential overlap validation issues. Use createOrUpdateTimeline instead.", "operationId": "arrangement.IntentAPI.create", "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/arrangement.Intent" } } }, "deprecated": true, "x-deployment-id": "administration", "x-deployment-target-path": "/api/arrangement/intents", "x-deprecated-since": "19-01-2024", "x-internal": false, "parameters": [ { "description": "Intent to create", "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/arrangement.Intent" } } ], "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] } }, "/t/arrangement/intents/{uuid}": { "put": { "tags": [ "arrangement.Intent" ], "summary": "Updates the given Intent", "description": "Deprecated due to potential overlap validation issues. Use createOrUpdateTimeline instead.", "operationId": "arrangement.IntentAPI.update", "parameters": [ { "name": "uuid", "in": "path", "description": "Identifier of Intent to update.", "required": true, "format": "uuid", "type": "string" }, { "description": "Intent to update", "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/arrangement.Intent" } } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/arrangement.Intent" } }, "400": { "description": "Intent does not match UUID" }, "403": { "description": "Intent can't be modified because it is created by the OA-CONVERTER" }, "404": { "description": "Intent not found" } }, "deprecated": true, "x-deployment-id": "administration", "x-deployment-target-path": "/api/arrangement/intents/{uuid}", "x-deprecated-since": "19-01-2024", "x-internal": false, "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] }, "delete": { "tags": [ "arrangement.Intent" ], "summary": "Deletes the Intent with given uuid", "description": "Deprecated due to potential overlap validation issues. Use deleteTimeline instead.", "operationId": "arrangement.IntentAPI.delete", "parameters": [ { "name": "uuid", "in": "path", "description": "Identifier of Intent to delete.", "required": true, "format": "uuid", "type": "string" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/arrangement.Intent" } }, "403": { "description": "Intent can't be modified because it is created by the OA-CONVERTER" }, "404": { "description": "Intent not found" } }, "deprecated": true, "x-deployment-id": "administration", "x-deployment-target-path": "/api/arrangement/intents/{uuid}", "x-deprecated-since": "19-01-2024", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/arrangement/intents/by_client_period_plannable/{client_id}": { "get": { "tags": [ "arrangement.Intent" ], "summary": "Gets all intents for a Client in a given period and whether they are plannable", "operationId": "arrangement.IntentAPI.byClientInPeriodPlannable", "parameters": [ { "name": "client_id", "in": "path", "description": "objectId of the client", "required": true, "format": "int64", "type": "integer" }, { "name": "period_begin", "in": "query", "description": "beginning of the period", "required": true, "format": "date", "type": "string" }, { "name": "period_end", "in": "query", "description": "end of the period", "required": true, "format": "date", "type": "string" }, { "name": "plannable", "in": "query", "description": "if the intent is plannable", "required": true, "type": "boolean" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/arrangement.list.IntentList" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/arrangement/intents/by_client_period_plannable/{client_id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/arrangement/intents/by_employee/{employee_id}": { "get": { "tags": [ "arrangement.Intent" ], "summary": "Gets all intents for an Employee.", "operationId": "arrangement.IntentAPI.byEmployeeId", "parameters": [ { "name": "employee_id", "in": "path", "description": "id", "required": true, "format": "int64", "type": "integer" }, { "name": "include_education", "in": "query", "description": "if `true` also intents of the employee's education are returned", "type": "boolean" }, { "name": "include_cluster", "in": "query", "description": "if `true` also intents of the employee's team are returned", "type": "boolean" }, { "name": "period_begin", "in": "query", "description": "the beginning of the period", "required": true, "format": "date", "type": "string" }, { "name": "period_end", "in": "query", "description": "the end of the period", "required": true, "format": "date", "type": "string" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/arrangement.list.IntentList" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/arrangement/intents/by_employee/{employee_id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/arrangement/intents/by_timeline/{timeline_uuid}": { "put": { "tags": [ "arrangement.Intent" ], "summary": "Updates all intents for a timeline identified by a UUID", "operationId": "arrangement.IntentAPI.createOrUpdateTimeline", "parameters": [ { "name": "timeline_uuid", "in": "path", "required": true, "format": "uuid", "type": "string" }, { "name": "body", "in": "body", "schema": { "$ref": "#/definitions/arrangement.list.IntentList" } } ], "responses": { "200": { "description": "Success", "schema": { "$ref": "#/definitions/arrangement.list.IntentList" } }, "400": { "description": "Timeline UUID is invalid or does not match intent" }, "403": { "description": "Intent can't be modified because it is created by the OA-CONVERTER" }, "404": { "description": "No intents found for the given timeline UUID" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/arrangement/intents/by_timeline/{timeline_uuid}", "x-internal": false, "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] }, "delete": { "tags": [ "arrangement.Intent" ], "summary": "Deletes all intents for a timeline identified by a UUID", "operationId": "arrangement.IntentAPI.deleteTimeline", "parameters": [ { "name": "timeline_uuid", "in": "path", "required": true, "format": "uuid", "type": "string" } ], "responses": { "204": { "description": "Success" }, "400": { "description": "Timeline UUID cannot be null" }, "403": { "description": "Intent can't be modified because it is created by the OA-CONVERTER" }, "404": { "description": "Timeline not found" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/arrangement/intents/by_timeline/{timeline_uuid}", "x-internal": false } }, "/t/arrangement/stakeholders": { "post": { "tags": [ "arrangement.Stakeholder" ], "summary": "Create Stakeholder", "operationId": "arrangement.StakeholderAPI.create", "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/arrangement.Stakeholder" } }, "400": { "description": "Intent UUID is required" }, "404": { "description": "Intent not found" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/arrangement/stakeholders", "x-internal": false, "parameters": [ { "description": "Stakeholder to create", "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/arrangement.Stakeholder" } } ], "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] } }, "/t/arrangement/stakeholders/{uuid}": { "get": { "tags": [ "arrangement.Stakeholder" ], "summary": "Gets an Stakeholder by UUID", "operationId": "arrangement.StakeholderAPI.byUuid", "parameters": [ { "name": "uuid", "in": "path", "description": "the uuid of the Stakeholder", "required": true, "format": "uuid", "type": "string" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/arrangement.Stakeholder" } }, "400": { "description": "Stakeholder UUID is required" }, "404": { "description": "Stakeholder not found" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/arrangement/stakeholders/{uuid}", "x-internal": false, "produces": [ "application/json", "application/xml" ] }, "put": { "tags": [ "arrangement.Stakeholder" ], "summary": "Updates the given Stakeholder", "operationId": "arrangement.StakeholderAPI.update", "parameters": [ { "name": "uuid", "in": "path", "description": "the uuid of the Stakeholder", "required": true, "format": "uuid", "type": "string" }, { "description": "Stakeholder to update", "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/arrangement.Stakeholder" } } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/arrangement.Stakeholder" } }, "400": { "description": "Stakeholder or intent UUID is required" }, "404": { "description": "Stakeholder or intent not found" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/arrangement/stakeholders/{uuid}", "x-internal": false, "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] }, "delete": { "tags": [ "arrangement.Stakeholder" ], "summary": "Deletes the Stakeholder with given uuid", "operationId": "arrangement.StakeholderAPI.delete", "parameters": [ { "name": "uuid", "in": "path", "description": "the uuid of the Stakeholder", "required": true, "format": "uuid", "type": "string" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/arrangement.Stakeholder" } }, "400": { "description": "Stakeholder UUID is required" }, "404": { "description": "Stakeholder not found" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/arrangement/stakeholders/{uuid}", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/arrangement/stakeholders/by_intent/{intent_uuid}": { "get": { "tags": [ "arrangement.Stakeholder" ], "summary": "Gets the Stakeholders which belong to an Intent", "operationId": "arrangement.StakeholderAPI.byIntentUuid", "parameters": [ { "name": "intent_uuid", "in": "path", "description": "the UUID of the Intent", "required": true, "type": "string" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/arrangement.list.StakeholderList" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/arrangement/stakeholders/by_intent/{intent_uuid}", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/arrangement/stakeholders/by_timeline/{timeline_uuid}": { "get": { "tags": [ "arrangement.Stakeholder" ], "summary": "Gets the Stakeholders which belong to a Timeline", "operationId": "arrangement.StakeholderAPI.byTimelineUuid", "parameters": [ { "name": "timeline_uuid", "in": "path", "description": "the UUID of the Timeline", "required": true, "type": "string" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/arrangement.list.StakeholderList" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/arrangement/stakeholders/by_timeline/{timeline_uuid}", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/arrangement/time_slots": { "post": { "tags": [ "arrangement.TimeSlot" ], "summary": "Create TimeSlot", "operationId": "arrangement.TimeSlotAPI.create", "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/arrangement.TimeSlot" } }, "400": { "description": "No time slot specified" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/arrangement/time_slots", "x-internal": false, "parameters": [ { "description": "TimeSlot to create", "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/arrangement.TimeSlot" } } ], "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] } }, "/t/arrangement/time_slots/{uuid}": { "get": { "tags": [ "arrangement.TimeSlot" ], "summary": "Gets a time slot by UUID.", "operationId": "arrangement.TimeSlotAPI.byUuid", "parameters": [ { "name": "uuid", "in": "path", "description": "the uuid of the time slot", "required": true, "format": "uuid", "type": "string" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/arrangement.TimeSlot" } }, "404": { "description": "No time slot specified" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/arrangement/time_slots/{uuid}", "x-internal": false, "produces": [ "application/json", "application/xml" ] }, "put": { "tags": [ "arrangement.TimeSlot" ], "summary": "Updates the given TimeSlot", "operationId": "arrangement.TimeSlotAPI.update", "parameters": [ { "name": "uuid", "in": "path", "description": "the uuid of the time slot", "required": true, "format": "uuid", "type": "string" }, { "description": "TimeSlot to update", "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/arrangement.TimeSlot" } } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/arrangement.TimeSlot" } }, "400": { "description": "No time slot specified or time slot does not match UUID" }, "403": { "description": "Time slot can't be updated, because it used by an intent created by the OA-CONVERTER" }, "404": { "description": "Time slot not found" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/arrangement/time_slots/{uuid}", "x-internal": false, "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] }, "delete": { "tags": [ "arrangement.TimeSlot" ], "summary": "Deletes the TimeSlot with given uuid", "operationId": "arrangement.TimeSlotAPI.delete", "parameters": [ { "name": "uuid", "in": "path", "description": "the uuid of the time slot", "required": true, "format": "uuid", "type": "string" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/arrangement.TimeSlot" } }, "403": { "description": "Time slot can't be updated, because it used by an intent created by the OA-CONVERTER" }, "404": { "description": "Time slot not found" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/arrangement/time_slots/{uuid}", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/arrangement/time_slots/all_for_client/{client_uuid}": { "get": { "tags": [ "arrangement.TimeSlot" ], "summary": "Gets the time slots that have been specified for a client.", "operationId": "arrangement.TimeSlotAPI.allForClient", "parameters": [ { "name": "client_uuid", "in": "path", "description": "the UUID of the client", "required": true, "format": "uuid", "type": "string" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/arrangement.list.TimeSlotList" } }, "404": { "description": "Client not found" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/arrangement/time_slots/all_for_client/{client_uuid}", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/arrangement/time_slots/all_for_intent/{intent_uuid}": { "get": { "tags": [ "arrangement.TimeSlot" ], "summary": "Gets the time slots for an intent, i.e.", "description": "the slots that are connected via IntentPreference records.", "operationId": "arrangement.TimeSlotAPI.allForIntent", "parameters": [ { "name": "intent_uuid", "in": "path", "description": "the UUID of the intent", "required": true, "format": "uuid", "type": "string" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/arrangement.list.TimeSlotList" } }, "404": { "description": "Intent not found" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/arrangement/time_slots/all_for_intent/{intent_uuid}", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/arrangement/time_slots/generic_for_client/{client_uuid}": { "get": { "tags": [ "arrangement.TimeSlot" ], "summary": "Gets all time slots that are generic to a client (have no connection to Intents (yet)).", "operationId": "arrangement.TimeSlotAPI.genericForClient", "parameters": [ { "name": "client_uuid", "in": "path", "required": true, "format": "uuid", "type": "string" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/arrangement.list.TimeSlotList" } }, "404": { "description": "Client not found" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/arrangement/time_slots/generic_for_client/{client_uuid}", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/accessrights": { "get": { "tags": [ "AccessRight" ], "summary": "Returns every AccessRight available from the AccessRightAPI", "operationId": "AccessRightAPI.all", "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/list.AccessRightList" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/authorization/access_rights", "x-internal": false, "parameters": [], "produces": [ "application/json", "application/xml" ] } }, "/t/accessrights/{id}": { "get": { "tags": [ "AccessRight" ], "summary": "Returns the AccessRight corresponding to the given id", "operationId": "AccessRightAPI.byId", "parameters": [ { "name": "id", "in": "path", "description": "used for selecting AccessRight", "required": true, "type": "string" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/AccessRight" } }, "404": { "description": "Access right with id does not exist" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/authorization/access_rights/{id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/bsns": { "post": { "tags": [ "Bsn" ], "summary": "Create Bsn", "operationId": "BsnAPI.create", "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/Bsn" } }, "400": { "description": "Invalid BSN" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/bsns", "x-internal": false, "parameters": [ { "description": "Bsn to create", "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/Bsn" } } ], "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] } }, "/t/bsns/{id}": { "get": { "tags": [ "Bsn" ], "summary": "Return the Bsn corresponding to the given id", "operationId": "BsnAPI.byId", "parameters": [ { "name": "id", "in": "path", "description": "used for selecting Bsn", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/Bsn" } }, "404": { "description": "Bsn not found" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/bsns/{id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/capacity/capacity_profiles": { "get": { "tags": [ "capacity.CapacityProfile" ], "summary": "Returns every CapacityProfile available from the CapacityProfileAPI", "operationId": "capacity.CapacityProfileAPI.all", "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/capacity.list.CapacityProfileList" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/capacity/capacity_profiles", "x-internal": false, "parameters": [], "produces": [ "application/json", "application/xml" ] } }, "/t/capacity/capacity_profiles/{id}": { "get": { "tags": [ "capacity.CapacityProfile" ], "summary": "Return the Capacity Profile corresponding to the given id", "operationId": "capacity.CapacityProfileAPI.byId", "parameters": [ { "name": "id", "in": "path", "description": "used for selecting CapacityProfile", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/capacity.CapacityProfile" } }, "400": { "description": "No capacity profile ID" }, "404": { "description": "Capacity profile does not exist" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/capacity/capacity_profiles/{id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/capacity/capacity_profiles/all_active": { "get": { "tags": [ "capacity.CapacityProfile" ], "summary": "Find a list of CapacityProfiles that are active on the given date.", "operationId": "capacity.CapacityProfileAPI.allActive", "parameters": [ { "name": "date", "in": "query", "description": "date on which the capacity profiles should be active", "format": "date", "type": "string" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/capacity.list.CapacityProfileList" } }, "400": { "description": "Date is required" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/capacity/capacity_profiles/all_active", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/care_provider_addresses": { "post": { "tags": [ "CareProviderAddress" ], "summary": "Create CareProviderAddress", "operationId": "CareProviderAddressAPI.create", "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/CareProviderAddress" } }, "400": { "description": "CareProviderAddress must have a careprovider, or other validation errors" }, "404": { "description": "Address or CareProviderAddress not found" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/care_provider_addresses", "x-internal": false, "parameters": [ { "description": "CareProviderAddress to create", "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/CareProviderAddress" } } ], "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] } }, "/t/care_provider_addresses/{id}": { "get": { "tags": [ "CareProviderAddress" ], "summary": "Return the address of a Careprovider corresponding to the given id.", "operationId": "CareProviderAddressAPI.byId", "parameters": [ { "name": "id", "in": "path", "description": "used for selecting CareProviderAddress", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/CareProviderAddress" } }, "404": { "description": "Address or CareProviderAddress not found" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/care_provider_addresses/{id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/care_allocations": { "post": { "tags": [ "CareAllocation" ], "summary": "Create a CareAllocation", "operationId": "CareAllocationAPI.create", "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/CareAllocation" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/careallocations", "x-internal": false, "parameters": [ { "description": "CareAllocation to create", "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/CareAllocation" } } ], "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] } }, "/t/care_allocations/{id}": { "get": { "tags": [ "CareAllocation" ], "summary": "Return the Care Allocation corresponding to the given id", "operationId": "CareAllocationAPI.byId", "parameters": [ { "name": "id", "in": "path", "description": "used for selecting CareAllocation", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/CareAllocation" } }, "404": { "description": "The care allocation cannot be found" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/careallocations/{id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/external_care_providers": { "post": { "tags": [ "CareProvider" ], "summary": "Create CareProvider", "operationId": "CareProviderAPI.create", "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/CareProvider" } }, "400": { "description": "Bad request" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/careproviders", "x-internal": false, "parameters": [ { "description": "CareProvider to create", "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/CareProvider" } } ], "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] } }, "/t/external_care_providers/{care_provider_id}/addresses": { "get": { "tags": [ "Address" ], "summary": "Return the addresses of a CareProvider corresponding to the given id.", "operationId": "AddressAPI.byCareProviderId", "parameters": [ { "name": "care_provider_id", "in": "path", "description": "id", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/list.AddressList" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/careproviders/{care_provider_id}/addresses", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/external_care_providers/{care_provider_id}/assign_to_client/{client_id}": { "post": { "tags": [ "CareProvider" ], "summary": "Assigns an external care provider to a client.", "description": "After doing this, that care provider will be returned when calling /clients/{id}/care_providers", "operationId": "CareProviderAPI.assignCareProviderToClient", "parameters": [ { "name": "care_provider_id", "in": "path", "description": "the id of the care provider", "required": true, "format": "int64", "type": "integer" }, { "name": "client_id", "in": "path", "description": "the id of the client", "required": true, "format": "int64", "type": "integer" } ], "responses": { "204": { "description": "External care provider assigned" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/careproviders/{care_provider_id}/assign_to_client/{client_id}", "x-internal": false } }, "/t/external_care_providers/{care_provider_id}/unassign_from_client/{client_id}": { "delete": { "tags": [ "CareProvider" ], "summary": "Unassigns an external care provider from a client.", "description": "After doing this, that care provider will no longer be returned when calling /clients/{id}/care_providers", "operationId": "CareProviderAPI.unassignCareProviderFromClient", "parameters": [ { "name": "care_provider_id", "in": "path", "description": "the id of the care provider", "required": true, "format": "int64", "type": "integer" }, { "name": "client_id", "in": "path", "description": "the id of the client", "required": true, "format": "int64", "type": "integer" } ], "responses": { "204": { "description": "External care provider unassigned" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/careproviders/{care_provider_id}/unassign_from_client/{client_id}", "x-internal": false } }, "/t/external_care_providers/{id}": { "get": { "tags": [ "CareProvider" ], "summary": "Return the Care Provider corresponding to the given id", "operationId": "CareProviderAPI.byId", "parameters": [ { "name": "id", "in": "path", "description": "used for selecting CareProvider", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/CareProvider" } }, "404": { "description": "Care provider not found" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/careproviders/{id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/external_care_providers/category/{category_id}/{identification}": { "get": { "tags": [ "CareProvider" ], "operationId": "CareProviderAPI.byCategoryAndIdentification", "parameters": [ { "name": "category_id", "in": "path", "description": "Category of CareProvider", "required": true, "format": "int64", "type": "integer" }, { "name": "identification", "in": "path", "description": "ID of care provider (not object ID)", "required": true, "type": "string" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/CareProvider" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/careproviders/category/{category_id}/{identification}", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/external_care_providers/identification/{identification}": { "get": { "tags": [ "CareProvider" ], "summary": "Return the Care Provider corresponding to the given identification", "operationId": "CareProviderAPI.byIdentification", "parameters": [ { "name": "identification", "in": "path", "description": "identification of care provider (not object ID)", "required": true, "type": "string" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/list.CareProviderList" } }, "404": { "description": "Care provider not found" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/careproviders/identification/{identification}", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/client_addresses": { "post": { "tags": [ "ClientAddress" ], "summary": "Create ClientAddress", "operationId": "ClientAddressAPI.create", "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/ClientAddress" } }, "400": { "description": "ClientAddress must have a client, or validation errors" }, "404": { "description": "Client not found" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/client_addresses", "x-internal": false, "parameters": [ { "description": "ClientAddress to create", "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/ClientAddress" } } ], "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] } }, "/t/client_addresses/{id}": { "get": { "tags": [ "ClientAddress" ], "summary": "Return the Client Address corresponding to the given id", "operationId": "ClientAddressAPI.byId", "parameters": [ { "name": "id", "in": "path", "description": "used for selecting ClientAddress", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/ClientAddress" } }, "404": { "description": "Address or ClientAddress not found" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/client_addresses/{id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/client_contact_relation_addresses": { "post": { "tags": [ "ClientContactRelationAddress" ], "summary": "Create ClientContactRelationAddress", "operationId": "ClientContactRelationAddressAPI.create", "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/ClientContactRelationAddress" } }, "400": { "description": "ClientContactRelationAddress must have a relation" }, "404": { "description": "Relation not found" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/client_contact_relation_addresses", "x-internal": false, "parameters": [ { "description": "ClientContactRelationAddress to create", "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/ClientContactRelationAddress" } } ], "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] } }, "/t/client_contact_relation_addresses/{id}": { "get": { "tags": [ "ClientContactRelationAddress" ], "summary": "Return the client contact Relation Address corresponding to the given id", "operationId": "ClientContactRelationAddressAPI.byId", "parameters": [ { "name": "id", "in": "path", "description": "used for selecting ClientContactRelationAddress", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/ClientContactRelationAddress" } }, "404": { "description": "Address or RelationAddress not found" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/client_contact_relation_addresses/{id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/client_contact_relations": { "get": { "tags": [ "ClientContactRelation" ], "summary": "Returns every ClientContactRelation available from the ClientContactRelationAPI", "operationId": "ClientContactRelationAPI.all", "parameters": [ { "name": "X-Cupido-User-Name", "in": "header", "type": "string" }, { "name": "X-Cupido-Active-Identity", "in": "header", "type": "string" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/list.ClientContactRelationList" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/client_contact_relations", "x-internal": false, "produces": [ "application/json", "application/xml" ] }, "post": { "tags": [ "ClientContactRelation" ], "summary": "Create ClientContactRelation", "operationId": "ClientContactRelationAPI.create", "parameters": [ { "name": "X-Cupido-User-Name", "in": "header", "type": "string" }, { "name": "X-Cupido-Active-Identity", "in": "header", "type": "string" }, { "description": "ClientContactRelation to create", "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/ClientContactRelation" } } ], "responses": { "200": { "description": "default response", "schema": { "$ref": "#/definitions/ClientContactRelation" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/client_contact_relations", "x-internal": false, "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] } }, "/t/client_contact_relations/{id}": { "get": { "tags": [ "ClientContactRelation" ], "operationId": "ClientContactRelationAPI.byId", "parameters": [ { "name": "id", "in": "path", "description": "used for selecting ClientContactRelation", "required": true, "format": "int64", "type": "integer" }, { "name": "include", "in": "query", "type": "array", "items": { "type": "string" }, "collectionFormat": "multi" }, { "name": "X-Cupido-User-Name", "in": "header", "type": "string" }, { "name": "X-Cupido-Active-Identity", "in": "header", "type": "string" } ], "responses": { "200": { "description": "default response", "schema": { "$ref": "#/definitions/ClientContactRelation" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/client_contact_relations/{id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] }, "put": { "tags": [ "ClientContactRelation" ], "summary": "Updates the given ClientContactRelation", "operationId": "ClientContactRelationAPI.update", "parameters": [ { "name": "id", "in": "path", "description": "used for selecting ClientContactRelation", "required": true, "format": "int64", "type": "integer" }, { "name": "X-Cupido-User-Name", "in": "header", "type": "string" }, { "name": "X-Cupido-Active-Identity", "in": "header", "type": "string" }, { "description": "ClientContactRelation to update", "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/ClientContactRelation" } } ], "responses": { "200": { "description": "default response", "schema": { "$ref": "#/definitions/ClientContactRelation" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/client_contact_relations/{id}", "x-internal": false, "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] }, "delete": { "tags": [ "ClientContactRelation" ], "summary": "Deletes the ClientContactRelation with given id", "operationId": "ClientContactRelationAPI.delete", "parameters": [ { "name": "id", "in": "path", "description": "used for selecting ClientContactRelation", "required": true, "format": "int64", "type": "integer" }, { "name": "X-Cupido-User-Name", "in": "header", "type": "string" }, { "name": "X-Cupido-Active-Identity", "in": "header", "type": "string" } ], "responses": { "204": { "description": "default response" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/client_contact_relations/{id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/client_contact_relations/{relation_id}/addresses": { "get": { "tags": [ "Address" ], "summary": "Return the addresses of a ClientContactRelation corresponding to the given id.", "operationId": "AddressAPI.byClientContactRelationId", "parameters": [ { "name": "relation_id", "in": "path", "description": "id", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/list.AddressList" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/client_contact_relations/{relation_id}/addresses", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/client_contact_relations/{relation_id}/client_contact_relation_addresses": { "get": { "tags": [ "Address" ], "summary": "Return the addresses of a ClientContactRelation corresponding to the given id.", "operationId": "AddressAPI.byClientContactRelationId2", "parameters": [ { "name": "relation_id", "in": "path", "description": "id", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/list.AddressList" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/client_contact_relations/{relation_id}/addresses", "x-internal": false, "produces": [ "application/json", "application/xml" ], "deprecated": true, "description": "Deprecated operation, please use 'AddressAPI.byClientContactRelationId' instead", "x-deprecated-since": "03-05-2023" } }, "/t/client_contact_relations/by_client_ids": { "get": { "tags": [ "ClientContactRelation" ], "summary": "Return the client contact relations of multiple clients corresponding to the given ids.", "operationId": "ClientContactRelationAPI.byClientIds", "parameters": [ { "name": "ids", "in": "query", "description": "The ids of the clients (ids=1&ids=2&ids=3...)", "type": "array", "items": { "type": "integer", "format": "int64" }, "collectionFormat": "multi" }, { "name": "X-Cupido-User-Name", "in": "header", "type": "string" }, { "name": "X-Cupido-Active-Identity", "in": "header", "type": "string" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/list.ClientContactRelationList" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/client_contact_relations/by_client_ids", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/clients/{client_id}/client_contact_relations": { "get": { "tags": [ "ClientContactRelation" ], "summary": "Return the client contact relations of a client corresponding to the given id.", "operationId": "ClientContactRelationAPI.byClientId", "parameters": [ { "name": "client_id", "in": "path", "description": "id", "required": true, "format": "int64", "type": "integer" }, { "name": "relation_type", "in": "query", "description": "name of the relationtype as defined in Nexus.", "type": "string" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/list.ClientContactRelationList" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/client_contact_relations/by_client/{client_id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/client_absence_reasons/{id}": { "get": { "tags": [ "ClientAbsenceReason" ], "summary": "Get the Client Absence Reason corresponding to the given id", "operationId": "ClientAbsenceReasonAPI.byId", "parameters": [ { "name": "id", "in": "path", "description": "used for selecting ClientAbsenceReason", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/ClientAbsenceReason" } }, "404": { "description": "Absence reason not found" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/clientAbsenceReasons/{id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/client_absence_reasons": { "get": { "tags": [ "ClientAbsenceReason" ], "summary": "Returns every ClientAbsenceReason available from the ClientAbsenceReasonAPI", "operationId": "ClientAbsenceReasonAPI.all", "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/list.ClientAbsenceReasonList" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/clientAbsenceReasons/all", "x-internal": false, "parameters": [], "produces": [ "application/json", "application/xml" ] } }, "/t/client_absences": { "post": { "tags": [ "ClientAbsence" ], "summary": "Create ClientAbsence", "operationId": "ClientAbsenceAPI.create", "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/ClientAbsence" } }, "400": { "description": "Bad request" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/clientAbsences", "x-internal": false, "parameters": [ { "description": "ClientAbsence to create", "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/ClientAbsence" } } ], "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] } }, "/t/client_absences/{id}": { "get": { "tags": [ "ClientAbsence" ], "summary": "Get the Client Absence corresponding to the given id", "operationId": "ClientAbsenceAPI.byId", "parameters": [ { "name": "id", "in": "path", "description": "used for selecting ClientAbsence", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/ClientAbsence" } }, "404": { "description": "Client absence not found" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/clientAbsences/{id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] }, "put": { "tags": [ "ClientAbsence" ], "summary": "Updates the given ClientAbsence", "operationId": "ClientAbsenceAPI.update", "parameters": [ { "name": "id", "in": "path", "description": "used for selecting ClientAbsence", "required": true, "format": "int64", "type": "integer" }, { "description": "ClientAbsence to update", "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/ClientAbsence" } } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/ClientAbsence" } }, "400": { "description": "Bad request" }, "404": { "description": "Client Absence not found" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/clientAbsences/{id}", "x-internal": false, "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] }, "delete": { "tags": [ "ClientAbsence" ], "summary": "Deletes the ClientAbsence with given id", "operationId": "ClientAbsenceAPI.delete", "parameters": [ { "name": "id", "in": "path", "description": "used for selecting ClientAbsence", "required": true, "format": "int64", "type": "integer" } ], "responses": { "204": { "description": "If successfully removed the client absence" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/clientAbsences/{id}", "x-internal": false } }, "/t/clients/{client_id}/client_absences": { "get": { "tags": [ "ClientAbsence" ], "summary": "Return the client absences of a Client corresponding to the given id.", "operationId": "ClientAbsenceAPI.byClientId", "parameters": [ { "name": "client_id", "in": "path", "description": "Long identifying the client", "required": true, "format": "int64", "type": "integer" }, { "name": "valid_from", "in": "query", "description": "LocalDate the date to start searching from (inclusive)", "required": true, "format": "date", "type": "string" }, { "name": "valid_to", "in": "query", "description": "LocalDate the date to search until (inclusive)", "required": true, "format": "date", "type": "string" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/list.ClientAbsenceList" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/clientAbsences/search_by_client", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/clients/{client_id}/client_absences_by_type": { "get": { "tags": [ "ClientAbsence" ], "summary": "Return the type-specific client absences for a Client corresponding to the provided client_id and Type corresponding to the provided type_id.", "operationId": "ClientAbsenceAPI.byClientIdAndType", "parameters": [ { "name": "client_id", "in": "path", "description": "Long identifying the client", "required": true, "format": "int64", "type": "integer" }, { "name": "valid_from", "in": "query", "description": "LocalDate the date to start searching from (inclusive)", "required": true, "format": "date", "type": "string" }, { "name": "valid_to", "in": "query", "description": "LocalDate the date to search until (inclusive)", "required": true, "format": "date", "type": "string" }, { "name": "type_id", "in": "query", "description": "String containing a numeric representation of the type of AbsenceReason\n (ie. \"0\" or \"1\" or \"2\" being USER, DBC and DBC_UNFINANCED respectively)", "required": true, "type": "string" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/list.ClientAbsenceList" } }, "400": { "description": "Invalid type ID" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/clientAbsences/search_by_client_and_type", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/clients": { "post": { "tags": [ "Client" ], "summary": "Create Client", "operationId": "ClientAPI.create", "parameters": [ { "name": "X-Cupido-User-Name", "in": "header", "type": "string" }, { "name": "X-Cupido-Active-Identity", "in": "header", "type": "string" }, { "description": "Client to create", "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/Client" } } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/Client" } }, "400": { "description": "Validation or persistence problems" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/clients", "x-internal": false, "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] } }, "/t/clients_in_care": { "get": { "tags": [ "ClientsInCare" ], "summary": "Return the clients in and out of care in a certain period", "operationId": "ClientsInCareAPI.allInPeriod", "parameters": [ { "name": "valid_from", "in": "query", "format": "date-time", "type": "string", "x-example": "2014-12-01T00:00:00.000Z" }, { "name": "valid_to", "in": "query", "format": "date-time", "type": "string", "x-example": "2014-12-29T00:00:00.000Z" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/ClientsInCare" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/clients_in_care", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/clients_in_care/old_method": { "get": { "tags": [ "ClientsInCare" ], "summary": "The old way of invoicing.", "description": "Has a less specific way of determining active clients\nReturn the clients in and out of care in a certain period", "operationId": "ClientsInCareAPI.allInPeriodOldMethod", "parameters": [ { "name": "valid_from", "in": "query", "format": "date-time", "type": "string", "x-example": "2014-12-01T00:00:00.000Z" }, { "name": "valid_to", "in": "query", "format": "date-time", "type": "string", "x-example": "2014-12-29T00:00:00.000Z" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/ClientsInCare" } } }, "deprecated": true, "x-deployment-id": "administration", "x-deployment-target-path": "/api/clients_in_care/old_method", "x-deprecated-since": "04-11-2020", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/clients/{client_id}/addresses": { "get": { "tags": [ "Address" ], "summary": "Return the addresses of a Client corresponding to the given id.", "operationId": "AddressAPI.byClientId", "parameters": [ { "name": "client_id", "in": "path", "description": "id", "required": true, "format": "int64", "type": "integer" }, { "name": "type", "in": "query", "description": "the type of address. possible values: 0 (ONBEKEND), 1 (GBA), 2 (CORRESPONDENTIE), 3 (VERBLIJF), 4 (TIJDELIJK), 50 (SLEUTEL_ADDRESS), 98 (OVERIG), 100 (FACTUUR_ADRES)", "type": "string" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/list.AddressList" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/clients/{client_id}/addresses", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/clients/{client_id}/bank_account": { "get": { "tags": [ "BankAccount" ], "summary": "Return the BankAccount of a client based on the clientId.", "operationId": "BankAccountAPI.byClientId", "parameters": [ { "name": "client_id", "in": "path", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/BankAccount" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/clients/{client_id}/bank_account", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/clients/{client_id}/bsn": { "get": { "tags": [ "Bsn" ], "summary": "Return the bsn of a client corresponding to the given client id.", "operationId": "BsnAPI.byClientId", "parameters": [ { "name": "client_id", "in": "path", "description": "id", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/Bsn" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/clients/{client_id}/bsn", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/clients/{client_id}/care_allocations": { "get": { "tags": [ "CareAllocation" ], "summary": "Return the care providers of a Client corresponding to the given id.", "operationId": "CareAllocationAPI.byClientId", "parameters": [ { "name": "client_id", "in": "path", "description": "id", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/list.CareAllocationList" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/clients/{client_id}/care_allocations", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/clients/{client_id}/care_arrangements": { "get": { "tags": [ "CareArrangement" ], "summary": "Return the care arrangements of a Client corresponding to the given id.", "operationId": "CareArrangementAPI.byClientId", "parameters": [ { "name": "client_id", "in": "path", "description": "id", "required": true, "format": "int64", "type": "integer" }, { "name": "valid_from", "in": "query", "required": true, "format": "date", "type": "string" }, { "name": "valid_to", "in": "query", "required": true, "format": "date", "type": "string" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/list.CareArrangementList" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/clients/{client_id}/care_arrangements", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/clients/{client_id}/care_providers": { "get": { "tags": [ "CareProvider" ], "summary": "Return the care providers of a Client corresponding to the given id.", "operationId": "CareProviderAPI.byClientId", "parameters": [ { "name": "client_id", "in": "path", "description": "id", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/list.CareProviderList" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/clients/{client_id}/careproviders", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/clients/{client_id}/client_cards": { "get": { "tags": [ "ClientCard" ], "summary": "Return the client cards of a Client corresponding to the given id.", "operationId": "ClientCardAPI.byClientId", "parameters": [ { "name": "client_id", "in": "path", "description": "id", "required": true, "format": "int64", "type": "integer" }, { "name": "valid_from", "in": "query", "required": true, "format": "date", "type": "string" }, { "name": "valid_to", "in": "query", "required": true, "format": "date", "type": "string" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/list.ClientCardList" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/clients/{client_id}/clipped_cards", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/clients/{client_id}/locations": { "get": { "tags": [ "Location" ], "summary": "Return the locations of a Client corresponding to the given id.", "operationId": "LocationAPI.byClientId", "parameters": [ { "name": "client_id", "in": "path", "description": "id", "required": true, "format": "int64", "type": "integer" }, { "name": "valid_from", "in": "query", "required": true, "format": "date", "type": "string" }, { "name": "valid_to", "in": "query", "required": true, "format": "date", "type": "string" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/list.LocationList" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/clients/{client_id}/clipped_locations", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/clients/{client_id}/consents": { "get": { "tags": [ "nuts.Consent" ], "summary": "Return the list of consent of a client corresponding to the given client id.", "operationId": "nuts.ConsentAPI.byClientId", "parameters": [ { "name": "client_id", "in": "path", "description": "id", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/nuts.list.ConsentList" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/clients/{client_id}/consents", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/clients/{client_id}/debtors": { "get": { "tags": [ "Debtor" ], "summary": "Return the debtors of a Client corresponding to the given id.", "operationId": "DebtorAPI.byClientId", "parameters": [ { "name": "client_id", "in": "path", "description": "id", "required": true, "format": "int64", "type": "integer" }, { "name": "valid_from", "in": "query", "description": "starting time", "format": "date", "type": "string" }, { "name": "valid_to", "in": "query", "description": "end time", "format": "date", "type": "string" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/list.DebtorList" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/clients/{client_id}/debtors", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/documents": { "post": { "tags": [ "Document" ], "summary": "Create a document for a client. The maximum file size can vary between 10MB and 100MB, but is set to 40MB by default.", "description": "WARNING: Documents uploaded without visibility settings (expertise profile or expertise group) may be visible to clients in Caren, depending on how the customer environment is set up.\n\n POST body:\n
\n POST /t/documents HTTP/1.1\n Accept: application/xml\n Accept-Encoding: gzip, deflate\n Connection: keep-alive\n Content-Type: multipart/form-data; boundary=---------------------------9051914041544843365972754266\n Content-Length: 554\n -----------------------------9051914041544843365972754266\n Content-Disposition: form-data; name=“metadata”\n Content-Type: application/json\n {\"clientObjectId\": 12, \"employeeObjectId\": 10}\n -----------------------------9051914041544843365972754266\n Content-Disposition: form-data; name=“attachment\"; filename=“somefilename\"\n Content-Type: application/octet-stream\n 0010010010101001001000\n -----------------------------9051914041544843365972754266--\n
\n\n Curl example\n
\n curl -vv -S\n --cert common-name.pem --key common-name.key\n -X POST https://api-development.ons.io/t/documents?client_id=12\n -H 'Accept: application/xml,application/json'\n -H 'Cache-Control: no-cache'\n -H 'Content-Type: multipart/form-data'\n -F 'metadata={\"clientObjectId\":12, \"employeeObjectId\" : 10};type=application/json'\n -F 'attachment=@temp.txt'\n
\n\n When using Postman api client the metadata has to be an xml object", "operationId": "DocumentAPI.create", "parameters": [ { "name": "client_id", "in": "query", "description": "Id of the client object", "required": true, "format": "int64", "type": "integer" }, { "description": "An object with metadata about the document (clientObjectId and employeeObjectId are required).\n When setting expertise profiles or expertise groups the rightSelection should be set to Group.\n The RightSelection `Education` ignores any supplied expertise profiles and expertise groups and applies the\n currently valid expertise profile of the employee.", "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/Document" } } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/Document" } }, "415": { "description": "Unsupported Media Type can be returned when media type is unsupported or if an attachment was not received completely. A retry should normally fix this." } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/clients/{client_id}/documents", "x-internal": false, "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] }, "get": { "tags": [ "Document" ], "summary": "Find the document corresponding to the given client and document id's.", "operationId": "DocumentAPI.byClientIdAndDocumentId", "parameters": [ { "name": "client_id", "in": "query", "description": "the id of the client", "required": true, "format": "int64", "type": "integer" }, { "name": "doc_id", "in": "query", "description": "the id of the document", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/Document" } }, "405": { "description": "When no doc_id query parameter is provided" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/clients/{client_id}/documents/{doc_id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/documents/download": { "get": { "tags": [ "Document" ], "summary": "Returns a stream of bytes representing the document, be sure to close the stream when done.", "operationId": "DocumentAPI.downloadByClientIdAndDocumentId", "parameters": [ { "name": "client_id", "in": "query", "description": "the id of the client", "required": true, "format": "int64", "type": "integer" }, { "name": "doc_id", "in": "query", "description": "the id of the document", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "Download file", "schema": { "type": "string", "format": "binary" } }, "405": { "description": "When no doc_id query parameter is provided" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/clients/{client_id}/documents/{doc_id}/download", "x-internal": false, "produces": [ "application/octet-stream" ] } }, "/t/documents/by_client/{client_id}": { "get": { "tags": [ "Document" ], "summary": "Find all documents for a client.", "description": "Optionally filter by employee who has access to the files and by creation date.", "operationId": "DocumentAPI.byClientIdAndEmployeeIdAndDate", "parameters": [ { "name": "client_id", "in": "path", "description": "id", "required": true, "format": "int64", "type": "integer" }, { "name": "employee_id", "in": "query", "description": "an optional filter. Adding an employee id will only return those documents that that employee can access", "format": "int64", "type": "integer" }, { "name": "from", "in": "query", "description": "only return the documents added after this date", "format": "date", "type": "string" }, { "name": "to", "in": "query", "description": "only return the documents added before this date", "format": "date", "type": "string" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/list.DocumentList" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/clients/{client_id}/documents/all", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/documents/by_client/{client_id}/all_archived_included": { "get": { "tags": [ "Document" ], "summary": "Find all active and archived documents.", "description": "Optionally filter by employee who has access to the files and by creation date.", "operationId": "DocumentAPI.documentsByClientInPeriodIncludeArchived", "parameters": [ { "name": "X-Cupido-User-Name", "in": "header", "type": "string" }, { "name": "X-Cupido-Active-Identity", "in": "header", "type": "string" }, { "name": "client_id", "in": "path", "description": "id", "required": true, "format": "int64", "type": "integer" }, { "name": "employee_id", "in": "query", "description": "an optional filter. Adding an employee id will only return thosdocuments that that employee can access", "format": "int64", "type": "integer" }, { "name": "from", "in": "query", "description": "only return the documents added after this date", "format": "date", "type": "string" }, { "name": "to", "in": "query", "description": "only return the documents added before this date", "format": "date", "type": "string" } ], "responses": { "200": { "description": "Success", "schema": { "$ref": "#/definitions/list.DocumentList" } }, "404": { "description": "Employee cannot be found" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/clients/{client_id}/documents/all_archived_included", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/clients/{client_id}/finance_types/{finance_type_id}/coordinating_practitioner": { "get": { "tags": [ "Employee" ], "summary": "Find the coordinating practitioner by client, finance type and date.", "operationId": "EmployeeAPI.coordinatingPractitionerByClientFinanceTypeDate", "parameters": [ { "name": "client_id", "in": "path", "required": true, "format": "int64", "type": "integer" }, { "name": "finance_type_id", "in": "path", "description": "The finance type of the care order in which the coordinating practitioner is defined.\nFinance types:\n* 14 - GGZ ZPM\n* 15 - FZ ZPM", "required": true, "format": "int64", "type": "integer" }, { "name": "date", "in": "query", "description": "date", "required": true, "format": "date", "type": "string" }, { "name": "X-Cupido-User-Name", "in": "header", "type": "string" }, { "name": "X-Cupido-Active-Identity", "in": "header", "type": "string" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/Employee" } }, "400": { "description": "Date is required, a valid finance_type_id is required, a valid client_id is required" }, "404": { "description": "No careorder found or no employee found for given parameters" }, "409": { "description": "Two or more coordinating practitioners were found" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/clients/{client_id}/finance_types/{finance_type_id}/coordinating_practitioner", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/clients/{client_id}/insurances": { "get": { "tags": [ "Insurance" ], "summary": "Return the insurances of a Client corresponding to the given id.", "operationId": "InsuranceAPI.byClientId", "parameters": [ { "name": "client_id", "in": "path", "description": "id", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/list.InsuranceList" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/clients/{client_id}/insurances", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/clients/{client_id}/location_assignments": { "get": { "tags": [ "LocationAssignment" ], "summary": "Return the location assignments of a Client corresponding to the given id.", "operationId": "LocationAssignmentAPI.byClientId", "parameters": [ { "name": "client_id", "in": "path", "description": "id", "required": true, "format": "int64", "type": "integer" }, { "name": "valid_from", "in": "query", "format": "date", "type": "string" }, { "name": "valid_to", "in": "query", "format": "date", "type": "string" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/list.LocationAssignmentList" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/clients/{client_id}/locations", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/clients/{client_id}/main_location": { "get": { "tags": [ "Location" ], "description": "Returns the main location of the client", "operationId": "LocationAPI.mainLocationByClientId", "parameters": [ { "name": "client_id", "in": "path", "description": "the id of the client", "required": true, "format": "int64", "type": "integer" }, { "name": "date", "in": "query", "description": "Sample date for selecting the main location. If omitted, the current date is used", "required": false, "format": "date", "type": "string" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/Location" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/clients/{client_id}/main_location", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/clients/{client_id}/main_location_assignment": { "get": { "tags": [ "LocationAssignment" ], "description": "Returns the main location assignment of the client", "operationId": "LocationAssignmentAPI.mainLocationAssignmentByClientId", "parameters": [ { "name": "client_id", "in": "path", "description": "the id of the client", "required": true, "format": "int64", "type": "integer" }, { "name": "date", "in": "query", "description": "Sample date for selecting the main location assignment. If omitted, the current date is used", "required": false, "format": "date", "type": "string" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/LocationAssignment" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/clients/{client_id}/main_location_assignment", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/clients/{client_id}/presence_logs": { "get": { "tags": [ "PresenceLog" ], "summary": "Return the presence logs of a Client corresponding to the given id.", "operationId": "PresenceLogAPI.byClientId", "parameters": [ { "name": "client_id", "in": "path", "description": "id", "required": true, "format": "int64", "type": "integer" }, { "name": "valid_from", "in": "query", "format": "date", "type": "string" }, { "name": "valid_to", "in": "query", "format": "date", "type": "string" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/list.PresenceLogList" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/clients/{client_id}/presence_logs", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/clients/{client_id}/main_address": { "get": { "tags": [ "Address" ], "summary": "Return the address where the client currently resides.", "description": "Note: this is not the legal address\nReturns the address where the client currently resides. Not to be used to retrieve the legal address.\nSorts the currently active addresses by type, and returns the first one it finds. It uses the following order: temporary, residence, legal (GBA), correspondence, unknown, other, invoice, key address.", "operationId": "AddressAPI.mainAddressByClientId", "parameters": [ { "name": "client_id", "in": "path", "description": "id", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/Address" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/clients/{client_id}/primary_address", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/clients/{client_id}/waiting_list_location_assignments": { "get": { "tags": [ "LocationAssignmentWaitingList" ], "summary": "Return the waiting list location assignments of a Client corresponding to the given id.", "operationId": "LocationAssignmentWaitingListAPI.byClientId", "parameters": [ { "name": "client_id", "in": "path", "description": "id", "required": true, "format": "int64", "type": "integer" }, { "name": "valid_from", "in": "query", "format": "date", "type": "string" }, { "name": "valid_to", "in": "query", "format": "date", "type": "string" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/list.LocationAssignmentWaitingListList" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/clients/{client_id}/waiting_list_locations", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/clients/{employee_id}/last_visited_clients": { "get": { "tags": [ "Client" ], "summary": "Returns the last visited clients of an employee based on presence logs.", "operationId": "ClientAPI.lastVisitedClients", "parameters": [ { "name": "employee_id", "in": "path", "description": "- employee id", "required": true, "format": "int64", "type": "integer" }, { "name": "from_date", "in": "query", "description": "- begin date of period", "required": true, "format": "date", "type": "string" }, { "name": "to_date", "in": "query", "description": "- end date of period", "required": true, "format": "date", "type": "string" }, { "name": "offset", "in": "query", "description": "- position in the result list to start from", "format": "int32", "default": 0, "type": "integer" }, { "name": "limit", "in": "query", "description": "- limit of the result list", "format": "int32", "default": 10, "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/list.ClientList" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/clients/{employee_id}/last_visited_clients", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/clients/{id}": { "get": { "tags": [ "Client" ], "summary": "Find a client by their primary key", "operationId": "ClientAPI.byId", "parameters": [ { "name": "id", "in": "path", "description": "used for selecting Client", "required": true, "format": "int64", "type": "integer" }, { "name": "X-Cupido-User-Name", "in": "header", "type": "string" }, { "name": "X-Cupido-Active-Identity", "in": "header", "type": "string" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/Client" } }, "404": { "description": "Client not found" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/clients/{id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] }, "put": { "tags": [ "Client" ], "summary": "Update Client", "operationId": "ClientAPI.update", "parameters": [ { "name": "id", "in": "path", "description": "used for selecting Client", "required": true, "format": "int64", "type": "integer" }, { "name": "X-Cupido-User-Name", "in": "header", "type": "string" }, { "name": "X-Cupido-Active-Identity", "in": "header", "type": "string" }, { "description": "Client to update", "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/Client" } } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/Client" } }, "400": { "description": "Validation or persistence problems, or identification number already exists" }, "404": { "description": "Client not found" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/clients/{id}", "x-internal": false, "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] } }, "/t/clients/by_bsn": { "get": { "tags": [ "Client" ], "summary": "Find a client by its BSN number", "operationId": "ClientAPI.byBSN", "parameters": [ { "name": "bsn", "in": "query", "description": "The bsn of the client to find", "type": "string" }, { "name": "X-Cupido-User-Name", "in": "header", "type": "string" }, { "name": "X-Cupido-Active-Identity", "in": "header", "type": "string" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/Client" } }, "404": { "description": "Client not found" }, "409": { "description": "If multiple clients are registered with the same BSN" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/clients/by_bsn", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/clients/by_bsn/{bsn}": { "get": { "tags": [ "Client" ], "summary": "Find a client by its BSN number", "description": "Use byBsn ", "operationId": "ClientAPI.byBSNUnsafe", "parameters": [ { "name": "bsn", "in": "path", "required": true, "type": "string" }, { "name": "X-Cupido-User-Name", "in": "header", "type": "string" }, { "name": "X-Cupido-Active-Identity", "in": "header", "type": "string" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/Client" } }, "404": { "description": "Client not found" }, "409": { "description": "If multiple clients are registered with the same BSN" } }, "deprecated": true, "x-deployment-id": "administration", "x-deployment-target-path": "/api/clients/by_bsn/{bsn}", "x-deprecated-since": "29-07-2020", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/clients/by_skn": { "get": { "tags": [ "Client" ], "summary": "Find a client by its SKN (strafrechtketennummer).", "operationId": "ClientAPI.bySkn", "parameters": [ { "name": "skn", "in": "query", "description": "the skn of the client to find.", "type": "string" }, { "name": "X-Cupido-User-Name", "in": "header", "type": "string" }, { "name": "X-Cupido-Active-Identity", "in": "header", "type": "string" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/Client" } }, "404": { "description": "Client not found" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/clients/by_skn", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/clients/by_uuid/{uuid}": { "get": { "tags": [ "Client" ], "summary": "Find a client by its UUID", "operationId": "ClientAPI.byUUID", "parameters": [ { "name": "uuid", "in": "path", "required": true, "format": "uuid", "type": "string" }, { "name": "X-Cupido-User-Name", "in": "header", "type": "string" }, { "name": "X-Cupido-Active-Identity", "in": "header", "type": "string" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/Client" } }, "404": { "description": "Client not found" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/clients/by_uuid/{uuid}", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/clients/by_identification_no/{identification_no}": { "get": { "tags": [ "Client" ], "summary": "Find a client based on it's identification number, a logical identifier", "operationId": "ClientAPI.byIdentificationNo", "parameters": [ { "name": "identification_no", "in": "path", "required": true, "type": "string" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/Client" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/clients/byIdentificationNumber/{identification_no}", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/clients/searchresult": { "get": { "tags": [ "Client" ], "summary": "Results returned by this call are not grouped, i.e.", "description": "the {@link com.nedap.healthcare.domain.ClientSearchResult#group}\nvalue is {@link com.nedap.healthcare.domain.ClientSearchResultGroup#UNGROUPED} for all results.", "operationId": "ClientAPI.search", "parameters": [ { "name": "query", "in": "query", "description": "The string to search for", "required": true, "type": "string" }, { "name": "employee_id", "in": "query", "type": "string" }, { "name": "limit", "in": "query", "format": "int32", "default": 10, "type": "integer" }, { "name": "offset", "in": "query", "format": "int32", "default": 0, "type": "integer" }, { "name": "include_waiting", "in": "query", "type": "boolean" }, { "name": "include_outofcare", "in": "query", "type": "boolean" }, { "name": "on_date", "in": "query", "description": "The search will be performed for the given date (instead of now)", "format": "date", "type": "string" }, { "name": "location_id", "in": "query", "description": "Limit the scope of search to within this location (only works when also using employee_id with an Employee that is linked to a User account)", "format": "int64", "type": "integer" }, { "name": "X-Cupido-User-Name", "in": "header", "type": "string" }, { "name": "X-Cupido-Active-Identity", "in": "header", "type": "string" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/list.ClientSearchResultList" } }, "404": { "description": "Employee not found" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/clients/find", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/clients/search_grouped": { "get": { "tags": [ "Client" ], "summary": "Searches performed through this method are 'grouped' according to the groups defined in\ncom.nedap.healthcare.domain.ClientSearchResultGroup, which value is set on the\ncom.nedap.healthcare.domain.ClientSearchResult#group field.", "description": "Searches performed through this method are 'grouped' according to the groups defined in\n{@link com.nedap.healthcare.domain.ClientSearchResultGroup}, which value is set on the\n{@link com.nedap.healthcare.domain.ClientSearchResult#group} field.", "operationId": "ClientAPI.searchGrouped", "parameters": [ { "name": "query", "in": "query", "required": true, "type": "string" }, { "name": "employee_id", "in": "query", "type": "string" }, { "name": "limit", "in": "query", "format": "int32", "default": 10, "type": "integer" }, { "name": "offset", "in": "query", "format": "int32", "default": 0, "type": "integer" }, { "name": "include_waiting", "in": "query", "type": "boolean" }, { "name": "include_outofcare", "in": "query", "type": "boolean" }, { "name": "on_date", "in": "query", "description": "The search will be performed for the given date (instead of now)", "format": "date", "type": "string" }, { "name": "location_id", "in": "query", "description": "Limit the scope of search to within this location (only works when also using employee_id with an Employee that is linked to a User account)", "format": "int64", "type": "integer" }, { "name": "X-Cupido-User-Name", "in": "header", "type": "string" }, { "name": "X-Cupido-Active-Identity", "in": "header", "type": "string" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/list.ClientSearchResultList" } }, "404": { "description": "Employee not found" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/clients/find_grouped", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/clients/in_care_in_period": { "get": { "tags": [ "Client" ], "summary": "Find all clients in care in a given period", "operationId": "ClientAPI.searchInCareInPeriod", "parameters": [ { "name": "valid_from", "in": "query", "format": "date", "type": "string" }, { "name": "valid_to", "in": "query", "format": "date", "type": "string" }, { "name": "limit", "in": "query", "format": "int32", "default": 10, "type": "integer" }, { "name": "offset", "in": "query", "format": "int32", "default": 0, "type": "integer" }, { "name": "X-Cupido-User-Name", "in": "header", "type": "string" }, { "name": "X-Cupido-Active-Identity", "in": "header", "type": "string" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/list.ClientList" } }, "400": { "description": "Bad request" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/clients/in_care_in_period", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/clients/multiple": { "get": { "tags": [ "Client" ], "summary": "Method used for requesting multiple Client objects using\ntheir ids.", "operationId": "ClientAPI.multiple", "parameters": [ { "name": "id", "in": "query", "description": "array style id's: id=1&id=2&etc", "type": "array", "items": { "type": "integer", "format": "int64" }, "collectionFormat": "multi" }, { "name": "X-Cupido-User-Name", "in": "header", "type": "string" }, { "name": "X-Cupido-Active-Identity", "in": "header", "type": "string" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/list.ClientList" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/clients/multiple", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/clients/search_by/locations/{location_id}": { "get": { "tags": [ "Client" ], "summary": "Find clients by location", "operationId": "ClientAPI.searchByLocationId", "parameters": [ { "name": "location_id", "in": "path", "description": "Location", "required": true, "format": "int64", "type": "integer" }, { "name": "offset", "in": "query", "description": "number of results to skip", "format": "int32", "type": "integer" }, { "name": "limit", "in": "query", "description": "number of results for one call", "format": "int32", "type": "integer" }, { "name": "valid_from", "in": "query", "description": "starting time", "format": "date", "type": "string" }, { "name": "valid_to", "in": "query", "description": "end time", "format": "date", "type": "string" }, { "name": "X-Cupido-User-Name", "in": "header", "type": "string" }, { "name": "X-Cupido-Active-Identity", "in": "header", "type": "string" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/list.ClientList" } }, "404": { "description": "Location not found" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/clients/search_by_location", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/payroll/collective_agreement_assignments": { "post": { "tags": [ "payroll.CollectiveAgreementAssignment" ], "summary": "Create the provided collective agreement assignment and assign it to the employee corresponding to the provided id", "operationId": "payroll.CollectiveAgreementAssignmentAPI.create", "responses": { "200": { "description": "Success", "schema": { "$ref": "#/definitions/payroll.CollectiveAgreementAssignment" } }, "400": { "description": "Validation errors" }, "404": { "description": "Not found" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/collective_agreement_assignments", "x-internal": false, "parameters": [ { "name": "body", "in": "body", "schema": { "$ref": "#/definitions/payroll.CollectiveAgreementAssignment" } } ], "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] } }, "/t/payroll/collective_agreement_assignments/{id}": { "get": { "tags": [ "payroll.CollectiveAgreementAssignment" ], "summary": "Returns the collective agreement assignment corresponding to the given id", "operationId": "payroll.CollectiveAgreementAssignmentAPI.byId", "parameters": [ { "name": "id", "in": "path", "description": "used for selecting Collective Agreement Assignment", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "Success", "schema": { "$ref": "#/definitions/payroll.CollectiveAgreementAssignment" } }, "404": { "description": "Collective agreement assignment not found" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/collective_agreement_assignments/{id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] }, "put": { "tags": [ "payroll.CollectiveAgreementAssignment" ], "summary": "Update the provided collective agreement assignment", "operationId": "payroll.CollectiveAgreementAssignmentAPI.updateById", "parameters": [ { "name": "id", "in": "path", "required": true, "format": "int64", "type": "integer" }, { "name": "body", "in": "body", "schema": { "$ref": "#/definitions/payroll.CollectiveAgreementAssignment" } } ], "responses": { "200": { "description": "Success", "schema": { "$ref": "#/definitions/payroll.CollectiveAgreementAssignment" } }, "400": { "description": "Validation errors" }, "404": { "description": "Not found" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/collective_agreement_assignments/{id}", "x-internal": false, "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] }, "delete": { "tags": [ "payroll.CollectiveAgreementAssignment" ], "summary": "Remove the collective agreement assignment corresponding to the given id", "operationId": "payroll.CollectiveAgreementAssignmentAPI.removeById", "parameters": [ { "name": "id", "in": "path", "required": true, "format": "int64", "type": "integer" } ], "responses": { "204": { "description": "Success" }, "404": { "description": "Collective agreement assignment not found" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/collective_agreement_assignments/{id}", "x-internal": false } }, "/t/employees/{employee_id}/collective_agreement_assignments": { "get": { "tags": [ "payroll.CollectiveAgreementAssignment" ], "summary": "Return the collective agreement assignments of an Employee corresponding to the given id.", "operationId": "payroll.CollectiveAgreementAssignmentAPI.byEmployeeId", "parameters": [ { "name": "employee_id", "in": "path", "description": "id", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "Success", "schema": { "$ref": "#/definitions/payroll.list.CollectiveAgreementAssignmentList" } }, "404": { "description": "Employee not found" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/collective_agreement_assignments/by_employee_id/{employee_id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] }, "delete": { "tags": [ "payroll.CollectiveAgreementAssignment" ], "summary": "Remove all collective agreement assignments for the employee corresponding to the given id", "operationId": "payroll.CollectiveAgreementAssignmentAPI.removeByEmployeeId", "parameters": [ { "name": "employee_id", "in": "path", "required": true, "format": "int64", "type": "integer" } ], "responses": { "204": { "description": "Success" }, "404": { "description": "Collective agreement assignment not found" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/collective_agreement_assignments/by_employee_id/{employee_id}", "x-internal": false } }, "/t/payroll/collective_agreement_rules/{id}": { "get": { "tags": [ "payroll.CollectiveAgreementRule" ], "operationId": "payroll.CollectiveAgreementRuleAPI.byId", "parameters": [ { "name": "id", "in": "path", "description": "used for selecting ColllectiveAgreementRule", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "default response", "schema": { "$ref": "#/definitions/payroll.CollectiveAgreementRule" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/collective_agreement_rules/{id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/payroll/collective_agreements/{collective_agreement_id}/collective_agreement_rules": { "get": { "tags": [ "payroll.CollectiveAgreementRule" ], "summary": "Return the CollectiveAgreementRules of an employee corresponding to the given id.", "operationId": "payroll.CollectiveAgreementRuleAPI.byCollectiveAgreementId", "parameters": [ { "name": "collective_agreement_id", "in": "path", "description": "id", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/payroll.list.CollectiveAgreementRuleList" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/collective_agreement_rules/by_collective_agreement_id/{collective_agreement_id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/payroll/collective_agreements": { "get": { "tags": [ "payroll.CollectiveAgreement" ], "summary": "Returns every CollectiveAgreement available", "operationId": "payroll.CollectiveAgreementAPI.all", "responses": { "200": { "description": "default response", "schema": { "$ref": "#/definitions/payroll.list.CollectiveAgreementList" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/collective_agreements", "x-internal": false, "parameters": [], "produces": [ "application/json", "application/xml" ] } }, "/t/payroll/collective_agreements/{id}": { "get": { "tags": [ "payroll.CollectiveAgreement" ], "operationId": "payroll.CollectiveAgreementAPI.byId", "parameters": [ { "name": "id", "in": "path", "description": "used for selecting Collective Agreement", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "default response", "schema": { "$ref": "#/definitions/payroll.CollectiveAgreement" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/collective_agreements/{id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/nuts/consents/{id}": { "get": { "tags": [ "nuts.Consent" ], "summary": "Return the Consent corresponding to the given id", "operationId": "nuts.ConsentAPI.byId", "parameters": [ { "name": "id", "in": "path", "description": "used for selecting Consent", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/nuts.Consent" } }, "404": { "description": "ClientPrivacySetting not found" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/consents/{id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/payroll/contract_types/{id}": { "get": { "tags": [ "payroll.ContractType" ], "summary": "Return the Contract Type corresponding to the given id", "operationId": "payroll.ContractTypeAPI.byId", "parameters": [ { "name": "id", "in": "path", "description": "used for selecting ContractType", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/payroll.ContractType" } }, "404": { "description": "Contract type not found" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/contract_types/{id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/payroll/contracts": { "post": { "tags": [ "payroll.Contract" ], "summary": "Create a new Contract", "operationId": "payroll.ContractAPI.create", "responses": { "201": { "description": "Created", "schema": { "$ref": "#/definitions/payroll.Contract" } }, "400": { "description": "Validation errors" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/contracts", "x-internal": false, "parameters": [ { "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/payroll.Contract" } } ], "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] } }, "/t/payroll/contracts/{id}": { "get": { "tags": [ "payroll.Contract" ], "summary": "Return the Contract corresponding to the given id", "operationId": "payroll.ContractAPI.byId", "parameters": [ { "name": "id", "in": "path", "description": "used for selecting Contract", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/payroll.Contract" } }, "404": { "description": "Contract not found" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/contracts/{id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] }, "put": { "tags": [ "payroll.Contract" ], "summary": "Update an existing Contract", "operationId": "payroll.ContractAPI.update", "parameters": [ { "name": "id", "in": "path", "description": "used for selecting Contract", "required": true, "format": "int64", "type": "integer" }, { "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/payroll.Contract" } } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/payroll.Contract" } }, "400": { "description": "Validation errors" }, "404": { "description": "Contract not found" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/contracts/{id}", "x-internal": false, "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] } }, "/t/cost_centers": { "get": { "tags": [ "CostCenterSelectionOption" ], "summary": "Returns every CostCenterSelectionOption for the selection from the CostCenterSelectionOptionAPI", "operationId": "CostCenterSelectionOptionAPI.costCenterSelectionOptions", "parameters": [ { "name": "date", "in": "query", "required": true, "format": "date", "type": "string" }, { "name": "employee_id", "in": "query", "required": true, "format": "int64", "type": "integer" }, { "name": "client_object_ids", "in": "query", "type": "array", "items": { "type": "integer", "format": "int64" }, "collectionFormat": "multi" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/list.CostCenterSelectionOptionList" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/cost_centers/costCenterSelectionOptions", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/dashboard_profiles": { "get": { "tags": [ "DashboardProfile" ], "summary": "Return all dashboard profiles", "operationId": "DashboardProfileAPI.all", "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/list.DashboardProfileList" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/dashboard_profiles", "x-internal": false, "parameters": [], "produces": [ "application/json", "application/xml" ] } }, "/t/dbc/dbc_sub_trajects/{id}": { "get": { "tags": [ "dbc.DBCSubTraject" ], "operationId": "dbc.DBCSubTrajectAPI.byId", "parameters": [ { "name": "id", "in": "path", "description": "used for selecting DBCSubTraject", "required": true, "format": "int64", "type": "integer" }, { "name": "include", "in": "query", "type": "array", "items": { "type": "string" }, "collectionFormat": "multi" }, { "name": "X-Cupido-User-Name", "in": "header", "type": "string" }, { "name": "X-Cupido-Active-Identity", "in": "header", "type": "string" } ], "responses": { "200": { "description": "default response", "schema": { "$ref": "#/definitions/dbc.DBCSubTraject" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/dbc/dbc_sub_trajects/{id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/dbc/dbc_sub_trajects/in_period": { "get": { "tags": [ "dbc.DBCSubTraject" ], "summary": "Return all dbc subtrajects that have been active at any time in the requested period", "operationId": "dbc.DBCSubTrajectAPI.byPeriod", "parameters": [ { "name": "valid_from", "in": "query", "description": "begindate of the period (inclusive)", "format": "date", "type": "string" }, { "name": "valid_to", "in": "query", "description": "enddate of the period (exclusive)", "format": "date", "type": "string" }, { "name": "X-Cupido-User-Name", "in": "header", "type": "string" }, { "name": "X-Cupido-Active-Identity", "in": "header", "type": "string" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dbc.list.DBCSubTrajectList" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/dbc/dbc_sub_trajects/in_period", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/dbc/dbc_trajects/{dbc_traject_id}/dbc_sub_trajects": { "get": { "tags": [ "dbc.DBCSubTraject" ], "summary": "Return the DBCSubTrajects of a DBCTraject corresponding to the given id.", "operationId": "dbc.DBCSubTrajectAPI.byDBCTrajectId", "parameters": [ { "name": "dbc_traject_id", "in": "path", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dbc.list.DBCSubTrajectList" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/dbc/dbc_trajects/{dbc_traject_id}/dbc_sub_trajects", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/dbc/dbc_trajects/{id}": { "get": { "tags": [ "dbc.DBCTraject" ], "operationId": "dbc.DBCTrajectAPI.byId", "parameters": [ { "name": "id", "in": "path", "description": "used for selecting DBCTraject", "required": true, "format": "int64", "type": "integer" }, { "name": "include", "in": "query", "type": "array", "items": { "type": "string" }, "collectionFormat": "multi" }, { "name": "X-Cupido-User-Name", "in": "header", "type": "string" }, { "name": "X-Cupido-Active-Identity", "in": "header", "type": "string" } ], "responses": { "200": { "description": "default response", "schema": { "$ref": "#/definitions/dbc.DBCTraject" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/dbc/dbc_trajects/{id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/clients/{client_id}/dbc_trajects": { "get": { "tags": [ "dbc.DBCTraject" ], "summary": "Return the dbc trajects of a Client corresponding to the given id.", "operationId": "dbc.DBCTrajectAPI.byClientId", "parameters": [ { "name": "client_id", "in": "path", "description": "id", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dbc.list.DBCTrajectList" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/dbc/dbc_trajects/by_client/{client_id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/debtors": { "get": { "tags": [ "Debtor" ], "summary": "Return a DebtorList containing all Debtors available from the DebtorAPI.", "description": "Filtered by Debtor type if one is provided.", "operationId": "DebtorAPI.all", "parameters": [ { "name": "type", "in": "query", "description": "The type of debtor. Null means no filtering. Possible filtering values:\n
\n ORGANISATIE(0, \"Organisatie\")\n ASIELZOEKERSCENTRUM(1, \"Asielzoekerscentrum\")\n ZORGKANTOOR(2, \"Zorgkantoor\")\n ZORGVERZEKERAAR(3, \"Verzekeraar\")\n GEMEENTE(4, \"Gemeente\")\n ONDERAANNEMER(5, \"Onderaannemer\")\n CLIENT(6, \"Cliënt\")\n CLIENT_EN_ZORGVERZEKERAAR(7, \"Cliënt en verzekeraar\")\n", "type": "string" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/list.DebtorList" } }, "400": { "description": "Invalid debtor type" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/debtors", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/debtors/{id}": { "get": { "tags": [ "Debtor" ], "summary": "Return the Debtor corresponding to the given id", "operationId": "DebtorAPI.byId", "parameters": [ { "name": "id", "in": "path", "description": "used for selecting Debtor", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/Debtor" } }, "404": { "description": "Debtor not found" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/debtors/{id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/documents/update_status/{document_object_id}": { "put": { "tags": [ "Document" ], "summary": "Update the status of a document", "description": "WARNING: Documents uploaded without visibility settings (expertise profile or expertise group) may be visible to clients in Caren, depending on how the customer environment is set up.", "operationId": "DocumentAPI.updateStatus", "parameters": [ { "name": "document_object_id", "in": "path", "description": "id", "required": true, "format": "int64", "type": "integer" }, { "name": "status_code", "in": "query", "description": "The status of the document. Possible values: Stored(2), Deleted(3), Archived(6), Scheduled for purging(7)", "format": "int32", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/Document" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/documents/{document_object_id}/status", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/dossier/action_entries": { "post": { "tags": [ "dossier.ActionEntry" ], "summary": "Create ActionEntry", "operationId": "dossier.ActionEntryAPI.create", "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dossier.ActionEntry" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/dossier/action_entries", "x-internal": false, "parameters": [ { "description": "ActionEntry to create", "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/dossier.ActionEntry" } } ], "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] } }, "/t/dossier/action_entries/{id}": { "put": { "tags": [ "dossier.ActionEntry" ], "summary": "Updates the given ActionEntry", "operationId": "dossier.ActionEntryAPI.update", "parameters": [ { "name": "id", "in": "path", "description": "Identifier of ActionEntry to update.", "required": true, "format": "int64", "type": "integer" }, { "name": "X-Cupido-User-Name", "in": "header", "type": "string" }, { "name": "X-Cupido-Active-Identity", "in": "header", "type": "string" }, { "description": "ActionEntry to update", "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/dossier.ActionEntry" } } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dossier.ActionEntry" } }, "400": { "description": "Validation errors" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/dossier/action_entries/{id}", "x-internal": false, "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] }, "delete": { "tags": [ "dossier.ActionEntry" ], "summary": "Deletes the ActionEntry with given id", "operationId": "dossier.ActionEntryAPI.delete", "parameters": [ { "name": "id", "in": "path", "description": "Identifier of ActionEntry to update.", "required": true, "format": "int64", "type": "integer" }, { "name": "X-Cupido-User-Name", "in": "header", "type": "string" }, { "name": "X-Cupido-Active-Identity", "in": "header", "type": "string" } ], "responses": { "204": { "description": "If successfully removed the action entry" }, "400": { "description": "Validation errors" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/dossier/action_entries/{id}", "x-internal": false } }, "/t/dossier/actions": { "post": { "tags": [ "dossier.Action" ], "summary": "Create Action", "operationId": "dossier.ActionAPI.create", "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dossier.Action" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/dossier/actions", "x-internal": false, "parameters": [ { "description": "Action to create", "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/dossier.Action" } } ], "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] } }, "/t/dossier/actions/{id}": { "get": { "tags": [ "dossier.Action" ], "summary": "Get a resource by its ID", "operationId": "dossier.ActionAPI.byId", "parameters": [ { "name": "id", "in": "path", "description": "used for selecting Action", "required": true, "format": "int64", "type": "integer" }, { "name": "X-Cupido-User-Name", "in": "header", "type": "string" }, { "name": "X-Cupido-Active-Identity", "in": "header", "type": "string" } ], "responses": { "200": { "description": "default response", "schema": { "$ref": "#/definitions/dossier.Action" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/dossier/actions/{id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] }, "put": { "tags": [ "dossier.Action" ], "summary": "Updates the given Action", "operationId": "dossier.ActionAPI.update", "parameters": [ { "name": "id", "in": "path", "description": "used for selecting Action", "required": true, "format": "int64", "type": "integer" }, { "name": "X-Cupido-User-Name", "in": "header", "type": "string" }, { "name": "X-Cupido-Active-Identity", "in": "header", "type": "string" }, { "description": "Action to update", "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/dossier.Action" } } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dossier.Action" } }, "400": { "description": "Validation errors" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/dossier/actions/{id}", "x-internal": false, "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] }, "delete": { "tags": [ "dossier.Action" ], "summary": "Deletes the Action with given id", "operationId": "dossier.ActionAPI.delete", "parameters": [ { "name": "id", "in": "path", "description": "used for selecting Action", "required": true, "format": "int64", "type": "integer" }, { "name": "X-Cupido-User-Name", "in": "header", "type": "string" }, { "name": "X-Cupido-Active-Identity", "in": "header", "type": "string" } ], "responses": { "204": { "description": "If successfully removed the action" }, "400": { "description": "Validation errors" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/dossier/actions/{id}", "x-internal": false } }, "/t/dossier/actions/multiple": { "get": { "tags": [ "dossier.Action" ], "summary": "Method used for requesting multiple Action objects using\ntheir ids.", "operationId": "dossier.ActionAPI.multiple", "parameters": [ { "name": "id", "in": "query", "description": "array style id's: id=1&id=2&etc", "type": "array", "items": { "type": "integer", "format": "int64" }, "collectionFormat": "multi" }, { "name": "X-Cupido-User-Name", "in": "header", "type": "string" }, { "name": "X-Cupido-Active-Identity", "in": "header", "type": "string" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dossier.list.ActionList" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/dossier/actions/multiple", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/dossier/actions/search": { "get": { "tags": [ "dossier.Action" ], "summary": "Returns the Actions which meet the search criteria.", "operationId": "dossier.ActionAPI.search", "parameters": [ { "name": "keyword", "in": "query", "type": "string" }, { "name": "X-Cupido-User-Name", "in": "header", "type": "string" }, { "name": "X-Cupido-Active-Identity", "in": "header", "type": "string" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dossier.list.ActionList" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/dossier/actions/search", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/dossier/care_plan_entries": { "post": { "tags": [ "dossier.CarePlanEntry" ], "summary": "Create CarePlanEntry", "operationId": "dossier.CarePlanEntryAPI.create", "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dossier.CarePlanEntry" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/dossier/care_plan_entries", "x-internal": false, "parameters": [ { "description": "CarePlanEntry to create", "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/dossier.CarePlanEntry" } } ], "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] } }, "/t/dossier/care_plan_entries/{care_plan_entry_id}/action_entries": { "get": { "tags": [ "dossier.ActionEntry" ], "summary": "Return the ActionEntries of a CarePlanEntry corresponding to the given id.", "operationId": "dossier.ActionEntryAPI.byCarePlanEntryId", "parameters": [ { "name": "care_plan_entry_id", "in": "path", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dossier.list.ActionEntryList" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/dossier/care_plan_entries/{care_plan_entry_id}/action_entries", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/dossier/care_plan_entries/{id}": { "get": { "tags": [ "dossier.CarePlanEntry" ], "summary": "Get a resource by its ID", "operationId": "dossier.CarePlanEntryAPI.byId", "parameters": [ { "name": "id", "in": "path", "description": "used for selecting CarePlanEntry", "required": true, "format": "int64", "type": "integer" }, { "name": "X-Cupido-User-Name", "in": "header", "type": "string" }, { "name": "X-Cupido-Active-Identity", "in": "header", "type": "string" } ], "responses": { "200": { "description": "default response", "schema": { "$ref": "#/definitions/dossier.CarePlanEntry" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/dossier/care_plan_entries/{id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] }, "put": { "tags": [ "dossier.CarePlanEntry" ], "summary": "Updates the given CarePlanEntry", "operationId": "dossier.CarePlanEntryAPI.update", "parameters": [ { "name": "id", "in": "path", "description": "used for selecting CarePlanEntry", "required": true, "format": "int64", "type": "integer" }, { "name": "X-Cupido-User-Name", "in": "header", "type": "string" }, { "name": "X-Cupido-Active-Identity", "in": "header", "type": "string" }, { "description": "CarePlanEntry to update", "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/dossier.CarePlanEntry" } } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dossier.CarePlanEntry" } }, "400": { "description": "Invalid care plan entry" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/dossier/care_plan_entries/{id}", "x-internal": false, "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] }, "delete": { "tags": [ "dossier.CarePlanEntry" ], "summary": "Deletes the CarePlanEntry with given id", "operationId": "dossier.CarePlanEntryAPI.delete", "parameters": [ { "name": "id", "in": "path", "description": "used for selecting CarePlanEntry", "required": true, "format": "int64", "type": "integer" }, { "name": "X-Cupido-User-Name", "in": "header", "type": "string" }, { "name": "X-Cupido-Active-Identity", "in": "header", "type": "string" } ], "responses": { "204": { "description": "If successfully removed the care plan entry" }, "400": { "description": "Invalid care plan entry" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/dossier/care_plan_entries/{id}", "x-internal": false } }, "/t/dossier/care_plan_entries/create": { "post": { "tags": [ "dossier.CarePlanEntry" ], "summary": "Create a Care Plan Entry", "operationId": "dossier.CarePlanEntryAPI.createEntry", "parameters": [ { "name": "X-Cupido-User-Name", "in": "header", "type": "string" }, { "name": "X-Cupido-Active-Identity", "in": "header", "type": "string" }, { "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/dossier.CreateCarePlanEntry" } } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dossier.CarePlanEntry" } }, "400": { "description": "Invalid care plan entry" } }, "deprecated": true, "x-deployment-id": "administration", "x-deployment-target-path": "/api/dossier/care_plan_entries/create", "x-deprecated-since": "20-11-2023", "x-internal": false, "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] } }, "/t/dossier/care_plan_report_rights/last_report": { "get": { "tags": [ "dossier.CarePlanReportRight" ], "summary": "Return the care plan report rights of the most recent report created by the given employee and for the given client.", "operationId": "dossier.CarePlanReportRightAPI.getReportRightsForMostRecentReportByClientAndEmployee", "parameters": [ { "name": "client_id", "in": "query", "description": "id of client for whom the report is created", "required": true, "format": "int64", "type": "integer" }, { "name": "employee_id", "in": "query", "description": "id of employee that created the report", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dossier.list.CarePlanReportRightList" } }, "400": { "description": "Client ID and employee ID are required" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/dossier/care_plan_report_rights/last_report", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/dossier/care_plans": { "post": { "tags": [ "dossier.CarePlan" ], "summary": "Create CarePlan", "operationId": "dossier.CarePlanAPI.create", "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dossier.CarePlan" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/dossier/care_plans", "x-internal": false, "parameters": [ { "description": "CarePlan to create", "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/dossier.CarePlan" } } ], "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] } }, "/t/dossier/care_plans/{care_plan_id}/care_plan_entries": { "get": { "tags": [ "dossier.CarePlanEntry" ], "summary": "Return the CarePlanEntries of a CarePlan corresponding to the given id.", "operationId": "dossier.CarePlanEntryAPI.byCarePlanId", "parameters": [ { "name": "care_plan_id", "in": "path", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dossier.list.CarePlanEntryList" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/dossier/care_plans/{care_plan_id}/entries", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/dossier/care_plans/{id}": { "get": { "tags": [ "dossier.CarePlan" ], "summary": "Get the CarePlan corresponding to the given id", "operationId": "dossier.CarePlanAPI.byId", "parameters": [ { "name": "id", "in": "path", "description": "used for selecting CarePlan", "required": true, "format": "int64", "type": "integer" }, { "name": "X-Cupido-User-Name", "in": "header", "type": "string" }, { "name": "X-Cupido-Active-Identity", "in": "header", "type": "string" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dossier.CarePlan" } }, "404": { "description": "Care plan does not exist" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/dossier/care_plans/{id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] }, "put": { "tags": [ "dossier.CarePlan" ], "summary": "Updates the given CarePlan", "operationId": "dossier.CarePlanAPI.update", "parameters": [ { "name": "id", "in": "path", "description": "used for selecting CarePlan", "required": true, "format": "int64", "type": "integer" }, { "name": "X-Cupido-User-Name", "in": "header", "type": "string" }, { "name": "X-Cupido-Active-Identity", "in": "header", "type": "string" }, { "description": "CarePlan to update", "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/dossier.CarePlan" } } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dossier.CarePlan" } }, "400": { "description": "Cannot update a carepan between statuses" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/dossier/care_plans/{id}", "x-internal": false, "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] }, "delete": { "tags": [ "dossier.CarePlan" ], "summary": "Deletes the CarePlan with given id", "operationId": "dossier.CarePlanAPI.delete", "parameters": [ { "name": "id", "in": "path", "description": "used for selecting CarePlan", "required": true, "format": "int64", "type": "integer" }, { "name": "X-Cupido-User-Name", "in": "header", "type": "string" }, { "name": "X-Cupido-Active-Identity", "in": "header", "type": "string" } ], "responses": { "204": { "description": "If successfully removed the care plan" }, "400": { "description": "Validation errors" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/dossier/care_plans/{id}", "x-internal": false } }, "/t/dossier/care_plans/{id}/activate": { "post": { "tags": [ "dossier.CarePlan" ], "summary": "Activate care plan", "operationId": "dossier.CarePlanAPI.activate", "parameters": [ { "name": "id", "in": "path", "required": true, "format": "int64", "type": "integer" }, { "name": "X-Cupido-User-Name", "in": "header", "type": "string" }, { "name": "X-Cupido-Active-Identity", "in": "header", "type": "string" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dossier.CarePlan" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/dossier/care_plans/{id}/activate", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/dossier/care_plans/{id}/archive": { "post": { "tags": [ "dossier.CarePlan" ], "summary": "Archive care plan", "operationId": "dossier.CarePlanAPI.archive", "parameters": [ { "name": "id", "in": "path", "required": true, "format": "int64", "type": "integer" }, { "name": "X-Cupido-User-Name", "in": "header", "type": "string" }, { "name": "X-Cupido-Active-Identity", "in": "header", "type": "string" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dossier.CarePlan" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/dossier/care_plans/{id}/archive", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/clients/{client_id}/care_plans": { "get": { "tags": [ "dossier.CarePlan" ], "summary": "Return the care plans of a Client corresponding to the given id.", "operationId": "dossier.CarePlanAPI.byClientId", "parameters": [ { "name": "client_id", "in": "path", "description": "id", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dossier.list.CarePlanList" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/dossier/care_plans/by_client/{client_id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/clients/{client_id}/active_care_plan": { "get": { "tags": [ "dossier.CarePlan" ], "summary": "Return the active care plan of a client corresponding to the given client id.", "operationId": "dossier.CarePlanAPI.activeCarePlanByClientId", "parameters": [ { "name": "client_id", "in": "path", "description": "id", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dossier.CarePlan" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/dossier/care_plans/by_client/{client_id}/active", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/clients/{client_id}/draft_care_plan": { "get": { "tags": [ "dossier.CarePlan" ], "summary": "Return the draft care plan of a client corresponding to the given client id.", "operationId": "dossier.CarePlanAPI.draftCarePlanByClientId", "parameters": [ { "name": "client_id", "in": "path", "description": "id", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dossier.CarePlan" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/dossier/care_plans/by_client/{client_id}/draft", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/dossier/care_plans/by_client/{client_id}/new": { "post": { "tags": [ "dossier.CarePlan" ], "summary": "Draft new care plan for client", "operationId": "dossier.CarePlanAPI.newDraft", "parameters": [ { "name": "client_id", "in": "path", "description": "id", "required": true, "format": "int64", "type": "integer" }, { "name": "X-Cupido-User-Name", "in": "header", "type": "string" }, { "name": "X-Cupido-Active-Identity", "in": "header", "type": "string" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dossier.CarePlan" } }, "404": { "description": "Client not found or user not found" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/dossier/care_plans/by_client/{client_id}/new", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/dossier/client_notes": { "get": { "tags": [ "dossier.ClientNote" ], "summary": "Returns every ClientNote available from the ClientNote API", "operationId": "dossier.ClientNoteAPI.all", "parameters": [ { "name": "updated_since", "in": "query", "format": "date", "type": "string" }, { "name": "X-Cupido-User-Name", "in": "header", "type": "string" }, { "name": "X-Cupido-Active-Identity", "in": "header", "type": "string" } ], "responses": { "200": { "description": "default response", "schema": { "$ref": "#/definitions/dossier.list.ClientNoteList" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/dossier/client_notes", "x-internal": false, "produces": [ "application/json", "application/xml" ] }, "post": { "tags": [ "dossier.ClientNote" ], "summary": "Create ClientNote", "operationId": "dossier.ClientNoteAPI.create", "parameters": [ { "name": "X-Cupido-User-Name", "in": "header", "type": "string" }, { "name": "X-Cupido-Active-Identity", "in": "header", "type": "string" }, { "description": "ClientNote to create", "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/dossier.ClientNote" } } ], "responses": { "200": { "description": "default response", "schema": { "$ref": "#/definitions/dossier.ClientNote" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/dossier/client_notes", "x-internal": false, "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] } }, "/t/dossier/client_notes/{id}": { "get": { "tags": [ "dossier.ClientNote" ], "operationId": "dossier.ClientNoteAPI.byId", "parameters": [ { "name": "id", "in": "path", "description": "used for selecting ClientNote", "required": true, "format": "int64", "type": "integer" }, { "name": "include", "in": "query", "type": "array", "items": { "type": "string" }, "collectionFormat": "multi" }, { "name": "X-Cupido-User-Name", "in": "header", "type": "string" }, { "name": "X-Cupido-Active-Identity", "in": "header", "type": "string" } ], "responses": { "200": { "description": "default response", "schema": { "$ref": "#/definitions/dossier.ClientNote" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/dossier/client_notes/{id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] }, "put": { "tags": [ "dossier.ClientNote" ], "summary": "Updates the given ClientNote", "operationId": "dossier.ClientNoteAPI.update", "parameters": [ { "name": "id", "in": "path", "description": "used for selecting ClientNote", "required": true, "format": "int64", "type": "integer" }, { "name": "X-Cupido-User-Name", "in": "header", "type": "string" }, { "name": "X-Cupido-Active-Identity", "in": "header", "type": "string" }, { "description": "ClientNote to update", "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/dossier.ClientNote" } } ], "responses": { "200": { "description": "default response", "schema": { "$ref": "#/definitions/dossier.ClientNote" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/dossier/client_notes/{id}", "x-internal": false, "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] }, "delete": { "tags": [ "dossier.ClientNote" ], "summary": "Deletes the ClientNote with given id", "operationId": "dossier.ClientNoteAPI.delete", "parameters": [ { "name": "id", "in": "path", "description": "used for selecting ClientNote", "required": true, "format": "int64", "type": "integer" }, { "name": "X-Cupido-User-Name", "in": "header", "type": "string" }, { "name": "X-Cupido-Active-Identity", "in": "header", "type": "string" } ], "responses": { "200": { "description": "default response", "schema": { "$ref": "#/definitions/dossier.ClientNote" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/dossier/client_notes/{id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/clients/{client_id}/client_notes": { "get": { "tags": [ "dossier.ClientNote" ], "summary": "Return the client notes of a Client corresponding to the given id.", "operationId": "dossier.ClientNoteAPI.byClientId", "parameters": [ { "name": "client_id", "in": "path", "description": "id", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dossier.list.ClientNoteList" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/dossier/client_notes/by_client/{client_id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/dossier/demand_entries": { "post": { "tags": [ "dossier.DemandEntry" ], "summary": "Create DemandEntry", "operationId": "dossier.DemandEntryAPI.create", "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dossier.DemandEntry" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/dossier/demand_entries", "x-internal": false, "parameters": [ { "description": "DemandEntry to create", "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/dossier.DemandEntry" } } ], "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] } }, "/t/dossier/demand_entries/{id}": { "delete": { "tags": [ "dossier.DemandEntry" ], "summary": "Deletes the DemandEntry with given id", "operationId": "dossier.DemandEntryAPI.delete", "parameters": [ { "name": "id", "in": "path", "description": "Identifier of DemandEntry to delete.", "required": true, "format": "int64", "type": "integer" }, { "name": "X-Cupido-User-Name", "in": "header", "type": "string" }, { "name": "X-Cupido-Active-Identity", "in": "header", "type": "string" } ], "responses": { "204": { "description": "If successfully removed the demand entry" }, "400": { "description": "Validation errors" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/dossier/demand_entries/{id}", "x-internal": false } }, "/t/dossier/demands": { "post": { "tags": [ "dossier.Demand" ], "summary": "Create Demand", "operationId": "dossier.DemandAPI.create", "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dossier.Demand" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/dossier/demands", "x-internal": false, "parameters": [ { "description": "Demand to create", "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/dossier.Demand" } } ], "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] } }, "/t/dossier/demands/{demand_id}/goals": { "get": { "tags": [ "dossier.Goal" ], "summary": "Return the Goals of a Demand corresponding to the given id.", "operationId": "dossier.GoalAPI.byDemandId", "parameters": [ { "name": "demand_id", "in": "path", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dossier.list.GoalList" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/dossier/demands/{demand_id}/goals", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/dossier/demands/{id}": { "get": { "tags": [ "dossier.Demand" ], "summary": "Get a resource by its ID", "operationId": "dossier.DemandAPI.byId", "parameters": [ { "name": "id", "in": "path", "description": "used for selecting Demand", "required": true, "format": "int64", "type": "integer" }, { "name": "X-Cupido-User-Name", "in": "header", "type": "string" }, { "name": "X-Cupido-Active-Identity", "in": "header", "type": "string" } ], "responses": { "200": { "description": "default response", "schema": { "$ref": "#/definitions/dossier.Demand" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/dossier/demands/{id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] }, "put": { "tags": [ "dossier.Demand" ], "summary": "Updates the given Demand", "operationId": "dossier.DemandAPI.update", "parameters": [ { "name": "id", "in": "path", "description": "used for selecting Demand", "required": true, "format": "int64", "type": "integer" }, { "name": "X-Cupido-User-Name", "in": "header", "type": "string" }, { "name": "X-Cupido-Active-Identity", "in": "header", "type": "string" }, { "description": "Demand to update", "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/dossier.Demand" } } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dossier.Demand" } }, "400": { "description": "Validation errors" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/dossier/demands/{id}", "x-internal": false, "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] }, "delete": { "tags": [ "dossier.Demand" ], "summary": "Deletes the Demand with given id", "operationId": "dossier.DemandAPI.delete", "parameters": [ { "name": "id", "in": "path", "description": "used for selecting Demand", "required": true, "format": "int64", "type": "integer" }, { "name": "X-Cupido-User-Name", "in": "header", "type": "string" }, { "name": "X-Cupido-Active-Identity", "in": "header", "type": "string" } ], "responses": { "204": { "description": "If successfully removed the demand" }, "400": { "description": "Validation errors" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/dossier/demands/{id}", "x-internal": false } }, "/t/dossier/demands/multiple": { "get": { "tags": [ "dossier.Demand" ], "summary": "Method used for requesting multiple Demand objects using\ntheir ids.", "operationId": "dossier.DemandAPI.multiple", "parameters": [ { "name": "id", "in": "query", "description": "array style id's: id=1&id=2&etc", "type": "array", "items": { "type": "integer", "format": "int64" }, "collectionFormat": "multi" }, { "name": "X-Cupido-User-Name", "in": "header", "type": "string" }, { "name": "X-Cupido-Active-Identity", "in": "header", "type": "string" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dossier.list.DemandList" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/dossier/demands/multiple", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/dossier/domains": { "get": { "tags": [ "dossier.Domain" ], "summary": "Returns every Domain available from the DomainAPI", "operationId": "dossier.DomainAPI.all", "parameters": [ { "name": "X-Cupido-User-Name", "in": "header", "type": "string" }, { "name": "X-Cupido-Active-Identity", "in": "header", "type": "string" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dossier.list.DomainList" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/dossier/domains", "x-internal": false, "produces": [ "application/json", "application/xml" ] }, "post": { "tags": [ "dossier.Domain" ], "summary": "Create Domain", "operationId": "dossier.DomainAPI.create", "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dossier.Domain" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/dossier/domains", "x-internal": false, "parameters": [ { "description": "Domain to create", "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/dossier.Domain" } } ], "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] } }, "/t/dossier/domains/{domain_id}/actions": { "get": { "tags": [ "dossier.Action" ], "summary": "Return the Actions of a Domain corresponding to the given id.", "operationId": "dossier.ActionAPI.byDomainId", "parameters": [ { "name": "domain_id", "in": "path", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dossier.list.ActionList" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/dossier/domains/{domain_id}/actions", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/dossier/domains/{domain_id}/demands": { "get": { "tags": [ "dossier.Demand" ], "summary": "Return the Demands of a Domain corresponding to the given id.", "operationId": "dossier.DemandAPI.byDomainId", "parameters": [ { "name": "domain_id", "in": "path", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dossier.list.DemandList" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/dossier/domains/{domain_id}/demands", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/dossier/domains/{domain_id}/goals": { "get": { "tags": [ "dossier.Goal" ], "summary": "Return the Goals of a Domain corresponding to the given id.", "operationId": "dossier.GoalAPI.byDomainId", "parameters": [ { "name": "domain_id", "in": "path", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dossier.list.GoalList" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/dossier/domains/{domain_id}/goals", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/dossier/domains/{id}": { "get": { "tags": [ "dossier.Domain" ], "summary": "Get a resource by its ID", "operationId": "dossier.DomainAPI.byId", "parameters": [ { "name": "id", "in": "path", "description": "used for selecting Domain", "required": true, "format": "int64", "type": "integer" }, { "name": "X-Cupido-User-Name", "in": "header", "type": "string" }, { "name": "X-Cupido-Active-Identity", "in": "header", "type": "string" } ], "responses": { "200": { "description": "default response", "schema": { "$ref": "#/definitions/dossier.Domain" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/dossier/domains/{id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] }, "put": { "tags": [ "dossier.Domain" ], "summary": "Updates the given Domain", "operationId": "dossier.DomainAPI.update", "parameters": [ { "name": "id", "in": "path", "description": "used for selecting Domain", "required": true, "format": "int64", "type": "integer" }, { "name": "X-Cupido-User-Name", "in": "header", "type": "string" }, { "name": "X-Cupido-Active-Identity", "in": "header", "type": "string" }, { "description": "Domain to update", "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/dossier.Domain" } } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dossier.Domain" } }, "400": { "description": "Validation errors" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/dossier/domains/{id}", "x-internal": false, "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] } }, "/t/dossier/domains/multiple": { "get": { "tags": [ "dossier.Domain" ], "summary": "Method used for requesting multiple Domain objects using\ntheir ids.", "operationId": "dossier.DomainAPI.multiple", "parameters": [ { "name": "id", "in": "query", "description": "array style id's: id=1&id=2&etc", "type": "array", "items": { "type": "integer", "format": "int64" }, "collectionFormat": "multi" }, { "name": "X-Cupido-User-Name", "in": "header", "type": "string" }, { "name": "X-Cupido-Active-Identity", "in": "header", "type": "string" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dossier.list.DomainList" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/dossier/domains/multiple", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/dossier/goal_entries": { "post": { "tags": [ "dossier.GoalEntry" ], "summary": "Create GoalEntry", "operationId": "dossier.GoalEntryAPI.create", "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dossier.GoalEntry" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/dossier/goal_entries", "x-internal": false, "parameters": [ { "description": "GoalEntry to create", "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/dossier.GoalEntry" } } ], "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] } }, "/t/dossier/goal_entries/{id}": { "get": { "tags": [ "dossier.GoalEntry" ], "summary": "Get a resource by its ID", "operationId": "dossier.GoalEntryAPI.byId", "parameters": [ { "name": "id", "in": "path", "description": "used for selecting GoalEntry", "required": true, "format": "int64", "type": "integer" }, { "name": "X-Cupido-User-Name", "in": "header", "type": "string" }, { "name": "X-Cupido-Active-Identity", "in": "header", "type": "string" } ], "responses": { "200": { "description": "default response", "schema": { "$ref": "#/definitions/dossier.GoalEntry" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/dossier/goal_entries/{id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] }, "put": { "tags": [ "dossier.GoalEntry" ], "summary": "Updates the given GoalEntry", "operationId": "dossier.GoalEntryAPI.update", "parameters": [ { "name": "id", "in": "path", "description": "used for selecting GoalEntry", "required": true, "format": "int64", "type": "integer" }, { "name": "X-Cupido-User-Name", "in": "header", "type": "string" }, { "name": "X-Cupido-Active-Identity", "in": "header", "type": "string" }, { "description": "GoalEntry to update", "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/dossier.GoalEntry" } } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dossier.GoalEntry" } }, "400": { "description": "Validation errors" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/dossier/goal_entries/{id}", "x-internal": false, "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] }, "delete": { "tags": [ "dossier.GoalEntry" ], "summary": "Deletes the GoalEntry with given id", "operationId": "dossier.GoalEntryAPI.delete", "parameters": [ { "name": "id", "in": "path", "description": "used for selecting GoalEntry", "required": true, "format": "int64", "type": "integer" }, { "name": "X-Cupido-User-Name", "in": "header", "type": "string" }, { "name": "X-Cupido-Active-Identity", "in": "header", "type": "string" } ], "responses": { "204": { "description": "If successfully removed the goal entry" }, "400": { "description": "Validation errors" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/dossier/goal_entries/{id}", "x-internal": false } }, "/t/dossier/goals": { "post": { "tags": [ "dossier.Goal" ], "summary": "Create Goal", "operationId": "dossier.GoalAPI.create", "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dossier.Goal" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/dossier/goals", "x-internal": false, "parameters": [ { "description": "Goal to create", "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/dossier.Goal" } } ], "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] } }, "/t/dossier/goals/{goal_id}/actions": { "get": { "tags": [ "dossier.Action" ], "summary": "Return the Actions of a Goal corresponding to the given id.", "operationId": "dossier.ActionAPI.byGoalId", "parameters": [ { "name": "goal_id", "in": "path", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dossier.list.ActionList" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/dossier/goals/{goal_id}/actions", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/dossier/goals/{id}": { "get": { "tags": [ "dossier.Goal" ], "summary": "Get a resource by its ID", "operationId": "dossier.GoalAPI.byId", "parameters": [ { "name": "id", "in": "path", "description": "used for selecting Goal", "required": true, "format": "int64", "type": "integer" }, { "name": "X-Cupido-User-Name", "in": "header", "type": "string" }, { "name": "X-Cupido-Active-Identity", "in": "header", "type": "string" } ], "responses": { "200": { "description": "default response", "schema": { "$ref": "#/definitions/dossier.Goal" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/dossier/goals/{id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] }, "put": { "tags": [ "dossier.Goal" ], "summary": "Updates the given Goal", "operationId": "dossier.GoalAPI.update", "parameters": [ { "name": "id", "in": "path", "description": "used for selecting Goal", "required": true, "format": "int64", "type": "integer" }, { "name": "X-Cupido-User-Name", "in": "header", "type": "string" }, { "name": "X-Cupido-Active-Identity", "in": "header", "type": "string" }, { "description": "Goal to update", "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/dossier.Goal" } } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dossier.Goal" } }, "400": { "description": "Validation errors" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/dossier/goals/{id}", "x-internal": false, "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] }, "delete": { "tags": [ "dossier.Goal" ], "summary": "Deletes the Goal with given id", "operationId": "dossier.GoalAPI.delete", "parameters": [ { "name": "id", "in": "path", "description": "used for selecting Goal", "required": true, "format": "int64", "type": "integer" }, { "name": "X-Cupido-User-Name", "in": "header", "type": "string" }, { "name": "X-Cupido-Active-Identity", "in": "header", "type": "string" } ], "responses": { "204": { "description": "If successfully removed the goal" }, "400": { "description": "Validation errors" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/dossier/goals/{id}", "x-internal": false } }, "/t/dossier/goals/multiple": { "get": { "tags": [ "dossier.Goal" ], "summary": "Method used for requesting multiple Goal objects using\ntheir ids.", "operationId": "dossier.GoalAPI.multiple", "parameters": [ { "name": "id", "in": "query", "description": "array style id's: id=1&id=2&etc", "type": "array", "items": { "type": "integer", "format": "int64" }, "collectionFormat": "multi" }, { "name": "X-Cupido-User-Name", "in": "header", "type": "string" }, { "name": "X-Cupido-Active-Identity", "in": "header", "type": "string" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dossier.list.GoalList" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/dossier/goals/multiple", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/dossier/goals/search": { "get": { "tags": [ "dossier.Goal" ], "summary": "Returns the Goals which meet the search criteria.", "operationId": "dossier.GoalAPI.search", "parameters": [ { "name": "keyword", "in": "query", "type": "string" }, { "name": "X-Cupido-User-Name", "in": "header", "type": "string" }, { "name": "X-Cupido-Active-Identity", "in": "header", "type": "string" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dossier.list.GoalList" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/dossier/goals/search", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/dossier/medical_notes": { "get": { "tags": [ "dossier.MedicalNote" ], "summary": "Returns every MedicalNote available from the MedicalNoteAPI", "operationId": "dossier.MedicalNoteAPI.all", "parameters": [ { "name": "updated_since", "in": "query", "format": "date", "type": "string" }, { "name": "X-Cupido-User-Name", "in": "header", "type": "string" }, { "name": "X-Cupido-Active-Identity", "in": "header", "type": "string" } ], "responses": { "200": { "description": "default response", "schema": { "$ref": "#/definitions/dossier.list.MedicalNoteList" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/dossier/medical_notes", "x-internal": false, "produces": [ "application/json", "application/xml" ] }, "post": { "tags": [ "dossier.MedicalNote" ], "summary": "Create MedicalNote", "operationId": "dossier.MedicalNoteAPI.create", "parameters": [ { "name": "X-Cupido-User-Name", "in": "header", "type": "string" }, { "name": "X-Cupido-Active-Identity", "in": "header", "type": "string" }, { "description": "MedicalNote to create", "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/dossier.MedicalNote" } } ], "responses": { "200": { "description": "default response", "schema": { "$ref": "#/definitions/dossier.MedicalNote" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/dossier/medical_notes", "x-internal": false, "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] } }, "/t/dossier/medical_notes/{id}": { "get": { "tags": [ "dossier.MedicalNote" ], "operationId": "dossier.MedicalNoteAPI.byId", "parameters": [ { "name": "id", "in": "path", "description": "used for selecting MedicalNote", "required": true, "format": "int64", "type": "integer" }, { "name": "include", "in": "query", "type": "array", "items": { "type": "string" }, "collectionFormat": "multi" }, { "name": "X-Cupido-User-Name", "in": "header", "type": "string" }, { "name": "X-Cupido-Active-Identity", "in": "header", "type": "string" } ], "responses": { "200": { "description": "default response", "schema": { "$ref": "#/definitions/dossier.MedicalNote" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/dossier/medical_notes/{id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] }, "put": { "tags": [ "dossier.MedicalNote" ], "summary": "Updates the given MedicalNote", "operationId": "dossier.MedicalNoteAPI.update", "parameters": [ { "name": "id", "in": "path", "description": "used for selecting MedicalNote", "required": true, "format": "int64", "type": "integer" }, { "name": "X-Cupido-User-Name", "in": "header", "type": "string" }, { "name": "X-Cupido-Active-Identity", "in": "header", "type": "string" }, { "description": "MedicalNote to update", "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/dossier.MedicalNote" } } ], "responses": { "200": { "description": "default response", "schema": { "$ref": "#/definitions/dossier.MedicalNote" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/dossier/medical_notes/{id}", "x-internal": false, "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] }, "delete": { "tags": [ "dossier.MedicalNote" ], "summary": "Deletes the MedicalNote with given id", "operationId": "dossier.MedicalNoteAPI.delete", "parameters": [ { "name": "id", "in": "path", "description": "used for selecting MedicalNote", "required": true, "format": "int64", "type": "integer" }, { "name": "X-Cupido-User-Name", "in": "header", "type": "string" }, { "name": "X-Cupido-Active-Identity", "in": "header", "type": "string" } ], "responses": { "200": { "description": "default response", "schema": { "$ref": "#/definitions/dossier.MedicalNote" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/dossier/medical_notes/{id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/clients/{client_id}/medical_notes": { "get": { "tags": [ "dossier.MedicalNote" ], "summary": "Return the active medical notes of a Client corresponding to the given id.", "operationId": "dossier.MedicalNoteAPI.byClientId", "parameters": [ { "name": "client_id", "in": "path", "description": "id", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dossier.list.MedicalNoteList" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/dossier/medical_notes/by_client/{client_id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/clients/{client_id}/unfiltered_medical_notes": { "get": { "tags": [ "dossier.MedicalNote" ], "summary": "Return all the medical notes (including archived) of a Client corresponding to the given id.", "operationId": "dossier.MedicalNoteAPI.unfilteredByClientId", "parameters": [ { "name": "client_id", "in": "path", "description": "id", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dossier.list.MedicalNoteList" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/dossier/medical_notes/unfiltered_by_client/{client_id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/dossier/report_types": { "get": { "tags": [ "dossier.ReportType" ], "summary": "Returns every ReportType available from the ReportTypeAPI", "operationId": "dossier.ReportTypeAPI.all", "parameters": [ { "name": "X-Cupido-User-Name", "in": "header", "type": "string" }, { "name": "X-Cupido-Active-Identity", "in": "header", "type": "string" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dossier.list.ReportTypeList" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/dossier/report_types", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/dossier/report_types/{id}": { "get": { "tags": [ "dossier.ReportType" ], "operationId": "dossier.ReportTypeAPI.byId", "parameters": [ { "name": "id", "in": "path", "description": "used for selecting ReportType", "required": true, "format": "int64", "type": "integer" }, { "name": "include", "in": "query", "type": "array", "items": { "type": "string" }, "collectionFormat": "multi" }, { "name": "X-Cupido-User-Name", "in": "header", "type": "string" }, { "name": "X-Cupido-Active-Identity", "in": "header", "type": "string" } ], "responses": { "200": { "description": "default response", "schema": { "$ref": "#/definitions/dossier.ReportType" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/dossier/report_types/{id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] }, "put": { "tags": [ "dossier.ReportType" ], "summary": "Updates the given ReportType", "operationId": "dossier.ReportTypeAPI.update", "parameters": [ { "name": "id", "in": "path", "description": "used for selecting ReportType", "required": true, "format": "int64", "type": "integer" }, { "name": "X-Cupido-User-Name", "in": "header", "type": "string" }, { "name": "X-Cupido-Active-Identity", "in": "header", "type": "string" }, { "description": "ReportType to update", "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/dossier.ReportType" } } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dossier.ReportType" } }, "400": { "description": "Validation errors" }, "404": { "description": "The report type is not found" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/dossier/report_types/{id}", "x-internal": false, "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] } }, "/t/dossier/reports": { "post": { "tags": [ "dossier.Report" ], "summary": "Create Report", "operationId": "dossier.ReportAPI.create", "parameters": [ { "name": "X-Cupido-User-Name", "in": "header", "type": "string" }, { "name": "X-Cupido-Active-Identity", "in": "header", "type": "string" }, { "description": "Report to create", "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/dossier.Report" } } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dossier.Report" } }, "400": { "description": "Validation errors" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/dossier/reports", "x-internal": false, "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] } }, "/t/dossier/reports/{id}": { "get": { "tags": [ "dossier.Report" ], "summary": "Return the Report corresponding to the given id", "operationId": "dossier.ReportAPI.byId", "parameters": [ { "name": "id", "in": "path", "description": "used for selecting Report", "required": true, "format": "int64", "type": "integer" }, { "name": "X-Cupido-User-Name", "in": "header", "type": "string" }, { "name": "X-Cupido-Active-Identity", "in": "header", "type": "string" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dossier.Report" } }, "404": { "description": "Report not found" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/dossier/reports/{id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] }, "put": { "tags": [ "dossier.Report" ], "summary": "Updates the given Report", "operationId": "dossier.ReportAPI.update", "parameters": [ { "name": "id", "in": "path", "description": "used for selecting Report", "required": true, "format": "int64", "type": "integer" }, { "name": "X-Cupido-User-Name", "in": "header", "type": "string" }, { "name": "X-Cupido-Active-Identity", "in": "header", "type": "string" }, { "description": "Report to update", "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/dossier.Report" } } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dossier.Report" } }, "400": { "description": "Validation errors" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/dossier/reports/{id}", "x-internal": false, "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] }, "delete": { "tags": [ "dossier.Report" ], "summary": "Deletes the Report with given id", "operationId": "dossier.ReportAPI.delete", "parameters": [ { "name": "id", "in": "path", "description": "used for selecting Report", "required": true, "format": "int64", "type": "integer" }, { "name": "X-Cupido-User-Name", "in": "header", "type": "string" }, { "name": "X-Cupido-Active-Identity", "in": "header", "type": "string" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dossier.Report" } }, "204": { "description": "Success" }, "404": { "description": "Report does not exist" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/dossier/reports/{id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/dossier/reports/{report_id}/children": { "get": { "tags": [ "dossier.Report" ], "summary": "Return the ReportAuthorizations of the last Report for given client and employee id.", "operationId": "dossier.ReportAPI.childrenByReportId", "parameters": [ { "name": "report_id", "in": "path", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dossier.list.ReportList" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/dossier/reports/{report_id}/children", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/dossier/reports/by_care_plan_entry/{care_plan_entry_id}": { "get": { "tags": [ "dossier.Report" ], "summary": "Returns all reports filtered by care plan entry.", "operationId": "dossier.ReportAPI.findByCarePlanEntry", "parameters": [ { "name": "care_plan_entry_id", "in": "path", "required": true, "format": "int64", "type": "integer" }, { "name": "report_type", "in": "query", "type": "array", "items": { "type": "integer", "format": "int64" }, "collectionFormat": "csv" }, { "name": "offset", "in": "query", "description": "number of results to skip", "format": "int32", "type": "integer" }, { "name": "limit", "in": "query", "description": "number of results for one call", "format": "int32", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dossier.list.ReportList" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/dossier/reports/by_care_plan_entry/{care_plan_entry_id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/dossier/reports/by_date": { "get": { "tags": [ "dossier.Report" ], "summary": "Returns all reports filtered by date.", "description": "valid_from and valid_to are required query parameters", "operationId": "dossier.ReportAPI.findByDate", "parameters": [ { "name": "client_id", "in": "query", "required": true, "format": "int64", "type": "integer" }, { "name": "report_type", "in": "query", "format": "int64", "type": "integer" }, { "name": "valid_from", "in": "query", "description": "starting time", "required": true, "format": "date", "type": "string" }, { "name": "valid_to", "in": "query", "description": "end time", "required": true, "format": "date", "type": "string" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dossier.list.ReportList" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/dossier/reports/by_date/{valid_from}...{valid_to}", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/dossier/reports/by_demand/{demand_id}": { "get": { "tags": [ "dossier.Report" ], "summary": "Returns all reports filtered by demand id.", "operationId": "dossier.ReportAPI.findByDemand", "parameters": [ { "name": "demand_id", "in": "path", "required": true, "format": "int64", "type": "integer" }, { "name": "report_type", "in": "query", "format": "int64", "type": "integer" }, { "name": "client_id", "in": "query", "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dossier.list.ReportList" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/dossier/reports/by_demand/{demand_id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/dossier/reports/by_episode/{episode_id}": { "get": { "tags": [ "dossier.Report" ], "summary": "Returns all reports filtered by episode id.", "operationId": "dossier.ReportAPI.findByEpisode", "parameters": [ { "name": "episode_id", "in": "path", "required": true, "format": "int64", "type": "integer" }, { "name": "report_type", "in": "query", "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dossier.list.ReportList" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/dossier/reports/by_episode/{episode_id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/dossier/reports/by_report_link/{report_link_id}": { "get": { "tags": [ "dossier.Report" ], "summary": "Returns all reports filtered by report link id.", "operationId": "dossier.ReportAPI.findByReportLink", "parameters": [ { "name": "report_link_id", "in": "path", "required": true, "format": "int64", "type": "integer" }, { "name": "report_link_type", "in": "query", "required": true, "enum": [ "NEXT_DOSSIER" ], "type": "string", "description": "ReportLinkType enum (no description)" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dossier.Report" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/dossier/reports/by_report_link/{report_link_id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/dossier/reports/by_restrictive_measure/{restrictive_measure_id}": { "get": { "tags": [ "dossier.Report" ], "summary": "Returns all reports filtered by restrictive measures id.", "operationId": "dossier.ReportAPI.findByRestrictiveMeasure", "parameters": [ { "name": "restrictive_measure_id", "in": "path", "required": true, "format": "int64", "type": "integer" }, { "name": "report_type", "in": "query", "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dossier.list.ReportList" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/dossier/reports/by_restrictive_measure/{restrictive_measure_id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/dossier/reports/by_uuid/{uuid}": { "get": { "tags": [ "dossier.Report" ], "summary": "Return the Report corresponding to the given uuid", "operationId": "dossier.ReportAPI.byUuid", "parameters": [ { "name": "uuid", "in": "path", "required": true, "format": "uuid", "type": "string" }, { "name": "X-Cupido-User-Name", "in": "header", "type": "string" }, { "name": "X-Cupido-Active-Identity", "in": "header", "type": "string" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dossier.Report" } }, "404": { "description": "Report not found" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/dossier/reports/by_uuid/{uuid}", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/dossier/reports/last_report_authorizations": { "get": { "tags": [ "dossier.Report" ], "summary": "Return the child Reports of a Report corresponding to the given id.", "operationId": "dossier.ReportAPI.lastReportAuthorizationsByClientIdAndEmployeeId", "parameters": [ { "name": "client_id", "in": "query", "required": true, "format": "int64", "type": "integer" }, { "name": "employee_id", "in": "query", "required": true, "format": "int64", "type": "integer" }, { "name": "X-Cupido-User-Name", "in": "header", "type": "string" }, { "name": "X-Cupido-Active-Identity", "in": "header", "type": "string" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dossier.list.ReportAuthorizationList" } }, "400": { "description": "Client and employee are required" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/dossier/reports/last_report_authorizations", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/dossier/reports/search_by_client": { "get": { "tags": [ "dossier.Report" ], "summary": "Searches for Reports for the Client (corresponding to the given id)", "operationId": "dossier.ReportAPI.searchByClient", "parameters": [ { "name": "client_id", "in": "query", "description": "which we want to search reports for", "required": true, "format": "int64", "type": "integer" }, { "name": "keyword", "in": "query", "description": "a text search term", "type": "string" }, { "name": "filter", "in": "query", "description": "the type of information to filter on", "type": "string" }, { "name": "education_id", "in": "query", "description": "filters on reports of which the author has a specific employee", "format": "int64", "type": "integer" }, { "name": "show_hidden", "in": "query", "description": "shows hidden reports only has effect for the author or application managers", "type": "boolean" }, { "name": "report_type", "in": "query", "description": "list of types to filter on", "type": "array", "items": { "type": "integer", "format": "int64" }, "collectionFormat": "multi" }, { "name": "valid_from", "in": "query", "description": "start search date", "format": "date", "type": "string" }, { "name": "valid_to", "in": "query", "description": "end search date", "format": "date", "type": "string" }, { "name": "demand_id", "in": "query", "description": "filters on reports to include only those related to a specific demand", "format": "int64", "type": "integer" }, { "name": "entry_id", "in": "query", "description": "filters on reports to include only those related to a specific care plan entry", "format": "int64", "type": "integer" }, { "name": "episode_id", "in": "query", "description": "filters on reports to include only those related to a specific episode", "format": "int64", "type": "integer" }, { "name": "restrictive_measure_id", "in": "query", "description": "filters on reports to include only those related to a specific restrictictive measure", "format": "int64", "type": "integer" }, { "name": "report_types_with_comments", "in": "query", "description": "filters on reports that have comments", "type": "array", "items": { "type": "integer", "format": "int64" }, "collectionFormat": "multi" }, { "name": "only_own_reports", "in": "query", "description": "filters on reports written by the user", "type": "boolean" }, { "name": "offset", "in": "query", "description": "number of results to skip", "format": "int32", "type": "integer" }, { "name": "limit", "in": "query", "description": "number of results for one call", "format": "int32", "type": "integer" }, { "name": "X-Cupido-User-Name", "in": "header", "type": "string" }, { "name": "X-Cupido-Active-Identity", "in": "header", "type": "string" }, { "name": "If-Modified-Since", "in": "header", "type": "string" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dossier.list.ReportList" } }, "304": { "description": "The reports have not been modified since the value of the If-Modified-Since header" }, "400": { "description": "No client ID" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/dossier/reports/search_by_client", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/dossier/reports/soap/report": { "post": { "tags": [ "dossier.Report" ], "summary": "Create a SOAP report where each soap-part (optionally) has it's own authorization\nTo make use of the per-soap-part authorization model make sure to fill each of the S-O-A-P parts\nof a SOAP report and put them in the SoapReportEntries nested in the Report.", "description": "To make use of the per-soap-part authorization model make sure to fill each of the S-O-A-P parts of a SOAP report and put them in the SoapReportEntries nested in the Report.", "operationId": "dossier.ReportAPI.createSoapReport", "parameters": [ { "name": "X-Cupido-User-Name", "in": "header", "type": "string" }, { "name": "X-Cupido-Active-Identity", "in": "header", "type": "string" }, { "description": "the report to create", "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/dossier.Report" } } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dossier.Report" } }, "400": { "description": "Validation errors" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/dossier/reports/soap/report", "x-internal": false, "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] } }, "/t/dossier/reports/soap/report/{id}": { "put": { "tags": [ "dossier.Report" ], "summary": "Updates a SOAP report where each soap-part (optionally) has it's own authorization\nTo make use of the per-soap-part authorization model make sure to fill each of the S-O-A-P parts\nof a SOAP report and put them in the SoapReportEntries nested in the Report.", "description": "To make use of the per-soap-part authorization model make sure to fill each of the S-O-A-P parts of a SOAP report and put them in the SoapReportEntries nested in the Report.", "operationId": "dossier.ReportAPI.updateSoapReport", "parameters": [ { "name": "id", "in": "path", "required": true, "format": "int64", "type": "integer" }, { "name": "X-Cupido-User-Name", "in": "header", "type": "string" }, { "name": "X-Cupido-Active-Identity", "in": "header", "type": "string" }, { "description": "the report to create", "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/dossier.Report" } } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dossier.Report" } }, "400": { "description": "Validation errors" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/dossier/reports/soap/report/{id}", "x-internal": false, "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] } }, "/t/dossier/system_notes": { "get": { "tags": [ "dossier.SystemNote" ], "summary": "Returns every SystemNote available from the SystemNoteAPI", "operationId": "dossier.SystemNoteAPI.all", "parameters": [ { "name": "updated_since", "in": "query", "format": "date", "type": "string" }, { "name": "X-Cupido-User-Name", "in": "header", "type": "string" }, { "name": "X-Cupido-Active-Identity", "in": "header", "type": "string" } ], "responses": { "200": { "description": "default response", "schema": { "$ref": "#/definitions/dossier.list.SystemNoteList" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/dossier/system_notes", "x-internal": false, "produces": [ "application/json", "application/xml" ] }, "post": { "tags": [ "dossier.SystemNote" ], "summary": "Create SystemNote", "operationId": "dossier.SystemNoteAPI.create", "parameters": [ { "name": "X-Cupido-User-Name", "in": "header", "type": "string" }, { "name": "X-Cupido-Active-Identity", "in": "header", "type": "string" }, { "description": "SystemNote to create", "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/dossier.SystemNote" } } ], "responses": { "200": { "description": "default response", "schema": { "$ref": "#/definitions/dossier.SystemNote" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/dossier/system_notes", "x-internal": false, "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] } }, "/t/dossier/system_notes/{id}": { "get": { "tags": [ "dossier.SystemNote" ], "operationId": "dossier.SystemNoteAPI.byId", "parameters": [ { "name": "id", "in": "path", "description": "used for selecting SystemNote", "required": true, "format": "int64", "type": "integer" }, { "name": "include", "in": "query", "type": "array", "items": { "type": "string" }, "collectionFormat": "multi" }, { "name": "X-Cupido-User-Name", "in": "header", "type": "string" }, { "name": "X-Cupido-Active-Identity", "in": "header", "type": "string" } ], "responses": { "200": { "description": "default response", "schema": { "$ref": "#/definitions/dossier.SystemNote" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/dossier/system_notes/{id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] }, "put": { "tags": [ "dossier.SystemNote" ], "summary": "Updates the given SystemNote", "operationId": "dossier.SystemNoteAPI.update", "parameters": [ { "name": "id", "in": "path", "description": "used for selecting SystemNote", "required": true, "format": "int64", "type": "integer" }, { "name": "X-Cupido-User-Name", "in": "header", "type": "string" }, { "name": "X-Cupido-Active-Identity", "in": "header", "type": "string" }, { "description": "SystemNote to update", "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/dossier.SystemNote" } } ], "responses": { "200": { "description": "default response", "schema": { "$ref": "#/definitions/dossier.SystemNote" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/dossier/system_notes/{id}", "x-internal": false, "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] }, "delete": { "tags": [ "dossier.SystemNote" ], "summary": "Deletes the SystemNote with given id", "operationId": "dossier.SystemNoteAPI.delete", "parameters": [ { "name": "id", "in": "path", "description": "used for selecting SystemNote", "required": true, "format": "int64", "type": "integer" }, { "name": "X-Cupido-User-Name", "in": "header", "type": "string" }, { "name": "X-Cupido-Active-Identity", "in": "header", "type": "string" } ], "responses": { "200": { "description": "default response", "schema": { "$ref": "#/definitions/dossier.SystemNote" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/dossier/system_notes/{id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/employee_addresses": { "post": { "tags": [ "EmployeeAddress" ], "summary": "Create EmployeeAddress", "operationId": "EmployeeAddressAPI.create", "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/EmployeeAddress" } }, "400": { "description": "EmployeeAddress must have an employee" }, "404": { "description": "Employee not found" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/employee_addresses", "x-internal": false, "parameters": [ { "description": "EmployeeAddress to create", "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/EmployeeAddress" } } ], "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] } }, "/t/employee_addresses/{id}": { "get": { "tags": [ "EmployeeAddress" ], "summary": "Return the Employee Address corresponding to the given", "operationId": "EmployeeAddressAPI.byId", "parameters": [ { "name": "id", "in": "path", "description": "used for selecting EmployeeAddress", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/EmployeeAddress" } }, "404": { "description": "Address or EmployeeAddress not found" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/employee_addresses/{id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/employee_workflows/{employee_id}/timesheet_submit_date": { "put": { "tags": [ "EmployeeWorkflow" ], "operationId": "EmployeeWorkflowAPI.setTimesheetSubmitDate", "parameters": [ { "name": "employee_id", "in": "path", "description": "id", "required": true, "format": "int64", "type": "integer" }, { "name": "submit_date", "in": "query", "required": true, "format": "date", "type": "string" } ], "responses": { "204": { "description": "Sumitted" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/employee_workflows/{employee_id}/timesheet_submit_date", "x-internal": false } }, "/t/employee_workflows/{employee_id}/timesheet_submit_date_authorized": { "put": { "tags": [ "EmployeeWorkflow" ], "operationId": "EmployeeWorkflowAPI.setTimesheetSubmitDateAuthorized", "parameters": [ { "name": "employee_id", "in": "path", "description": "id", "required": true, "format": "int64", "type": "integer" }, { "name": "submit_date", "in": "query", "required": true, "format": "date", "type": "string" } ], "responses": { "204": { "description": "Submitted" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/employee_workflows/{employee_id}/timesheet_submit_date_authorized", "x-internal": false } }, "/t/employees": { "post": { "tags": [ "Employee" ], "summary": "Create Employee", "operationId": "EmployeeAPI.create", "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/Employee" } }, "400": { "description": "Validation errors, or missing identification number when automatic numbering is not enabled" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/employees", "x-internal": false, "parameters": [ { "description": "Employee to create. Note that this API does not support creating freefields.", "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/Employee" } } ], "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] } }, "/t/employees/{employee_id}": { "get": { "tags": [ "Employee" ], "summary": "Find employee by employee object id.", "operationId": "EmployeeAPI.byId", "parameters": [ { "name": "employee_id", "in": "path", "description": "The employee object id of the employee to find.", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/Employee" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/employees/{employee_id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] }, "put": { "tags": [ "Employee" ], "summary": "Updates an employee", "operationId": "EmployeeAPI.update", "parameters": [ { "name": "employee_id", "in": "path", "description": "id of the employee to update", "required": true, "format": "int64", "type": "integer" }, { "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/Employee" } } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/Employee" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/employees/{employee_id}", "x-internal": false, "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] } }, "/t/employees/{employee_id}/addresses": { "get": { "tags": [ "Address" ], "summary": "Return the addresses of an Employee corresponding to the given id.", "operationId": "AddressAPI.byEmployeeId", "parameters": [ { "name": "employee_id", "in": "path", "description": "id", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/list.AddressList" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/employees/{employee_id}/addresses", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/employees/{employee_id}/agb_codes": { "get": { "tags": [ "PractitionerAgbCode" ], "summary": "Return the AGB codes assigned to the employee corresponding to the provided id", "operationId": "PractitionerAgbCodeAPI.byEmployeeId", "parameters": [ { "name": "employee_id", "in": "path", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/list.PractitionerAgbCodeList" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/employees/{employee_id}/agb_codes", "x-internal": false, "produces": [ "application/json", "application/xml" ] }, "post": { "tags": [ "PractitionerAgbCode" ], "summary": "Creates the provided AGB code and assigns it to the employee corresponding to the provided id", "operationId": "PractitionerAgbCodeAPI.createForEmployeeId", "parameters": [ { "name": "employee_id", "in": "path", "required": true, "format": "int64", "type": "integer" }, { "name": "body", "in": "body", "schema": { "$ref": "#/definitions/PractitionerAgbCode" } } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/PractitionerAgbCode" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/employees/{employee_id}/agb_codes", "x-internal": false, "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] } }, "/t/employees/{employee_id}/agb_codes/{agb_code_id}": { "get": { "tags": [ "PractitionerAgbCode" ], "summary": "Return the AGB code with the provided id assigned to the employee corresponding to the provided id", "operationId": "PractitionerAgbCodeAPI.byEmployeeIdAndAgbId", "parameters": [ { "name": "employee_id", "in": "path", "required": true, "format": "int64", "type": "integer" }, { "name": "agb_code_id", "in": "path", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/PractitionerAgbCode" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/employees/{employee_id}/agb_codes/{agb_code_id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] }, "put": { "tags": [ "PractitionerAgbCode" ], "summary": "Updates the provided AGB code assigned to the employee corresponding to the provided id", "operationId": "PractitionerAgbCodeAPI.updateForEmployeeId", "parameters": [ { "name": "employee_id", "in": "path", "required": true, "format": "int64", "type": "integer" }, { "name": "agb_code_id", "in": "path", "required": true, "format": "int64", "type": "integer" }, { "name": "body", "in": "body", "schema": { "$ref": "#/definitions/PractitionerAgbCode" } } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/PractitionerAgbCode" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/employees/{employee_id}/agb_codes/{agb_code_id}", "x-internal": false, "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] }, "delete": { "tags": [ "PractitionerAgbCode" ], "summary": "Deletes the AGB code with the provided id assigned to the employee corresponding to the provided id", "operationId": "PractitionerAgbCodeAPI.deleteForEmployeeId", "parameters": [ { "name": "employee_id", "in": "path", "required": true, "format": "int64", "type": "integer" }, { "name": "agb_code_id", "in": "path", "required": true, "format": "int64", "type": "integer" } ], "responses": { "204": { "description": "No response was specified" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/employees/{employee_id}/agb_codes/{agb_code_id}", "x-internal": false } }, "/t/employees/{employee_id}/bank_account": { "get": { "tags": [ "Employee" ], "summary": "Return the bank account assigned to the Employee corresponding to the given id", "operationId": "EmployeeAPI.bankAccount", "parameters": [ { "name": "employee_id", "in": "path", "description": "the id of the employee", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/BankAccount" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/employees/{employee_id}/bank_account", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/employees/{employee_id}/big_codes": { "get": { "tags": [ "PractitionerBigCode" ], "summary": "Return the BIG codes assigned to the employee corresponding to the provided id", "operationId": "PractitionerBigCodeAPI.byEmployeeId", "parameters": [ { "name": "employee_id", "in": "path", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/list.PractitionerBigCodeList" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/employees/{employee_id}/big_codes", "x-internal": false, "produces": [ "application/json", "application/xml" ] }, "post": { "tags": [ "PractitionerBigCode" ], "summary": "Creates the provided BIG code and assigns it to the employee corresponding to the provided id", "operationId": "PractitionerBigCodeAPI.createForEmployeeId", "parameters": [ { "name": "employee_id", "in": "path", "required": true, "format": "int64", "type": "integer" }, { "name": "body", "in": "body", "schema": { "$ref": "#/definitions/PractitionerBigCode" } } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/PractitionerBigCode" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/employees/{employee_id}/big_codes", "x-internal": false, "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] } }, "/t/employees/{employee_id}/big_codes/{big_code_id}": { "get": { "tags": [ "PractitionerBigCode" ], "summary": "Return the BIG code with the provided id assigned to the employee corresponding to the provided id", "operationId": "PractitionerBigCodeAPI.byEmployeeIdAndBigId", "parameters": [ { "name": "employee_id", "in": "path", "required": true, "format": "int64", "type": "integer" }, { "name": "big_code_id", "in": "path", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/PractitionerBigCode" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/employees/{employee_id}/big_codes/{big_code_id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] }, "put": { "tags": [ "PractitionerBigCode" ], "summary": "Updates the provided BIG code assigned to the employee corresponding to the provided id", "operationId": "PractitionerBigCodeAPI.updateForEmployeeId", "parameters": [ { "name": "employee_id", "in": "path", "required": true, "format": "int64", "type": "integer" }, { "name": "big_code_id", "in": "path", "required": true, "format": "int64", "type": "integer" }, { "name": "body", "in": "body", "schema": { "$ref": "#/definitions/PractitionerBigCode" } } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/PractitionerBigCode" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/employees/{employee_id}/big_codes/{big_code_id}", "x-internal": false, "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] }, "delete": { "tags": [ "PractitionerBigCode" ], "summary": "Deletes the BIG code with the provided id assigned to the employee corresponding to the provided id", "operationId": "PractitionerBigCodeAPI.deleteForEmployeeId", "parameters": [ { "name": "employee_id", "in": "path", "required": true, "format": "int64", "type": "integer" }, { "name": "big_code_id", "in": "path", "required": true, "format": "int64", "type": "integer" } ], "responses": { "204": { "description": "No response was specified" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/employees/{employee_id}/big_codes/{big_code_id}", "x-internal": false } }, "/t/employees/{employee_id}/teams": { "get": { "tags": [ "Team" ], "summary": "Return the teams of a Employee corresponding to the given id between 2 dates.", "operationId": "TeamAPI.byEmployeeId", "parameters": [ { "name": "employee_id", "in": "path", "description": "The identifier of the employee for which to retrieve teams", "required": true, "format": "int64", "type": "integer" }, { "name": "valid_from", "in": "query", "format": "date", "type": "string" }, { "name": "valid_to", "in": "query", "format": "date", "type": "string" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/list.TeamList" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/employees/{employee_id}/clipped_teams", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/employees/{employee_id}/contracts": { "get": { "tags": [ "payroll.Contract" ], "summary": "Return the contracts of an Employee corresponding to the given id.", "operationId": "payroll.ContractAPI.byEmployeeId", "parameters": [ { "name": "employee_id", "in": "path", "description": "id", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/payroll.list.ContractList" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/employees/{employee_id}/contracts", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/employees/{employee_id}/expertise_profile_assignments": { "get": { "tags": [ "ExpertiseProfileAssignment" ], "summary": "Return the expertise profile assignments of a Employee corresponding to the given id.", "operationId": "ExpertiseProfileAssignmentAPI.byEmployeeIdAndDateRange", "parameters": [ { "name": "employee_id", "in": "path", "required": true, "format": "int64", "type": "integer" }, { "name": "valid_from", "in": "query", "format": "date", "type": "string" }, { "name": "valid_to", "in": "query", "format": "date", "type": "string" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/list.ExpertiseProfileAssignmentList" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/employees/{employee_id}/expertise_profile_assignments", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/employees/{employee_id}/expertise_profiles": { "get": { "tags": [ "ExpertiseProfile" ], "summary": "Return the expertise profiles of a Employee corresponding to the given id between the given dates.", "operationId": "ExpertiseProfileAPI.byEmployeeId", "parameters": [ { "name": "employee_id", "in": "path", "description": "id", "required": true, "format": "int64", "type": "integer" }, { "name": "valid_from", "in": "query", "format": "date", "type": "string" }, { "name": "valid_to", "in": "query", "format": "date", "type": "string" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/list.ExpertiseProfileList" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/employees/{employee_id}/expertise_profiles", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/employees/{employee_id}/presence_logs": { "get": { "tags": [ "PresenceLog" ], "summary": "Return the presence logs of a Employee corresponding to the given id.", "description": "Setting extended to true\n calculates the ORT hours on the fly and adds them to the response.", "operationId": "PresenceLogAPI.byEmployeeId", "parameters": [ { "name": "employee_id", "in": "path", "description": "id", "required": true, "format": "int64", "type": "integer" }, { "name": "valid_from", "in": "query", "required": true, "format": "date", "type": "string" }, { "name": "valid_to", "in": "query", "required": true, "format": "date", "type": "string" }, { "name": "extended", "in": "query", "type": "boolean" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/list.PresenceLogList" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/employees/{employee_id}/presence_logs", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/employees/{employee_id}/main_address": { "get": { "tags": [ "Address" ], "summary": "Return the currently active main address of the employee corresponding to the given id.", "description": "Returns the currently active main address of the employee corresponding to the given id. The search order corresponds to the order shown when searching for employees.\nThis can be configured in the application - but this can be set by Nedap only. It defaults to the legal address search order.", "operationId": "AddressAPI.mainAddressByEmployeeId", "parameters": [ { "name": "employee_id", "in": "path", "description": "id", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/Address" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/employees/{employee_id}/primary_address", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/employees/{employee_id}/privacy_settings": { "put": { "tags": [ "EmployeePrivacySettings" ], "summary": "Update the employee privacy settings corresponding to the given id.", "operationId": "EmployeePrivacySettingsAPI.updateByEmployeeId", "parameters": [ { "name": "employee_id", "in": "path", "required": true, "format": "int64", "type": "integer" }, { "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/EmployeePrivacySettings" } } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/EmployeePrivacySettings" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/employees/{employee_id}/privacy_settings", "x-internal": false, "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] } }, "/t/employees/{employee_id}/professions": { "get": { "tags": [ "PractitionerProfession" ], "summary": "Return the professions assigned to the employee corresponding to the provided id", "operationId": "PractitionerProfessionAPI.byEmployeeId", "parameters": [ { "name": "employee_id", "in": "path", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/list.PractitionerProfessionList" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/employees/{employee_id}/professions", "x-internal": false, "produces": [ "application/json", "application/xml" ] }, "post": { "tags": [ "PractitionerProfession" ], "summary": "Creates the provided profession and assigns it to the employee corresponding to the provided id", "operationId": "PractitionerProfessionAPI.createForEmployeeId", "parameters": [ { "name": "employee_id", "in": "path", "required": true, "format": "int64", "type": "integer" }, { "name": "body", "in": "body", "schema": { "$ref": "#/definitions/PractitionerProfession" } } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/PractitionerProfession" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/employees/{employee_id}/professions", "x-internal": false, "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] } }, "/t/employees/{employee_id}/professions/{profession_id}": { "get": { "tags": [ "PractitionerProfession" ], "summary": "Return the profession with the provided id assigned to the employee corresponding to the provided id", "operationId": "PractitionerProfessionAPI.byEmployeeIdAndProfessionId", "parameters": [ { "name": "employee_id", "in": "path", "required": true, "format": "int64", "type": "integer" }, { "name": "profession_id", "in": "path", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/PractitionerProfession" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/employees/{employee_id}/professions/{profession_id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] }, "put": { "tags": [ "PractitionerProfession" ], "summary": "Updates the provided profession assigned to the employee corresponding to the provided id", "operationId": "PractitionerProfessionAPI.updateForEmployeeId", "parameters": [ { "name": "employee_id", "in": "path", "required": true, "format": "int64", "type": "integer" }, { "name": "profession_id", "in": "path", "required": true, "format": "int64", "type": "integer" }, { "name": "body", "in": "body", "schema": { "$ref": "#/definitions/PractitionerProfession" } } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/PractitionerProfession" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/employees/{employee_id}/professions/{profession_id}", "x-internal": false, "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] }, "delete": { "tags": [ "PractitionerProfession" ], "summary": "Deletes the profession with the provided id assigned to the employee corresponding to the provided id", "operationId": "PractitionerProfessionAPI.deleteForEmployeeId", "parameters": [ { "name": "employee_id", "in": "path", "required": true, "format": "int64", "type": "integer" }, { "name": "profession_id", "in": "path", "required": true, "format": "int64", "type": "integer" } ], "responses": { "204": { "description": "No response was specified" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/employees/{employee_id}/professions/{profession_id}", "x-internal": false } }, "/t/employees/{employee_id}/team_assignments": { "get": { "tags": [ "TeamAssignment" ], "summary": "Return the team assignments of a Employee corresponding to the given id.", "operationId": "TeamAssignmentAPI.byEmployeeId", "parameters": [ { "name": "employee_id", "in": "path", "description": "id", "required": true, "format": "int64", "type": "integer" }, { "name": "valid_from", "in": "query", "format": "date", "type": "string" }, { "name": "valid_to", "in": "query", "format": "date", "type": "string" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/list.TeamAssignmentList" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/employees/{employee_id}/teams", "x-internal": false, "produces": [ "application/json", "application/xml" ] }, "post": { "tags": [ "TeamAssignment" ], "summary": "Create the provided team assignment and assign it to the employee corresponding to the provided id.", "operationId": "TeamAssignmentAPI.createForEmployeeId", "parameters": [ { "name": "employee_id", "in": "path", "description": "id", "required": true, "format": "int64", "type": "integer" }, { "name": "body", "in": "body", "schema": { "$ref": "#/definitions/TeamAssignment" } } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/TeamAssignment" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/employees/{employee_id}/teams", "x-internal": false, "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] } }, "/t/employees/{employee_id}/team_assignments/{team_assignment_id}": { "get": { "tags": [ "TeamAssignment" ], "summary": "Update the team assignment with the provided id assigned to the employee corresponding to the provided id.", "operationId": "TeamAssignmentAPI.byEmployeeIdAndAssignmentId", "parameters": [ { "name": "employee_id", "in": "path", "description": "id", "required": true, "format": "int64", "type": "integer" }, { "name": "team_assignment_id", "in": "path", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/TeamAssignment" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/employees/{employee_id}/teams/{team_assignment_id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] }, "put": { "tags": [ "TeamAssignment" ], "summary": "Update the team assignment with the provided id assigned to the employee corresponding to the provided id.", "operationId": "TeamAssignmentAPI.updateForEmployeeId", "parameters": [ { "name": "employee_id", "in": "path", "description": "id", "required": true, "format": "int64", "type": "integer" }, { "name": "team_assignment_id", "in": "path", "required": true, "format": "int64", "type": "integer" }, { "name": "body", "in": "body", "schema": { "$ref": "#/definitions/TeamAssignment" } } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/TeamAssignment" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/employees/{employee_id}/teams/{team_assignment_id}", "x-internal": false, "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] }, "delete": { "tags": [ "TeamAssignment" ], "summary": "Remove the team assignment with the provided id assigned to the employee corresponding to the provided id.", "operationId": "TeamAssignmentAPI.removeForEmployeeId", "parameters": [ { "name": "employee_id", "in": "path", "description": "id", "required": true, "format": "int64", "type": "integer" }, { "name": "team_assignment_id", "in": "path", "required": true, "format": "int64", "type": "integer" } ], "responses": { "204": { "description": "No response was specified" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/employees/{employee_id}/teams/{team_assignment_id}", "x-internal": false } }, "/t/employees/{employee_id}/weeksheet_profile": { "get": { "tags": [ "WeeksheetProfile" ], "summary": "Return the weeksheet profile of a employee corresponding to the given employee id.", "operationId": "WeeksheetProfileAPI.byEmployeeId", "parameters": [ { "name": "employee_id", "in": "path", "description": "id", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/WeeksheetProfile" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/employees/{employee_id}/weeksheet_profile", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/employees/by_email": { "get": { "tags": [ "Employee" ], "summary": "Return the employees with the given emailaddress.", "description": "Note that passing an empty email query parameter is technically possible, but will result in finding all employees that have no email address assigned", "operationId": "EmployeeAPI.byEmail", "parameters": [ { "name": "email", "in": "query", "description": "emailaddress", "type": "string" }, { "name": "include_home_email", "in": "query", "description": "if `true` also Employees with the given home emailaddress are included in the result. When omitted, the value is set to `false`", "type": "boolean" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/list.EmployeeList" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/employees/by_email", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/employees/by_identification_no/{identification_no}": { "get": { "tags": [ "Employee" ], "summary": "Return the Employee corresponding to the given identification number.", "operationId": "EmployeeAPI.byIdentificationNo", "parameters": [ { "name": "identification_no", "in": "path", "required": true, "type": "string" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/Employee" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/employees/by_identification_no/{identification_no}", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/employees/by_uuid/{uuid}": { "get": { "tags": [ "Employee" ], "summary": "Return the Employee corresponding to the given uuid.", "operationId": "EmployeeAPI.byUuid", "parameters": [ { "name": "uuid", "in": "path", "required": true, "format": "uuid", "type": "string" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/Employee" } }, "404": { "description": "Employee not found" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/employees/by_uuid/{uuid}", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/employees/search": { "get": { "tags": [ "Employee" ], "summary": "Search for employees", "operationId": "EmployeeAPI.search", "parameters": [ { "name": "query", "in": "query", "description": "query", "type": "string" }, { "name": "employee", "in": "query", "description": "the employee for which the search action is done", "format": "int64", "type": "integer" }, { "name": "limit", "in": "query", "description": "limit the amount of results by", "format": "int32", "type": "integer" }, { "name": "offset", "in": "query", "description": "start at the given offset", "format": "int32", "type": "integer" }, { "name": "out_of_duty", "in": "query", "description": "including employees out of duty", "type": "boolean" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/list.EmployeeList" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/employees/find", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/employees/multiple": { "get": { "tags": [ "Employee" ], "summary": "Method used for requesting multiple Employee objects using\n their ids.", "description": "Method used for requesting multiple Employee objects using\ntheir ids.", "operationId": "EmployeeAPI.multiple", "parameters": [ { "name": "id", "in": "query", "description": "array style id's: id=1&id=2&etc", "type": "array", "items": { "type": "integer", "format": "int64" }, "collectionFormat": "multi" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/list.EmployeeList" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/employees/multiple", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/employees/search_by/teams/{id}": { "get": { "tags": [ "Employee" ], "summary": "Return the Employees who are a member of team corresponding to the given id.", "operationId": "EmployeeAPI.searchByTeamId", "parameters": [ { "name": "id", "in": "path", "required": true, "format": "int64", "type": "integer" }, { "name": "offset", "in": "query", "description": "number of results to skip", "format": "int32", "type": "integer" }, { "name": "limit", "in": "query", "description": "number of results for one call", "format": "int32", "type": "integer" }, { "name": "valid_from", "in": "query", "description": "starting time", "format": "date", "type": "string" }, { "name": "valid_to", "in": "query", "description": "end time", "format": "date", "type": "string" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/list.EmployeeList" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/employees/search_by_team", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/evs/response_message": { "put": { "tags": [ "evs.ResponseMessage" ], "summary": "Send a response of an earlier sent message from FVC back to OA", "operationId": "evs.ResponseMessageAPI.send", "responses": { "200": { "description": "default response", "schema": { "$ref": "#/definitions/evs.ResponseMessage" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/evs/response_message", "x-internal": false, "parameters": [ { "description": "Responsemessage to be sent to OA", "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/evs.ResponseMessage" } } ], "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] } }, "/t/evs/evs_abilities/{action}": { "get": { "tags": [ "evs.EvsAbility" ], "operationId": "evs.EvsAbilityAPI.ableTo", "parameters": [ { "name": "action", "in": "path", "required": true, "type": "string" }, { "name": "client_id", "in": "query", "format": "int64", "type": "integer" }, { "name": "employee_id", "in": "query", "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/evs.EvsAbility" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/evsabilities/{action}", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/expense/expense_types": { "get": { "tags": [ "expense.ExpenseType" ], "summary": "Returns every ExpenseType available from the ExpenseTypeAPI", "operationId": "expense.ExpenseTypeAPI.all", "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/expense.list.ExpenseTypeList" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/expense_types", "x-internal": false, "parameters": [], "produces": [ "application/json", "application/xml" ] } }, "/t/expense/expense_types/{id}": { "get": { "tags": [ "expense.ExpenseType" ], "summary": "Return the Expense Type corresponding to the given id", "operationId": "expense.ExpenseTypeAPI.byId", "parameters": [ { "name": "id", "in": "path", "description": "used for selecting ExpenseType", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/expense.ExpenseType" } }, "404": { "description": "Expense type not found" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/expense_types/{id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/expense/expenses": { "post": { "tags": [ "expense.Expense" ], "summary": "Create Expense", "operationId": "expense.ExpenseAPI.create", "parameters": [ { "name": "X-Cupido-User-Name", "in": "header", "type": "string" }, { "name": "X-Cupido-Active-Identity", "in": "header", "type": "string" }, { "description": "Expense to create", "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/expense.Expense" } } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/expense.Expense" } }, "400": { "description": "Validation errors, or expense already exists" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/expenses", "x-internal": false, "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] } }, "/t/expense/expenses/{id}": { "get": { "tags": [ "expense.Expense" ], "summary": "Return the Expense corresponding to the given id", "operationId": "expense.ExpenseAPI.byId", "parameters": [ { "name": "id", "in": "path", "description": "used for selecting Expense", "required": true, "format": "int64", "type": "integer" }, { "name": "X-Cupido-User-Name", "in": "header", "type": "string" }, { "name": "X-Cupido-Active-Identity", "in": "header", "type": "string" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/expense.Expense" } }, "400": { "description": "Missing ID" }, "404": { "description": "Expense not found" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/expenses/{id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] }, "put": { "tags": [ "expense.Expense" ], "summary": "Updates the given Expense", "operationId": "expense.ExpenseAPI.update", "parameters": [ { "name": "id", "in": "path", "description": "used for selecting Expense", "required": true, "format": "int64", "type": "integer" }, { "name": "X-Cupido-User-Name", "in": "header", "type": "string" }, { "name": "X-Cupido-Active-Identity", "in": "header", "type": "string" }, { "description": "Expense to update", "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/expense.Expense" } } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/expense.Expense" } }, "400": { "description": "Missing ID, or validation errors" }, "404": { "description": "Expense not found" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/expenses/{id}", "x-internal": false, "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] }, "delete": { "tags": [ "expense.Expense" ], "summary": "Deletes the Expense with given id", "operationId": "expense.ExpenseAPI.delete", "parameters": [ { "name": "id", "in": "path", "description": "used for selecting Expense", "required": true, "format": "int64", "type": "integer" }, { "name": "X-Cupido-User-Name", "in": "header", "type": "string" }, { "name": "X-Cupido-Active-Identity", "in": "header", "type": "string" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/expense.Expense" } }, "400": { "description": "Missing ID" }, "404": { "description": "Expense not found" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/expenses/{id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/expense/expenses/search_by/employees/{employee_id}": { "get": { "tags": [ "expense.Expense" ], "summary": "Retrieve all expenses for the employee corresponding to the given employee id.", "description": "At least one of the valid_to and valid_from query parameters need to be set. When neither are provided, they will both default to \"today\". Since valid_to is non-inclusive, this leads to an empty response", "operationId": "expense.ExpenseAPI.searchByEmployeeId", "parameters": [ { "name": "employee_id", "in": "path", "description": "The id of the employee to search expenses for", "required": true, "format": "int64", "type": "integer" }, { "name": "valid_from", "in": "query", "description": "starting time", "format": "date", "type": "string" }, { "name": "valid_to", "in": "query", "description": "end time", "format": "date", "type": "string" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/expense.list.ExpenseList" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/expenses/employees/{employee_id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/expense/expenses/expensedistance/{expense_distance_id}": { "put": { "tags": [ "expense.Expense" ], "summary": "Updates an expense distance position with a new position value", "operationId": "expense.ExpenseAPI.updatePositionForExpenseDistance", "parameters": [ { "name": "expense_distance_id", "in": "path", "required": true, "format": "int64", "type": "integer" }, { "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/registration.Position" } } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/expense.Expense" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/expenses/expensedistance/{expense_distance_id}", "x-internal": false, "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] } }, "/t/expertise_groups": { "get": { "tags": [ "ExpertiseGroup" ], "summary": "Returns every ExpertiseGroup available from the ExpertiseGroupAPI", "operationId": "ExpertiseGroupAPI.all", "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/list.ExpertiseGroupList" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/expertise_groups", "x-internal": false, "parameters": [], "produces": [ "application/json", "application/xml" ] } }, "/t/expertise_groups/{id}": { "get": { "tags": [ "ExpertiseGroup" ], "summary": "Returns the ExpertiseGroup corresponding to the given id", "operationId": "ExpertiseGroupAPI.byId", "parameters": [ { "name": "id", "in": "path", "description": "used for selecting ExpertiseGroup", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/ExpertiseGroup" } }, "404": { "description": "Expertise group not found" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/expertise_groups/{id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/expertise_groups/multiple": { "get": { "tags": [ "ExpertiseGroup" ], "summary": "Method used for requesting multiple ExpertiseGroup objects using\ntheir ids.", "operationId": "ExpertiseGroupAPI.multiple", "parameters": [ { "name": "id", "in": "query", "description": "array style id's: id=1&id=2&etc", "type": "array", "items": { "type": "integer", "format": "int64" }, "collectionFormat": "multi" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/list.ExpertiseGroupList" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/expertise_groups/multiple", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/expertise_profile_assignments/{id}": { "get": { "tags": [ "ExpertiseProfileAssignment" ], "summary": "Return the Expertise Profile Assignments corresponding to the given id", "operationId": "ExpertiseProfileAssignmentAPI.byId", "parameters": [ { "name": "id", "in": "path", "description": "used for selecting ExpertiseProfileAssignment", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/ExpertiseProfileAssignment" } }, "404": { "description": "Expertise profile assignment not found" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/expertise_profile_assignments/{id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/expertise_profile_assignments/multiple": { "get": { "tags": [ "ExpertiseProfileAssignment" ], "summary": "Method used for requesting multiple ExpertiseProfileAssignment objects using\ntheir ids.", "operationId": "ExpertiseProfileAssignmentAPI.multiple", "parameters": [ { "name": "id", "in": "query", "description": "array style id's: id=1&id=2&etc", "type": "array", "items": { "type": "integer", "format": "int64" }, "collectionFormat": "multi" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/list.ExpertiseProfileAssignmentList" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/expertise_profile_assignments/multiple", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/expertise_profiles": { "get": { "tags": [ "ExpertiseProfile" ], "summary": "Returns every ExpertiseProfile available from the ExpertiseProfileAPI", "operationId": "ExpertiseProfileAPI.all", "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/list.ExpertiseProfileList" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/expertise_profiles", "x-internal": false, "parameters": [], "produces": [ "application/json", "application/xml" ] } }, "/t/expertise_profiles/{expertise_profiles_id}/hour_types": { "get": { "tags": [ "HourType" ], "summary": "Return the hour type of a ExpertiseProfiles corresponding to the given id.", "operationId": "HourTypeAPI.byExpertiseProfileId", "parameters": [ { "name": "expertise_profiles_id", "in": "path", "description": "id", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/list.HourTypeList" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/expertise_profiles/{expertise_profiles_id}/hour_types", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/expertise_profiles/{id}": { "get": { "tags": [ "ExpertiseProfile" ], "summary": "Return the Expertise Profile corresponding to the given id", "operationId": "ExpertiseProfileAPI.byId", "parameters": [ { "name": "id", "in": "path", "description": "used for selecting ExpertiseProfile", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/ExpertiseProfile" } }, "404": { "description": "Expertise profile not found" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/expertise_profiles/{id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/expertise_profiles/multiple": { "get": { "tags": [ "ExpertiseProfile" ], "summary": "Method used for requesting multiple ExpertiseProfile objects using\ntheir ids.", "operationId": "ExpertiseProfileAPI.multiple", "parameters": [ { "name": "id", "in": "query", "description": "array style id's: id=1&id=2&etc", "type": "array", "items": { "type": "integer", "format": "int64" }, "collectionFormat": "multi" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/list.ExpertiseProfileList" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/expertise_profiles/multiple", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/export/export_presence_logs/collect": { "get": { "tags": [ "export.ExportPresenceLog" ], "summary": "Collects the Export Presence Logs", "operationId": "export.ExportPresenceLogAPI.collect", "parameters": [ { "name": "employee_id", "in": "query", "description": "as long", "format": "int64", "type": "integer" }, { "name": "filter_name", "in": "query", "description": "as string", "required": true, "type": "string" }, { "name": "date", "in": "query", "description": "as string, yyyy-MM-dd", "required": true, "type": "string" }, { "name": "compression_type", "in": "query", "description": "as integer", "required": true, "format": "int32", "type": "integer" }, { "name": "verified_only", "in": "query", "description": "as boolean", "required": true, "type": "boolean" }, { "name": "prevent_overlap", "in": "query", "description": "as boolean", "type": "boolean" }, { "name": "use_direct_code", "in": "query", "description": "as boolean", "type": "boolean" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/export.ExportUuid" } }, "400": { "description": "An export is already running, or initialization is not possible" }, "404": { "description": "No status information could be found" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/export/export_presence_logs/collect", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/export/export_presence_logs/result/{uuid}": { "get": { "tags": [ "export.ExportPresenceLog" ], "summary": "Return the results of the Export Presence Log corresponding to the given uuid", "operationId": "export.ExportPresenceLogAPI.resultByUuid", "parameters": [ { "name": "uuid", "in": "path", "description": "as string", "required": true, "type": "string" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/export.list.ExportPresenceLogList" } }, "400": { "description": "UUID is required, or no status could be found" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/export/export_presence_logs/result/{uuid}", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/export/export_presence_logs/status/{uuid}": { "get": { "tags": [ "export.ExportPresenceLog" ], "summary": "Return the status of the Export Presence Log corresponding to the given uuid", "operationId": "export.ExportPresenceLogAPI.statusByUuid", "parameters": [ { "name": "uuid", "in": "path", "description": "as string", "required": true, "type": "string" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/export.ExportStatus" } }, "400": { "description": "UUID is required, or no status could be found" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/export/export_presence_logs/status/{uuid}", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/finance/care_order_products": { "post": { "tags": [ "finance.CareOrderProduct" ], "summary": "Create CareOrderProduct", "operationId": "finance.CareOrderProductAPI.create", "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/finance.CareOrderProduct" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/finance/care_order_products", "x-internal": false, "parameters": [ { "description": "CareOrderProduct to create", "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/finance.CareOrderProduct" } } ], "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] } }, "/t/finance/care_order_products/{id}": { "get": { "tags": [ "finance.CareOrderProduct" ], "summary": "Return the CareOrderProduct corresponding to the given id", "operationId": "finance.CareOrderProductAPI.byId", "parameters": [ { "name": "id", "in": "path", "description": "used for selecting CareOrderProduct", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/finance.CareOrderProduct" } }, "404": { "description": "CareOrderProduct does not exist" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/finance/care_order_products/{id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] }, "put": { "tags": [ "finance.CareOrderProduct" ], "summary": "Updates the given CareOrderProduct", "operationId": "finance.CareOrderProductAPI.update", "parameters": [ { "name": "id", "in": "path", "description": "used for selecting CareOrderProduct", "required": true, "format": "int64", "type": "integer" }, { "description": "CareOrderProduct to update", "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/finance.CareOrderProduct" } } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/finance.CareOrderProduct" } }, "404": { "description": "CareOrderProduct does not exist" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/finance/care_order_products/{id}", "x-internal": false, "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] }, "delete": { "tags": [ "finance.CareOrderProduct" ], "summary": "Deletes the CareOrderProduct with given id", "operationId": "finance.CareOrderProductAPI.delete", "parameters": [ { "name": "id", "in": "path", "description": "used for selecting CareOrderProduct", "required": true, "format": "int64", "type": "integer" } ], "responses": { "204": { "description": "If successfully removed the care order product" }, "400": { "description": "ID not specified, or the care product has finance logs" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/finance/care_order_products/{id}", "x-internal": false } }, "/t/finance/care_orders": { "post": { "tags": [ "finance.CareOrder" ], "summary": "Create CareOrder", "operationId": "finance.CareOrderAPI.create", "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/finance.CareOrder" } }, "400": { "description": "Validation errors" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/finance/care_orders", "x-internal": false, "parameters": [ { "description": "CareOrder to create", "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/finance.CareOrder" } } ], "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] } }, "/t/finance/care_orders/{care_order_id}/care_order_products": { "get": { "tags": [ "finance.CareOrderProduct" ], "summary": "Return the CareOrderProducts of a CareOrder corresponding to the given id.", "operationId": "finance.CareOrderProductAPI.byCareOrderId", "parameters": [ { "name": "care_order_id", "in": "path", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/finance.list.CareOrderProductList" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/finance/care_orders/{care_order_id}/care_order_products", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/care_orders/{care_order_id}/presence_logs": { "get": { "tags": [ "PresenceLog" ], "summary": "Return the PresenceLogs of a CareOrder corresponding to the given id.", "operationId": "PresenceLogAPI.byCareOrderId", "parameters": [ { "name": "care_order_id", "in": "path", "description": "Long identifying the CareOrder to search for", "required": true, "format": "int64", "type": "integer" }, { "name": "limit", "in": "query", "description": "Integer used to limit the result size", "format": "int32", "type": "integer" }, { "name": "page", "in": "query", "description": "Integer used to indicate the index of the page of results (ie. first result is on row = page * limit)", "format": "int32", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/list.PresenceLogList" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/finance/care_orders/{care_order_id}/presence_logs", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/care_orders/{care_order_id}/presence_logs_paged": { "get": { "tags": [ "PresenceLog" ], "summary": "Return the PresenceLogs of a CareOrder corresponding to the given id.", "operationId": "PresenceLogAPI.byCareOrderId2", "parameters": [ { "name": "care_order_id", "in": "path", "description": "Long identifying the CareOrder to search for", "required": true, "format": "int64", "type": "integer" }, { "name": "limit", "in": "query", "description": "Integer used to limit the result size", "format": "int32", "type": "integer" }, { "name": "page", "in": "query", "description": "Integer used to indicate the index of the page of results (ie. first result is on row = page * limit)", "format": "int32", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/list.PresenceLogList" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/finance/care_orders/{care_order_id}/presence_logs", "x-internal": false, "produces": [ "application/json", "application/xml" ], "deprecated": true, "description": "Deprecated operation, please use 'PresenceLogAPI.byCareOrderId' instead", "x-deprecated-since": "03-05-2023" } }, "/t/finance/care_orders/{id}": { "get": { "tags": [ "finance.CareOrder" ], "summary": "Return the CareOrder corresponding to the given id", "operationId": "finance.CareOrderAPI.byId", "parameters": [ { "name": "id", "in": "path", "description": "used for selecting CareOrder", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/finance.CareOrder" } }, "404": { "description": "CareOrder does not exist" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/finance/care_orders/{id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] }, "put": { "tags": [ "finance.CareOrder" ], "summary": "Updates the given CareOrder", "operationId": "finance.CareOrderAPI.update", "parameters": [ { "name": "id", "in": "path", "description": "used for selecting CareOrder", "required": true, "format": "int64", "type": "integer" }, { "description": "CareOrder to update", "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/finance.CareOrder" } } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/finance.CareOrder" } }, "400": { "description": "ID of model does not match path" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/finance/care_orders/{id}", "x-internal": false, "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] }, "delete": { "tags": [ "finance.CareOrder" ], "summary": "Deletes the CareOrder with given id", "operationId": "finance.CareOrderAPI.delete", "parameters": [ { "name": "id", "in": "path", "description": "used for selecting CareOrder", "required": true, "format": "int64", "type": "integer" } ], "responses": { "204": { "description": "If successfully removed the care order" }, "400": { "description": "Missing ID, or Careorder is assigned to a client, or the care order has care order products assigned" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/finance/care_orders/{id}", "x-internal": false } }, "/t/finance/care_orders/by_client_and_finance_type/{client_object_id}": { "get": { "tags": [ "finance.CareOrder" ], "summary": "If you are looking for 'zorglegitimaties', then you can use the CareOrder API.", "operationId": "finance.CareOrderAPI.byClientAndFinanceType", "parameters": [ { "name": "client_object_id", "in": "path", "description": "ID of the client", "required": true, "format": "int64", "type": "integer" }, { "name": "financetypeObjectId", "in": "query", "description": "ID of the finance type", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/finance.list.CareOrderList" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/finance/care_orders/by_client_and_finance_type/{client_object_id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/finance/care_orders/by_client/{client_id}": { "get": { "tags": [ "finance.CareOrder" ], "summary": "If you are looking for 'zorglegitimaties', then you can use the CareOrder API.", "operationId": "finance.CareOrderAPI.byClient", "parameters": [ { "name": "client_id", "in": "path", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/finance.list.CareOrderList" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/finance/care_orders/by_client/{client_id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/finance/care_orders/by_identification_no/{identification_no}": { "get": { "tags": [ "finance.CareOrder" ], "summary": "Finds a CareOrder by its identification number ('legitimatienummer').", "description": "In the returned model the identification number is named \"userIdentifier\".", "operationId": "finance.CareOrderAPI.byIdentificationNo", "parameters": [ { "name": "identification_no", "in": "path", "description": "The identification number (Dutch: legitimatienummer) of the care order to find.", "required": true, "type": "string" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/finance.CareOrder" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/finance/care_orders/by_identification_no/{identification_no}", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/finance/client_financed_products/by_location_and_finance_type_in_period": { "get": { "tags": [ "finance.ClientFinancedProduct" ], "summary": "Retrieve the legally financeable products for all clients on a certain locations for\na certain finance type.", "operationId": "finance.ClientFinancedProductAPI.byLocationAndFinanceTypeInPeriod", "parameters": [ { "name": "unit_id", "in": "query", "description": "the id of the location we want a list of", "format": "int64", "type": "integer" }, { "name": "finance_id", "in": "query", "description": "the financetype we're interested in", "format": "int64", "type": "integer" }, { "name": "start_period", "in": "query", "description": "the start of the period", "format": "date", "type": "string" }, { "name": "end_period", "in": "query", "description": "the end of the period", "format": "date", "type": "string" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/finance.list.ClientFinancedProductList" } }, "400": { "description": "The unit, finance type, start date and end date are required, and the end date cannot be after the begin date" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/finance/client_financed_products/by_location_and_finance_type_in_period", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/finance/client_financed_products/by_location_and_finance_types_in_period": { "get": { "tags": [ "finance.ClientFinancedProduct" ], "summary": "Retrieve the legally financeable products for all clients on a certain locations for\na certain finance type.", "operationId": "finance.ClientFinancedProductAPI.byLocationAndFinanceTypesInPeriod", "parameters": [ { "name": "unit_id", "in": "query", "description": "the id of the location we want a list of", "format": "int64", "type": "integer" }, { "name": "finance_ids", "in": "query", "description": "a list of the financetypes we're interested in", "type": "array", "items": { "type": "integer", "format": "int64" }, "collectionFormat": "multi" }, { "name": "start_period", "in": "query", "description": "the start of the period", "format": "date", "type": "string" }, { "name": "end_period", "in": "query", "description": "the end of the period", "format": "date", "type": "string" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/finance.list.ClientFinancedProductList" } }, "400": { "description": "The unit, finance types, start date and end date are required, and the end date cannot be after the begin date" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/finance/client_financed_products/by_location_and_finance_types_in_period", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/finance/declaration_rules": { "post": { "tags": [ "finance.DeclarationRule" ], "summary": "Create DeclarationRule", "operationId": "finance.DeclarationRuleAPI.create", "responses": { "200": { "description": "default response", "schema": { "$ref": "#/definitions/finance.DeclarationRule" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/finance/declaration_rules", "x-internal": false, "parameters": [ { "description": "DeclarationRule to create", "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/finance.DeclarationRule" } } ], "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] } }, "/t/finance/declaration_rules/{id}": { "get": { "tags": [ "finance.DeclarationRule" ], "operationId": "finance.DeclarationRuleAPI.byId", "parameters": [ { "name": "id", "in": "path", "description": "used for selecting DeclarationRule", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "default response", "schema": { "$ref": "#/definitions/finance.DeclarationRule" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/finance/declaration_rules/{id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] }, "put": { "tags": [ "finance.DeclarationRule" ], "summary": "Updates the given DeclarationRule", "operationId": "finance.DeclarationRuleAPI.update", "parameters": [ { "name": "id", "in": "path", "description": "used for selecting DeclarationRule", "required": true, "format": "int64", "type": "integer" }, { "description": "DeclarationRule to update", "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/finance.DeclarationRule" } } ], "responses": { "200": { "description": "default response", "schema": { "$ref": "#/definitions/finance.DeclarationRule" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/finance/declaration_rules/{id}", "x-internal": false, "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] }, "delete": { "tags": [ "finance.DeclarationRule" ], "summary": "Deletes the DeclarationRule with given id", "operationId": "finance.DeclarationRuleAPI.delete", "parameters": [ { "name": "id", "in": "path", "description": "used for selecting DeclarationRule", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "default response", "schema": { "$ref": "#/definitions/finance.DeclarationRule" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/finance/declaration_rules/{id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/finance/declaration_rules/by_client/{client_id}": { "get": { "tags": [ "finance.DeclarationRule" ], "summary": "Return the Declaration rules belonging to a certain client.", "operationId": "finance.DeclarationRuleAPI.byClient", "parameters": [ { "name": "client_id", "in": "path", "description": "the objectId of the client in question", "required": true, "format": "int64", "type": "integer" }, { "name": "care_order_id", "in": "query", "description": "the objectId of the careorder in question", "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "default response", "schema": { "$ref": "#/definitions/finance.list.DeclarationRuleList" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/finance/declaration_rules/by_client/{client_id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/finance/declaration_rules/by_client/{client_id}/is_verified": { "get": { "tags": [ "finance.DeclarationRule" ], "summary": "Returns whether the declaration rules for a given client are (partly) verified within the specified period", "operationId": "finance.DeclarationRuleAPI.isVerifiedInPeriod", "parameters": [ { "name": "client_id", "in": "path", "description": "Long identifying the client", "required": true, "format": "int64", "type": "integer" }, { "name": "from", "in": "query", "description": "LocalDate the start date of the period to check (inclusive)", "required": true, "format": "date", "type": "string" }, { "name": "to", "in": "query", "description": "LocalDate the end date of the period to check (inclusive)", "required": true, "format": "date", "type": "string" } ], "responses": { "200": { "description": "default response", "schema": { "$ref": "#/definitions/BooleanWithReason" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/finance/declaration_rules/by_client/{client_id}/is_verified", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/finance/declaration_rules/by_client/{client_id}/verified_until": { "get": { "tags": [ "finance.DeclarationRule" ], "operationId": "finance.DeclarationRuleAPI.verifiedUntil", "parameters": [ { "name": "client_id", "in": "path", "description": "Long identifying the client", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "default response", "schema": { "$ref": "#/definitions/DateWrapper" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/finance/declaration_rules/by_client/{client_id}/verified_until", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/finance/finance_types/{finance_type_id}/products": { "get": { "tags": [ "finance.Product" ], "summary": "Return the Products of a FinanceType corresponding to the given id.", "operationId": "finance.ProductAPI.byFinanceTypeId", "parameters": [ { "name": "finance_type_id", "in": "path", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/finance.list.ProductList" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/finance/finance_types/{finance_type_id}/products", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/finance/finance_types/{id}": { "get": { "tags": [ "finance.FinanceType" ], "summary": "Return the Finance Type corresponding to the given id", "operationId": "finance.FinanceTypeAPI.byId", "parameters": [ { "name": "id", "in": "path", "description": "used for selecting FinanceType", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/finance.FinanceType" } }, "404": { "description": "Finance type not found" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/finance/finance_types/{id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/finance/forensic_care_orders": { "post": { "tags": [ "finance.ForensicCareOrder" ], "summary": "Create ForensicCareOrder", "operationId": "finance.ForensicCareOrderAPI.create", "parameters": [ { "name": "X-Cupido-User-Name", "in": "header", "type": "string" }, { "name": "X-Cupido-Active-Identity", "in": "header", "type": "string" }, { "description": "ForensicCareOrder to create", "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/finance.ForensicCareOrder" } } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/finance.ForensicCareOrder" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/finance/forensic_care_orders", "x-internal": false, "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] } }, "/t/finance/forensic_care_orders/{id}": { "get": { "tags": [ "finance.ForensicCareOrder" ], "summary": "Return the Forensic Care Order corresponding to the given id", "operationId": "finance.ForensicCareOrderAPI.byId", "parameters": [ { "name": "id", "in": "path", "description": "used for selecting ForensicCareOrder", "required": true, "format": "int64", "type": "integer" }, { "name": "X-Cupido-User-Name", "in": "header", "type": "string" }, { "name": "X-Cupido-Active-Identity", "in": "header", "type": "string" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/finance.ForensicCareOrder" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/finance/forensic_care_orders/{id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] }, "put": { "tags": [ "finance.ForensicCareOrder" ], "summary": "Updates the given ForensicCareOrder", "description": "Will create the object at the provided ID if it did not exist previously.", "operationId": "finance.ForensicCareOrderAPI.update", "parameters": [ { "name": "id", "in": "path", "description": "used for selecting ForensicCareOrder", "required": true, "format": "int64", "type": "integer" }, { "name": "X-Cupido-User-Name", "in": "header", "type": "string" }, { "name": "X-Cupido-Active-Identity", "in": "header", "type": "string" }, { "description": "ForensicCareOrder to update", "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/finance.ForensicCareOrder" } } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/finance.ForensicCareOrder" } }, "400": { "description": "The ID in the path does not match the request body" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/finance/forensic_care_orders/{id}", "x-internal": false, "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] }, "delete": { "tags": [ "finance.ForensicCareOrder" ], "summary": "Deletes the ForensicCareOrder with given id", "description": "Deleting a ForensicCareOrder may fail if other objects are still linked to it.", "operationId": "finance.ForensicCareOrderAPI.delete", "parameters": [ { "name": "id", "in": "path", "description": "used for selecting ForensicCareOrder", "required": true, "format": "int64", "type": "integer" }, { "name": "X-Cupido-User-Name", "in": "header", "type": "string" }, { "name": "X-Cupido-Active-Identity", "in": "header", "type": "string" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/finance.ForensicCareOrder" } }, "204": { "description": "Success" }, "400": { "description": "The ID is not specified" }, "404": { "description": "The forensic care order does not exist" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/finance/forensic_care_orders/{id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/finance/invoice_provider_groups": { "get": { "tags": [ "finance.InvoiceProviderGroup" ], "summary": "Returns every InvoiceProviderGroup available from the InvoiceProviderGroupAPI", "operationId": "finance.InvoiceProviderGroupAPI.all", "parameters": [ { "name": "X-Cupido-User-Name", "in": "header", "type": "string" }, { "name": "X-Cupido-Active-Identity", "in": "header", "type": "string" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/finance.list.InvoiceProviderGroupList" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/finance/invoiceProviderGroups", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/finance/parallel_care_orders/by_employee_and_client_at_date/{employee_object_id}": { "get": { "tags": [ "finance.ParallelCareOrder" ], "operationId": "finance.ParallelCareOrderAPI.byEmployeeAndClientAtDate", "parameters": [ { "name": "employee_object_id", "in": "path", "required": true, "format": "int32", "type": "integer" }, { "name": "client_id", "in": "query", "required": true, "format": "int32", "type": "integer" }, { "name": "source_type", "in": "query", "description": "Is used to determine filtering. Valid values are: 1 (iO Smart), 2 (TouchPro), 3 (Manual), 4 (Timesheet), 5 (A priori), 6 (Planning), 7 (iO Me), 8 (Group care (old)), 9 (Schedule), 10 (Import without overlap), 11 (Import with overlap), 12 (Ons Agenda), 13 (Group care (new)), 14 (Ysis), 15 (Ons DBC) and 16 (Ons Vandaag). Filtering is only performed when values for Ons Agenda, Io Me or Ons Vandaag are provided.", "required": true, "format": "int32", "type": "integer" }, { "name": "date", "in": "query", "required": true, "format": "date", "type": "string" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/finance.list.ParallelCareOrderList" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/finance/parallel_care_orders/by_employee_and_client_at_date/{employee_object_id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/finance/products/{id}": { "get": { "tags": [ "finance.Product" ], "summary": "Return the Product corresponding to the given id", "operationId": "finance.ProductAPI.byId", "parameters": [ { "name": "id", "in": "path", "description": "used for selecting Product", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/finance.Product" } }, "404": { "description": "Product not found" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/finance/products/{id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/payroll/holiday/holidays": { "get": { "tags": [ "payroll.holiday.Holiday" ], "summary": "Returns every Holiday available from the HolidayAPI", "operationId": "payroll.holiday.HolidayAPI.all", "parameters": [ { "name": "X-Cupido-User-Name", "in": "header", "type": "string" }, { "name": "X-Cupido-Active-Identity", "in": "header", "type": "string" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/payroll.holiday.list.HolidayList" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/holidays", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/payroll/holiday/holidays/between": { "get": { "tags": [ "payroll.holiday.Holiday" ], "summary": "Returns a list with holidays which lay between the given days.", "operationId": "payroll.holiday.HolidayAPI.between", "parameters": [ { "name": "valid_from", "in": "query", "required": true, "format": "date", "type": "string" }, { "name": "valid_to", "in": "query", "required": true, "format": "date", "type": "string" }, { "name": "X-Cupido-User-Name", "in": "header", "type": "string" }, { "name": "X-Cupido-Active-Identity", "in": "header", "type": "string" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/payroll.holiday.list.HolidayList" } }, "400": { "description": "The end date must not be before the begin date and the end date cannot be after today." } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/holidays/between", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/hour_type_categories": { "get": { "tags": [ "HourTypeCategory" ], "summary": "Returns every HourTypeCategory available from the HourTypeCategoryAPI", "operationId": "HourTypeCategoryAPI.all", "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/list.HourTypeCategoryList" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/hour_type_categories", "x-internal": false, "parameters": [], "produces": [ "application/json", "application/xml" ] } }, "/t/hour_type_categories/{id}": { "get": { "tags": [ "HourTypeCategory" ], "summary": "Get the Hour Type Category corresponding to the given id", "operationId": "HourTypeCategoryAPI.byId", "parameters": [ { "name": "id", "in": "path", "description": "used for selecting HourTypeCategory", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/HourTypeCategory" } }, "404": { "description": "Hour type category not found" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/hour_type_categories/{id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/hour_type_categories/by_name/{name}": { "get": { "tags": [ "HourTypeCategory" ], "summary": "Return the hour type category corresponding to the given name.", "operationId": "HourTypeCategoryAPI.byName", "parameters": [ { "name": "name", "in": "path", "description": "name of the hour type category", "required": true, "type": "string" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/HourTypeCategory" } }, "404": { "description": "Hour type category not found" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/hour_type_categories/by_name/{name}", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/hour_type_product_assignments": { "get": { "tags": [ "HourTypeProductAssignment" ], "summary": "Returns every HourTypeProductAssignment available", "operationId": "HourTypeProductAssignmentAPI.all", "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/list.HourTypeProductAssignmentList" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/hour_type_product_assignments", "x-internal": false, "parameters": [], "produces": [ "application/json", "application/xml" ] } }, "/t/hour_type_product_assignments/{id}": { "get": { "tags": [ "HourTypeProductAssignment" ], "summary": "Returns the HourTypeProductAssignment with the provided id", "operationId": "HourTypeProductAssignmentAPI.byId", "parameters": [ { "name": "id", "in": "path", "description": "used for selecting HourTypeProductAssignment", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/HourTypeProductAssignment" } }, "404": { "description": "HourTypeProductAssignment not found" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/hour_type_product_assignments/{id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/hour_types": { "get": { "tags": [ "HourType" ], "summary": "Returns every HourType available from the HourTypeAPI", "operationId": "HourTypeAPI.all", "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/list.HourTypeList" } }, "404": { "description": "Hour type category not found" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/hour_types", "x-internal": false, "parameters": [], "produces": [ "application/json", "application/xml" ] } }, "/t/hour_types/{id}": { "get": { "tags": [ "HourType" ], "summary": "Get the Hour Type corresponding to the given id", "operationId": "HourTypeAPI.byId", "parameters": [ { "name": "id", "in": "path", "description": "used for selecting HourType", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/HourType" } }, "404": { "description": "Hour type not found" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/hour_types/{id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/hour_types/{id}/product_assignments": { "get": { "tags": [ "HourTypeProductAssignment" ], "summary": "Returns the HourTypeProductAssignments assigned to the HourType with the provided id", "operationId": "HourTypeProductAssignmentAPI.byHourTypeId", "parameters": [ { "name": "id", "in": "path", "description": "used for selecting HourType for which to get the assignments", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/list.HourTypeProductAssignmentList" } }, "404": { "description": "Hour type not found" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/hour_types/{id}/product_assignments", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/hour_types/multiple": { "get": { "tags": [ "HourType" ], "summary": "Method used for requesting multiple HourType objects using\ntheir ids.", "operationId": "HourTypeAPI.multiple", "parameters": [ { "name": "id", "in": "query", "description": "array style id's: id=1&id=2&etc", "type": "array", "items": { "type": "integer", "format": "int64" }, "collectionFormat": "multi" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/list.HourTypeList" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/hour_types/multiple", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/payroll/hourly_wages/{id}": { "get": { "tags": [ "payroll.HourlyWage" ], "summary": "Return the Hourly Wage corresponding to the given id", "operationId": "payroll.HourlyWageAPI.byId", "parameters": [ { "name": "id", "in": "path", "description": "used for selecting HourlyWage", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/payroll.HourlyWage" } }, "404": { "description": "The hourly wage could not be found" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/hourly_wages/{id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/payroll/hourly_wages/by_employee/{employee_object_id}": { "get": { "tags": [ "payroll.HourlyWage" ], "summary": "Retrieves all the hourly wages of the employee.", "operationId": "payroll.HourlyWageAPI.byEmployee", "parameters": [ { "name": "employee_object_id", "in": "path", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/payroll.list.HourlyWageList" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/hourly_wages/by_employee/{employee_object_id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/insurances": { "post": { "tags": [ "Insurance" ], "summary": "Create an Insurance for a Client.", "operationId": "InsuranceAPI.create", "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/Insurance" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/insurances", "x-internal": false, "parameters": [ { "description": "the Insurance to create.", "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/Insurance" } } ], "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] } }, "/t/insurances/{id}": { "get": { "tags": [ "Insurance" ], "summary": "Return the Insurance corresponding to the given id", "operationId": "InsuranceAPI.byId", "parameters": [ { "name": "id", "in": "path", "description": "used for selecting Insurance", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/Insurance" } }, "404": { "description": "Insurance not found" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/insurances/{id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/jw/zorglegitimaties": { "post": { "tags": [ "jw.JwZorglegitimatie" ], "summary": "Create JwZorglegitimatie", "operationId": "jw.JwZorglegitimatieAPI.create", "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/jw.JwZorglegitimatie" } }, "400": { "description": "Validation errors" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/jw/zorglegitimaties", "x-internal": false, "parameters": [ { "description": "JwZorglegitimatie to create", "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/jw.JwZorglegitimatie" } } ], "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] } }, "/t/jw/zorglegitimaties/{id}": { "get": { "tags": [ "jw.JwZorglegitimatie" ], "summary": "Return the JwZorglegitimatie corresponding to the given id", "operationId": "jw.JwZorglegitimatieAPI.byId", "parameters": [ { "name": "id", "in": "path", "description": "used to find the JwZorglegitimatie", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/jw.JwZorglegitimatie" } }, "404": { "description": "Beschikking not found" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/jw/zorglegitimaties/{id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] }, "delete": { "tags": [ "jw.JwZorglegitimatie" ], "summary": "Delete a JwZorglegitimatie", "operationId": "jw.JwZorglegitimatieAPI.delete", "parameters": [ { "name": "id", "in": "path", "description": "used to find the JwZorglegitimatie", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/jw.JwZorglegitimatie" } }, "400": { "description": "Validation errors" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/jw/zorglegitimaties/{id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/location_assignment_residences": { "post": { "tags": [ "LocationAssignmentResidence" ], "summary": "Create LocationAssignmentResidence", "operationId": "LocationAssignmentResidenceAPI.create", "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/LocationAssignmentResidence" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/location_assignment_residences", "x-internal": false, "parameters": [ { "description": "LocationAssignmentResidence to create", "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/LocationAssignmentResidence" } } ], "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] } }, "/t/location_assignment_residences/{id}": { "get": { "tags": [ "LocationAssignmentResidence" ], "summary": "Return the Location Assignment Residence corresponding to the given id", "operationId": "LocationAssignmentResidenceAPI.byId", "parameters": [ { "name": "id", "in": "path", "description": "used for selecting LocationAssignmentResidence", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/LocationAssignmentResidence" } }, "404": { "description": "Location assignment residence not found" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/location_assignment_residences/{id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] }, "put": { "tags": [ "LocationAssignmentResidence" ], "summary": "Updates the given LocationAssignmentResidence", "operationId": "LocationAssignmentResidenceAPI.update", "parameters": [ { "name": "id", "in": "path", "description": "used for selecting LocationAssignmentResidence", "required": true, "format": "int64", "type": "integer" }, { "description": "LocationAssignmentResidence to update", "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/LocationAssignmentResidence" } } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/LocationAssignmentResidence" } }, "404": { "description": "Location assignment residence not found" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/location_assignment_residences/{id}", "x-internal": false, "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] } }, "/t/location_assignment_residences/by_careorder/{care_order_object_id}": { "get": { "tags": [ "LocationAssignmentResidence" ], "summary": "Find a list of locationAssignmentResidences based on the careorderobjectid", "operationId": "LocationAssignmentResidenceAPI.byCareOrder", "parameters": [ { "name": "care_order_object_id", "in": "path", "description": "Techincal identifcation of a careorder", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/list.LocationAssignmentResidenceList" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/location_assignment_residences/by_careorder/{care_order_object_id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/location_assignment_waiting_lists": { "post": { "tags": [ "LocationAssignmentWaitingList" ], "summary": "Create LocationAssignmentWaitingList", "operationId": "LocationAssignmentWaitingListAPI.create", "responses": { "200": { "description": "default response", "schema": { "$ref": "#/definitions/LocationAssignmentWaitingList" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/location_assignment_waiting_lists", "x-internal": false, "parameters": [ { "description": "LocationAssignmentWaitingList to create", "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/LocationAssignmentWaitingList" } } ], "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] } }, "/t/location_assignment_waiting_lists/{id}": { "get": { "tags": [ "LocationAssignmentWaitingList" ], "operationId": "LocationAssignmentWaitingListAPI.byId", "parameters": [ { "name": "id", "in": "path", "description": "used for selecting LocationAssignmentWaitingList", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "default response", "schema": { "$ref": "#/definitions/LocationAssignmentWaitingList" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/location_assignment_waiting_lists/{id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] }, "put": { "tags": [ "LocationAssignmentWaitingList" ], "summary": "Updates the given LocationAssignmentWaitingList", "operationId": "LocationAssignmentWaitingListAPI.update", "parameters": [ { "name": "id", "in": "path", "description": "used for selecting LocationAssignmentWaitingList", "required": true, "format": "int64", "type": "integer" }, { "description": "LocationAssignmentWaitingList to update", "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/LocationAssignmentWaitingList" } } ], "responses": { "200": { "description": "default response", "schema": { "$ref": "#/definitions/LocationAssignmentWaitingList" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/location_assignment_waiting_lists/{id}", "x-internal": false, "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] } }, "/t/location_assignments": { "post": { "tags": [ "LocationAssignment" ], "summary": "Create LocationAssignment", "operationId": "LocationAssignmentAPI.create", "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/LocationAssignment" } }, "400": { "description": "Validation error" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/location_assignments", "x-internal": false, "parameters": [ { "description": "LocationAssignment to create", "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/LocationAssignment" } } ], "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] } }, "/t/location_assignments/{id}": { "get": { "tags": [ "LocationAssignment" ], "summary": "Return the Location Assignment corresponding to the given id", "operationId": "LocationAssignmentAPI.byId", "parameters": [ { "name": "id", "in": "path", "description": "used for selecting LocationAssignment", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/LocationAssignment" } }, "404": { "description": "Location assignment not found" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/location_assignments/{id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] }, "put": { "tags": [ "LocationAssignment" ], "summary": "Updates the given LocationAssignment", "operationId": "LocationAssignmentAPI.update", "parameters": [ { "name": "id", "in": "path", "description": "used for selecting LocationAssignment", "required": true, "format": "int64", "type": "integer" }, { "description": "LocationAssignment to update", "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/LocationAssignment" } } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/LocationAssignment" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/location_assignments/{id}", "x-internal": false, "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] }, "delete": { "tags": [ "LocationAssignment" ], "summary": "Deletes the LocationAssignment with given id", "operationId": "LocationAssignmentAPI.delete", "parameters": [ { "name": "id", "in": "path", "description": "used for selecting LocationAssignment", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/LocationAssignment" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/location_assignments/{id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/locations": { "get": { "tags": [ "Location" ], "summary": "Returns every Location available from the LocationAPI", "operationId": "LocationAPI.all", "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/list.LocationList" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/locations", "x-internal": false, "parameters": [], "produces": [ "application/json", "application/xml" ] }, "post": { "tags": [ "Location" ], "summary": "Create Location", "description": "Creating a root location is not allowed", "operationId": "LocationAPI.create", "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/Location" } }, "400": { "description": "Parent object ID is required. Validation errors." }, "404": { "description": "AGB code could not be found" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/locations", "x-internal": false, "parameters": [ { "description": "Location to create", "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/Location" } } ], "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] } }, "/t/locations/{id}": { "get": { "tags": [ "Location" ], "summary": "Return the Location corresponding to the given id", "operationId": "LocationAPI.byId", "parameters": [ { "name": "id", "in": "path", "description": "used for selecting Location", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/Location" } }, "404": { "description": "Location not found" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/locations/{id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] }, "put": { "tags": [ "Location" ], "summary": "Update Location.", "operationId": "LocationAPI.update", "parameters": [ { "name": "id", "in": "path", "description": "used for selecting Location", "required": true, "format": "int64", "type": "integer" }, { "description": "Location data to update.", "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/Location" } } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/Location" } }, "400": { "description": "Validation errors" }, "404": { "description": "Location could not be found" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/locations/{id}", "x-internal": false, "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] } }, "/t/locations/multiple": { "get": { "tags": [ "Location" ], "summary": "Method used for requesting multiple Location objects using\ntheir ids.", "operationId": "LocationAPI.multiple", "parameters": [ { "name": "id", "in": "query", "description": "array style id's: id=1&id=2&etc", "type": "array", "items": { "type": "integer", "format": "int64" }, "collectionFormat": "multi" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/list.LocationList" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/locations/multiple", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/dossier/omaha/omaha_classifications/{id}": { "get": { "tags": [ "dossier.omaha.OmahaClassification" ], "summary": "Get the OmahaClassification corresponding to the given id", "operationId": "dossier.omaha.OmahaClassificationAPI.byId", "parameters": [ { "name": "id", "in": "path", "description": "used for selecting OmahaClassification", "required": true, "type": "string" }, { "name": "X-Cupido-User-Name", "in": "header", "type": "string" }, { "name": "X-Cupido-Active-Identity", "in": "header", "type": "string" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dossier.omaha.OmahaClassification" } }, "400": { "description": "Invalid classification" }, "404": { "description": "No Cupido careplan found" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/omaha/classifications/{id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] }, "put": { "tags": [ "dossier.omaha.OmahaClassification" ], "summary": "Updates the given OmahaClassification", "operationId": "dossier.omaha.OmahaClassificationAPI.update", "parameters": [ { "name": "id", "in": "path", "description": "used for selecting OmahaClassification", "required": true, "type": "string" }, { "name": "X-Cupido-User-Name", "in": "header", "type": "string" }, { "name": "X-Cupido-Active-Identity", "in": "header", "type": "string" }, { "description": "OmahaClassification to update", "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/dossier.omaha.OmahaClassification" } } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dossier.omaha.OmahaClassification" } }, "400": { "description": "Invalid classification" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/omaha/classifications/{id}", "x-internal": false, "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] } }, "/t/dossier/omaha/omaha_classifications/by_client/{client_id}/new": { "post": { "tags": [ "dossier.omaha.OmahaClassification" ], "summary": "Create an OmahaClassification for the Client corresponding to the given id", "operationId": "dossier.omaha.OmahaClassificationAPI.newDraft", "parameters": [ { "name": "client_id", "in": "path", "required": true, "format": "int64", "type": "integer" }, { "name": "X-Cupido-User-Name", "in": "header", "type": "string" }, { "name": "X-Cupido-Active-Identity", "in": "header", "type": "string" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dossier.omaha.OmahaClassification" } }, "400": { "description": "Invalid classification" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/omaha/classifications/by_client/{client_id}/new", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/dossier/omaha/omaha_classifications/by_survey_result/{survey_result_id}": { "get": { "tags": [ "dossier.omaha.OmahaClassification" ], "operationId": "dossier.omaha.OmahaClassificationAPI.bySurveyResult", "parameters": [ { "name": "survey_result_id", "in": "path", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dossier.omaha.OmahaClassification" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/omaha/classifications/by_survey_result/{survey_result_id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/dossier/omaha/classified_problems": { "post": { "tags": [ "dossier.omaha.ClassifiedProblem" ], "summary": "Create ClassifiedProblem", "operationId": "dossier.omaha.ClassifiedProblemAPI.create", "parameters": [ { "name": "X-Cupido-User-Name", "in": "header", "type": "string" }, { "name": "X-Cupido-Active-Identity", "in": "header", "type": "string" }, { "description": "ClassifiedProblem to create", "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/dossier.omaha.ClassifiedProblem" } } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dossier.omaha.ClassifiedProblem" } }, "400": { "description": "Invalid problem" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/omaha/classified_problems", "x-internal": false, "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] } }, "/t/dossier/omaha/classified_problems/{id}": { "get": { "tags": [ "dossier.omaha.ClassifiedProblem" ], "summary": "Return the Omaha Classified Problem corresponding to the given id", "operationId": "dossier.omaha.ClassifiedProblemAPI.byId", "parameters": [ { "name": "id", "in": "path", "description": "used for selecting ClassifiedProblem", "required": true, "type": "string" }, { "name": "X-Cupido-User-Name", "in": "header", "type": "string" }, { "name": "X-Cupido-Active-Identity", "in": "header", "type": "string" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dossier.omaha.ClassifiedProblem" } }, "400": { "description": "Invalid problem" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/omaha/classified_problems/{id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] }, "put": { "tags": [ "dossier.omaha.ClassifiedProblem" ], "summary": "Updates the given ClassifiedProblem", "operationId": "dossier.omaha.ClassifiedProblemAPI.update", "parameters": [ { "name": "id", "in": "path", "description": "used for selecting ClassifiedProblem", "required": true, "type": "string" }, { "name": "X-Cupido-User-Name", "in": "header", "type": "string" }, { "name": "X-Cupido-Active-Identity", "in": "header", "type": "string" }, { "description": "ClassifiedProblem to update", "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/dossier.omaha.ClassifiedProblem" } } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dossier.omaha.ClassifiedProblem" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/omaha/classified_problems/{id}", "x-internal": false, "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] }, "delete": { "tags": [ "dossier.omaha.ClassifiedProblem" ], "summary": "Deletes the ClassifiedProblem with given id", "operationId": "dossier.omaha.ClassifiedProblemAPI.delete", "parameters": [ { "name": "id", "in": "path", "description": "used for selecting ClassifiedProblem", "required": true, "type": "string" }, { "name": "X-Cupido-User-Name", "in": "header", "type": "string" }, { "name": "X-Cupido-Active-Identity", "in": "header", "type": "string" } ], "responses": { "204": { "description": "If successfully removed the classified problem" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/omaha/classified_problems/{id}", "x-internal": false } }, "/t/dossier/omaha/intervention_categories": { "get": { "tags": [ "dossier.omaha.InterventionCategory" ], "summary": "Returns every InterventionCategory available from the InterventionCategoryAPI", "operationId": "dossier.omaha.InterventionCategoryAPI.all", "parameters": [ { "name": "X-Cupido-User-Name", "in": "header", "type": "string" }, { "name": "X-Cupido-Active-Identity", "in": "header", "type": "string" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dossier.omaha.list.InterventionCategoryList" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/omaha/intervention_categories", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/dossier/omaha/intervention_targets": { "get": { "tags": [ "dossier.omaha.InterventionTarget" ], "summary": "Returns every InterventionTarget available from the InterventionTargetAPI", "operationId": "dossier.omaha.InterventionTargetAPI.all", "parameters": [ { "name": "X-Cupido-User-Name", "in": "header", "type": "string" }, { "name": "X-Cupido-Active-Identity", "in": "header", "type": "string" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dossier.omaha.list.InterventionTargetList" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/omaha/intervention_targets", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/dossier/omaha/problems": { "get": { "tags": [ "dossier.omaha.Problem" ], "summary": "Returns every Problem available from the ProblemAPI", "operationId": "dossier.omaha.ProblemAPI.all", "parameters": [ { "name": "X-Cupido-User-Name", "in": "header", "type": "string" }, { "name": "X-Cupido-Active-Identity", "in": "header", "type": "string" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dossier.omaha.list.ProblemList" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/omaha/problems", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/payroll/payable_hours_averages/on_day_of_week_in_period/{employee_id}": { "get": { "tags": [ "payroll.PayableHoursAverage" ], "summary": "Get the average payable hours for a given day of the week, for the specified employee and the requested period (inclusive).", "description": "use {@link #onDaysOfWeekInPeriod(Long, LocalDate, LocalDate, List, List)} instead The default period is last thirteen weeks.\nOnly payable hours are included. Shifts are not automatically payable hours. Only the parts of the shift for which active work was booked.\nWe include payrolling, vacation, sick leave, PLB vacation, LFB, moved shifts, moved shift day off, calls during shifts, and overtime.", "operationId": "payroll.PayableHoursAverageAPI.onDayOfWeekInPeriod", "parameters": [ { "name": "employee_id", "in": "path", "required": true, "format": "int64", "type": "integer" }, { "name": "valid_from", "in": "query", "format": "date", "type": "string" }, { "name": "valid_to", "in": "query", "format": "date", "type": "string" }, { "name": "day_of_week", "in": "query", "description": "ISO8601 day of week number, where Monday (1) is the first day of the week, and Sunday (7) is the last. {@see org.joda.time.DateTimeConstants}", "format": "int32", "type": "integer" }, { "name": "hour_type_id", "in": "query", "description": "array style id's: hour_type_id=1&hour_type_id=2&etc", "type": "array", "items": { "type": "integer", "format": "int64" }, "collectionFormat": "multi" }, { "name": "X-Cupido-User-Name", "in": "header", "type": "string" }, { "name": "X-Cupido-Active-Identity", "in": "header", "type": "string" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/payroll.PayableHoursAverage" } }, "400": { "description": "Employee is required and must be under contract in the requested period" } }, "deprecated": true, "x-deployment-id": "administration", "x-deployment-target-path": "/api/payable_hours_averages/on_day_of_week_in_period/{employee_id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/payroll/payable_hours_averages/on_days_of_week_in_period/{employee_id}": { "get": { "tags": [ "payroll.PayableHoursAverage" ], "summary": "Get the average payable hours for the given days of the week, for the specified employee and the requested period (inclusive).", "description": "The default period is last thirteen weeks.\nOnly payable hours are included. Shifts are not automatically payable hours. Only the parts of the shift for which active work was booked.\nWe include payrolling, vacation, sick leave, PLB vacation, LFB, moved shifts, moved shift day off, calls during shifts, and overtime.", "operationId": "payroll.PayableHoursAverageAPI.onDaysOfWeekInPeriod", "parameters": [ { "name": "employee_id", "in": "path", "required": true, "format": "int64", "type": "integer" }, { "name": "valid_from", "in": "query", "format": "date", "type": "string" }, { "name": "valid_to", "in": "query", "format": "date", "type": "string" }, { "name": "day_of_week", "in": "query", "description": "ISO8601 day of week number, where Monday (1) is the first day of the week, and Sunday (7) is the last. {@see org.joda.time.DateTimeConstants}", "type": "array", "items": { "type": "integer", "format": "int32" }, "collectionFormat": "multi" }, { "name": "hour_type_id", "in": "query", "description": "array style id's: hour_type_id=1&hour_type_id=2&etc", "type": "array", "items": { "type": "integer", "format": "int64" }, "collectionFormat": "multi" }, { "name": "X-Cupido-User-Name", "in": "header", "type": "string" }, { "name": "X-Cupido-Active-Identity", "in": "header", "type": "string" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/payroll.list.PayableHoursAverageList" } }, "400": { "description": "Employee is required and must be under contract in the requested period" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/payable_hours_averages/on_days_of_week_in_period/{employee_id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/payroll/payable_hours_averages/per_day_in_period/{employee_id}": { "get": { "tags": [ "payroll.PayableHoursAverage" ], "summary": "Get the average payable hours per day, for the specified employee and the requested period (inclusive).", "description": "The default period is the last thirteen weeks.\nOnly payable hours are included. Shifts are not automatically payable hours. Only the parts of the shift for which active work was booked.\nWe include payrolling, vacation, sick leave, PLB vacation, LFB, moved shifts, moved shift day off, calls during shifts, and overtime.", "operationId": "payroll.PayableHoursAverageAPI.perDayInPeriod", "parameters": [ { "name": "employee_id", "in": "path", "required": true, "format": "int64", "type": "integer" }, { "name": "valid_from", "in": "query", "format": "date", "type": "string" }, { "name": "valid_to", "in": "query", "format": "date", "type": "string" }, { "name": "hour_type_id", "in": "query", "description": "array style id's: hour_type_id=1&hour_type_id=2&etc", "type": "array", "items": { "type": "integer", "format": "int64" }, "collectionFormat": "multi" }, { "name": "X-Cupido-User-Name", "in": "header", "type": "string" }, { "name": "X-Cupido-Active-Identity", "in": "header", "type": "string" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/payroll.PayableHoursAverage" } }, "400": { "description": "Employee is required and must be under contract in the requested period" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/payable_hours_averages/per_day_in_period/{employee_id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/payroll/payable_hours_averages/per_week_in_period/{employee_id}": { "get": { "tags": [ "payroll.PayableHoursAverage" ], "summary": "Get the average payable hours per week, for the specified employee and the requested period (inclusive).", "description": "The default period is last thirteen weeks.\nOnly payable hours are included. Shifts are not automatically payable hours. Only the parts of the shift for which active work was booked.\nWe include payrolling, vacation, sick leave, PLB vacation, LFB, moved shifts, moved shift day off, calls during shifts, and overtime.", "operationId": "payroll.PayableHoursAverageAPI.perWeekInPeriod", "parameters": [ { "name": "employee_id", "in": "path", "required": true, "format": "int64", "type": "integer" }, { "name": "valid_from", "in": "query", "format": "date", "type": "string" }, { "name": "valid_to", "in": "query", "format": "date", "type": "string" }, { "name": "hour_type_id", "in": "query", "description": "array style id's: hour_type_id=1&hour_type_id=2&etc", "type": "array", "items": { "type": "integer", "format": "int64" }, "collectionFormat": "multi" }, { "name": "X-Cupido-User-Name", "in": "header", "type": "string" }, { "name": "X-Cupido-Active-Identity", "in": "header", "type": "string" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/payroll.PayableHoursAverage" } }, "400": { "description": "Employee is required and must be under contract in the requested period" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/payable_hours_averages/per_week_in_period/{employee_id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/practitioners/by_agb/{agbcode}": { "get": { "tags": [ "Practitioner" ], "summary": "Return the practitioner based on the given agbcode", "operationId": "PractitionerAPI.byAgb", "parameters": [ { "name": "agbcode", "in": "path", "description": "the (primary) agbcode of an employee", "required": true, "type": "string" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/Practitioner" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/practitioners/by_agb/{agbcode}", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/practitioners/by_employee/{employee_id}": { "get": { "tags": [ "Practitioner" ], "summary": "Return the practitioner based on the given id of an employee", "operationId": "PractitionerAPI.byEmployee", "parameters": [ { "name": "employee_id", "in": "path", "description": "The objectid of the employee", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/Practitioner" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/practitioners/by_employee/{employee_id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/practitioners/search": { "get": { "tags": [ "Practitioner" ], "summary": "Return the practitioners based on the given search query", "operationId": "PractitionerAPI.search", "parameters": [ { "name": "query", "in": "query", "description": "the searchquery. for instance: the last name of a employee", "required": true, "type": "string" }, { "name": "limit", "in": "query", "description": "set the max size of the returned list", "format": "int32", "type": "integer" }, { "name": "offset", "in": "query", "description": "set position in the result list to start from", "format": "int32", "type": "integer" }, { "name": "date", "in": "query", "description": "the date on which the practitioner should have a contract", "format": "date", "type": "string" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/list.PractitionerList" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/practitioners/search", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/presence_logs/{id}": { "get": { "tags": [ "PresenceLog" ], "summary": "Return Presence Log corresponding to the given id", "operationId": "PresenceLogAPI.byId", "parameters": [ { "name": "id", "in": "path", "description": "used for selecting PresenceLog", "required": true, "format": "int64", "type": "integer" }, { "name": "X-Cupido-User-Name", "in": "header", "type": "string" }, { "name": "X-Cupido-Active-Identity", "in": "header", "type": "string" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/PresenceLog" } }, "404": { "description": "Presence Log not found" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/presence/presence_logs/{id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/presence_logs/with_care_order/{presence_log_object_id}": { "get": { "tags": [ "PresenceLog" ], "operationId": "PresenceLogAPI.withCareOrder", "parameters": [ { "name": "presence_log_object_id", "in": "path", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/PresenceLog" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/presence/presence_logs/with_care_order/{presence_log_object_id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/referrals": { "post": { "tags": [ "Referral" ], "summary": "Create Referral", "operationId": "ReferralAPI.create", "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/Referral" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/referrals", "x-internal": false, "parameters": [ { "description": "Referral to create", "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/Referral" } } ], "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] } }, "/t/referrals/{id}": { "get": { "tags": [ "Referral" ], "summary": "Return the Referral corresponding to the given id", "operationId": "ReferralAPI.byId", "parameters": [ { "name": "id", "in": "path", "description": "used for selecting Referral", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/Referral" } }, "404": { "description": "Referral not found" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/referrals/{id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/referrals/by_client/{client_id}": { "get": { "tags": [ "Referral" ], "summary": "Returns the referrals of the client corresponding to the given client id.", "operationId": "ReferralAPI.byClient", "parameters": [ { "name": "client_id", "in": "path", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/list.ReferralList" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/referrals/by_client/{client_id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/referrals/categories": { "get": { "tags": [ "Referral" ], "summary": "Fetch all available ReferrerCategories accompanied by their available referrer types", "operationId": "ReferralAPI.getAllReferrerCategories", "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/list.ReferrerCategoryList" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/referrals/categories", "x-internal": false, "parameters": [], "produces": [ "application/json", "application/xml" ] } }, "/t/status/application": { "get": { "tags": [ "status.ApplicationStatus" ], "summary": "Retrieves the ApplicationStatus", "operationId": "status.ApplicationStatusAPI.get", "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/status.ApplicationStatus" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/status/application", "x-internal": false, "parameters": [], "produces": [ "application/json", "application/xml" ] } }, "/t/survey/answers/{id}": { "delete": { "tags": [ "survey.Answer" ], "summary": "Deletes the Answer with given id", "description": "Answer IDs are found through the endpoint /t/suveys/survey_results/{survey_result_id}", "operationId": "survey.AnswerAPI.delete", "parameters": [ { "name": "id", "in": "path", "description": "Identifier of Answer to delete.", "required": true, "format": "int64", "type": "integer" }, { "name": "X-Cupido-User-Name", "in": "header", "type": "string" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/survey.Answer" } }, "204": { "description": "Success" }, "400": { "description": "Validation errors" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/survey_answer/{id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/survey/survey_results": { "post": { "tags": [ "survey.SurveyResult" ], "summary": "Create SurveyResult", "description": "It is not allowed to post surveys without answers. Username must be set.", "operationId": "survey.SurveyResultAPI.create", "parameters": [ { "name": "X-Cupido-User-Name", "in": "header", "type": "string" }, { "description": "SurveyResult to create", "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/survey.SurveyResult" } } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/survey.SurveyResult" } }, "400": { "description": "Survey without answers, or other validation errors" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/survey_result", "x-internal": false, "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] } }, "/t/survey/survey_results/{id}": { "get": { "tags": [ "survey.SurveyResult" ], "operationId": "survey.SurveyResultAPI.byId", "parameters": [ { "name": "id", "in": "path", "description": "used for selecting SurveyResult", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/survey.SurveyResult" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/survey_result/{id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] }, "put": { "tags": [ "survey.SurveyResult" ], "summary": "Updates the given SurveyResult", "operationId": "survey.SurveyResultAPI.update", "parameters": [ { "name": "id", "in": "path", "description": "Identifier of SurveyResult to update.", "required": true, "format": "int64", "type": "integer" }, { "description": "SurveyResult to update", "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/survey.SurveyResult" } } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/survey.SurveyResult" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/survey_result/{id}", "x-internal": false, "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] }, "delete": { "tags": [ "survey.SurveyResult" ], "summary": "Deletes the SurveyResult with given id", "operationId": "survey.SurveyResultAPI.delete", "parameters": [ { "name": "id", "in": "path", "description": "Identifier of SurveyResult to delete.", "required": true, "format": "int64", "type": "integer", "x-example": 111 } ], "responses": { "204": { "description": "If successfully removed the survey result" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/survey_result/{id}", "x-internal": false } }, "/t/survey/survey_results/{survey_result_id}/duplicate": { "post": { "tags": [ "survey.SurveyResult" ], "summary": "Duplicate a Survey Result", "description": "When used through Ons API, the employee_id for the copied SurveyResult is set to a default user. This employee_id can be changed by using the PUT operation on the newly created SurveyResult.", "operationId": "survey.SurveyResultAPI.duplicate", "parameters": [ { "name": "survey_result_id", "in": "path", "required": true, "format": "int64", "type": "integer" }, { "name": "X-Cupido-User-Name", "in": "header", "type": "string" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/survey.SurveyResult" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/survey_result/{survey_result_id}/duplicate", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/survey/surveys/{survey_id}/survey_results": { "get": { "tags": [ "survey.SurveyResult" ], "summary": "Return the SurveyResults of a Survey corresponding to the given id.", "operationId": "survey.SurveyResultAPI.bySurveyId", "parameters": [ { "name": "survey_id", "in": "path", "description": "id", "required": true, "format": "int64", "type": "integer" }, { "name": "employee_id", "in": "query", "format": "int64", "type": "integer" }, { "name": "updated_since", "in": "query", "format": "date", "type": "string" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/survey.list.SurveyResultList" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/survey_result/by_survey/{survey_id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/clients/{client_id}/survey_results": { "get": { "tags": [ "survey.SurveyResult" ], "summary": "Return the survey results of a Client corresponding to the given id.", "operationId": "survey.SurveyResultAPI.byClientId", "parameters": [ { "name": "client_id", "in": "path", "description": "id", "required": true, "format": "int64", "type": "integer" }, { "name": "employee_id", "in": "query", "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/survey.list.SurveyResultList" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/survey_result/survey_results_by_client/{client_id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/survey/answer_definition_groups": { "get": { "tags": [ "survey.AnswerDefinitionGroup" ], "summary": "Returns every AnswerDefinitionGroup available from the AnswerDefinitionGroupAPI", "operationId": "survey.AnswerDefinitionGroupAPI.all", "parameters": [ { "name": "X-Cupido-User-Name", "in": "header", "type": "string" }, { "name": "X-Cupido-Active-Identity", "in": "header", "type": "string" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/survey.list.AnswerDefinitionGroupList" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/survey/answer_definition_groups", "x-internal": false, "produces": [ "application/json", "application/xml" ] }, "post": { "tags": [ "survey.AnswerDefinitionGroup" ], "summary": "Create AnswerDefinitionGroup", "operationId": "survey.AnswerDefinitionGroupAPI.create", "parameters": [ { "name": "X-Cupido-User-Name", "in": "header", "type": "string" }, { "name": "X-Cupido-Active-Identity", "in": "header", "type": "string" }, { "description": "AnswerDefinitionGroup to create", "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/survey.AnswerDefinitionGroup" } } ], "responses": { "200": { "description": "default response", "schema": { "$ref": "#/definitions/survey.AnswerDefinitionGroup" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/survey/answer_definition_groups", "x-internal": false, "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] } }, "/t/survey/answer_definition_groups/{id}": { "get": { "tags": [ "survey.AnswerDefinitionGroup" ], "operationId": "survey.AnswerDefinitionGroupAPI.byId", "parameters": [ { "name": "id", "in": "path", "description": "used for selecting AnswerDefinitionGroup", "required": true, "format": "int64", "type": "integer" }, { "name": "include", "in": "query", "type": "array", "items": { "type": "string" }, "collectionFormat": "multi" }, { "name": "X-Cupido-User-Name", "in": "header", "type": "string" }, { "name": "X-Cupido-Active-Identity", "in": "header", "type": "string" } ], "responses": { "200": { "description": "default response", "schema": { "$ref": "#/definitions/survey.AnswerDefinitionGroup" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/survey/answer_definition_groups/{id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] }, "put": { "tags": [ "survey.AnswerDefinitionGroup" ], "summary": "Updates the given AnswerDefinitionGroup", "operationId": "survey.AnswerDefinitionGroupAPI.update", "parameters": [ { "name": "id", "in": "path", "description": "used for selecting AnswerDefinitionGroup", "required": true, "format": "int64", "type": "integer" }, { "name": "X-Cupido-User-Name", "in": "header", "type": "string" }, { "name": "X-Cupido-Active-Identity", "in": "header", "type": "string" }, { "description": "AnswerDefinitionGroup to update", "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/survey.AnswerDefinitionGroup" } } ], "responses": { "200": { "description": "default response", "schema": { "$ref": "#/definitions/survey.AnswerDefinitionGroup" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/survey/answer_definition_groups/{id}", "x-internal": false, "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] } }, "/t/survey/group_answers/{id}": { "get": { "tags": [ "survey.GroupAnswer" ], "summary": "Return the Survey Group Answer corresponding to the given id", "operationId": "survey.GroupAnswerAPI.byId", "parameters": [ { "name": "id", "in": "path", "description": "used for selecting GroupAnswer", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/survey.GroupAnswer" } }, "404": { "description": "GroupAnswer not found" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/survey/group_answers/{id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/survey/surveys": { "get": { "tags": [ "survey.Survey" ], "summary": "Returns every Survey available from the SurveyAPI", "operationId": "survey.SurveyAPI.all", "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/survey.list.SurveyList" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/survey/surveys", "x-internal": false, "parameters": [], "produces": [ "application/json", "application/xml" ] }, "post": { "tags": [ "survey.Survey" ], "summary": "Create Survey", "operationId": "survey.SurveyAPI.create", "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/survey.Survey" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/survey/surveys", "x-internal": false, "parameters": [ { "description": "Survey to create", "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/survey.Survey" } } ], "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] } }, "/t/survey/surveys/{id}": { "get": { "tags": [ "survey.Survey" ], "operationId": "survey.SurveyAPI.byId", "parameters": [ { "name": "id", "in": "path", "description": "used for selecting Survey", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/survey.Survey" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/survey/surveys/{id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] }, "put": { "tags": [ "survey.Survey" ], "summary": "Updates the given Survey", "operationId": "survey.SurveyAPI.update", "parameters": [ { "name": "id", "in": "path", "description": "Identifier of Survey to update.", "required": true, "format": "int64", "type": "integer" }, { "description": "Survey to update", "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/survey.Survey" } } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/survey.Survey" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/survey/surveys/{id}", "x-internal": false, "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] }, "delete": { "tags": [ "survey.Survey" ], "summary": "Deletes the Survey with given id", "description": "It's not possible to delete a survey that has results.", "operationId": "survey.SurveyAPI.delete", "parameters": [ { "name": "id", "in": "path", "description": "Identifier of Survey to delete.", "required": true, "format": "int64", "type": "integer" } ], "responses": { "204": { "description": "If successfully removed the survey" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/survey/surveys/{id}", "x-internal": false } }, "/t/survey/surveys/creatable_surveys_by_employee/{employee_id}": { "get": { "tags": [ "survey.Survey" ], "summary": "Return the creatable Surveys for the Employee corresponding to the given id", "operationId": "survey.SurveyAPI.creatableSurveysByEmployee", "parameters": [ { "name": "employee_id", "in": "path", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/survey.list.SurveyList" } }, "404": { "description": "No surveys found for employee" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/survey/surveys/creatable_surveys_by_employee/{employee_id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/team_assignments/{id}": { "get": { "tags": [ "TeamAssignment" ], "summary": "Return the team assignment with the given id.", "operationId": "TeamAssignmentAPI.byId", "parameters": [ { "name": "id", "in": "path", "description": "id of the team assignment", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/TeamAssignment" } }, "404": { "description": "Team assignment not found" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/team_assignments/{id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/teams": { "get": { "tags": [ "Team" ], "summary": "Return all teams", "operationId": "TeamAPI.all", "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/list.TeamList" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/teams", "x-internal": false, "parameters": [], "produces": [ "application/json", "application/xml" ] } }, "/t/teams/{id}": { "get": { "tags": [ "Team" ], "summary": "Return the Team corresponding to the given id", "operationId": "TeamAPI.byId", "parameters": [ { "name": "id", "in": "path", "description": "used for selecting Team", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/Team" } }, "404": { "description": "Team not found" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/teams/{id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/teams/by_code/{code}": { "get": { "tags": [ "Team" ], "summary": "Return the code of a Team corresponding to the given id.", "operationId": "TeamAPI.byCode", "parameters": [ { "name": "code", "in": "path", "required": true, "type": "string" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/Team" } }, "404": { "description": "Team not found" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/teams/by_code/{code}", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/teams/multiple": { "get": { "tags": [ "Team" ], "summary": "Method used for requesting multiple Team objects using\ntheir ids.", "operationId": "TeamAPI.multiple", "parameters": [ { "name": "id", "in": "query", "description": "array style id's: id=1&id=2&etc", "type": "array", "items": { "type": "integer", "format": "int64" }, "collectionFormat": "multi" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/list.TeamList" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/teams/multiple", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/transport/client_transport/by_client/{client_id}": { "get": { "tags": [ "transport.ClientTransport" ], "summary": "Find the ClientTransport information for a given client on the given date", "operationId": "transport.ClientTransportAPI.byClientIdAtDate", "parameters": [ { "name": "client_id", "in": "path", "description": "id of client for which the ClientTransport should be retrieved", "required": true, "format": "int64", "type": "integer" }, { "name": "date", "in": "query", "description": "date for which the ClientTransport should be retrieved", "required": true, "format": "date", "type": "string" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/transport.ClientTransport" } }, "400": { "description": "Client ID and date are required" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/transport/client_transport/by_client/{client_id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/treatment_locations/{id}": { "get": { "tags": [ "TreatmentLocation" ], "summary": "Return the treatment location by id", "operationId": "TreatmentLocationAPI.byId", "parameters": [ { "name": "id", "in": "path", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/TreatmentLocation" } }, "404": { "description": "Treatment Location not found" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/treatment_locations/{id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/users": { "post": { "tags": [ "User" ], "summary": "Create User", "operationId": "UserAPI.create", "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/User" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/users", "x-internal": false, "parameters": [ { "description": "User to create", "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/User" } } ], "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] } }, "/t/users/{id}": { "get": { "tags": [ "User" ], "summary": "Get user by ID", "operationId": "UserAPI.byId", "parameters": [ { "name": "id", "in": "path", "description": "used for selecting User", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/User" } }, "404": { "description": "User not found" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/users/{id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] }, "put": { "tags": [ "User" ], "summary": "Updates the given User", "operationId": "UserAPI.update", "parameters": [ { "name": "id", "in": "path", "description": "used for selecting User", "required": true, "format": "int64", "type": "integer" }, { "description": "User to update", "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/User" } } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/User" } }, "404": { "description": "User not found" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/users/{id}", "x-internal": false, "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] }, "delete": { "tags": [ "User" ], "summary": "Deletes the User with given id", "operationId": "UserAPI.delete", "parameters": [ { "name": "id", "in": "path", "description": "used for selecting User", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/User" } }, "404": { "description": "User not found" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/users/{id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/users/{user_id}/authorization_profiles": { "get": { "tags": [ "authorization.AuthorizationProfile" ], "summary": "Return the AuthorizationProfiles of a User corresponding to the given id.", "description": "Do not use. Will not be supported by Shield. See https://github.com/nedap/shield/issues/3207#issuecomment-635947346 ", "operationId": "authorization.AuthorizationProfileAPI.byUserId", "parameters": [ { "name": "user_id", "in": "path", "description": "id", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/authorization.list.AuthorizationProfileList" } } }, "deprecated": true, "x-deployment-id": "administration", "x-deployment-target-path": "/api/users/{user_id}/authorization_profiles", "x-deprecated-since": "24-03-2020", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/users/{user_id}/last_visited_clients": { "get": { "tags": [ "Client" ], "summary": "Return the last visited Clients of a User corresponding to the given id.", "operationId": "ClientAPI.lastVisitedByUserId", "parameters": [ { "name": "user_id", "in": "path", "description": "id", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/list.ClientList" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/users/{user_id}/last_visited_clients", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/users/{user_id}/last_visited_clients/{client_id}": { "post": { "tags": [ "Client" ], "summary": "Add or update client in favorite table", "operationId": "ClientAPI.addOrUpdateClientInFavorite", "parameters": [ { "name": "user_id", "in": "path", "description": "User ID", "required": true, "format": "int64", "type": "integer" }, { "name": "client_id", "in": "path", "description": "Client ID", "required": true, "format": "int64", "type": "integer" } ], "responses": { "204": { "description": "No content" }, "400": { "description": "User or client id is required" }, "404": { "description": "User or client not found" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/users/{user_id}/last_visited_clients/{client_id}", "x-internal": false } }, "/t/users/{user_id}/last_visited_employees": { "get": { "tags": [ "Employee" ], "summary": "Return the last visited Employees of a User corresponding to the given id.", "operationId": "EmployeeAPI.lastVisitedByUserId", "parameters": [ { "name": "user_id", "in": "path", "description": "id", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/list.EmployeeList" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/users/{user_id}/last_visited_employees", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/users/{user_id}/last_visited_locations": { "get": { "tags": [ "User" ], "summary": "Return the last visited Locations of a User corresponding to the given id.", "operationId": "UserAPI.lastVisitedLocations", "parameters": [ { "name": "user_id", "in": "path", "description": "id", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/list.LocationList" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/users/{user_id}/last_visited_locations", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/users/{user_id}/last_visited_teams": { "get": { "tags": [ "Team" ], "summary": "Return the last visited Teams of a User corresponding to the given id.", "operationId": "TeamAPI.lastVisitedByUserId", "parameters": [ { "name": "user_id", "in": "path", "description": "id", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/list.TeamList" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/users/{user_id}/last_visited_teams", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/users/{user_id}/password": { "put": { "tags": [ "User" ], "summary": "Changes the users password", "operationId": "UserAPI.changePassword", "parameters": [ { "name": "user_id", "in": "path", "required": true, "format": "int64", "type": "integer" }, { "description": "the new password, must consist of a combination of upper- and lowercase letters, numbers and special characters", "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/PasswordChange" } } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/PasswordChange" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/users/{user_id}/password", "x-internal": false, "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] } }, "/t/users/{user_id}/scoped_teams": { "get": { "tags": [ "Team" ], "summary": "Return the scoped Teams of a User corresponding to the given id.", "description": "use Shield. See https://github.com/nedap/shield/issues/3207#issuecomment-635947346 ", "operationId": "TeamAPI.scopedByUserId", "parameters": [ { "name": "user_id", "in": "path", "description": "id", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/list.TeamList" } } }, "deprecated": true, "x-deployment-id": "administration", "x-deployment-target-path": "/api/users/{user_id}/scoped_teams", "x-deprecated-since": "11-11-2019", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/users/{user_id}/status": { "get": { "tags": [ "User" ], "summary": "returns the status of the user", "description": "containing a description about if the user is allowed to log into the application", "operationId": "UserAPI.getUserStatus", "parameters": [ { "name": "user_id", "in": "path", "description": "user id", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/UserStatus" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/users/{user_id}/status", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/users/{user_id}/viewable_locations": { "get": { "tags": [ "User" ], "summary": "Return the viewable Locations of a User corresponding to the given id.", "description": "use Shield. See https://github.com/nedap/shield/issues/3207#issuecomment-635947346", "operationId": "UserAPI.viewableLocations", "parameters": [ { "name": "user_id", "in": "path", "description": "id", "required": true, "format": "int64", "type": "integer" }, { "name": "ignore_recursive_locations_enabled", "in": "query", "description": "Only return location user has explicitly access to, ignoring locations beneath those locations", "default": false, "type": "boolean" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/list.LocationList" } } }, "deprecated": true, "x-deployment-id": "administration", "x-deployment-target-path": "/api/users/{user_id}/viewable_locations", "x-deprecated-since": "11-11-2019", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/users/by_employee_id/{employee_id}": { "get": { "tags": [ "User" ], "summary": "Get user by employee ID", "operationId": "UserAPI.byEmployeeId", "parameters": [ { "name": "employee_id", "in": "path", "description": "id", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/User" } }, "404": { "description": "User not found" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/users/by_employee_id/{employee_id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/users/by_sso": { "get": { "tags": [ "User" ], "summary": "Return the User with the given SSO id", "operationId": "UserAPI.bySso", "parameters": [ { "name": "sso_id", "in": "query", "required": true, "type": "string" }, { "name": "sso_provider_id", "in": "query", "required": true, "type": "string" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/list.UserList" } }, "404": { "description": "User not found" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/users/by_sso", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/users/by_user_name": { "get": { "tags": [ "User" ], "summary": "Find by user name.", "operationId": "UserAPI.byUserName", "parameters": [ { "name": "user_name", "in": "query", "description": "The username of the user to find", "type": "string" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/User" } }, "404": { "description": "User not found" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/users/by_username", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/users/by_user_name/{user_name}": { "get": { "tags": [ "User" ], "summary": "Find by user name.", "description": "Use byUserNameSafe", "operationId": "UserAPI.byUserNameUnsafe", "parameters": [ { "name": "user_name", "in": "path", "required": true, "type": "string" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/User" } } }, "deprecated": true, "x-deployment-id": "administration", "x-deployment-target-path": "/api/users/by_username/{user_name}", "x-deprecated-since": "04-07-2020", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/users/by_uuid/{uuid}": { "get": { "tags": [ "User" ], "summary": "Get user by UUID", "operationId": "UserAPI.byUuid", "parameters": [ { "name": "uuid", "in": "path", "required": true, "format": "uuid", "type": "string" }, { "name": "bump_session_expire_time", "in": "query", "type": "boolean" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/User" } }, "404": { "description": "User not found" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/users/by_uuid/{uuid}", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/wlz/zorglegitimaties": { "post": { "tags": [ "wlz.WlzZorglegitimatie" ], "summary": "Create WlzZorglegitimatie", "operationId": "wlz.WlzZorglegitimatieAPI.create", "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/wlz.WlzZorglegitimatie" } }, "400": { "description": "Validation errors" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/wlz/zorglegitimaties", "x-internal": false, "parameters": [ { "description": "WlzZorglegitimatie to create", "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/wlz.WlzZorglegitimatie" } } ], "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] } }, "/t/wlz/zorglegitimaties/{id}": { "get": { "tags": [ "wlz.WlzZorglegitimatie" ], "summary": "Return the WlzZorgLegitimatie corresponding to the given id", "operationId": "wlz.WlzZorglegitimatieAPI.byId", "parameters": [ { "name": "id", "in": "path", "description": "used to find the WlzZorglegitimatie", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/wlz.WlzZorglegitimatie" } }, "404": { "description": "Indicatiebesluit cannot be found" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/wlz/zorglegitimaties/{id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] }, "delete": { "tags": [ "wlz.WlzZorglegitimatie" ], "summary": "Delete a WlzZorglegitimatie", "operationId": "wlz.WlzZorglegitimatieAPI.delete", "parameters": [ { "name": "id", "in": "path", "description": "used to find the WlzZorglegitimatie", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/wlz.WlzZorglegitimatie" } }, "400": { "description": "Validation errors" }, "404": { "description": "Indicatiebesluit cannot be found" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/wlz/zorglegitimaties/{id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/wmo/zorglegitimaties": { "post": { "tags": [ "wmo.WmoZorglegitimatie" ], "summary": "Create WmoZorglegitimatie", "operationId": "wmo.WmoZorglegitimatieAPI.create", "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/wmo.WmoZorglegitimatie" } }, "400": { "description": "Validation errors" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/wmo/zorglegitimaties", "x-internal": false, "parameters": [ { "description": "WmoZorglegitimatie to create", "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/wmo.WmoZorglegitimatie" } } ], "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] } }, "/t/wmo/zorglegitimaties/{id}": { "get": { "tags": [ "wmo.WmoZorglegitimatie" ], "summary": "Return the WmoZorgLegitimatie corresponding to the given id", "operationId": "wmo.WmoZorglegitimatieAPI.byId", "parameters": [ { "name": "id", "in": "path", "description": "used to find the WmoZorglegitimatie", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/wmo.WmoZorglegitimatie" } }, "404": { "description": "WMO Toewijzing Beschikking cannot be found" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/wmo/zorglegitimaties/{id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] }, "delete": { "tags": [ "wmo.WmoZorglegitimatie" ], "summary": "Delete a WmoZorglegitimatie", "operationId": "wmo.WmoZorglegitimatieAPI.delete", "parameters": [ { "name": "id", "in": "path", "description": "used to find the WmoZorglegitimatie", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/wmo.WmoZorglegitimatie" } }, "400": { "description": "Validation errors" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/wmo/zorglegitimaties/{id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/payroll/work_hours_balances/by_employee_at_date/{employee_object_id}": { "get": { "tags": [ "payroll.WorkHoursBalance" ], "summary": "Retrieves a list with all workhour balances for the given employee and for the given date.", "operationId": "payroll.WorkHoursBalanceAPI.byEmployeeAtDate", "parameters": [ { "name": "employee_object_id", "in": "path", "required": true, "format": "int32", "type": "integer" }, { "name": "date", "in": "query", "required": true, "format": "date", "type": "string" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/payroll.list.WorkHoursBalanceList" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/work_hours_balances/by_employee_at_date/{employee_object_id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/payroll/work_hours_balances/by_employee_with_type_at_date/{employee_object_id}": { "get": { "tags": [ "payroll.WorkHoursBalance" ], "summary": "Retrieves a workhour balance for the given employee/accounttype and date.", "operationId": "payroll.WorkHoursBalanceAPI.byEmployeeAndAccountTypeAtDate", "parameters": [ { "name": "employee_object_id", "in": "path", "required": true, "format": "int32", "type": "integer" }, { "name": "date", "in": "query", "required": true, "format": "date", "type": "string" }, { "name": "account_type_id", "in": "query", "required": true, "format": "int32", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/payroll.WorkHoursBalance" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/work_hours_balances/by_employee_with_type_at_date/{employee_object_id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/payroll/work_hours_balances/by_employee_with_type/{employee_object_id}": { "get": { "tags": [ "payroll.WorkHoursBalance" ], "summary": "Retrieves a workhour balance for the given employee and account type.", "operationId": "payroll.WorkHoursBalanceAPI.byEmployeeAndAccountType", "parameters": [ { "name": "employee_object_id", "in": "path", "required": true, "format": "int32", "type": "integer" }, { "name": "account_type_id", "in": "query", "required": true, "format": "int32", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/payroll.WorkHoursBalance" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/work_hours_balances/by_employee_with_type/{employee_object_id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/payroll/work_hours_balances/by_employee/{employee_object_id}": { "get": { "tags": [ "payroll.WorkHoursBalance" ], "summary": "Retrieves a list with all workhour balances for the given employee.", "operationId": "payroll.WorkHoursBalanceAPI.byEmployee", "parameters": [ { "name": "employee_object_id", "in": "path", "required": true, "format": "int32", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/payroll.list.WorkHoursBalanceList" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/work_hours_balances/by_employee/{employee_object_id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/payroll/work_load/by_employee_in_year/{employee_object_id}": { "get": { "tags": [ "payroll.WorkLoad" ], "summary": "Retrieves the workload for the given year and employee.", "description": "When the work load is requested for the current year, the result will be given until last Sunday.", "operationId": "payroll.WorkLoadAPI.byEmployeeInYear", "parameters": [ { "name": "employee_object_id", "in": "path", "required": true, "format": "int32", "type": "integer" }, { "name": "year", "in": "query", "required": true, "format": "int32", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/payroll.WorkLoad" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/work_load/by_employee_in_year/{employee_object_id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/worksheets/{employee_id}": { "get": { "tags": [ "worksheet.Worksheet" ], "summary": "Returns worksheet in pdf format", "operationId": "worksheet.WorksheetAPI.generate", "parameters": [ { "name": "employee_id", "in": "path", "required": true, "format": "int64", "type": "integer" }, { "name": "valid_from", "in": "query", "format": "date", "type": "string" }, { "name": "valid_to", "in": "query", "format": "date", "type": "string" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/worksheet.Worksheet" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/worksheets/{employee_id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/zpm/care_orders": { "post": { "tags": [ "zpm.CareOrderZpmDetails" ], "summary": "Create ZPM detail records for a given care order.", "operationId": "zpm.CareOrderZpmDetailsAPI.create", "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/zpm.CareOrderZpmDetails" } }, "400": { "description": "Validation or persistence problems" }, "404": { "description": "CareOrder not found" } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/zpm/care_orders", "x-internal": false, "parameters": [ { "description": "an object containing all detail records that\n should be created.", "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/zpm.CareOrderZpmDetails" } } ], "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] } }, "/t/zpm/care_orders/{care_order_id}": { "get": { "tags": [ "zpm.CareOrderZpmDetails" ], "summary": "Fetches ZPM detail records for a given care order.", "operationId": "zpm.CareOrderZpmDetailsAPI.byCareOrderId", "parameters": [ { "name": "care_order_id", "in": "path", "description": "care order object ID.", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/zpm.CareOrderZpmDetails" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/zpm/care_orders/{care_order_id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/zpm/gbggz_profielen": { "get": { "tags": [ "zpm.ZpmGbggzProfiel" ], "summary": "Returns a list of all ZPM GB-ggz profielen.", "operationId": "zpm.ZpmGbggzProfielAPI.getAll", "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/zpm.list.ZpmGbggzProfielList" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/zpm/gbggz_profielen", "x-internal": false, "parameters": [], "produces": [ "application/json", "application/xml" ] } }, "/t/zpm/settings": { "get": { "tags": [ "zpm.ZpmSetting" ], "summary": "Returns a list of all ZPM settings.", "operationId": "zpm.ZpmSettingAPI.getAll", "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/zpm.list.ZpmSettingList" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/zpm/settings", "x-internal": false, "parameters": [], "produces": [ "application/json", "application/xml" ] } }, "/t/zpm/zorglabels": { "get": { "tags": [ "zpm.ZpmZorglabel" ], "summary": "Returns a list of all ZPM zorglabels.", "operationId": "zpm.ZpmZorglabelAPI.getAll", "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/zpm.list.ZpmZorglabelList" } } }, "x-deployment-id": "administration", "x-deployment-target-path": "/api/zpm/zorglabels", "x-internal": false, "parameters": [], "produces": [ "application/json", "application/xml" ] } }, "/t/agenda_occurrences/{agenda_occurrence_id}/presence_logs": { "get": { "tags": [ "PresenceLog" ], "summary": "Return the PresenceLogs of a AgendaOccurrence corresponding to the given id.", "operationId": "PresenceLogAPI.byAgendaOccurrenceId", "parameters": [ { "name": "agenda_occurrence_id", "in": "path", "description": "id", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/list.PresenceLogList" } } }, "x-deployment-id": "ons_agenda", "x-deployment-target-path": "/api/agenda/agenda_occurrences/{agenda_occurrence_id}/presence_logs", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/agenda_occurrences/{id}": { "get": { "tags": [ "agenda.AgendaOccurrence" ], "summary": "Get event occurrence", "description": "Get event occurrence", "operationId": "agenda.AgendaOccurrenceAPI.byId", "parameters": [ { "name": "id", "in": "path", "description": "used for selecting AgendaOccurrence", "required": true, "type": "string" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/agenda.AgendaOccurrence" } } }, "security": [ { "X-Cupido-Customer-Code": [], "X-Cupido-Deployment-Type": [], "X-Cupido-User-Name": [] } ], "x-deployment-id": "ons_agenda", "x-deployment-target-path": "/api/agenda/agenda_occurrences/{id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/agenda_occurrences/{id}/destroy_following": { "delete": { "tags": [ "agenda.AgendaOccurrence" ], "summary": "Removes the given agenda occurrence item and all of the following occurrences of that item", "description": "Removes the given appointment occurrence and all of the following occurrences of that appointment", "operationId": "agenda.AgendaOccurrenceAPI.destroyFollowing", "parameters": [ { "name": "id", "in": "path", "description": "Identifier of AgendaOccurrence to delete.", "required": true, "type": "string" }, { "description": "AgendaOccurrence to remove", "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/agenda.AgendaOccurrence" } } ], "responses": { "204": { "description": "If successfully removed the agenda occurrence" } }, "security": [ { "X-Cupido-Customer-Code": [], "X-Cupido-Deployment-Type": [], "X-Cupido-User-Name": [] } ], "x-deployment-id": "ons_agenda", "x-deployment-target-path": "/api/agenda/agenda_occurrences/{id}/destroy_following", "x-internal": false, "consumes": [ "application/json", "application/xml" ] } }, "/t/agenda_occurrences/{id}/destroy_incidentally": { "delete": { "tags": [ "agenda.AgendaOccurrence" ], "summary": "Removes only the given agenda occurrence item", "description": "Removes the given appointment occurrence", "operationId": "agenda.AgendaOccurrenceAPI.destroyIncidentally", "parameters": [ { "name": "id", "in": "path", "description": "Identifier of AgendaOccurrence to delete.", "required": true, "type": "string" }, { "description": "AgendaOccurrence to remove", "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/agenda.AgendaOccurrence" } } ], "responses": { "204": { "description": "If successfully removed the agenda occurrence" } }, "security": [ { "X-Cupido-Customer-Code": [], "X-Cupido-Deployment-Type": [], "X-Cupido-User-Name": [] } ], "x-deployment-id": "ons_agenda", "x-deployment-target-path": "/api/agenda/agenda_occurrences/{id}/destroy_incidentally", "x-internal": false, "consumes": [ "application/json", "application/xml" ] } }, "/t/agenda_occurrences/{id}/update_following": { "put": { "tags": [ "agenda.AgendaOccurrence" ], "summary": "Updates the given AgendaOccurrence item and all of the following\noccurrences of that item.", "description": "NB:\n\ncurrent: When creating of updating an AgendaOccurrence the start_time and end_time fields are used by Ons Agenda.\nThe starts_at and ends_at fields will be ignored.\n\nfuture: When creating of updating an AgendaOccurrence the starts_at and ends_at fields are used by Ons Agenda.\nThe start_time and end_time fields will be ignored and eventually be removed.\n\nWhen you change any property of the Occurrence when updating \"following\",\nthis will break the Series in two. The pre-existing Series is ended (`validTo`)\nat the last occurrence before this one. Then from this occurrence a new\nSeries is created with the updated properties.\n\nThere is one exception to this rule:\n- When updating the first occurrence in a Series, the Series is updated in place.", "operationId": "agenda.AgendaOccurrenceAPI.updateFollowing", "parameters": [ { "name": "id", "in": "path", "description": "Identifier of AgendaOccurrence to update.", "required": true, "type": "string" }, { "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/agenda.AgendaOccurrence" } } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/agenda.AgendaOccurrence" } } }, "security": [ { "X-Cupido-Customer-Code": [], "X-Cupido-Deployment-Type": [], "X-Cupido-User-Name": [] } ], "x-deployment-id": "ons_agenda", "x-deployment-target-path": "/api/agenda/agenda_occurrences/{id}/update_following", "x-internal": false, "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] } }, "/t/agenda_occurrences/{id}/update_incidentally": { "put": { "tags": [ "agenda.AgendaOccurrence" ], "summary": "Updates only the given AgendaOccurrence.", "description": "NB:\n\ncurrent: When creating of updating an AgendaOccurrence the start_time and end_time fields are used by Ons Agenda.\nThe starts_at and ends_at fields will be ignored.\n\nfuture: When creating of updating an AgendaOccurrence the starts_at and ends_at fields are used by Ons Agenda.\nThe start_time and end_time fields will be ignored and eventually be removed.", "operationId": "agenda.AgendaOccurrenceAPI.updateIncidentally", "parameters": [ { "name": "id", "in": "path", "description": "Identifier of AgendaOccurrence to update.", "required": true, "type": "string" }, { "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/agenda.AgendaOccurrence" } } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/agenda.AgendaOccurrence" } } }, "security": [ { "X-Cupido-Customer-Code": [], "X-Cupido-Deployment-Type": [], "X-Cupido-User-Name": [] } ], "x-deployment-id": "ons_agenda", "x-deployment-target-path": "/api/agenda/agenda_occurrences/{id}/update_incidentally", "x-internal": false, "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] } }, "/t/agenda_registration_status": { "get": { "tags": [ "agenda.RegistrationStatus" ], "summary": "Return the agenda registrations status of a specific type corresponding to the given id.", "description": "Return the agenda registrations status of a specific type corresponding to the given id.", "operationId": "agenda.RegistrationStatusAPI.byTypeIds", "parameters": [ { "name": "valid_from", "in": "query", "description": "Start date (inclusive) of selection period", "required": true, "format": "date", "type": "string" }, { "name": "valid_to", "in": "query", "description": "End date (exclusive) of selection period", "required": true, "format": "date", "type": "string" }, { "name": "type", "in": "query", "description": "type of status, can be: employee, client, team, location", "required": true, "type": "string" }, { "name": "type_ids", "in": "query", "description": "List of ids", "required": true, "type": "array", "items": { "type": "integer", "format": "int64" }, "collectionFormat": "multi" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/agenda.list.RegistrationStatusList" } } }, "security": [ { "X-Cupido-Customer-Code": [], "X-Cupido-Deployment-Type": [], "X-Cupido-User-Name": [] } ], "x-deployment-id": "ons_agenda", "x-deployment-target-path": "/api/agenda/agenda_registration_status", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/agenda_series": { "post": { "tags": [ "agenda.AgendaSeries" ], "summary": "Create AgendaSeries", "description": "Used to create AgendaSeries", "operationId": "agenda.AgendaSeriesAPI.create", "responses": { "200": { "description": "If successfully created the agenda series", "schema": { "$ref": "#/definitions/agenda.AgendaSeries" } }, "204": { "description": "No Content" }, "400": { "description": "Bad request" } }, "security": [ { "X-Cupido-Customer-Code": [], "X-Cupido-Deployment-Type": [], "X-Cupido-User-Name": [] } ], "x-deployment-id": "ons_agenda", "x-deployment-target-path": "/api/agenda/agenda_series", "x-internal": false, "parameters": [ { "description": "AgendaSeries to create", "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/agenda.AgendaSeries" } } ], "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] } }, "/t/agenda_series/archive_group": { "post": { "tags": [ "agenda.AgendaSeries" ], "summary": "Archive an AgendaSeries from a Groupcare Group", "description": "Used to archive an AgendaSeries from a Groupcare Group", "operationId": "agenda.AgendaSeriesAPI.archiveGroup", "responses": { "200": { "description": "If successfully archived the agenda series", "schema": { "$ref": "#/definitions/agenda.AgendaSeries" } } }, "security": [ { "X-Cupido-Customer-Code": [], "X-Cupido-Deployment-Type": [], "X-Cupido-User-Name": [] } ], "x-deployment-id": "ons_agenda", "x-deployment-target-path": "/api/agenda/agenda_series/archive_group", "x-internal": false, "parameters": [ { "description": "AgendaSeries from a Group to archive", "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/agenda.AgendaSeries" } } ], "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] } }, "/t/agenda_series/update_group": { "put": { "tags": [ "agenda.AgendaSeries" ], "summary": "Update the Group information for an Agenda series", "description": "Used to update the Group information for an Agenda series", "operationId": "agenda.AgendaSeriesAPI.updateGroup", "responses": { "200": { "description": "If successfully updated the agenda series", "schema": { "$ref": "#/definitions/agenda.AgendaSeries" } } }, "security": [ { "X-Cupido-Customer-Code": [], "X-Cupido-Deployment-Type": [], "X-Cupido-User-Name": [] } ], "x-deployment-id": "ons_agenda", "x-deployment-target-path": "/api/agenda/agenda_series/update_group", "x-internal": false, "parameters": [ { "description": "AgendaSeries from a group to update", "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/agenda.AgendaSeries" } } ], "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] } }, "/t/agenda/client_absence_occurrences/{id}": { "get": { "tags": [ "agenda.ClientAbsenceOccurrence" ], "summary": "Used for selecting a ClientAbsenceOccurrence", "description": "Used for selecting a ClientAbsenceOccurrence", "operationId": "agenda.ClientAbsenceOccurrenceAPI.byId", "parameters": [ { "name": "id", "in": "path", "description": "used for selecting ClientAbsenceOccurrence", "required": true, "type": "string" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/agenda.ClientAbsenceOccurrence" } } }, "security": [ { "X-Cupido-Customer-Code": [], "X-Cupido-Deployment-Type": [], "X-Cupido-User-Name": [] } ], "x-deployment-id": "ons_agenda", "x-deployment-target-path": "/api/agenda/client_absence_occurrences/{id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/agenda/client_absence_occurrences/by_client_in_period": { "get": { "tags": [ "agenda.ClientAbsenceOccurrence" ], "summary": "Used for selecting ClientAbsenceOccurrences from a client and moment in time.", "description": "Used for selecting ClientAbsenceOccurrences from a client and moment in time.", "operationId": "agenda.ClientAbsenceOccurrenceAPI.byClientInPeriod", "parameters": [ { "name": "client_id", "in": "query", "description": "The ID of the client to get the ClientAbsenceOccurrences from", "required": true, "format": "int64", "type": "integer" }, { "name": "from", "in": "query", "description": "The start date of the ClientAbsenceOccurrences to retrieve", "format": "date", "type": "string" }, { "name": "to", "in": "query", "description": "The end date of the ClientAbsenceOccurrences to retrieve", "format": "date", "type": "string" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/agenda.list.ClientAbsenceOccurrenceList" } } }, "security": [ { "X-Cupido-Customer-Code": [], "X-Cupido-Deployment-Type": [], "X-Cupido-User-Name": [] } ], "x-deployment-id": "ons_agenda", "x-deployment-target-path": "/api/agenda/client_absence_occurrences/by_client_in_period", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/clients/{client_id}/agenda_occurrences": { "get": { "tags": [ "agenda.AgendaOccurrence" ], "summary": "Return the agenda occurrences of a Client corresponding to the given id.", "description": "List event occurrences for client", "operationId": "agenda.AgendaOccurrenceAPI.byClientId", "parameters": [ { "name": "client_id", "in": "path", "description": "id", "required": true, "format": "int64", "type": "integer" }, { "name": "valid_from", "in": "query", "description": "Start date (inclusive) of selection period", "required": true, "format": "date", "type": "string" }, { "name": "valid_to", "in": "query", "description": "End date (exclusive) of selection period", "required": true, "format": "date", "type": "string" }, { "name": "require_client_present", "in": "query", "default": true, "type": "boolean" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/agenda.list.AgendaOccurrenceList" } }, "404": { "description": "Not found" } }, "security": [ { "X-Cupido-Customer-Code": [], "X-Cupido-Deployment-Type": [], "X-Cupido-User-Name": [] } ], "x-deployment-id": "ons_agenda", "x-deployment-target-path": "/api/agenda/clients/{client_id}/agenda_occurrences", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/employees/{employee_id}/agenda_occurrences": { "get": { "tags": [ "agenda.AgendaOccurrence" ], "summary": "Return the agenda occurrences of a Employee corresponding to the given id.", "description": "List event occurrences for employee", "operationId": "agenda.AgendaOccurrenceAPI.byEmployeeId", "parameters": [ { "name": "employee_id", "in": "path", "description": "id", "required": true, "format": "int64", "type": "integer" }, { "name": "valid_from", "in": "query", "description": "Start date (inclusive) of selection period", "required": true, "format": "date", "type": "string" }, { "name": "valid_to", "in": "query", "description": "End date (exclusive) of selection period", "required": true, "format": "date", "type": "string" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/agenda.list.AgendaOccurrenceList" } } }, "security": [ { "X-Cupido-Customer-Code": [], "X-Cupido-Deployment-Type": [], "X-Cupido-User-Name": [] } ], "x-deployment-id": "ons_agenda", "x-deployment-target-path": "/api/agenda/employees/{employee_id}/agenda_occurrences", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/agenda_occurrences/by_group/{group_uuid}": { "get": { "tags": [ "agenda.AgendaOccurrence" ], "summary": "Return the agenda occurrences of a group corresponding to the given uuid.", "description": "Return the agenda occurrences of a group corresponding to the given uuid.", "operationId": "agenda.AgendaOccurrenceAPI.byGroupUuid", "parameters": [ { "name": "group_uuid", "in": "path", "description": "uuid", "required": true, "type": "string" }, { "name": "valid_from", "in": "query", "description": "Start date (inclusive) of selection period", "required": true, "format": "date", "type": "string" }, { "name": "valid_to", "in": "query", "description": "End date (exclusive) of selection period", "required": true, "format": "date", "type": "string" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/agenda.list.AgendaOccurrenceList" } } }, "security": [ { "X-Cupido-Customer-Code": [], "X-Cupido-Deployment-Type": [], "X-Cupido-User-Name": [] } ], "x-deployment-id": "ons_agenda", "x-deployment-target-path": "/api/agenda/groups/{group_uuid}/agenda_occurrences", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/agenda/labels": { "get": { "tags": [ "agenda.Label" ], "summary": "Returns every Label available from the LabelAPI", "description": "List appointment labels currently available", "operationId": "agenda.LabelAPI.all", "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/agenda.list.LabelList" } } }, "security": [ { "X-Cupido-Customer-Code": [], "X-Cupido-Deployment-Type": [], "X-Cupido-User-Name": [] } ], "x-deployment-id": "ons_agenda", "x-deployment-target-path": "/api/agenda/labels", "x-internal": false, "parameters": [], "produces": [ "application/json", "application/xml" ] } }, "/t/locations/{location_id}/agenda_occurrences": { "get": { "tags": [ "agenda.AgendaOccurrence" ], "summary": "Return the agenda occurrences of a Location corresponding to the given id.", "description": "List event occurrences for location", "operationId": "agenda.AgendaOccurrenceAPI.byLocationId", "parameters": [ { "name": "location_id", "in": "path", "description": "id", "required": true, "format": "int64", "type": "integer" }, { "name": "valid_from", "in": "query", "description": "Start date (inclusive) of selection period", "required": true, "format": "date", "type": "string" }, { "name": "valid_to", "in": "query", "description": "End date (exclusive) of selection period", "required": true, "format": "date", "type": "string" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/agenda.list.AgendaOccurrenceList" } } }, "security": [ { "X-Cupido-Customer-Code": [], "X-Cupido-Deployment-Type": [], "X-Cupido-User-Name": [] } ], "x-deployment-id": "ons_agenda", "x-deployment-target-path": "/api/agenda/locations/{location_id}/agenda_occurrences", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/teams/agenda_enabled": { "get": { "tags": [ "Team" ], "summary": "Check whether agenda is enabled", "description": "Returns all agenda-enabled teams", "operationId": "TeamAPI.agendaEnabled", "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/list.TeamList" } } }, "security": [ { "X-Cupido-Customer-Code": [], "X-Cupido-Deployment-Type": [], "X-Cupido-User-Name": [] } ], "x-deployment-id": "ons_agenda", "x-deployment-target-path": "/api/agenda/teams", "x-internal": false, "parameters": [], "produces": [ "application/json", "application/xml" ] } }, "/t/agenda/unavailabilities": { "post": { "tags": [ "agenda.Unavailability" ], "summary": "Creates an Agenda Unavailability for the specified employee", "description": "Used to create new unavailabilities", "operationId": "agenda.UnavailabilityAPI.create", "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/agenda.Unavailability" } }, "204": { "description": "No Content" }, "400": { "description": "Bad request" } }, "security": [ { "X-Cupido-Customer-Code": [], "X-Cupido-Deployment-Type": [], "X-Cupido-User-Name": [] } ], "x-deployment-id": "ons_agenda", "x-deployment-target-path": "/api/agenda/unavailabilities", "x-internal": false, "parameters": [ { "description": "Unavailibality to be created", "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/agenda.Unavailability" } } ], "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] } }, "/t/aloha/aloha_reports/by_uuid": { "get": { "tags": [ "aloha.AlohaReport" ], "summary": "Retrieve a report", "description": "Used to retrieve a report", "operationId": "aloha.AlohaReportAPI.byUuid", "parameters": [ { "name": "uuid", "in": "query", "type": "string" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/aloha.AlohaReport" } } }, "security": [ { "X-Cupido-Customer-Code": [], "X-Cupido-User-Name": [] } ], "x-deployment-id": "aloha", "x-deployment-target-path": "/cupido_api/reports/by_uuid", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/aloha/aloha_reports/generate_over_period": { "get": { "tags": [ "aloha.AlohaReport" ], "summary": "Request a report over inquiries in a period to be generated.", "description": "Returns a ReportStatus", "operationId": "aloha.AlohaReportAPI.generateOverPeriod", "parameters": [ { "name": "archetype_id", "in": "query", "required": true, "type": "string" }, { "name": "start_date", "in": "query", "required": true, "format": "date", "type": "string" }, { "name": "end_date", "in": "query", "required": true, "format": "date", "type": "string" }, { "name": "report_name", "in": "query", "required": false, "type": "string" }, { "name": "client_ids", "in": "query", "required": false, "type": "array", "items": { "type": "integer", "format": "int64" }, "collectionFormat": "multi" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/aloha.AlohaReportStatus" } } }, "security": [ { "X-Cupido-Customer-Code": [], "X-Cupido-User-Name": [] } ], "x-deployment-id": "aloha", "x-deployment-target-path": "/cupido_api/reports/generate_over_period", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/aloha/aloha_reports/statuses": { "get": { "tags": [ "aloha.AlohaReport" ], "summary": "Request the statuses of all currently requested reports", "description": "Used to request the statuses of all currently requested reports", "operationId": "aloha.AlohaReportAPI.statuses", "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/aloha.list.AlohaReportStatusList" } } }, "security": [ { "X-Cupido-Customer-Code": [], "X-Cupido-User-Name": [] } ], "x-deployment-id": "aloha", "x-deployment-target-path": "/cupido_api/reports/statuses", "x-internal": false, "parameters": [], "produces": [ "application/json", "application/xml" ] } }, "/t/herald/announcement_count": { "get": { "tags": [ "herald.AnnouncementCount" ], "operationId": "herald.AnnouncementCountAPI.byUserId", "parameters": [ { "name": "user_id", "in": "query", "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/herald.AnnouncementCount" } } }, "x-deployment-id": "herald", "x-deployment-target-path": "/cupido/herald/announcement_count", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/authorization/provisioning/roles": { "get": { "tags": [ "authorization.provisioning.Role" ], "summary": "Returns every Role available from the RoleAPI", "operationId": "authorization.provisioning.RoleAPI.all", "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/authorization.provisioning.list.RoleList" } } }, "x-deployment-id": "shield_api", "x-deployment-target-path": "/api/provisioning/roles", "x-internal": false, "parameters": [], "produces": [ "application/json", "application/xml" ] } }, "/t/authorization/provisioning/users/{user_uuid}": { "put": { "tags": [ "authorization.provisioning.User" ], "summary": "This endpoint is meant to assign roles with a certain scope (teams/locations) to a user.", "description": "Provide the complete set of all roles that should be assigned (roleUuid, teams and locations) to the user.\n As this API is idempotent, the state provided in the last call is the final state. Any roles previously assigned but not specified in the body will be revoked.\n The connector is only able to control roles which are assigned by the connector itself (identified by the connector_name and connector_source).\n The changes can be seen in the Ons Autorisatie UI if you navigate to the specific user. The added roles are listed in the role overview. All the roles added by a specific connector are marked as such.\n More explanation can be found here: https://ons-api.nl/support/Shield.html", "operationId": "authorization.provisioning.UserAPI.update", "parameters": [ { "name": "user_uuid", "in": "path", "description": "Identifier of User to update.", "required": true, "type": "string" }, { "description": "User to update", "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/authorization.provisioning.User" } } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/authorization.provisioning.User" } } }, "x-deployment-id": "shield_api", "x-deployment-target-path": "/api/provisioning/users/{user_uuid}", "x-internal": false, "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] } }, "/t/authorization/provisioning/users/{user_uuid}/duties": { "put": { "tags": [ "authorization.provisioning.UserDuties" ], "summary": "This endpoint is meant to assign roles with a certain scope to a user.", "description": "Provide the complete set of all roles that should be assigned to the user. Roles should be provided together with flags to reflect the scoping policy that states what clients and/or employees should be accessible.\n As this API is idempotent, the state provided in the last call is the final state. Any roles previously assigned but not specified in the body will be revoked.\n The connector is only able to control roles which are assigned by the connector itself (identified by the connector_name and connector_source).\n The changes can be seen in the Ons Autorisatie UI if you navigate to the specific user. The added roles are listed in the role overview. All the roles added by a specific connector are marked as such.\n More explanation can be found here: https://ons-api.nl/support/Shield.html.\n This endpoint is only avaialbe to the pilot customers and is considered as a replacement for current PUT /users endpoint in the future.", "operationId": "authorization.provisioning.UserDutiesAPI.update", "parameters": [ { "name": "user_uuid", "in": "path", "description": "Identifier of User to update.", "required": true, "type": "string" }, { "description": "User to update", "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/authorization.provisioning.UserDuties" } } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/authorization.provisioning.UserDuties" } } }, "x-deployment-id": "shield_api", "x-deployment-target-path": "/api/provisioning/users/{user_uuid}/duties", "x-internal": false, "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] } }, "/t/authorization/provisioning/users/{user_uuid}/my_locations": { "put": { "tags": [ "authorization.provisioning.MyLocations" ], "summary": "This endpoint is meant to set the list of MyLocations of a user.", "description": "Provide the complete set of all locations that should be assigned to the user.\n As this API is idempotent, the state provided in the last call is the final state. Any locations previously added but not specified in the body will be removed.\n This endpoint is only avaialbe to the pilot customers and it is together with /my_teams considered as a replacement for current PUT /users/{user_uuid}/scopes endpoint in the future.", "operationId": "authorization.provisioning.MyLocationsAPI.set", "parameters": [ { "name": "user_uuid", "in": "path", "description": "Identifier of User to update.", "required": true, "type": "string" }, { "description": "the new list of MyLocations", "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/authorization.provisioning.MyLocations" } } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/authorization.provisioning.MyLocations" } } }, "x-deployment-id": "shield_api", "x-deployment-target-path": "/api/provisioning/users/{user_uuid}/my_locations", "x-internal": false, "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] } }, "/t/authorization/provisioning/users/{user_uuid}/my_teams": { "put": { "tags": [ "authorization.provisioning.MyTeams" ], "summary": "This endpoint is meant to set the list of MyTeams of a user.", "description": "Provide the complete set of all teams that should be assigned to the user.\n As this API is idempotent, the state provided in the last call is the final state. Any teams previously added but not specified in the body will be removed.\n This endpoint is only avaialbe to the pilot customers and it is together with /my_locations considered as a replacement for current PUT /users/{user_uuid}/scopes endpoint in the future.", "operationId": "authorization.provisioning.MyTeamsAPI.set", "parameters": [ { "name": "user_uuid", "in": "path", "description": "Identifier of User to update.", "required": true, "type": "string" }, { "description": "the new list of MyTeams", "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/authorization.provisioning.MyTeams" } } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/authorization.provisioning.MyTeams" } } }, "x-deployment-id": "shield_api", "x-deployment-target-path": "/api/provisioning/users/{user_uuid}/my_teams", "x-internal": false, "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] } }, "/t/authorization/provisioning/users/{user_uuid}/scopes": { "put": { "tags": [ "authorization.provisioning.DefaultScope" ], "summary": "This endpoint is meant to set the default scope of a user.", "description": "Provide the complete set of all the groups that should be assigned (e.g. teams, locations, etc) to the user.\n As this API is idempotent, the state provided in the last call is the final state. Any groups previously added but not specified in the body will be removed.", "operationId": "authorization.provisioning.DefaultScopeAPI.update", "parameters": [ { "name": "user_uuid", "in": "path", "description": "Identifier of User to update.", "required": true, "type": "string" }, { "name": "override_all", "in": "query", "description": "By default only scopes set by the current integrator are replaced.\n For migration purposes this flag allows to replace all scopes when set to 'true', including scopes which are owned by others.\n", "required": false, "type": "string" }, { "description": "the new DefaultScope", "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/authorization.provisioning.DefaultScope" } } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/authorization.provisioning.DefaultScope" } } }, "x-deployment-id": "shield_api", "x-deployment-target-path": "/api/provisioning/users/{user_uuid}/scopes", "x-internal": false, "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] } }, "/t/caren/people/by_external_id/{client_id}": { "get": { "tags": [ "caren.Person" ], "operationId": "caren.PersonAPI.byExternalId", "parameters": [ { "name": "client_id", "in": "path", "description": "externalId", "required": true, "type": "string" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/caren.Person" } } }, "x-deployment-id": "caren", "x-deployment-target-path": "/api/pro/external_id/people/{client_id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/clients/{client_id}/caren/person": { "get": { "tags": [ "caren.Person" ], "operationId": "caren.PersonAPI.byExternalId2", "parameters": [ { "name": "client_id", "in": "path", "description": "externalId", "required": true, "type": "string" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/caren.Person" } } }, "x-deployment-id": "caren", "x-deployment-target-path": "/api/pro/external_id/people/{client_id}", "x-internal": false, "produces": [ "application/json", "application/xml" ], "deprecated": true, "description": "Deprecated operation, please use 'caren.PersonAPI.byExternalId' instead", "x-deprecated-since": "03-05-2023" } }, "/t/caren/invitations/{invitation_id}/letter": { "get": { "tags": [ "caren.Letter" ], "operationId": "caren.LetterAPI.byInvitationId", "parameters": [ { "name": "invitation_id", "in": "path", "description": "id of the invitation", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/caren.Letter" } } }, "x-deployment-id": "caren", "x-deployment-target-path": "/api/pro/invitations/{invitation_id}/letter", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/client_collab/shared_resources": { "get": { "tags": [ "client_collab.SharedResource" ], "operationId": "client_collab.SharedResourceAPI.byClientIdAndResource", "parameters": [ { "name": "client_id", "in": "query", "format": "int64", "type": "integer" }, { "name": "resource_name", "in": "query", "type": "string" }, { "name": "resource_id", "in": "query", "format": "int64", "type": "integer" }, { "name": "id", "in": "query", "description": "array style id's: id=1&id=2&etc", "type": "array", "items": { "type": "integer", "format": "int64" }, "collectionFormat": "multi" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/client_collab.list.SharedResourceList" } } }, "x-deployment-id": "caren", "x-deployment-target-path": "/api/pro/shared_resources", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/client_collab/shared_resources/multiple": { "get": { "tags": [ "client_collab.SharedResource" ], "operationId": "client_collab.SharedResourceAPI.byClientIdAndResource2", "parameters": [ { "name": "client_id", "in": "query", "format": "int64", "type": "integer" }, { "name": "resource_name", "in": "query", "type": "string" }, { "name": "resource_id", "in": "query", "format": "int64", "type": "integer" }, { "name": "id", "in": "query", "description": "array style id's: id=1&id=2&etc", "type": "array", "items": { "type": "integer", "format": "int64" }, "collectionFormat": "multi" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/client_collab.list.SharedResourceList" } } }, "x-deployment-id": "caren", "x-deployment-target-path": "/api/pro/shared_resources", "x-internal": false, "produces": [ "application/json", "application/xml" ], "deprecated": true, "description": "Deprecated operation, please use 'client_collab.SharedResourceAPI.byClientIdAndResource' instead", "x-deprecated-since": "03-05-2023" } }, "/t/client_collab/shared_resources/{id}/unshare": { "put": { "tags": [ "client_collab.SharedResource" ], "operationId": "client_collab.SharedResourceAPI.unshare", "parameters": [ { "name": "id", "in": "path", "required": true, "format": "int64", "type": "integer" }, { "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/client_collab.SharedResource" } } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/client_collab.SharedResource" } } }, "x-deployment-id": "caren", "x-deployment-target-path": "/api/pro/shared_resources/{id}/unshare", "x-internal": false, "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] } }, "/t/client_story/authorized/images/by_client_id_and_reference": { "get": { "tags": [ "client_story.Story" ], "summary": "Authorized api\nReturn a base64 encoded string of the image that is identified by the given reference", "operationId": "client_story.StoryAPI.authorizedImageByClientIdAndReference", "parameters": [ { "name": "client_id", "in": "query", "description": "The client the image belongs to", "required": true, "type": "string" }, { "name": "reference", "in": "query", "description": "The reference of the image", "required": true, "type": "string" } ], "responses": { "200": { "description": "No response was specified", "schema": { "type": "string" } } }, "x-deployment-id": "client_story", "x-deployment-target-path": "/api/authorized/clients/{client_id}/client_story/images", "x-internal": false, "produces": [ "text/plain" ] } }, "/t/client_story/authorized_images/by_reference/{reference}": { "get": { "tags": [ "client_story.Story" ], "summary": "Authorized api\nReturns a base64 encoded string of the image that is identified by the given reference", "description": "Please use authorizedImageByClientIdAndReference ", "operationId": "client_story.StoryAPI.authorizedBase64ByReference", "parameters": [ { "name": "reference", "in": "path", "description": "The reference of the image", "required": true, "type": "string" } ], "responses": { "200": { "description": "No response was specified", "schema": { "type": "string" } } }, "deprecated": true, "x-deployment-id": "client_story", "x-deployment-target-path": "/api/authorized/images/by_reference/{reference}", "x-deprecated-since": "17-12-2020", "x-internal": false, "produces": [ "text/plain" ] } }, "/t/client_story/authorized_stories/full_by_client/{client_id}": { "get": { "tags": [ "client_story.Story" ], "summary": "Return the full client story for the given client id.", "description": "Checks the ClientStoryOverview right and generates an audit.", "operationId": "client_story.StoryAPI.authorizedFullByClient", "parameters": [ { "name": "client_id", "in": "path", "description": "The ID of the client", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/client_story.Story" } } }, "x-deployment-id": "client_story", "x-deployment-target-path": "/api/authorized/stories/full_by_client/{client_id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/client_story/care_relations/request_for_client/{client_id}": { "post": { "tags": [ "client_story.Story" ], "summary": "Get permission for the current careprovider to view the client story", "operationId": "client_story.StoryAPI.createPermission", "parameters": [ { "name": "client_id", "in": "path", "description": "The ID of the client", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "type": "string" } } }, "x-deployment-id": "client_story", "x-deployment-target-path": "/api/care_relations/request_for_client/{client_id}", "x-internal": false, "produces": [ "text/plain" ] } }, "/t/client_story/change_sets/most_recent_by_client/{client_id}": { "get": { "tags": [ "client_story.ChangeSet" ], "summary": "Returns the most recent change set for the client", "operationId": "client_story.ChangeSetAPI.mostRecentByClient", "parameters": [ { "name": "client_id", "in": "path", "description": "The ID of the client", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/client_story.ChangeSet" } } }, "x-deployment-id": "client_story", "x-deployment-target-path": "/api/change_sets/most_recent_by_client/{client_id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/client_story/images/by_client_id_and_reference": { "get": { "tags": [ "client_story.Story" ], "summary": "Return a base64 encoded string of the image that is identified by the given reference", "operationId": "client_story.StoryAPI.imageByClientIdAndReference", "parameters": [ { "name": "client_id", "in": "query", "description": "The client the image belongs to", "required": true, "type": "string" }, { "name": "reference", "in": "query", "description": "The reference of the image", "required": true, "type": "string" } ], "responses": { "200": { "description": "No response was specified", "schema": { "type": "string" } } }, "x-deployment-id": "client_story", "x-deployment-target-path": "/api/clients/{client_id}/client_story/images", "x-internal": false, "produces": [ "text/plain" ] } }, "/t/client_story/stories/by_client/{client_id}": { "put": { "tags": [ "client_story.Story" ], "summary": "Save updates to the story of the client incrementally", "operationId": "client_story.StoryAPI.saveAnswer", "parameters": [ { "name": "client_id", "in": "path", "description": "The ID of the client", "required": true, "format": "int64", "type": "integer" }, { "description": "The story of the client", "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/client_story.Story" } } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/client_story.Story" } } }, "x-deployment-id": "client_story", "x-deployment-target-path": "/api/stories/by_client/{client_id}", "x-internal": false, "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] } }, "/t/client_story/stories/full_by_client/{client_id}": { "get": { "tags": [ "client_story.Story" ], "summary": "Return the full client story for the given client id", "operationId": "client_story.StoryAPI.fullByClient", "parameters": [ { "name": "client_id", "in": "path", "description": "The ID of the client", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/client_story.Story" } } }, "x-deployment-id": "client_story", "x-deployment-target-path": "/api/stories/full_by_client/{client_id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/client_story/stories/single_answer_full_by_client/{client_id}": { "get": { "tags": [ "client_story.Story" ], "summary": "Return the full client story for the given client id\nCollapses the full json schema and form data to a single answer", "operationId": "client_story.StoryAPI.singleAnswerFullByClient", "parameters": [ { "name": "client_id", "in": "path", "description": "The ID of the client", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/client_story.Story" } } }, "x-deployment-id": "client_story", "x-deployment-target-path": "/api/stories/single_answer_full_by_client/{client_id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/dossier/action_entry_summaries/last_by_persistent_ids": { "get": { "tags": [ "dossier.ActionEntrySummary" ], "summary": "Return the latest ActionEntrySummaries corresponding to the given persistentIds.", "description": "Return the latest action entry summaries by the given persistent ids.", "operationId": "dossier.ActionEntrySummaryAPI.lastByPersistentIds", "parameters": [ { "name": "persistent_ids", "in": "query", "description": "List of ids", "required": true, "type": "array", "items": { "type": "integer", "format": "int64" }, "collectionFormat": "multi" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dossier.list.ActionEntrySummaryList" } }, "404": { "description": "No action entry summaries found for persistent ids", "schema": { "$ref": "#/definitions/ErrorResponse" } } }, "security": [ { "X-Cupido-Customer-Code": [] }, { "X-Cupido-Deployment-Type": [] }, { "X-Cupido-Owned-Identity": [] }, { "X-Cupido-Active-Identity": [] }, { "X-Cupido-User-Name": [] } ], "x-deployment-id": "dossier", "x-deployment-target-path": "/api/dossier/action_entry_summaries/last_by_persistent_ids", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/dossier/admin/alerts/topics": { "get": { "tags": [ "dossier.admin.alerts.Topic" ], "summary": "Get every topic", "operationId": "dossier.admin.alerts.TopicAPI.all", "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dossier.admin.alerts.list.TopicList" } } }, "x-deployment-id": "dossier", "x-deployment-target-path": "/api/dossier/admin/alerts/topics", "x-internal": false, "parameters": [], "produces": [ "application/json", "application/xml" ] }, "post": { "tags": [ "dossier.admin.alerts.Topic" ], "summary": "Create an alert topic", "operationId": "dossier.admin.alerts.TopicAPI.create", "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dossier.admin.alerts.Topic" } } }, "x-deployment-id": "dossier", "x-deployment-target-path": "/api/dossier/admin/alerts/topics", "x-internal": false, "parameters": [ { "description": "Topic to create", "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/dossier.admin.alerts.Topic" } } ], "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] } }, "/t/dossier/admin/alerts/topics/{id}": { "get": { "tags": [ "dossier.admin.alerts.Topic" ], "summary": "Get a specific topic", "operationId": "dossier.admin.alerts.TopicAPI.byId", "parameters": [ { "name": "id", "in": "path", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dossier.admin.alerts.Topic" } } }, "x-deployment-id": "dossier", "x-deployment-target-path": "/api/dossier/admin/alerts/topics/{id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] }, "put": { "tags": [ "dossier.admin.alerts.Topic" ], "summary": "Update the given Topic", "operationId": "dossier.admin.alerts.TopicAPI.update", "parameters": [ { "name": "id", "in": "path", "description": "Identifier of Topic to update.", "required": true, "format": "int64", "type": "integer" }, { "description": "Topic to update", "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/dossier.admin.alerts.Topic" } } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dossier.admin.alerts.Topic" } } }, "x-deployment-id": "dossier", "x-deployment-target-path": "/api/dossier/admin/alerts/topics/{id}", "x-internal": false, "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] }, "delete": { "tags": [ "dossier.admin.alerts.Topic" ], "summary": "Deletes the Topic with given id", "operationId": "dossier.admin.alerts.TopicAPI.delete", "parameters": [ { "name": "id", "in": "path", "description": "Identifier of Topic to delete.", "required": true, "format": "int64", "type": "integer" } ], "responses": { "204": { "description": "If successfully removed the problem" } }, "x-deployment-id": "dossier", "x-deployment-target-path": "/api/dossier/admin/alerts/topics/{id}", "x-internal": false } }, "/t/dossier/alerts": { "post": { "tags": [ "dossier.Alert" ], "summary": "Create an alert", "operationId": "dossier.AlertAPI.create", "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dossier.Alert" } } }, "x-deployment-id": "dossier", "x-deployment-target-path": "/api/dossier/alerts", "x-internal": false, "parameters": [ { "description": "Alert to create", "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/dossier.Alert" } } ], "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] } }, "/t/dossier/alerts/{id}": { "get": { "tags": [ "dossier.Alert" ], "summary": "Get a specific Alert", "operationId": "dossier.AlertAPI.byId", "parameters": [ { "name": "id", "in": "path", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dossier.Alert" } } }, "x-deployment-id": "dossier", "x-deployment-target-path": "/api/dossier/alerts/{id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] }, "put": { "tags": [ "dossier.Alert" ], "summary": "Update the given Alert", "operationId": "dossier.AlertAPI.update", "parameters": [ { "name": "id", "in": "path", "description": "Identifier of Alert to update.", "required": true, "format": "int64", "type": "integer" }, { "description": "Alert to update", "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/dossier.Alert" } } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dossier.Alert" } } }, "x-deployment-id": "dossier", "x-deployment-target-path": "/api/dossier/alerts/{id}", "x-internal": false, "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] } }, "/t/clients/{client_id}/medical/propensities_to_adverse_reaction": { "get": { "tags": [ "dossier.medical.PropensityToAdverseReaction" ], "summary": "Returns allergies of the given client corresponding to the given id.", "operationId": "dossier.medical.PropensityToAdverseReactionAPI.byClientId", "parameters": [ { "name": "client_id", "in": "path", "description": "client_id", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dossier.medical.list.PropensityToAdverseReactionList" } } }, "x-deployment-id": "dossier", "x-deployment-target-path": "/api/dossier/authorized/clients/{client_id}/medical/propensities_to_adverse_reaction", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/dossier/medical/propensities_to_adverse_reaction": { "post": { "tags": [ "dossier.medical.PropensityToAdverseReaction" ], "summary": "Creates allergy or propensity to adverse reaction of the given client", "operationId": "dossier.medical.PropensityToAdverseReactionAPI.create", "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dossier.medical.PropensityToAdverseReaction" } } }, "x-deployment-id": "dossier", "x-deployment-target-path": "/api/dossier/authorized/medical/propensities_to_adverse_reaction", "x-internal": false, "parameters": [ { "description": "Allergy or propensity to adverse reaction to create", "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/dossier.medical.PropensityToAdverseReaction" } } ], "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] } }, "/t/dossier/medical/propensities_to_adverse_reaction/{id}": { "get": { "tags": [ "dossier.medical.PropensityToAdverseReaction" ], "summary": "Returns allergy of the given client corresponding to the given id.", "operationId": "dossier.medical.PropensityToAdverseReactionAPI.byId", "parameters": [ { "name": "id", "in": "path", "description": "id", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dossier.medical.PropensityToAdverseReaction" } } }, "x-deployment-id": "dossier", "x-deployment-target-path": "/api/dossier/authorized/medical/propensities_to_adverse_reaction/{id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] }, "put": { "tags": [ "dossier.medical.PropensityToAdverseReaction" ], "summary": "Updates allergy or propensity to adverse reaction of the given client", "operationId": "dossier.medical.PropensityToAdverseReactionAPI.update", "parameters": [ { "name": "id", "in": "path", "description": "id", "required": true, "format": "int64", "type": "integer" }, { "description": "Allergy or propensity to adverse reaction to update", "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/dossier.medical.PropensityToAdverseReaction" } } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dossier.medical.PropensityToAdverseReaction" } } }, "x-deployment-id": "dossier", "x-deployment-target-path": "/api/dossier/authorized/medical/propensities_to_adverse_reaction/{id}", "x-internal": false, "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] }, "delete": { "tags": [ "dossier.medical.PropensityToAdverseReaction" ], "summary": "Deletes allergy of the given client corresponding to the given id.", "operationId": "dossier.medical.PropensityToAdverseReactionAPI.delete", "parameters": [ { "name": "id", "in": "path", "description": "id", "required": true, "format": "int64", "type": "integer" } ], "responses": { "204": { "description": "If successfully removed the survey result" } }, "x-deployment-id": "dossier", "x-deployment-target-path": "/api/dossier/authorized/medical/propensities_to_adverse_reaction/{id}", "x-internal": false } }, "/t/dossier/care_plan_agreements/{id}": { "get": { "tags": [ "dossier.CarePlanAgreement" ], "summary": "Find care plan agreement by id", "description": "Find care plan agreement by id", "operationId": "dossier.CarePlanAgreementAPI.byId", "parameters": [ { "name": "id", "in": "path", "description": "used for selecting CarePlanAgreement", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dossier.CarePlanAgreement" } }, "404": { "description": "Care plan agreement not found", "schema": { "$ref": "#/definitions/ErrorResponse" } } }, "security": [ { "X-Cupido-Customer-Code": [] }, { "X-Cupido-Deployment-Type": [] }, { "X-Cupido-Owned-Identity": [] }, { "X-Cupido-Active-Identity": [] }, { "X-Cupido-User-Name": [] } ], "x-deployment-id": "dossier", "x-deployment-target-path": "/api/dossier/care_plan/{id}/agreement", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/dossier/care_plan_signature_requirements/{id}": { "get": { "tags": [ "dossier.CarePlanSignatureRequirement" ], "summary": "Find signature requirement by id", "description": "Find care plan signature requirement by id", "operationId": "dossier.CarePlanSignatureRequirementAPI.byId", "parameters": [ { "name": "id", "in": "path", "description": "used for selecting CarePlanSignatureRequirement", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dossier.CarePlanSignatureRequirement" } }, "404": { "description": "Care plan signature requirement not found", "schema": { "$ref": "#/definitions/ErrorResponse" } } }, "security": [ { "X-Cupido-Customer-Code": [] }, { "X-Cupido-Deployment-Type": [] }, { "X-Cupido-Owned-Identity": [] }, { "X-Cupido-Active-Identity": [] }, { "X-Cupido-User-Name": [] } ], "x-deployment-id": "dossier", "x-deployment-target-path": "/api/dossier/care_plan/{id}/signature_requirement", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/dossier/restrictive_measure_registrations": { "post": { "tags": [ "dossier.RestrictiveMeasureRegistration" ], "summary": "Create RestrictiveMeasureRegistration", "description": "Create restrictive measure registration", "operationId": "dossier.RestrictiveMeasureRegistrationAPI.create", "responses": { "201": { "description": "Returns created restrictive measure registration", "schema": { "$ref": "#/definitions/dossier.RestrictiveMeasureRegistration" } }, "400": { "description": "Restrictive measure registration failed", "schema": { "$ref": "#/definitions/ErrorResponse" } } }, "security": [ { "X-Cupido-Customer-Code": [] }, { "X-Cupido-Deployment-Type": [] }, { "X-Cupido-Owned-Identity": [] }, { "X-Cupido-Active-Identity": [] }, { "X-Cupido-User-Name": [] } ], "x-deployment-id": "dossier", "x-deployment-target-path": "/api/dossier/care_plan/restrictive_measure_registrations", "x-internal": false, "parameters": [ { "description": "RestrictiveMeasureRegistration to create", "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/dossier.RestrictiveMeasureRegistration" } } ], "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] } }, "/t/dossier/restrictive_measure_care_plan_entries": { "post": { "tags": [ "dossier.RestrictiveMeasureCarePlanEntry" ], "summary": "Create RestrictiveMeasureCarePlanEntry", "description": "Creates restrictive measure care plan entry. Client external id cannot be blank. Returns 500 for invalid date with xml and sets invalid date to nil for json.", "operationId": "dossier.RestrictiveMeasureCarePlanEntryAPI.create", "responses": { "201": { "description": "Returns created restrictive measure care plan entry", "schema": { "$ref": "#/definitions/dossier.RestrictiveMeasureCarePlanEntry" } }, "400": { "description": "Client external id cannot be blank", "schema": { "$ref": "#/definitions/ErrorResponse" } } }, "security": [ { "X-Cupido-Customer-Code": [] }, { "X-Cupido-Deployment-Type": [] }, { "X-Cupido-Owned-Identity": [] }, { "X-Cupido-Active-Identity": [] }, { "X-Cupido-User-Name": [] } ], "x-deployment-id": "dossier", "x-deployment-target-path": "/api/dossier/care_plan/restrictive_measures", "x-internal": false, "parameters": [ { "description": "RestrictiveMeasureCarePlanEntry to create", "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/dossier.RestrictiveMeasureCarePlanEntry" } } ], "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] } }, "/t/dossier/restrictive_measure_care_plan_entries/{id}": { "get": { "tags": [ "dossier.RestrictiveMeasureCarePlanEntry" ], "summary": "Find restrictive measure care plan entry", "description": "Find restrictive measure care plan entry", "operationId": "dossier.RestrictiveMeasureCarePlanEntryAPI.byId", "parameters": [ { "name": "id", "in": "path", "description": "used for selecting RestrictiveMeasureCarePlanEntry", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dossier.RestrictiveMeasureCarePlanEntry" } }, "404": { "description": "Restrictive measure care plan entry not found", "schema": { "$ref": "#/definitions/ErrorResponse" } } }, "security": [ { "X-Cupido-Customer-Code": [] }, { "X-Cupido-Deployment-Type": [] }, { "X-Cupido-Owned-Identity": [] }, { "X-Cupido-Active-Identity": [] }, { "X-Cupido-User-Name": [] } ], "x-deployment-id": "dossier", "x-deployment-target-path": "/api/dossier/care_plan/restrictive_measures/{id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] }, "put": { "tags": [ "dossier.RestrictiveMeasureCarePlanEntry" ], "summary": "Updates the given RestrictiveMeasureCarePlanEntry", "description": "Update restrictive measure care plan entry", "operationId": "dossier.RestrictiveMeasureCarePlanEntryAPI.update", "parameters": [ { "name": "id", "in": "path", "description": "used for selecting RestrictiveMeasureCarePlanEntry", "required": true, "format": "int64", "type": "integer" }, { "description": "RestrictiveMeasureCarePlanEntry to update", "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/dossier.RestrictiveMeasureCarePlanEntry" } } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dossier.RestrictiveMeasureCarePlanEntry" } }, "404": { "description": "Restrictive measure care plan entry not found", "schema": { "$ref": "#/definitions/ErrorResponse" } } }, "security": [ { "X-Cupido-Customer-Code": [] }, { "X-Cupido-Deployment-Type": [] }, { "X-Cupido-Owned-Identity": [] }, { "X-Cupido-Active-Identity": [] }, { "X-Cupido-User-Name": [] } ], "x-deployment-id": "dossier", "x-deployment-target-path": "/api/dossier/care_plan/restrictive_measures/{id}", "x-internal": false, "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] }, "patch": { "tags": [ "dossier.RestrictiveMeasureCarePlanEntry" ], "summary": "Patches RestrictiveMeasureCarePlanEntry with given id", "operationId": "dossier.RestrictiveMeasureCarePlanEntryAPI.patch", "parameters": [ { "name": "id", "in": "path", "required": true, "format": "int64", "type": "integer" }, { "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/dossier.RestrictiveMeasureCarePlanEntry" } } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dossier.RestrictiveMeasureCarePlanEntry" } } }, "x-deployment-id": "dossier", "x-deployment-target-path": "/api/dossier/care_plan/restrictive_measures/{id}", "x-internal": false, "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] } }, "/t/dossier/clients/{client_id}/care_plan/restrictive_measure_registrations": { "get": { "tags": [ "dossier.RestrictiveMeasureRegistration" ], "summary": "Get the registrations by client", "description": "Find restrictive measure registrations by client id. When the client is not found this will return an empty list.", "operationId": "dossier.RestrictiveMeasureRegistrationAPI.byClientId", "parameters": [ { "name": "client_id", "in": "path", "description": "The client id for which to get the registrations", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dossier.list.RestrictiveMeasureRegistrationList" } } }, "security": [ { "X-Cupido-Customer-Code": [] }, { "X-Cupido-Deployment-Type": [] }, { "X-Cupido-Owned-Identity": [] }, { "X-Cupido-Active-Identity": [] }, { "X-Cupido-User-Name": [] } ], "x-deployment-id": "dossier", "x-deployment-target-path": "/api/dossier/clients/{client_id}/care_plan/restrictive_measure_registrations", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/dossier/clients/{client_id}/care_plan/restrictive_measure_care_plan_entries": { "get": { "tags": [ "dossier.RestrictiveMeasureCarePlanEntry" ], "summary": "Return the restrictive measure care plan entries of a Client corresponding to the given id.", "description": "Finds the restrictive measure care plan entries of a client by the client id. Returns an empty array when client is not found.", "operationId": "dossier.RestrictiveMeasureCarePlanEntryAPI.byClientId", "parameters": [ { "name": "client_id", "in": "path", "description": "Client id", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dossier.list.RestrictiveMeasureCarePlanEntryList" } } }, "security": [ { "X-Cupido-Customer-Code": [] }, { "X-Cupido-Deployment-Type": [] }, { "X-Cupido-Owned-Identity": [] }, { "X-Cupido-Active-Identity": [] }, { "X-Cupido-User-Name": [] } ], "x-deployment-id": "dossier", "x-deployment-target-path": "/api/dossier/clients/{client_id}/care_plan/restrictive_measures", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/dossier/clients/{client_id}/last_medical_moments": { "get": { "tags": [ "dossier.LastMedicalMoment" ], "summary": "Returns LastMedicalMoment timestamps by client", "operationId": "dossier.LastMedicalMomentAPI.byClientId", "parameters": [ { "name": "client_id", "in": "path", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dossier.list.LastMedicalMomentList" } } }, "x-deployment-id": "dossier", "x-deployment-target-path": "/api/dossier/clients/{client_id}/last_medical_moments", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/clients/{client_id}/medical/advance_directives/contexts": { "get": { "tags": [ "dossier.medical.advance_directives.Context" ], "summary": "Return the contexts of a Client corresponding to the given id.", "operationId": "dossier.medical.advance_directives.ContextAPI.byClientId", "parameters": [ { "name": "client_id", "in": "path", "description": "id", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dossier.medical.advance_directives.list.ContextList" } } }, "x-deployment-id": "dossier", "x-deployment-target-path": "/api/dossier/clients/{client_id}/medical/advance_directives/contexts", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/dossier/medical/dsm/classification_series": { "get": { "tags": [ "dossier.medical.dsm.ClassificationSeries" ], "operationId": "dossier.medical.dsm.ClassificationSeriesAPI.byClientAndCareOrder", "parameters": [ { "name": "client_id", "in": "query", "required": true, "format": "int64", "type": "integer" }, { "name": "care_order_id", "in": "query", "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dossier.medical.dsm.list.ClassificationSeriesList" } } }, "x-deployment-id": "dossier", "x-deployment-target-path": "/api/dossier/clients/{client_id}/medical/dsm/classification_series", "x-internal": false, "produces": [ "application/json", "application/xml" ] }, "post": { "tags": [ "dossier.medical.dsm.ClassificationSeries" ], "summary": "Create ClassificationSeries", "operationId": "dossier.medical.dsm.ClassificationSeriesAPI.create", "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dossier.medical.dsm.ClassificationSeries" } } }, "x-deployment-id": "dossier", "x-deployment-target-path": "/api/dossier/medical/dsm/classification_series", "x-internal": false, "parameters": [ { "description": "ClassificationSeries to create", "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/dossier.medical.dsm.ClassificationSeries" } } ], "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] } }, "/t/clients/{client_id}/medical/involuntary_care/legal_statuses": { "get": { "tags": [ "dossier.medical.involuntary_care.LegalStatus" ], "summary": "Return the legal statuses of a Client corresponding to the given id.", "operationId": "dossier.medical.involuntary_care.LegalStatusAPI.byClientId", "parameters": [ { "name": "client_id", "in": "path", "description": "id", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dossier.medical.involuntary_care.list.LegalStatusList" } } }, "x-deployment-id": "dossier", "x-deployment-target-path": "/api/dossier/clients/{client_id}/medical/involuntary_care/legal_statuses", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/dossier/authorized/clients/{client_id}/reports": { "post": { "tags": [ "dossier.Report" ], "summary": "Create Report\nAuthorization is done in dossier controller this points to.", "operationId": "dossier.ReportAPI.authorizedCreate", "parameters": [ { "name": "client_id", "in": "path", "description": "id", "required": true, "format": "int64", "type": "integer" }, { "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/dossier.Report" } } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dossier.Report" } } }, "x-deployment-id": "dossier", "x-deployment-target-path": "/api/dossier/clients/{client_id}/reports", "x-internal": false, "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] } }, "/t/dossier/authorized/clients/{client_id}/reports/{report_id}": { "put": { "tags": [ "dossier.Report" ], "summary": "Update Report\nAuthorization is done in dossier controller this points to.", "operationId": "dossier.ReportAPI.authorizedUpdate", "parameters": [ { "name": "client_id", "in": "path", "description": "id", "required": true, "format": "int64", "type": "integer" }, { "name": "report_id", "in": "path", "description": "id", "required": true, "format": "int64", "type": "integer" }, { "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/dossier.Report" } } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dossier.Report" } } }, "x-deployment-id": "dossier", "x-deployment-target-path": "/api/dossier/clients/{client_id}/reports/{report_id}", "x-internal": false, "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] } }, "/t/dossier/authorized/clients/{client_id}/reports/search_by_client": { "get": { "tags": [ "dossier.Report" ], "summary": "Return Reports, filtered by params\nAuthorization is done in dossier controller this points to.", "operationId": "dossier.ReportAPI.authorizedSearchByClient", "parameters": [ { "name": "client_id", "in": "path", "description": "which we want to search reports for", "required": true, "format": "int64", "type": "integer" }, { "name": "keyword", "in": "query", "description": "a text search term", "type": "string" }, { "name": "filter", "in": "query", "description": "the type of information to filter on", "type": "string" }, { "name": "education_id", "in": "query", "description": "filters on reports of which the author has a specific employee", "format": "int64", "type": "integer" }, { "name": "show_hidden", "in": "query", "description": "shows hidden reports only has effect for the author or application managers", "type": "boolean" }, { "name": "report_type", "in": "query", "description": "list of types to filter on", "required": true, "type": "array", "items": { "type": "integer", "format": "int64" }, "collectionFormat": "multi" }, { "name": "valid_from", "in": "query", "description": "start search date", "type": "string" }, { "name": "valid_to", "in": "query", "description": "end search date", "type": "string" }, { "name": "demand_id", "in": "query", "description": "filters on reports to include only those related to a specific demand", "format": "int64", "type": "integer" }, { "name": "entry_id", "in": "query", "description": "filters on reports to include only those related to a specific care plan entry", "format": "int64", "type": "integer" }, { "name": "episode_id", "in": "query", "description": "filters on reports to include only those related to a specific episode", "format": "int64", "type": "integer" }, { "name": "restrictive_measure_id", "in": "query", "description": "filters on reports to include only those related to a specific restrictictive measure", "format": "int64", "type": "integer" }, { "name": "report_types_with_comments", "in": "query", "description": "filters on reports that have comments", "type": "array", "items": { "type": "integer", "format": "int64" }, "collectionFormat": "multi" }, { "name": "only_own_reports", "in": "query", "description": "filters on reports written by the user", "type": "boolean" }, { "name": "offset", "in": "query", "description": "number of results to skip", "format": "int32", "type": "integer" }, { "name": "limit", "in": "query", "description": "number of results for one call", "format": "int32", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dossier.list.ReportList" } } }, "x-deployment-id": "dossier", "x-deployment-target-path": "/api/dossier/clients/{client_id}/reports/search_by_client", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/dossier/authorized/clients/{client_id}/reports/search_by_client_with_updated_since": { "get": { "tags": [ "dossier.Report" ], "summary": "Return Reports with updated since option, filtered by params\nAuthorization is done in dossier controller this points to.", "operationId": "dossier.ReportAPI.authorizedSearchByClientWithUpdatedSince", "parameters": [ { "name": "client_id", "in": "path", "description": "which we want to search reports for", "required": true, "format": "int64", "type": "integer" }, { "name": "keyword", "in": "query", "description": "a text search term", "type": "string" }, { "name": "filter", "in": "query", "description": "the type of information to filter on", "type": "string" }, { "name": "education_id", "in": "query", "description": "filters on reports of which the author has a specific employee", "format": "int64", "type": "integer" }, { "name": "show_hidden", "in": "query", "description": "shows hidden reports only has effect for the author or application managers", "type": "boolean" }, { "name": "report_type", "in": "query", "description": "list of types to filter on", "required": true, "type": "array", "items": { "type": "integer", "format": "int64" }, "collectionFormat": "multi" }, { "name": "valid_from", "in": "query", "description": "start search date", "type": "string" }, { "name": "valid_to", "in": "query", "description": "end search date", "type": "string" }, { "name": "updated_since", "in": "query", "description": "filters reports by updatedat", "type": "string" }, { "name": "demand_id", "in": "query", "description": "filters on reports to include only those related to a specific demand", "format": "int64", "type": "integer" }, { "name": "entry_id", "in": "query", "description": "filters on reports to include only those related to a specific care plan entry", "format": "int64", "type": "integer" }, { "name": "episode_id", "in": "query", "description": "filters on reports to include only those related to a specific episode", "format": "int64", "type": "integer" }, { "name": "restrictive_measure_id", "in": "query", "description": "filters on reports to include only those related to a specific restrictictive measure", "format": "int64", "type": "integer" }, { "name": "report_types_with_comments", "in": "query", "description": "filters on reports that have comments", "type": "array", "items": { "type": "integer", "format": "int64" }, "collectionFormat": "multi" }, { "name": "only_own_reports", "in": "query", "description": "filters on reports written by the user", "type": "boolean" }, { "name": "offset", "in": "query", "description": "number of results to skip", "format": "int32", "type": "integer" }, { "name": "limit", "in": "query", "description": "number of results for one call", "format": "int32", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dossier.list.ReportList" } } }, "x-deployment-id": "dossier", "x-deployment-target-path": "/api/dossier/clients/{client_id}/reports/search_by_client_with_updated_since", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/dossier/authorized/clients/{client_id}/reports/unfiltered_search_by_client": { "get": { "tags": [ "dossier.Report" ], "summary": "Return Reports Unfiltered, filtered by params\nAuthorization is done in dossier controller this points to.", "operationId": "dossier.ReportAPI.authorizedUnfilteredSearchByClient", "parameters": [ { "name": "client_id", "in": "path", "description": "which we want to search reports for", "required": true, "format": "int64", "type": "integer" }, { "name": "keyword", "in": "query", "description": "a text search term", "type": "string" }, { "name": "filter", "in": "query", "description": "the type of information to filter on", "type": "string" }, { "name": "education_id", "in": "query", "description": "filters on reports of which the author has a specific employee", "format": "int64", "type": "integer" }, { "name": "show_hidden", "in": "query", "description": "shows hidden reports only has effect for the author or application managers", "type": "boolean" }, { "name": "report_type", "in": "query", "description": "list of types to filter on", "required": true, "type": "array", "items": { "type": "integer", "format": "int64" }, "collectionFormat": "multi" }, { "name": "valid_from", "in": "query", "description": "start search date", "type": "string" }, { "name": "valid_to", "in": "query", "description": "end search date", "type": "string" }, { "name": "demand_id", "in": "query", "description": "filters on reports to include only those related to a specific demand", "format": "int64", "type": "integer" }, { "name": "entry_id", "in": "query", "description": "filters on reports to include only those related to a specific care plan entry", "format": "int64", "type": "integer" }, { "name": "episode_id", "in": "query", "description": "filters on reports to include only those related to a specific episode", "format": "int64", "type": "integer" }, { "name": "restrictive_measure_id", "in": "query", "description": "filters on reports to include only those related to a specific restrictictive measure", "format": "int64", "type": "integer" }, { "name": "report_types_with_comments", "in": "query", "description": "filters on reports that have comments", "type": "array", "items": { "type": "integer", "format": "int64" }, "collectionFormat": "multi" }, { "name": "only_own_reports", "in": "query", "description": "filters on reports written by the user", "type": "boolean" }, { "name": "offset", "in": "query", "description": "number of results to skip", "format": "int32", "type": "integer" }, { "name": "limit", "in": "query", "description": "number of results for one call", "format": "int32", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dossier.list.ReportList" } } }, "x-deployment-id": "dossier", "x-deployment-target-path": "/api/dossier/clients/{client_id}/reports/unfiltered_search_by_client", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/dossier/episodes/episodes": { "post": { "tags": [ "dossier.episodes.Episode" ], "summary": "Create Episode", "operationId": "dossier.episodes.EpisodeAPI.create", "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dossier.episodes.Episode" } } }, "x-deployment-id": "dossier", "x-deployment-target-path": "/api/dossier/episodes", "x-internal": false, "parameters": [ { "description": "Episode to create", "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/dossier.episodes.Episode" } } ], "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] } }, "/t/dossier/episodes/episodes/{id}": { "get": { "tags": [ "dossier.episodes.Episode" ], "operationId": "dossier.episodes.EpisodeAPI.byId", "parameters": [ { "name": "id", "in": "path", "description": "used for selecting Episode", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dossier.episodes.Episode" } } }, "x-deployment-id": "dossier", "x-deployment-target-path": "/api/dossier/episodes/{id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] }, "put": { "tags": [ "dossier.episodes.Episode" ], "summary": "Updates the given Episode", "operationId": "dossier.episodes.EpisodeAPI.update", "parameters": [ { "name": "id", "in": "path", "description": "Identifier of Episode to update.", "required": true, "format": "int64", "type": "integer" }, { "description": "Episode to update", "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/dossier.episodes.Episode" } } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dossier.episodes.Episode" } } }, "x-deployment-id": "dossier", "x-deployment-target-path": "/api/dossier/episodes/{id}", "x-internal": false, "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] }, "patch": { "tags": [ "dossier.episodes.Episode" ], "summary": "Patches Episode with given id", "operationId": "dossier.episodes.EpisodeAPI.patch", "parameters": [ { "name": "id", "in": "path", "required": true, "format": "int64", "type": "integer" }, { "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/dossier.episodes.Episode" } } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dossier.episodes.Episode" } } }, "x-deployment-id": "dossier", "x-deployment-target-path": "/api/dossier/episodes/{id}", "x-internal": false, "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] } }, "/t/dossier/episodes/actions": { "post": { "tags": [ "dossier.episodes.Action" ], "summary": "Create Action", "operationId": "dossier.episodes.ActionAPI.create", "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dossier.episodes.Action" } } }, "x-deployment-id": "dossier", "x-deployment-target-path": "/api/dossier/episodes/actions", "x-internal": false, "parameters": [ { "description": "Action to create", "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/dossier.episodes.Action" } } ], "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] } }, "/t/dossier/episodes/actions/{id}": { "put": { "tags": [ "dossier.episodes.Action" ], "summary": "Updates the given Action", "operationId": "dossier.episodes.ActionAPI.update", "parameters": [ { "name": "id", "in": "path", "description": "Identifier of Action to update.", "required": true, "format": "int64", "type": "integer" }, { "description": "Action to update", "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/dossier.episodes.Action" } } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dossier.episodes.Action" } } }, "x-deployment-id": "dossier", "x-deployment-target-path": "/api/dossier/episodes/actions/{id}", "x-internal": false, "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] }, "patch": { "tags": [ "dossier.episodes.Action" ], "summary": "Patches Action with given id", "operationId": "dossier.episodes.ActionAPI.patch", "parameters": [ { "name": "id", "in": "path", "required": true, "format": "int64", "type": "integer" }, { "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/dossier.episodes.Action" } } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dossier.episodes.Action" } } }, "x-deployment-id": "dossier", "x-deployment-target-path": "/api/dossier/episodes/actions/{id}", "x-internal": false, "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] } }, "/t/dossier/episodes/actions/by_episode_id/{episode_id}": { "get": { "tags": [ "dossier.episodes.Action" ], "operationId": "dossier.episodes.ActionAPI.byEpisodeId", "parameters": [ { "name": "episode_id", "in": "path", "description": "The ID of the episode for which to fetch actions", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dossier.episodes.list.ActionList" } } }, "x-deployment-id": "dossier", "x-deployment-target-path": "/api/dossier/episodes/actions/by_episode_id/{episode_id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/dossier/episodes/actions/by_sub_goal_id/{sub_goal_id}": { "get": { "tags": [ "dossier.episodes.Action" ], "operationId": "dossier.episodes.ActionAPI.bySubGoalId", "parameters": [ { "name": "sub_goal_id", "in": "path", "description": "The ID of the subgoal for which to fetch actions", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dossier.episodes.list.ActionList" } } }, "x-deployment-id": "dossier", "x-deployment-target-path": "/api/dossier/episodes/actions/by_sub_goal_id/{sub_goal_id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/dossier/episodes/by_client_id/{client_id}": { "get": { "tags": [ "dossier.episodes.Episode" ], "operationId": "dossier.episodes.EpisodeAPI.byClientId", "parameters": [ { "name": "client_id", "in": "path", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dossier.episodes.list.EpisodeList" } } }, "x-deployment-id": "dossier", "x-deployment-target-path": "/api/dossier/episodes/by_client_id/{client_id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/dossier/episodes/sub_goals": { "post": { "tags": [ "dossier.episodes.SubGoal" ], "summary": "Create SubGoal", "operationId": "dossier.episodes.SubGoalAPI.create", "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dossier.episodes.SubGoal" } } }, "x-deployment-id": "dossier", "x-deployment-target-path": "/api/dossier/episodes/sub_goals", "x-internal": false, "parameters": [ { "description": "SubGoal to create", "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/dossier.episodes.SubGoal" } } ], "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] } }, "/t/dossier/episodes/sub_goals/{id}": { "put": { "tags": [ "dossier.episodes.SubGoal" ], "summary": "Updates the given SubGoal", "operationId": "dossier.episodes.SubGoalAPI.update", "parameters": [ { "name": "id", "in": "path", "description": "Identifier of SubGoal to update.", "required": true, "format": "int64", "type": "integer" }, { "description": "SubGoal to update", "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/dossier.episodes.SubGoal" } } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dossier.episodes.SubGoal" } } }, "x-deployment-id": "dossier", "x-deployment-target-path": "/api/dossier/episodes/sub_goals/{id}", "x-internal": false, "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] }, "patch": { "tags": [ "dossier.episodes.SubGoal" ], "summary": "Patches SubGoal with given id", "operationId": "dossier.episodes.SubGoalAPI.patch", "parameters": [ { "name": "id", "in": "path", "required": true, "format": "int64", "type": "integer" }, { "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/dossier.episodes.SubGoal" } } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dossier.episodes.SubGoal" } } }, "x-deployment-id": "dossier", "x-deployment-target-path": "/api/dossier/episodes/sub_goals/{id}", "x-internal": false, "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] } }, "/t/dossier/episodes/sub_goals/by_episode_id/{episode_id}": { "get": { "tags": [ "dossier.episodes.SubGoal" ], "operationId": "dossier.episodes.SubGoalAPI.byEpisodeId", "parameters": [ { "name": "episode_id", "in": "path", "description": "The ID of the episode for which to fetch SubGoals", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dossier.episodes.list.SubGoalList" } } }, "x-deployment-id": "dossier", "x-deployment-target-path": "/api/dossier/episodes/sub_goals/by_episode_id/{episode_id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/dossier/involuntary_care_export/entries": { "get": { "tags": [ "dossier.InvoluntaryCareExportEntry" ], "summary": "Get the involuntary care export entries for given parameters.", "operationId": "dossier.InvoluntaryCareExportEntryAPI.entries", "parameters": [ { "name": "law", "in": "query", "description": "the law for which to get the involuntary care entries: 1 (Wzd) or 2 (Wvggz)", "format": "int32", "type": "integer" }, { "name": "start", "in": "query", "description": "the start date of the export", "format": "date", "type": "string" }, { "name": "end", "in": "query", "description": "the end date of the export", "format": "date", "type": "string" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dossier.list.InvoluntaryCareExportEntryList" } } }, "x-deployment-id": "dossier", "x-deployment-target-path": "/api/dossier/involuntary_care_export/entries", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/dossier/medical/advance_directives/contexts": { "post": { "tags": [ "dossier.medical.advance_directives.Context" ], "summary": "Create Context", "operationId": "dossier.medical.advance_directives.ContextAPI.create", "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dossier.medical.advance_directives.Context" } } }, "x-deployment-id": "dossier", "x-deployment-target-path": "/api/dossier/medical/advance_directives/contexts", "x-internal": false, "parameters": [ { "description": "Context to create", "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/dossier.medical.advance_directives.Context" } } ], "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] } }, "/t/dossier/medical/advance_directives/contexts/{id}": { "put": { "tags": [ "dossier.medical.advance_directives.Context" ], "summary": "Updates the given Context", "operationId": "dossier.medical.advance_directives.ContextAPI.update", "parameters": [ { "name": "id", "in": "path", "description": "Identifier of Context to update.", "required": true, "format": "int64", "type": "integer" }, { "description": "Context to update", "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/dossier.medical.advance_directives.Context" } } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dossier.medical.advance_directives.Context" } } }, "x-deployment-id": "dossier", "x-deployment-target-path": "/api/dossier/medical/advance_directives/contexts/{id}", "x-internal": false, "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] }, "delete": { "tags": [ "dossier.medical.advance_directives.Context" ], "summary": "Deletes the Context with given id", "operationId": "dossier.medical.advance_directives.ContextAPI.delete", "parameters": [ { "name": "id", "in": "path", "description": "Identifier of Context to delete.", "required": true, "format": "int64", "type": "integer" } ], "responses": { "204": { "description": "If successfully removed the context" } }, "x-deployment-id": "dossier", "x-deployment-target-path": "/api/dossier/medical/advance_directives/contexts/{id}", "x-internal": false }, "patch": { "tags": [ "dossier.medical.advance_directives.Context" ], "summary": "Patches Context with given id", "operationId": "dossier.medical.advance_directives.ContextAPI.patch", "parameters": [ { "name": "id", "in": "path", "required": true, "format": "int64", "type": "integer" }, { "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/dossier.medical.advance_directives.Context" } } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dossier.medical.advance_directives.Context" } } }, "x-deployment-id": "dossier", "x-deployment-target-path": "/api/dossier/medical/advance_directives/contexts/{id}", "x-internal": false, "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] } }, "/t/dossier/medical/dsm/classification_series/{classification_series_id}/diagnosis_assignments": { "get": { "tags": [ "dossier.medical.dsm.ClassificationSeries" ], "operationId": "dossier.medical.dsm.ClassificationSeriesAPI.diagnosisAssignments", "parameters": [ { "name": "classification_series_id", "in": "path", "description": "The ID of the DSM classification series to get diagnosis assignments for", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dbc.ggz.list.DiagnoseToekenningList" } } }, "x-deployment-id": "dossier", "x-deployment-target-path": "/api/dossier/medical/dsm/classification_series/{classification_series_id}/diagnosis_assignments", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/dossier/medical/dsm/classification_series/{id}": { "get": { "tags": [ "dossier.medical.dsm.ClassificationSeries" ], "operationId": "dossier.medical.dsm.ClassificationSeriesAPI.byId", "parameters": [ { "name": "id", "in": "path", "description": "used for selecting ClassificationSeries", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dossier.medical.dsm.ClassificationSeries" } } }, "x-deployment-id": "dossier", "x-deployment-target-path": "/api/dossier/medical/dsm/classification_series/{id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/dossier/medical/dsm/classifications": { "get": { "tags": [ "dossier.medical.dsm.Classification" ], "summary": "Returns every Classification available from the ClassificationAPI", "operationId": "dossier.medical.dsm.ClassificationAPI.all", "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dossier.medical.dsm.list.ClassificationList" } } }, "x-deployment-id": "dossier", "x-deployment-target-path": "/api/dossier/medical/dsm/classifications", "x-internal": false, "parameters": [], "produces": [ "application/json", "application/xml" ] } }, "/t/dossier/medical/dsm/classifications/{id}": { "get": { "tags": [ "dossier.medical.dsm.Classification" ], "operationId": "dossier.medical.dsm.ClassificationAPI.byId", "parameters": [ { "name": "id", "in": "path", "description": "used for selecting Classification", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dossier.medical.dsm.Classification" } } }, "x-deployment-id": "dossier", "x-deployment-target-path": "/api/dossier/medical/dsm/classifications/{id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/dossier/medical/involuntary_care/incompetences": { "post": { "tags": [ "dossier.medical.involuntary_care.Incompetence" ], "summary": "Create Incompetence", "operationId": "dossier.medical.involuntary_care.IncompetenceAPI.create", "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dossier.medical.involuntary_care.Incompetence" } } }, "x-deployment-id": "dossier", "x-deployment-target-path": "/api/dossier/medical/involuntary_care/incompetences", "x-internal": false, "parameters": [ { "description": "Incompetence to create", "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/dossier.medical.involuntary_care.Incompetence" } } ], "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] } }, "/t/dossier/medical/involuntary_care/incompetences/{id}": { "get": { "tags": [ "dossier.medical.involuntary_care.Incompetence" ], "summary": "Gets a Incompetence by specified identifier", "operationId": "dossier.medical.involuntary_care.IncompetenceAPI.byId", "parameters": [ { "name": "id", "in": "path", "description": "Identifier of Incompetence to update.", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dossier.medical.involuntary_care.Incompetence" } } }, "x-deployment-id": "dossier", "x-deployment-target-path": "/api/dossier/medical/involuntary_care/incompetences/{id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] }, "put": { "tags": [ "dossier.medical.involuntary_care.Incompetence" ], "summary": "Updates the given Incompetence", "operationId": "dossier.medical.involuntary_care.IncompetenceAPI.update", "parameters": [ { "name": "id", "in": "path", "description": "Identifier of Incompetence to update.", "required": true, "format": "int64", "type": "integer" }, { "description": "Incompetence to update", "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/dossier.medical.involuntary_care.Incompetence" } } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dossier.medical.involuntary_care.Incompetence" } } }, "x-deployment-id": "dossier", "x-deployment-target-path": "/api/dossier/medical/involuntary_care/incompetences/{id}", "x-internal": false, "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] }, "delete": { "tags": [ "dossier.medical.involuntary_care.Incompetence" ], "summary": "Deletes the Incompetence with given id", "operationId": "dossier.medical.involuntary_care.IncompetenceAPI.delete", "parameters": [ { "name": "id", "in": "path", "description": "Identifier of Incompetence to delete.", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dossier.medical.involuntary_care.Incompetence" } } }, "x-deployment-id": "dossier", "x-deployment-target-path": "/api/dossier/medical/involuntary_care/incompetences/{id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] }, "patch": { "tags": [ "dossier.medical.involuntary_care.Incompetence" ], "summary": "Patches Incompetence with given id", "operationId": "dossier.medical.involuntary_care.IncompetenceAPI.patch", "parameters": [ { "name": "id", "in": "path", "required": true, "format": "int64", "type": "integer" }, { "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/dossier.medical.involuntary_care.Incompetence" } } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dossier.medical.involuntary_care.Incompetence" } } }, "x-deployment-id": "dossier", "x-deployment-target-path": "/api/dossier/medical/involuntary_care/incompetences/{id}", "x-internal": false, "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] } }, "/t/dossier/medical/involuntary_care/legal_statuses": { "post": { "tags": [ "dossier.medical.involuntary_care.LegalStatus" ], "summary": "Create LegalStatus", "operationId": "dossier.medical.involuntary_care.LegalStatusAPI.create", "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dossier.medical.involuntary_care.LegalStatus" } } }, "x-deployment-id": "dossier", "x-deployment-target-path": "/api/dossier/medical/involuntary_care/legal_statuses", "x-internal": false, "parameters": [ { "description": "LegalStatus to create", "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/dossier.medical.involuntary_care.LegalStatus" } } ], "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] } }, "/t/dossier/medical/involuntary_care/legal_statuses/{id}": { "get": { "tags": [ "dossier.medical.involuntary_care.LegalStatus" ], "operationId": "dossier.medical.involuntary_care.LegalStatusAPI.byId", "parameters": [ { "name": "id", "in": "path", "description": "the id of the legal status", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dossier.medical.involuntary_care.LegalStatus" } } }, "x-deployment-id": "dossier", "x-deployment-target-path": "/api/dossier/medical/involuntary_care/legal_statuses/{id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] }, "put": { "tags": [ "dossier.medical.involuntary_care.LegalStatus" ], "summary": "Updates the given LegalStatus", "operationId": "dossier.medical.involuntary_care.LegalStatusAPI.update", "parameters": [ { "name": "id", "in": "path", "description": "Identifier of LegalStatus to update.", "required": true, "format": "int64", "type": "integer" }, { "description": "LegalStatus to update", "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/dossier.medical.involuntary_care.LegalStatus" } } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dossier.medical.involuntary_care.LegalStatus" } } }, "x-deployment-id": "dossier", "x-deployment-target-path": "/api/dossier/medical/involuntary_care/legal_statuses/{id}", "x-internal": false, "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] }, "patch": { "tags": [ "dossier.medical.involuntary_care.LegalStatus" ], "summary": "Patches LegalStatus with given id", "operationId": "dossier.medical.involuntary_care.LegalStatusAPI.patch", "parameters": [ { "name": "id", "in": "path", "required": true, "format": "int64", "type": "integer" }, { "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/dossier.medical.involuntary_care.LegalStatus" } } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dossier.medical.involuntary_care.LegalStatus" } } }, "x-deployment-id": "dossier", "x-deployment-target-path": "/api/dossier/medical/involuntary_care/legal_statuses/{id}", "x-internal": false, "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] } }, "/t/dossier/medical/medical_summaries/by_client_ids": { "get": { "tags": [ "dossier.medical.MedicalSummary" ], "operationId": "dossier.medical.MedicalSummaryAPI.filteredByClientIds", "parameters": [ { "name": "problems", "in": "query", "type": "boolean" }, { "name": "incompetences", "in": "query", "type": "boolean" }, { "name": "allergies_and_adverse_reactions", "in": "query", "type": "boolean" }, { "name": "simplified_adverse_reactions", "in": "query", "type": "boolean" }, { "name": "medical_policy", "in": "query", "type": "boolean" }, { "name": "legal_status", "in": "query", "type": "boolean" }, { "name": "episodes", "in": "query", "type": "boolean" }, { "name": "resuscitation_decision", "in": "query", "type": "boolean" }, { "name": "alerts", "in": "query", "type": "boolean" }, { "name": "id", "in": "query", "type": "array", "items": { "type": "integer", "format": "int64" }, "collectionFormat": "multi" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dossier.medical.list.MedicalSummaryList" } } }, "x-deployment-id": "dossier", "x-deployment-target-path": "/api/dossier/medical/medical_summaries/by_client_ids", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/dossier/medical/problems": { "post": { "tags": [ "dossier.medical.Problem" ], "summary": "Create Problem", "operationId": "dossier.medical.ProblemAPI.create", "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dossier.medical.Problem" } } }, "x-deployment-id": "dossier", "x-deployment-target-path": "/api/dossier/medical/problems", "x-internal": false, "parameters": [ { "description": "Problem to create", "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/dossier.medical.Problem" } } ], "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] } }, "/t/dossier/medical/problems/{id}": { "get": { "tags": [ "dossier.medical.Problem" ], "summary": "Get a specific topic", "operationId": "dossier.medical.ProblemAPI.byId", "parameters": [ { "name": "id", "in": "path", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dossier.medical.Problem" } } }, "x-deployment-id": "dossier", "x-deployment-target-path": "/api/dossier/medical/problems/{id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] }, "put": { "tags": [ "dossier.medical.Problem" ], "summary": "Updates the given Problem", "operationId": "dossier.medical.ProblemAPI.update", "parameters": [ { "name": "id", "in": "path", "description": "Identifier of Problem to update.", "required": true, "format": "int64", "type": "integer" }, { "description": "Problem to update", "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/dossier.medical.Problem" } } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dossier.medical.Problem" } } }, "x-deployment-id": "dossier", "x-deployment-target-path": "/api/dossier/medical/problems/{id}", "x-internal": false, "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] }, "delete": { "tags": [ "dossier.medical.Problem" ], "summary": "Deletes the Problem with given id", "operationId": "dossier.medical.ProblemAPI.delete", "parameters": [ { "name": "id", "in": "path", "description": "Identifier of Problem to delete.", "required": true, "format": "int64", "type": "integer" } ], "responses": { "204": { "description": "If successfully removed the problem" } }, "x-deployment-id": "dossier", "x-deployment-target-path": "/api/dossier/medical/problems/{id}", "x-internal": false }, "patch": { "tags": [ "dossier.medical.Problem" ], "summary": "Patches Problem with given id", "operationId": "dossier.medical.ProblemAPI.patch", "parameters": [ { "name": "id", "in": "path", "required": true, "format": "int64", "type": "integer" }, { "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/dossier.medical.Problem" } } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dossier.medical.Problem" } } }, "x-deployment-id": "dossier", "x-deployment-target-path": "/api/dossier/medical/problems/{id}", "x-internal": false, "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] } }, "/t/dossier/medical/simplified_propensity_to_adverse_reaction": { "put": { "tags": [ "dossier.medical.SimplifiedPropensityToAdverseReaction" ], "summary": "Updates the given SimplifiedPropensityToAdverseReaction", "operationId": "dossier.medical.SimplifiedPropensityToAdverseReactionAPI.update", "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dossier.medical.SimplifiedPropensityToAdverseReaction" } } }, "x-deployment-id": "dossier", "x-deployment-target-path": "/api/dossier/medical/simplified/propensities_to_adverse_reaction", "x-internal": false, "parameters": [ { "description": "SimplifiedPropensityToAdverseReaction to update", "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/dossier.medical.SimplifiedPropensityToAdverseReaction" } } ], "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] }, "post": { "tags": [ "dossier.medical.SimplifiedPropensityToAdverseReaction" ], "summary": "Create SimplifiedPropensityToAdverseReaction", "operationId": "dossier.medical.SimplifiedPropensityToAdverseReactionAPI.create", "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dossier.medical.SimplifiedPropensityToAdverseReaction" } } }, "x-deployment-id": "dossier", "x-deployment-target-path": "/api/dossier/medical/simplified/propensities_to_adverse_reaction", "x-internal": false, "parameters": [ { "description": "SimplifiedPropensityToAdverseReaction to create", "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/dossier.medical.SimplifiedPropensityToAdverseReaction" } } ], "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] } }, "/t/dossier/reports/by_next_dossier_report_link/{report_link_id}": { "get": { "tags": [ "dossier.Report" ], "summary": "Returns report by next dossier report link", "operationId": "dossier.ReportAPI.findByNextDossierReportLink", "parameters": [ { "name": "report_link_id", "in": "path", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dossier.Report" } } }, "x-deployment-id": "dossier", "x-deployment-target-path": "/api/dossier/reports/by_next_dossier_report_link/{report_link_id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/dossier/authorized/reports/with_actions": { "get": { "tags": [ "dossier.Report" ], "summary": "Return reports that have actions created by user or for user's expertise", "operationId": "dossier.ReportAPI.withActions", "parameters": [ { "name": "my_actions", "in": "query", "description": "true for my created reports, false for actions for my expertise", "required": true, "type": "boolean" }, { "name": "location_id", "in": "query", "description": "optional filter by location", "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dossier.list.ReportList" } } }, "x-deployment-id": "dossier", "x-deployment-target-path": "/api/dossier/reports/with_actions", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/dossier/authorized/reports/with_actions_summary": { "get": { "tags": [ "dossier.Report" ], "summary": "Return a count of reports that have actions created by user or for user's expertise", "operationId": "dossier.ReportAPI.withActionsSummary", "parameters": [ { "name": "location_id", "in": "query", "description": "optional filter by location", "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dossier.ReportsWithActionsSummary" } } }, "x-deployment-id": "dossier", "x-deployment-target-path": "/api/dossier/reports/with_actions_summary", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/dossier/unauthorized/alerts/{id}": { "get": { "tags": [ "dossier.Alert" ], "summary": "Get a specific Alert", "operationId": "dossier.AlertAPI.unauthorizedById", "parameters": [ { "name": "id", "in": "path", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dossier.Alert" } } }, "x-deployment-id": "dossier", "x-deployment-target-path": "/api/dossier/unauthorized/alerts/{id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/dossier/unauthorized/alerts/by_client_ids": { "get": { "tags": [ "dossier.Alert" ], "summary": "Get a specific Alert", "operationId": "dossier.AlertAPI.unauthorizedByClientIds", "parameters": [ { "name": "ids", "in": "query", "description": "The ids of the clients (ids[]=1&ids[]=2&ids[]=3...)", "required": true, "type": "array", "items": { "type": "integer", "format": "int64" }, "collectionFormat": "multi" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/dossier.list.AlertList" } } }, "x-deployment-id": "dossier", "x-deployment-target-path": "/api/dossier/unauthorized/alerts/by_client_ids", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/fvc/message": { "post": { "tags": [ "fvc.FvcMessage" ], "summary": "Send a message to FVC", "operationId": "fvc.FvcMessageAPI.send", "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/fvc.FvcMessage" } }, "400": { "description": "Message could not be processed" } }, "x-deployment-id": "fvc", "x-deployment-target-path": "/api/fvc/message", "x-internal": false, "parameters": [ { "description": "Message to be sent to FVC", "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/fvc.FvcMessage" } } ], "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] } }, "/t/finance/debtor_groups": { "get": { "tags": [ "finance.DebtorGroup" ], "summary": "Returns every DebtorGroup available from the DebtorGroupAPI", "description": "Returns every DebtorGroup available from the DebtorGroupAPI", "operationId": "finance.DebtorGroupAPI.all", "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/finance.list.DebtorGroupList" } } }, "security": [ { "X-Cupido-User-Name": [] } ], "x-deployment-id": "trojka", "x-deployment-target-path": "/external/debtorGroups", "x-internal": false, "parameters": [], "produces": [ "application/json", "application/xml" ] } }, "/t/finance/debtor_groups/{id}": { "get": { "tags": [ "finance.DebtorGroup" ], "summary": "Retrieve debtor group by id", "description": "Retrieve debtor group by id", "operationId": "finance.DebtorGroupAPI.byId", "parameters": [ { "name": "id", "in": "path", "description": "used for selecting DebtorGroup", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/finance.DebtorGroup" } }, "404": { "description": "Not found" } }, "security": [ { "X-Cupido-User-Name": [] } ], "x-deployment-id": "trojka", "x-deployment-target-path": "/external/debtorGroups/{id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/finance/debtor_groups/by_debtor_id/{debtor_id}": { "get": { "tags": [ "finance.DebtorGroup" ], "summary": "Return a DebtorGroupsList for which holds that every DebtorGroup contains debtorId", "operationId": "finance.DebtorGroupAPI.byDebtorId", "parameters": [ { "name": "debtor_id", "in": "path", "description": "the debtorId that should fall in the returned debtor groups", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/finance.list.DebtorGroupList" } } }, "x-deployment-id": "trojka", "x-deployment-target-path": "/external/debtorGroups/byDebtorId/{debtor_id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/clients/{client_id}/groupcare_agenda_occurrences": { "get": { "tags": [ "groupcare.Occurrence" ], "summary": "Return the groupcare agenda occurrences of a Client corresponding to the given id.", "operationId": "groupcare.OccurrenceAPI.byClientId", "parameters": [ { "name": "client_id", "in": "path", "description": "id", "required": true, "format": "int64", "type": "integer" }, { "name": "start_date", "in": "query", "required": true, "format": "date", "type": "string" }, { "name": "end_date", "in": "query", "required": true, "format": "date", "type": "string" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/groupcare.list.OccurrenceList" } } }, "x-deployment-id": "groupcare", "x-deployment-target-path": "/api/cupido/clients/{client_id}/occurrences", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/groupcare/groups": { "get": { "tags": [ "groupcare.Group" ], "summary": "Retrieves all groups that are not expired on the given date.", "description": "When the date query parameter is missing it returns\nthe groups that are active today.", "operationId": "groupcare.GroupAPI.all", "parameters": [ { "name": "date", "in": "query", "description": "date for which we want to query active groups", "format": "date", "type": "string" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/groupcare.list.GroupList" } } }, "x-deployment-id": "groupcare", "x-deployment-target-path": "/api/cupido/groups", "x-internal": false, "produces": [ "application/json", "application/xml" ] }, "post": { "tags": [ "groupcare.Group" ], "summary": "Create Groupcare Group", "operationId": "groupcare.GroupAPI.create", "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/groupcare.Group" } } }, "x-deployment-id": "groupcare", "x-deployment-target-path": "/api/cupido/groups", "x-internal": false, "parameters": [ { "description": "to create in Groupcare", "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/groupcare.Group" } } ], "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] } }, "/t/groupcare/groups/{id}": { "get": { "tags": [ "groupcare.Group" ], "summary": "Get GroupCare group by its identifier", "operationId": "groupcare.GroupAPI.byId", "parameters": [ { "name": "id", "in": "path", "description": "identifier of GroupCare Group to be found.", "required": true, "format": "int64", "type": "integer" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/groupcare.Group" } } }, "x-deployment-id": "groupcare", "x-deployment-target-path": "/api/cupido/groups/{id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] }, "put": { "tags": [ "groupcare.Group" ], "summary": "Updates the given Groupcare Group", "operationId": "groupcare.GroupAPI.update", "parameters": [ { "name": "id", "in": "path", "description": "identifier of GroupCare Group to be updated.", "required": true, "format": "int64", "type": "integer" }, { "description": "to update in Groupcare", "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/groupcare.Group" } } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/groupcare.Group" } } }, "x-deployment-id": "groupcare", "x-deployment-target-path": "/api/cupido/groups/{id}", "x-internal": false, "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] } }, "/t/onsimport/runs": { "get": { "tags": [ "onsimport.Run" ], "summary": "Returns a list of all runs.", "operationId": "onsimport.RunAPI.getAll", "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/onsimport.list.RunList" } } }, "x-deployment-id": "ons_import", "x-deployment-target-path": "/api/run", "x-internal": false, "parameters": [], "produces": [ "application/json", "application/xml" ] }, "post": { "tags": [ "onsimport.Run" ], "summary": "Creates a new run.", "operationId": "onsimport.RunAPI.create", "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/onsimport.Run" } } }, "x-deployment-id": "ons_import", "x-deployment-target-path": "/api/run", "x-internal": false, "parameters": [ { "description": "contains information about the new run.", "required": true, "name": "body", "in": "body", "schema": { "$ref": "#/definitions/onsimport.Run" } } ], "consumes": [ "application/json", "application/xml" ], "produces": [ "application/json", "application/xml" ] } }, "/t/onsimport/runs/{run_id}": { "delete": { "tags": [ "onsimport.Run" ], "summary": "Deletes a run and any corresponding records, lookups, files and\nvalidations.", "description": "A run can only be deleted if no records have been\nsuccessfully imported (status = SUCCESS).", "operationId": "onsimport.RunAPI.delete", "parameters": [ { "name": "run_id", "in": "path", "description": "the id of the run to be deleted.", "required": true, "type": "string" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/onsimport.Run" } } }, "x-deployment-id": "ons_import", "x-deployment-target-path": "/api/run/{run_id}", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/onsimport/runs/{run_id}/report": { "get": { "tags": [ "onsimport.Run" ], "summary": "Requests generating a report for a run.", "description": "As the report will be generated\nasynchronously, this call will return a RunReport containing a reportId.\nUse the reportId to download the report in a separate call.", "operationId": "onsimport.RunAPI.getReport", "parameters": [ { "name": "run_id", "in": "path", "description": "a run id.", "required": true, "type": "string" } ], "responses": { "200": { "description": "No response was specified", "schema": { "$ref": "#/definitions/onsimport.RunReport" } } }, "x-deployment-id": "ons_import", "x-deployment-target-path": "/api/run/{run_id}/report", "x-internal": false, "produces": [ "application/json", "application/xml" ] } }, "/t/onsimport/runs/{run_id}/report/{report_id}": { "get": { "tags": [ "onsimport.Run" ], "summary": "Returns a report for a run.", "description": "If the report is ready, it will be returned\nin the RunReport. Otherwise, the report field will be
null
;\nwait and try again. Reports will be available for a limited time\n(2 hours) after generating.",
"operationId": "onsimport.RunAPI.getGeneratedReport",
"parameters": [
{
"name": "run_id",
"in": "path",
"description": "a run id.",
"required": true,
"type": "string"
},
{
"name": "report_id",
"in": "path",
"description": "a reportId that was obtained earlier.",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "No response was specified",
"schema": {
"$ref": "#/definitions/onsimport.RunReport"
}
}
},
"x-deployment-id": "ons_import",
"x-deployment-target-path": "/api/run/{run_id}/report/{report_id}",
"x-internal": false,
"produces": [
"application/json",
"application/xml"
]
}
},
"/t/onsimport/runs/{run_id}/status": {
"get": {
"tags": [
"onsimport.Run"
],
"summary": "Returns status information about a run.",
"operationId": "onsimport.RunAPI.getStatus",
"parameters": [
{
"name": "run_id",
"in": "path",
"description": "a run id.",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "No response was specified",
"schema": {
"$ref": "#/definitions/onsimport.RunStatus"
}
}
},
"x-deployment-id": "ons_import",
"x-deployment-target-path": "/api/run/{run_id}/status",
"x-internal": false,
"produces": [
"application/json",
"application/xml"
]
}
},
"/t/onsimport/runs/{run_id}/status/{upload_id}": {
"get": {
"tags": [
"onsimport.Run"
],
"summary": "Returns status information about a run, including any file validation\nmessages resulting from the file upload identified by uploadId.",
"operationId": "onsimport.RunAPI.getStatusForUpload",
"parameters": [
{
"name": "run_id",
"in": "path",
"description": "a run id.",
"required": true,
"type": "string"
},
{
"name": "upload_id",
"in": "path",
"description": "an uploadId that was obtained earlier by uploading xml\n or a binary file.",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "No response was specified",
"schema": {
"$ref": "#/definitions/onsimport.RunStatus"
}
}
},
"x-deployment-id": "ons_import",
"x-deployment-target-path": "/api/run/{run_id}/status/{upload_id}",
"x-internal": false,
"produces": [
"application/json",
"application/xml"
]
}
},
"/t/onsimport/runs/{run_id}/validations": {
"get": {
"tags": [
"onsimport.Run"
],
"summary": "Returns all validation messages for the specified run.",
"operationId": "onsimport.RunAPI.getValidations",
"parameters": [
{
"name": "run_id",
"in": "path",
"description": "a run id.",
"required": true,
"type": "string"
},
{
"name": "offset",
"in": "query",
"description": "number of results to skip",
"format": "int32",
"type": "integer"
},
{
"name": "limit",
"in": "query",
"description": "number of results for one call",
"format": "int32",
"type": "integer"
}
],
"responses": {
"200": {
"description": "No response was specified",
"schema": {
"$ref": "#/definitions/onsimport.list.ValidationList"
}
}
},
"x-deployment-id": "ons_import",
"x-deployment-target-path": "/api/run/{run_id}/validations",
"x-internal": false,
"produces": [
"application/json",
"application/xml"
]
}
},
"/t/onsimport/runs/binary": {
"post": {
"tags": [
"onsimport.Run"
],
"summary": "Uploads a binary file to be processed by Ons Import.",
"description": "Refer to the\nOns Import documentation on how to incorporate these files into an\nimport. The upload will be processed asynchronously, so an\nuploadId is returned that can be used to poll for the status.",
"operationId": "onsimport.RunAPI.uploadBinaryFile",
"responses": {
"200": {
"description": "No response was specified",
"schema": {
"$ref": "#/definitions/onsimport.UploadResponse"
}
},
"404": {
"description": "Run not found"
}
},
"x-deployment-id": "ons_import",
"x-deployment-target-path": "/api/run/binary",
"x-internal": false,
"parameters": [
{
"description": "a request object containing the run id and\n the binary file to be imported.",
"required": true,
"name": "body",
"in": "body",
"schema": {
"$ref": "#/definitions/onsimport.BinaryFileRequest"
}
}
],
"consumes": [
"application/json",
"application/xml"
],
"produces": [
"application/json",
"application/xml"
]
}
},
"/t/onsimport/runs/xml": {
"post": {
"tags": [
"onsimport.Run"
],
"summary": "Uploads xml content to be processed by Ons Import.",
"description": "Documentation for\nthe xml format as well as an XSD can be obtained in the Ons Import\napplication. The upload will be processed asynchronously, so an\nuploadId is returned that can be used to poll for the status.",
"operationId": "onsimport.RunAPI.uploadXml",
"responses": {
"200": {
"description": "No response was specified",
"schema": {
"$ref": "#/definitions/onsimport.UploadResponse"
}
},
"404": {
"description": "Run not found"
}
},
"x-deployment-id": "ons_import",
"x-deployment-target-path": "/api/run/xml",
"x-internal": false,
"parameters": [
{
"description": "a request object containing the run id and\n the xml to be imported.",
"required": true,
"name": "body",
"in": "body",
"schema": {
"$ref": "#/definitions/onsimport.RecordsXmlRequest"
}
}
],
"consumes": [
"application/json",
"application/xml"
],
"produces": [
"application/json",
"application/xml"
]
}
},
"/t/employees/{employee_id}/kamino_setting": {
"get": {
"tags": [
"kamino.KaminoSetting"
],
"summary": "Return the kamino setting of a employee corresponding to the given employee id.",
"description": "Return the kamino setting of a employee corresponding to the given employee id.",
"operationId": "kamino.KaminoSettingAPI.byEmployeeId",
"parameters": [
{
"name": "employee_id",
"in": "path",
"description": "id",
"required": true,
"format": "int64",
"type": "integer"
}
],
"responses": {
"200": {
"description": "No response was specified",
"schema": {
"$ref": "#/definitions/kamino.KaminoSetting"
}
},
"403": {
"description": "Unauthorized without customer header",
"schema": {
"$ref": "#/definitions/kamino.Error"
}
},
"404": {
"description": "Employee not found",
"schema": {
"$ref": "#/definitions/kamino.Error"
}
}
},
"security": [
{
"X-Cupido-Customer-Code": []
}
],
"x-deployment-id": "kamino",
"x-deployment-target-path": "/cupido/employees/{employee_id}/setting",
"x-internal": false,
"produces": [
"application/json",
"application/xml"
]
},
"patch": {
"tags": [
"kamino.KaminoSetting"
],
"summary": "Updates the kamino setting of the employee corresponding to the given employee id.",
"description": "Updates the kamino setting of the employee corresponding to the given employee id.",
"operationId": "kamino.KaminoSettingAPI.update",
"parameters": [
{
"name": "employee_id",
"in": "path",
"description": "id",
"required": true,
"format": "int64",
"type": "integer"
},
{
"required": true,
"name": "body",
"in": "body",
"schema": {
"$ref": "#/definitions/kamino.KaminoSetting"
}
}
],
"responses": {
"204": {
"description": "If successfully patched the setting"
},
"403": {
"description": "Unauthorized without customer header"
},
"404": {
"description": "Employee not found"
}
},
"security": [
{
"X-Cupido-Customer-Code": []
}
],
"x-deployment-id": "kamino",
"x-deployment-target-path": "/cupido/employees/{employee_id}/setting",
"x-internal": false,
"consumes": [
"application/json",
"application/xml"
]
}
},
"/t/harmony/zorgdomein/fhir/connector/bundle_wrapper": {
"post": {
"tags": [
"harmony.ZorgdomeinFhirConnector"
],
"summary": "Create BundleWrapper",
"description": "The bundle contains a single field `data` that contains serialized JSON. The response is an empty JSON object.",
"operationId": "harmony.ZorgdomeinFhirConnectorAPI.create",
"responses": {
"200": {
"description": "No response was specified",
"schema": {
"$ref": "#/definitions/harmony.BundleWrapper"
}
},
"409": {
"description": "Validation errors or Bundle parse errors that prevent the Bundle to be processed",
"schema": {
"$ref": "#/definitions/harmony.JsonResponseDto"
}
},
"412": {
"description": "Bundle processing precondition failed (eg. wrong customer code as preferred identifier)",
"schema": {
"$ref": "#/definitions/harmony.BundleWrapper"
}
},
"422": {
"description": "Bundle parse error",
"schema": {
"$ref": "#/definitions/harmony.BundleWrapper"
}
},
"500": {
"description": "Internal server error",
"schema": {
"$ref": "#/definitions/harmony.BundleWrapper"
}
}
},
"x-deployment-id": "harmony",
"x-deployment-target-path": "/api/fhir/r3/bundle_wrapper",
"x-internal": false,
"parameters": [
{
"description": "BundleWrapper to create",
"required": true,
"name": "body",
"in": "body",
"schema": {
"$ref": "#/definitions/harmony.BundleWrapper"
}
}
],
"consumes": [
"application/json",
"application/xml"
],
"produces": [
"application/json",
"application/xml"
]
}
},
"/t/employees/{employee_id}/employee_portal_profile": {
"get": {
"tags": [
"portal.EmployeePortalProfile"
],
"summary": "Return the employee portal profile of a employee corresponding to the given employee id.",
"operationId": "portal.EmployeePortalProfileAPI.byEmployeeId",
"parameters": [
{
"name": "employee_id",
"in": "path",
"description": "id",
"required": true,
"format": "int64",
"type": "integer"
}
],
"responses": {
"200": {
"description": "No response was specified",
"schema": {
"$ref": "#/definitions/portal.EmployeePortalProfile"
}
}
},
"x-deployment-id": "mdwp",
"x-deployment-target-path": "/cupido/employees/{employee_id}/employee_portal_profile",
"x-internal": false,
"produces": [
"application/json",
"application/xml"
]
}
},
"/t/milo/devices/by_device_code/{device_code}": {
"get": {
"tags": [
"milo.Device"
],
"summary": "Return the device based on device_code.",
"operationId": "milo.DeviceAPI.byDeviceCode",
"parameters": [
{
"name": "device_code",
"in": "path",
"description": "The device code of the device",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "No response was specified",
"schema": {
"$ref": "#/definitions/milo.Device"
}
},
"404": {
"description": "Care provider or device not found"
}
},
"x-deployment-id": "milo",
"x-deployment-target-path": "/cupido/devices/by_device_code/{device_code}",
"x-internal": false,
"produces": [
"application/json",
"application/xml"
]
}
},
"/t/employees/{employee_id}/devices": {
"get": {
"tags": [
"milo.Device"
],
"summary": "Return the devices of an Employee corresponding to the given id.",
"operationId": "milo.DeviceAPI.byEmployeeId",
"parameters": [
{
"name": "employee_id",
"in": "path",
"description": "id",
"required": true,
"format": "int64",
"type": "integer"
}
],
"responses": {
"200": {
"description": "No response was specified",
"schema": {
"$ref": "#/definitions/milo.list.DeviceList"
}
}
},
"x-deployment-id": "milo",
"x-deployment-target-path": "/cupido/devices/by_employee/{employee_id}",
"x-internal": false,
"produces": [
"application/json",
"application/xml"
]
}
},
"/t/milo/totp/by_employee/{employee_id}/request_totp": {
"get": {
"tags": [
"milo.Device"
],
"summary": "Request a one time password by employee.",
"description": "Request will be send to totp app(s) owned by employee to inform mobile to fetch a totp code.",
"operationId": "milo.DeviceAPI.requestOneTimePasswordByEmployee",
"parameters": [
{
"name": "employee_id",
"in": "path",
"required": true,
"format": "int64",
"type": "integer"
}
],
"responses": {
"204": {
"description": "No content on GET method"
},
"400": {
"description": "Care provider not active, employee does not have a valid contract or no totp app."
},
"404": {
"description": "Employee not found"
}
},
"x-deployment-id": "milo",
"x-deployment-target-path": "/cupido/totp/by_employee/{employee_id}/request_totp",
"x-internal": false
}
},
"/t/milo/totp/by_employee/{employee_id}/verify_totp": {
"post": {
"tags": [
"milo.Device"
],
"summary": "Verify if one time password is valid by employee.",
"description": "Verifies if one time password entered by employee is the last unused one created for one of employees devices.",
"operationId": "milo.DeviceAPI.verifyOneTimePasswordByEmployee",
"parameters": [
{
"name": "employee_id",
"in": "path",
"description": "id of the employee",
"required": true,
"format": "int64",
"type": "integer"
},
{
"name": "code",
"in": "query",
"description": "the Time-based One Time Password",
"required": true,
"format": "int64",
"type": "integer"
}
],
"responses": {
"200": {
"description": "No response was specified",
"schema": {
"$ref": "#/definitions/milo.PasswordVerification"
}
},
"400": {
"description": "Care provider not active, employee does not have a valid contract or no totp app."
},
"404": {
"description": "Employee not found"
}
},
"x-deployment-id": "milo",
"x-deployment-target-path": "/cupido/totp/by_employee/{employee_id}/verify_totp",
"x-internal": false,
"produces": [
"application/json",
"application/xml"
]
}
},
"/t/milo/totp/request_totp": {
"get": {
"tags": [
"milo.Device"
],
"summary": "Request a one time password for the device which correspond with the device id.",
"operationId": "milo.DeviceAPI.requestOneTimePassword",
"parameters": [
{
"name": "device_id",
"in": "query",
"description": "id of the device",
"format": "int64",
"type": "integer"
}
],
"responses": {
"204": {
"description": "No content on GET method"
},
"400": {
"description": "Employee does not have a valid totp app."
}
},
"deprecated": true,
"x-deployment-id": "milo",
"x-deployment-target-path": "/cupido/totp/request_totp",
"x-deprecated-since": "20-11-2023",
"x-internal": false
}
},
"/t/milo/totp/verify_totp": {
"post": {
"tags": [
"milo.Device"
],
"summary": "Verify if one time password is valid by device.",
"operationId": "milo.DeviceAPI.verifyOneTimePassword",
"parameters": [
{
"name": "device_id",
"in": "query",
"description": "id of the device",
"format": "int64",
"type": "integer"
},
{
"name": "code",
"in": "query",
"description": "the Time-based One Time Password",
"format": "int64",
"type": "integer"
}
],
"responses": {
"200": {
"description": "No response was specified",
"schema": {
"$ref": "#/definitions/milo.PasswordVerification"
}
}
},
"deprecated": true,
"x-deployment-id": "milo",
"x-deployment-target-path": "/cupido/totp/verify_totp",
"x-deprecated-since": "20-11-2023",
"x-internal": false,
"produces": [
"application/json",
"application/xml"
]
}
},
"/t/employee_schedules/by_employee_id_authorized/{employee_id}": {
"get": {
"tags": [
"moves.EmployeeSchedule"
],
"summary": "Returns the EmployeeSchedule for the given Employee for the requested period.",
"description": "This operation returns the same data as the non-authorized variant,\nexcept less of it in certain cases. Also some model attributes can\nbe left blank.",
"operationId": "moves.EmployeeScheduleAPI.byEmployeeIdAuthorized",
"parameters": [
{
"name": "employee_id",
"in": "path",
"description": "The {id} of the requested Employee",
"required": true,
"format": "int64",
"type": "integer"
},
{
"name": "from",
"in": "query",
"description": "The start date of the period.",
"required": true,
"format": "date",
"type": "string"
},
{
"name": "to",
"in": "query",
"description": "The end date of the period (exclusive).",
"required": true,
"format": "date",
"type": "string"
},
{
"name": "include",
"in": "query",
"description": "See documentation under non-authorized variant of this operation.",
"type": "string"
}
],
"responses": {
"200": {
"description": "No response was specified",
"schema": {
"$ref": "#/definitions/moves.EmployeeSchedule"
}
}
},
"x-deployment-id": "moves",
"x-deployment-target-path": "/cupido_api/moves/authorized/employee_schedules/by_employee_id/{employee_id}",
"x-internal": false,
"produces": [
"application/json",
"application/xml"
]
}
},
"/t/clients/{client_id}/client_planning_filters": {
"get": {
"tags": [
"moves.ClientPlanningFilter"
],
"summary": "Return the client planning filters of a Client within a specified period.",
"operationId": "moves.ClientPlanningFilterAPI.byClientId",
"parameters": [
{
"name": "client_id",
"in": "path",
"description": "The {id} of the requested Client",
"required": true,
"format": "int64",
"type": "integer"
},
{
"name": "valid_from",
"in": "query",
"description": "The start date of the requested period",
"required": true,
"format": "date",
"type": "string"
},
{
"name": "valid_to",
"in": "query",
"description": "The end date of the requested period (exclusive)",
"required": true,
"format": "date",
"type": "string"
}
],
"responses": {
"200": {
"description": "No response was specified",
"schema": {
"$ref": "#/definitions/moves.list.ClientPlanningFilterList"
}
}
},
"x-deployment-id": "moves",
"x-deployment-target-path": "/cupido_api/moves/clients/{client_id}/client_planning_filters",
"x-internal": false,
"produces": [
"application/json",
"application/xml"
]
}
},
"/t/clients/{client_id}/planned_schedule": {
"get": {
"tags": [
"moves.ClientPlannedSchedule"
],
"summary": "Return the client planning filters of a Client within a specified period.",
"operationId": "moves.ClientPlannedScheduleAPI.plannedSchedule",
"parameters": [
{
"name": "client_id",
"in": "path",
"description": "The id of the requested Client",
"required": true,
"format": "int64",
"type": "integer"
},
{
"name": "date",
"in": "query",
"description": "The date for which to check",
"required": true,
"format": "date",
"type": "string"
}
],
"responses": {
"200": {
"description": "No response was specified",
"schema": {
"$ref": "#/definitions/moves.ClientPlannedSchedule"
}
}
},
"x-deployment-id": "moves",
"x-deployment-target-path": "/cupido_api/moves/clients/{client_id}/planned_schedule",
"x-internal": false,
"produces": [
"application/json",
"application/xml"
]
}
},
"/t/moves/employee_export_jobs": {
"post": {
"tags": [
"moves.EmployeeExportJob"
],
"summary": "Request to run the export for a single employee/date combination.\n(1) PresenceLogs are created in OnsPlanning, and immediately exported\nto OnsAdministration. When the export times out, the created\nPresenceLogs will be exported to OnsAdministration asynchronously.\n(2) The export can only be ran once for an employee/date combination.\nRerunning or re-requesting the export is a no-op.",
"operationId": "moves.EmployeeExportJobAPI.create",
"responses": {
"200": {
"description": "PresenceLogs have been created within OnsPlanning, AND have been\nsuccessfully been exported to OnsAdministration.\nThe reponse ONLY contains PresenceLog.id, because after export\nOnsAdministration is the authoritive source of this data.",
"schema": {
"$ref": "#/definitions/moves.EmployeeExportJob"
}
},
"404": {
"description": "Could not find employee"
},
"500": {
"description": "Likely due to OnsAdministration being temporarily unavailable.\nIf PresenceLogs have been created within OnsPlanning,\nthey will be exported to OnsAdministration asynchronously."
}
},
"x-deployment-id": "moves",
"x-deployment-target-path": "/cupido_api/moves/employee_export_jobs/create",
"x-internal": false,
"parameters": [
{
"description": "EmployeeExportJob specifying the employee/date combination for which export is requested.",
"required": true,
"name": "body",
"in": "body",
"schema": {
"$ref": "#/definitions/moves.EmployeeExportJob"
}
}
],
"consumes": [
"application/json",
"application/xml"
],
"produces": [
"application/json",
"application/xml"
]
}
},
"/t/moves/employee_export_jobs/preview": {
"post": {
"tags": [
"moves.EmployeeExportJob"
],
"summary": "Return a preview for the specified employee export job",
"description": "Preview means the response will show which presence logs will be exported but not actually do so.",
"operationId": "moves.EmployeeExportJobAPI.preview",
"responses": {
"200": {
"description": "No response was specified",
"schema": {
"$ref": "#/definitions/moves.EmployeeExportJob"
}
},
"404": {
"description": "Could not find employee"
}
},
"x-deployment-id": "moves",
"x-deployment-target-path": "/cupido_api/moves/employee_export_jobs/preview",
"x-internal": false,
"parameters": [
{
"description": "EmployeeExportJob object to preview",
"required": true,
"name": "body",
"in": "body",
"schema": {
"$ref": "#/definitions/moves.EmployeeExportJob"
}
}
],
"consumes": [
"application/json",
"application/xml"
],
"produces": [
"application/json",
"application/xml"
]
}
},
"/t/employee_schedules/by_employee_id/{employee_id}": {
"get": {
"tags": [
"moves.EmployeeSchedule"
],
"summary": "Returns the EmployeeSchedule for the given Employee for the requested period.",
"operationId": "moves.EmployeeScheduleAPI.byEmployeeId",
"parameters": [
{
"name": "employee_id",
"in": "path",
"description": "The {id} of the requested Employee",
"required": true,
"format": "int64",
"type": "integer"
},
{
"name": "from",
"in": "query",
"description": "The start date of the period.",
"required": true,
"format": "date",
"type": "string"
},
{
"name": "to",
"in": "query",
"description": "The end date of the period (exclusive).",
"required": true,
"format": "date",
"type": "string"
},
{
"name": "include",
"in": "query",
"description": "Comma-separated list of keywords to indicate which\n features/fields/subresources you'd like to have included\n in the response.\n `exportability` - The `.exportable` attribute of various\n models will be computed to indicate whether they would\n be exported by the EmployeeExportApi at this time.\n `flex_signups` - RosterSlots will be included for which\n the employee has signedup, but has not been assigned to\n yet. FlexSignups of colleagues for the same RosterSlot\n are also included.\n `unavailability` - UnavailabilityOccurrences for both\n whole days and parts of days are included.\n `location_authorizations` - LocationAuthorizations are\n included for each RosterSlot and PlannedVisit.\n `availability` - AvailabilityOccurrences are included.\n `leave_requests` - LeaveRequestOccurrences are included.",
"type": "string"
}
],
"responses": {
"200": {
"description": "No response was specified",
"schema": {
"$ref": "#/definitions/moves.EmployeeSchedule"
}
}
},
"x-deployment-id": "moves",
"x-deployment-target-path": "/cupido_api/moves/employee_schedules/by_employee_id/{employee_id}",
"x-internal": false,
"produces": [
"application/json",
"application/xml"
]
}
},
"/t/employees/{employee_id}/employee_moves_profile": {
"get": {
"tags": [
"moves.EmployeeMovesProfile"
],
"summary": "Return the moves profile of an employee specified by id.",
"operationId": "moves.EmployeeMovesProfileAPI.byEmployeeId",
"parameters": [
{
"name": "employee_id",
"in": "path",
"description": "The {id} of the requested Employee",
"required": true,
"format": "int64",
"type": "integer"
}
],
"responses": {
"200": {
"description": "No response was specified",
"schema": {
"$ref": "#/definitions/moves.EmployeeMovesProfile"
}
}
},
"x-deployment-id": "moves",
"x-deployment-target-path": "/cupido_api/moves/employees/{employee_id}/employee_moves_profile",
"x-internal": false,
"produces": [
"application/json",
"application/xml"
]
}
},
"/t/employee_planning/employees/{employee_id}/planning": {
"get": {
"tags": [
"moves.EmployeePlanning"
],
"summary": "Returns the Planning for the given Employee for the requested period.",
"operationId": "moves.EmployeePlanningAPI.planningByEmployeeId",
"parameters": [
{
"name": "employee_id",
"in": "path",
"description": "The {id} of the requested Employee",
"required": true,
"format": "int64",
"type": "integer"
},
{
"name": "date",
"in": "query",
"description": "The start date of the period.",
"required": true,
"format": "date",
"type": "string"
}
],
"responses": {
"200": {
"description": "Success",
"schema": {
"$ref": "#/definitions/moves.EmployeePlanning"
}
}
},
"x-deployment-id": "moves",
"x-deployment-target-path": "/cupido_api/moves/employees/{employee_id}/planning",
"x-internal": false,
"produces": [
"application/json",
"application/xml"
]
}
},
"/t/employee_planning/employees/{employee_id}/roster": {
"get": {
"tags": [
"moves.EmployeePlanning"
],
"summary": "Returns the Roster for the given Employee for the requested period.",
"operationId": "moves.EmployeePlanningAPI.rosterByEmployeeId",
"parameters": [
{
"name": "employee_id",
"in": "path",
"description": "The {id} of the requested Employee",
"required": true,
"format": "int64",
"type": "integer"
},
{
"name": "from",
"in": "query",
"description": "The start date of the period.",
"required": true,
"format": "date",
"type": "string"
},
{
"name": "to",
"in": "query",
"description": "The end date of the period (exclusive).",
"required": true,
"format": "date",
"type": "string"
}
],
"responses": {
"200": {
"description": "Success",
"schema": {
"$ref": "#/definitions/moves.list.EmployeeRosterDayList"
}
}
},
"x-deployment-id": "moves",
"x-deployment-target-path": "/cupido_api/moves/employees/{employee_id}/roster",
"x-internal": false,
"produces": [
"application/json",
"application/xml"
]
}
},
"/t/moves/employees/{employee_id}/shift_assignments/upcoming": {
"get": {
"tags": [
"moves.ShiftAssignment"
],
"summary": "Return the first upcoming shift assignment of an Employee specified by id",
"description": "The response is a list of shift assignments of length 1",
"operationId": "moves.ShiftAssignmentAPI.upcomingForEmployee",
"parameters": [
{
"name": "employee_id",
"in": "path",
"description": "The {id} of the requested Employee",
"required": true,
"format": "int64",
"type": "integer"
}
],
"responses": {
"200": {
"description": "No response was specified",
"schema": {
"$ref": "#/definitions/moves.list.ShiftAssignmentList"
}
}
},
"x-deployment-id": "moves",
"x-deployment-target-path": "/cupido_api/moves/employees/{employee_id}/shift_assignments/upcoming",
"x-internal": false,
"produces": [
"application/json",
"application/xml"
]
}
},
"/t/clients/{client_id}/planned_visits": {
"get": {
"tags": [
"moves.PlannedVisit"
],
"summary": "Return the planned visits of a Client within a specified period.",
"operationId": "moves.PlannedVisitAPI.byClientId",
"parameters": [
{
"name": "client_id",
"in": "path",
"description": "The id of the Client whose PlannedVisits you want to retrieve.",
"required": true,
"format": "int64",
"type": "integer"
},
{
"name": "valid_from",
"in": "query",
"description": "The start date of the period.",
"required": true,
"format": "date",
"type": "string"
},
{
"name": "valid_to",
"in": "query",
"description": "The end date of the period (exclusive).",
"required": true,
"format": "date",
"type": "string"
},
{
"name": "include",
"in": "query",
"description": "Comma-separated list of keywords to indicate which\nfeatures/fields/subresources you'd like to have included\nin the response.\nNo keywords supported at the moment. Parameter is defined\nfor symmetry with PlannedVisitAPI.byEmployeeId.",
"type": "string"
}
],
"responses": {
"200": {
"description": "Success",
"schema": {
"$ref": "#/definitions/moves.list.PlannedVisitList"
}
},
"400": {
"description": "Parsing errors"
}
},
"x-deployment-id": "moves",
"x-deployment-target-path": "/cupido_api/moves/planned_visits/by_client_id/{client_id}",
"x-internal": false,
"produces": [
"application/json",
"application/xml"
]
}
},
"/t/employees/{employee_id}/planned_visits": {
"get": {
"tags": [
"moves.PlannedVisit"
],
"summary": "Return the planned visits of an Employee within a specified period.",
"operationId": "moves.PlannedVisitAPI.byEmployeeId",
"parameters": [
{
"name": "employee_id",
"in": "path",
"description": "The id of the Employee whose PlannedVisits you want to retrieve.",
"required": true,
"format": "int64",
"type": "integer"
},
{
"name": "valid_from",
"in": "query",
"description": "The start date of the period.",
"required": true,
"format": "date",
"type": "string"
},
{
"name": "valid_to",
"in": "query",
"description": "The end date of the period (exclusive).",
"required": true,
"format": "date",
"type": "string"
},
{
"name": "include",
"in": "query",
"description": "Comma-separated list of keywords to indicate which\nfeatures/fields/subresources you'd like to have included\nin the response.\n`exportability` - The `Plancard.exportable` attribute\nwill be computed to indicate whether a plancard would\nbe exported by the EmployeeExportApi at this time.",
"type": "string"
}
],
"responses": {
"200": {
"description": "Success",
"schema": {
"$ref": "#/definitions/moves.list.PlannedVisitList"
}
},
"400": {
"description": "Parsing errors"
}
},
"x-deployment-id": "moves",
"x-deployment-target-path": "/cupido_api/moves/planned_visits/by_employee_id/{employee_id}",
"x-internal": false,
"produces": [
"application/json",
"application/xml"
]
}
},
"/t/moves/roster_slots/{roster_slot_id}/assign": {
"post": {
"tags": [
"moves.RosterSlot"
],
"summary": "Assigns a RosterSlot to an Employee by creating a ShiftAssignment for it.",
"description": "Only RosterSlots for which a flexrequest exists can be assigned through this API.",
"operationId": "moves.RosterSlotAPI.assign",
"parameters": [
{
"name": "roster_slot_id",
"in": "path",
"description": "The {id} of the roster slot",
"required": true,
"type": "string"
},
{
"description": "The shift assignment to be added",
"required": true,
"name": "body",
"in": "body",
"schema": {
"$ref": "#/definitions/moves.ShiftAssignment"
}
}
],
"responses": {
"200": {
"description": "No response was specified",
"schema": {
"$ref": "#/definitions/moves.RosterSlot"
}
}
},
"x-deployment-id": "moves",
"x-deployment-target-path": "/cupido_api/moves/roster_slots/{roster_slot_id}/assign",
"x-internal": false,
"consumes": [
"application/json",
"application/xml"
],
"produces": [
"application/json",
"application/xml"
]
}
},
"/t/moves/roster_slots/{roster_slot_id}/clear_assignments": {
"delete": {
"tags": [
"moves.RosterSlot"
],
"summary": "Clears all ShiftAssignments for the specified RosterSlot.",
"description": "Only RosterSlots for which a flexrequest exists can be cleared through this API.",
"operationId": "moves.RosterSlotAPI.clearAssignmentsV2",
"parameters": [
{
"name": "roster_slot_id",
"in": "path",
"description": "The {id} of the roster slot",
"required": true,
"type": "string"
}
],
"responses": {
"204": {
"description": "Deleted"
}
},
"x-deployment-id": "moves",
"x-deployment-target-path": "/cupido_api/moves/roster_slots/{roster_slot_id}/clear_assignments",
"x-internal": false
}
},
"/t/moves/shift_assignments/starting_between": {
"get": {
"tags": [
"moves.ShiftAssignment"
],
"summary": "Return all the shift assignments starting within the specified period",
"description": "The requested period must be 1 hour or less",
"operationId": "moves.ShiftAssignmentAPI.startingBetween",
"parameters": [
{
"name": "start_datetime",
"in": "query",
"description": "The start of the requested period",
"required": true,
"format": "date-time",
"type": "string",
"x-example": "2014-12-29T00:00:00.000Z"
},
{
"name": "end_datetime",
"in": "query",
"description": "The end of the requested period (exclusive)",
"required": true,
"format": "date-time",
"type": "string",
"x-example": "2014-12-29T00:00:00.000Z"
}
],
"responses": {
"200": {
"description": "No response was specified",
"schema": {
"$ref": "#/definitions/moves.list.ShiftAssignmentList"
}
},
"400": {
"description": "Invalid period, or parsing errors"
}
},
"x-deployment-id": "moves",
"x-deployment-target-path": "/cupido_api/moves/shift_assignments/starting_between",
"x-internal": false,
"produces": [
"application/json",
"application/xml"
]
}
},
"/t/moves/shifts/{id}": {
"get": {
"tags": [
"moves.Shift"
],
"summary": "Get a shift by its ID",
"operationId": "moves.ShiftAPI.byId",
"parameters": [
{
"name": "id",
"in": "path",
"description": "used for selecting Shift",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "No response was specified",
"schema": {
"$ref": "#/definitions/moves.Shift"
}
},
"404": {
"description": "Could not find Shift"
}
},
"x-deployment-id": "moves",
"x-deployment-target-path": "/cupido_api/moves/shifts/{id}",
"x-internal": false,
"produces": [
"application/json",
"application/xml"
]
}
},
"/t/teams/{team_id}/on_call_roster_slots": {
"get": {
"tags": [
"moves.RosterSlot"
],
"summary": "Return the on call roster slots of a Team on the specified date.",
"operationId": "moves.RosterSlotAPI.onCallByTeamId",
"parameters": [
{
"name": "team_id",
"in": "path",
"description": "The {id} of the requested team",
"required": true,
"format": "int64",
"type": "integer"
},
{
"name": "date",
"in": "query",
"description": "The requested date",
"required": true,
"format": "date",
"type": "string"
}
],
"responses": {
"200": {
"description": "No response was specified",
"schema": {
"$ref": "#/definitions/moves.list.RosterSlotList"
}
}
},
"x-deployment-id": "moves",
"x-deployment-target-path": "/cupido_api/moves/teams/{team_id}/on_call_rosterslots",
"x-internal": false,
"produces": [
"application/json",
"application/xml"
]
}
},
"/t/teams/{team_id}/roster_slots": {
"get": {
"tags": [
"moves.RosterSlot"
],
"summary": "Return the roster slots of a Team within the specified period",
"operationId": "moves.RosterSlotAPI.byTeamId",
"parameters": [
{
"name": "team_id",
"in": "path",
"description": "The {id} of the requested team",
"required": true,
"format": "int64",
"type": "integer"
},
{
"name": "valid_from",
"in": "query",
"description": "The start date of the requested period",
"required": true,
"format": "date",
"type": "string"
},
{
"name": "valid_to",
"in": "query",
"description": "The end date of the requested period (exclusive)",
"required": true,
"format": "date",
"type": "string"
}
],
"responses": {
"200": {
"description": "No response was specified",
"schema": {
"$ref": "#/definitions/moves.list.RosterSlotList"
}
}
},
"x-deployment-id": "moves",
"x-deployment-target-path": "/cupido_api/moves/teams/{team_id}/rosterslots",
"x-internal": false,
"produces": [
"application/json",
"application/xml"
]
}
},
"/t/moves/working_employee_report": {
"get": {
"tags": [
"moves.WorkingEmployeeReport"
],
"summary": "Return the list of Employee ids working within the specified period.",
"description": "Working according to the planning.",
"operationId": "moves.WorkingEmployeeReportAPI.between",
"parameters": [
{
"name": "start_datetime",
"in": "query",
"description": "The start of the requested period",
"required": true,
"format": "date-time",
"type": "string",
"x-example": "2014-12-29T00:00:00.000Z"
},
{
"name": "end_datetime",
"in": "query",
"description": "The end of the requested period (exclusive)",
"required": true,
"format": "date-time",
"type": "string",
"x-example": "2014-12-29T00:00:00.000Z"
}
],
"responses": {
"200": {
"description": "No response was specified",
"schema": {
"$ref": "#/definitions/moves.WorkingEmployeeReport"
}
}
},
"x-deployment-id": "moves",
"x-deployment-target-path": "/cupido_api/moves/working_employee_report",
"x-internal": false,
"produces": [
"application/json",
"application/xml"
]
}
},
"/t/openehr/archetype_wrappers": {
"get": {
"tags": [
"openehr.ArchetypeWrapper"
],
"summary": "Finds a list of all archetypeWrappers in the requested format, filtering by archetypeId.",
"operationId": "openehr.ArchetypeWrapperAPI.all",
"parameters": [
{
"name": "archetype_form",
"in": "query",
"description": "Format of the serialized archetypes. (Requires to be {@link ArchetypeForm#METADATA}.)",
"required": true,
"enum": [
"METADATA",
"DIFFERENTIAL",
"DIFFERENTIAL_STANDARDS_COMPLIANT_JSON",
"FLAT",
"FLAT_STANDARDS_COMPLIANT_JSON",
"OPERATIONAL_TEMPLATE",
"OPERATIONAL_TEMPLATE_STANDARDS_COMPLIANT_JSON"
],
"type": "string"
},
{
"name": "archetype_id",
"in": "query",
"description": "Id of the archetype to filter by. May have partial version information e.g. openEHR-EHR-COMPOSITION.barthel.v2",
"type": "string"
}
],
"responses": {
"200": {
"description": "No response was specified",
"schema": {
"$ref": "#/definitions/openehr.list.ArchetypeWrapperList"
}
}
},
"x-deployment-id": "ons_ehr",
"x-deployment-target-path": "/cupido_api/archetype_wrappers",
"x-internal": false,
"produces": [
"application/json",
"application/xml"
]
}
},
"/t/openehr/archetype_wrappers/{id}": {
"get": {
"tags": [
"openehr.ArchetypeWrapper"
],
"summary": "Finds an archetypeWrapper by archetypeId in the requested format",
"operationId": "openehr.ArchetypeWrapperAPI.byId",
"parameters": [
{
"name": "id",
"in": "path",
"description": "The id of the archetype, f.e. openEHR-EHR-COMPOSITION.barthel.v2.0.0",
"required": true,
"type": "string"
},
{
"name": "archetype_form",
"in": "query",
"description": "Format of the serialized archetype. (Use {@link ArchetypeForm#METADATA} to avoid fetching large JSON blobs.)",
"required": true,
"enum": [
"METADATA",
"DIFFERENTIAL",
"DIFFERENTIAL_STANDARDS_COMPLIANT_JSON",
"FLAT",
"FLAT_STANDARDS_COMPLIANT_JSON",
"OPERATIONAL_TEMPLATE",
"OPERATIONAL_TEMPLATE_STANDARDS_COMPLIANT_JSON"
],
"type": "string"
}
],
"responses": {
"200": {
"description": "No response was specified",
"schema": {
"$ref": "#/definitions/openehr.ArchetypeWrapper"
}
}
},
"x-deployment-id": "ons_ehr",
"x-deployment-target-path": "/cupido_api/archetype_wrappers/{id}",
"x-internal": false,
"produces": [
"application/json",
"application/xml"
]
}
},
"/t/openehr/archetype_wrappers/creatable": {
"get": {
"tags": [
"openehr.ArchetypeWrapper"
],
"summary": "Finds a list of archetypeWrappers that are creatable",
"operationId": "openehr.ArchetypeWrapperAPI.creatable",
"parameters": [
{
"name": "archetype_form",
"in": "query",
"description": "Format of the serialized archetypes. (Requires to be {@link ArchetypeForm#METADATA}.)",
"required": true,
"enum": [
"METADATA",
"DIFFERENTIAL",
"DIFFERENTIAL_STANDARDS_COMPLIANT_JSON",
"FLAT",
"FLAT_STANDARDS_COMPLIANT_JSON",
"OPERATIONAL_TEMPLATE",
"OPERATIONAL_TEMPLATE_STANDARDS_COMPLIANT_JSON"
],
"type": "string"
},
{
"name": "module_uuid",
"in": "query",
"description": "Module UUID(s) of the requested archetypes. When provided, only metadata of archetypes assigned to the module are returned.",
"required": false,
"type": "array",
"items": {
"type": "string",
"format": "string",
"example": "adc5ab71-364a-4661-ae51-586f781b1910"
},
"collectionFormat": "multi"
}
],
"responses": {
"200": {
"description": "No response was specified",
"schema": {
"$ref": "#/definitions/openehr.list.ArchetypeWrapperList"
}
}
},
"x-deployment-id": "ons_ehr",
"x-deployment-target-path": "/cupido_api/archetype_wrappers/creatable",
"x-internal": false,
"produces": [
"application/json",
"application/xml"
]
}
},
"/t/openehr/archetype_wrappers/creatable/current_versions": {
"get": {
"tags": [
"openehr.ArchetypeWrapper"
],
"summary": "Finds a list of archetypeWrappers that are the creatable current versions",
"operationId": "openehr.ArchetypeWrapperAPI.creatableCurrentVersions",
"parameters": [
{
"name": "archetype_form",
"in": "query",
"description": "Format of the serialized archetypes. (Requires to be {@link ArchetypeForm#METADATA}.)",
"required": true,
"enum": [
"METADATA",
"DIFFERENTIAL",
"DIFFERENTIAL_STANDARDS_COMPLIANT_JSON",
"FLAT",
"FLAT_STANDARDS_COMPLIANT_JSON",
"OPERATIONAL_TEMPLATE",
"OPERATIONAL_TEMPLATE_STANDARDS_COMPLIANT_JSON"
],
"type": "string"
},
{
"name": "module_uuid",
"in": "query",
"description": "Module UUID(s) of the requested archetypes. When provided, only metadata of archetypes assigned to the module are returned.",
"required": false,
"type": "array",
"items": {
"type": "string",
"format": "string",
"example": "adc5ab71-364a-4661-ae51-586f781b1910"
},
"collectionFormat": "multi"
}
],
"responses": {
"200": {
"description": "No response was specified",
"schema": {
"$ref": "#/definitions/openehr.list.ArchetypeWrapperList"
}
}
},
"x-deployment-id": "ons_ehr",
"x-deployment-target-path": "/cupido_api/archetype_wrappers/creatable/current_versions",
"x-internal": false,
"produces": [
"application/json",
"application/xml"
]
}
},
"/t/openehr/archetype_wrappers/for_client/{client_id}": {
"get": {
"tags": [
"openehr.ArchetypeWrapper"
],
"summary": "Finds a list of archetypeWrappers for a given client id",
"operationId": "openehr.ArchetypeWrapperAPI.forClient",
"parameters": [
{
"name": "client_id",
"in": "path",
"description": "id of the client",
"required": true,
"format": "int64",
"type": "integer"
},
{
"name": "archetype_form",
"in": "query",
"description": "Format of the serialized archetypes. (Requires to be {@link ArchetypeForm#METADATA}.)",
"required": true,
"enum": [
"METADATA",
"DIFFERENTIAL",
"DIFFERENTIAL_STANDARDS_COMPLIANT_JSON",
"FLAT",
"FLAT_STANDARDS_COMPLIANT_JSON",
"OPERATIONAL_TEMPLATE",
"OPERATIONAL_TEMPLATE_STANDARDS_COMPLIANT_JSON"
],
"type": "string"
},
{
"name": "module_uuid",
"in": "query",
"description": "UUID's of modules that the requested archetypes should belong to",
"required": false,
"type": "array",
"items": {
"type": "string",
"format": "uuid"
},
"collectionFormat": "multi"
}
],
"responses": {
"200": {
"description": "No response was specified",
"schema": {
"$ref": "#/definitions/openehr.list.ArchetypeWrapperList"
}
}
},
"x-deployment-id": "ons_ehr",
"x-deployment-target-path": "/cupido_api/archetype_wrappers/for_client/{client_id}",
"x-internal": false,
"produces": [
"application/json",
"application/xml"
]
}
},
"/t/openehr/authorized_composition_wrappers/{id}/composition_versions": {
"get": {
"tags": [
"openehr.CompositionWrapper"
],
"summary": "Finds all CompositionVersionWrappers of a given composition.",
"description": "Finds all {@link CompositionVersionWrapper}s of a given composition.\nContains logic for both authorized and non-authorized API usage.\nThis API supports pogination by using limit and offset. By default will only the 20 most recent results.",
"operationId": "openehr.CompositionWrapperAPI.authorizedCompositionVersions",
"parameters": [
{
"name": "id",
"in": "path",
"description": "The id of the composition",
"required": true,
"format": "int64",
"type": "integer"
},
{
"name": "reference_model_object_form",
"in": "query",
"description": "The requested form of the composition",
"required": true,
"enum": [
"RM_OBJECT",
"PATHS_AND_VALUES",
"METADATA",
"RM_OBJECT_STANDARDS_COMPLIANT_JSON"
],
"type": "string"
},
{
"name": "client_id",
"in": "query",
"description": "The id of the client",
"required": true,
"format": "int64",
"type": "integer"
},
{
"name": "limit",
"in": "query",
"description": "The amount of {@link CompositionVersionWrapper}s should be returned",
"format": "int32",
"default": 20,
"type": "integer"
},
{
"name": "offset",
"in": "query",
"description": "Offsets the number of records of the first result",
"format": "int32",
"type": "integer"
}
],
"responses": {
"200": {
"description": "No response was specified",
"schema": {
"$ref": "#/definitions/openehr.list.CompositionVersionWrapperList"
}
}
},
"x-deployment-id": "ons_ehr",
"x-deployment-target-path": "/cupido_api/authorized_composition_wrappers/{id}/composition_versions",
"x-internal": false,
"produces": [
"application/json",
"application/xml"
]
}
},
"/t/openehr/clients/by_archetype_id/{archetype_id}": {
"get": {
"tags": [
"Client"
],
"summary": "Returns the clients (but only the client ids) who have data for the given archetype in the given period.",
"description": "When querying\nan archetype id, this also returns clients with data for subversions of that archetype id.\n\nFor example openEHR-EHR-COMPOSITION.berg_balance_scale_report.v1 returns clients with data for\nopenEHR-EHR-COMPOSITION.berg_balance_scale_report.v1.0.2 and openEHR-EHR-COMPOSITION.berg_balance_scale_report.v1.5.0,\nbut not for openEHR-EHR-COMPOSITION.berg_balance_scale_report.v2.0.0.\n\nThis will take into account data with lifecycle state COMPLETE and INCOMPLETE, but not DELETED.",
"operationId": "ClientAPI.allByArchetypeId",
"parameters": [
{
"name": "archetype_id",
"in": "path",
"description": "- archetype id can contain the archetype concept plus any precision of the version, like v1 or v1.1.1",
"required": true,
"type": "string"
},
{
"name": "valid_from",
"in": "query",
"description": "- begin date of the period",
"format": "date",
"type": "string"
},
{
"name": "valid_to",
"in": "query",
"description": "- end date of the period",
"format": "date",
"type": "string"
}
],
"responses": {
"200": {
"description": "No response was specified",
"schema": {
"$ref": "#/definitions/list.ClientList"
}
}
},
"x-deployment-id": "ons_ehr",
"x-deployment-target-path": "/cupido_api/clients/by_archetype_id/{archetype_id}",
"x-internal": false,
"produces": [
"application/json",
"application/xml"
]
}
},
"/t/openehr/composition_wrappers": {
"get": {
"tags": [
"openehr.CompositionWrapper"
],
"summary": "Finds all CompositionWrappers of all clients that are an instance of the given archetypeId.",
"description": "This API supports pagination by using limit, and by default will only return the 20 most recent results.",
"operationId": "openehr.CompositionWrapperAPI.all",
"parameters": [
{
"name": "client_id",
"in": "query",
"description": "The client id",
"format": "int64",
"type": "integer"
},
{
"name": "archetype_id",
"in": "query",
"description": "Id of the archetype that the requested compositions should be an instance of",
"type": "string"
},
{
"name": "reference_model_object_form",
"in": "query",
"description": "The requested form of the compositions",
"required": true,
"enum": [
"RM_OBJECT",
"PATHS_AND_VALUES",
"METADATA",
"RM_OBJECT_STANDARDS_COMPLIANT_JSON"
],
"type": "string"
},
{
"name": "with_incomplete",
"in": "query",
"description": "Set to true to also include compositions with lifecycleState INCOMPLETE. By default only compositions with lifecycleState COMPLETE are included.",
"type": "boolean"
},
{
"name": "limit",
"in": "query",
"description": "Limits the number of results returned",
"format": "int32",
"type": "integer"
},
{
"name": "offset",
"in": "query",
"description": "Offsets the number of records of the first result.",
"format": "int32",
"type": "integer"
},
{
"name": "valid_from",
"in": "query",
"description": "Starting time",
"format": "date",
"type": "string"
},
{
"name": "valid_to",
"in": "query",
"description": "End time",
"format": "date",
"type": "string"
},
{
"name": "updated_since",
"in": "query",
"description": "Fetch only the compositions that were updated on or after the given date",
"format": "local-date-time",
"type": "string"
},
{
"name": "module_uuid",
"in": "query",
"description": "UUID's of modules that the archetypes of the requested compositions should belong to",
"required": false,
"type": "array",
"items": {
"type": "string",
"format": "uuid"
},
"collectionFormat": "multi"
}
],
"responses": {
"200": {
"description": "No response was specified",
"schema": {
"$ref": "#/definitions/openehr.list.CompositionWrapperList"
}
},
"404": {
"description": "When the clientId does not exist"
}
},
"x-deployment-id": "ons_ehr",
"x-deployment-target-path": "/cupido_api/composition_wrappers",
"x-internal": false,
"produces": [
"application/json",
"application/xml"
]
},
"post": {
"tags": [
"openehr.CompositionWrapper"
],
"summary": "Create CompositionWrapper",
"operationId": "openehr.CompositionWrapperAPI.create",
"responses": {
"200": {
"description": "No response was specified",
"schema": {
"$ref": "#/definitions/openehr.CompositionWrapper"
}
}
},
"x-deployment-id": "ons_ehr",
"x-deployment-target-path": "/cupido_api/composition_wrappers",
"x-internal": false,
"parameters": [
{
"description": "CompositionWrapper to create",
"required": true,
"name": "body",
"in": "body",
"schema": {
"$ref": "#/definitions/openehr.CompositionWrapper"
}
}
],
"consumes": [
"application/json",
"application/xml"
],
"produces": [
"application/json",
"application/xml"
]
},
"delete": {
"tags": [
"openehr.CompositionWrapper"
],
"summary": "Deletes multiple Compositions by given id's",
"operationId": "openehr.CompositionWrapperAPI.deleteMultiple",
"parameters": [
{
"name": "id",
"in": "query",
"description": "A list with Identifiers of CompositionWrappers to delete",
"required": true,
"type": "array",
"items": {
"type": "integer",
"format": "int64"
},
"collectionFormat": "multi"
}
],
"responses": {
"204": {
"description": "Deleted"
},
"404": {
"description": "When one or more compositions do not exist or are deleted"
}
},
"x-deployment-id": "ons_ehr",
"x-deployment-target-path": "/cupido_api/composition_wrappers",
"x-internal": false
}
},
"/t/openehr/composition_wrappers/all": {
"get": {
"tags": [
"openehr.CompositionWrapper"
],
"summary": "Finds all CompositionWrappers of all clients that are an instance of the given archetypeId.",
"description": "This API supports pagination by using limit, and by default will only return the 20 most recent results.\n\nDeprecated operation, please use 'openehr.CompositionWrapperAPI.all' instead",
"operationId": "openehr.CompositionWrapperAPI.all2",
"parameters": [
{
"name": "client_id",
"in": "query",
"description": "The client id",
"format": "int64",
"type": "integer"
},
{
"name": "archetype_id",
"in": "query",
"description": "Id of the archetype that the requested compositions should be an instance of",
"type": "string"
},
{
"name": "reference_model_object_form",
"in": "query",
"description": "The requested form of the compositions",
"required": true,
"enum": [
"RM_OBJECT",
"PATHS_AND_VALUES",
"METADATA",
"RM_OBJECT_STANDARDS_COMPLIANT_JSON"
],
"type": "string"
},
{
"name": "with_incomplete",
"in": "query",
"description": "Set to true to also include compositions with lifecycleState INCOMPLETE. By default only compositions with lifecycleState COMPLETE are included.",
"type": "boolean"
},
{
"name": "limit",
"in": "query",
"description": "Limits the number of results returned",
"format": "int32",
"type": "integer"
},
{
"name": "offset",
"in": "query",
"description": "Offsets the number of records of the first result.",
"format": "int32",
"type": "integer"
},
{
"name": "valid_from",
"in": "query",
"description": "Starting time",
"format": "date",
"type": "string"
},
{
"name": "valid_to",
"in": "query",
"description": "End time",
"format": "date",
"type": "string"
},
{
"name": "updated_since",
"in": "query",
"description": "Fetch only the compositions that were updated on or after the given date",
"format": "local-date-time",
"type": "string"
},
{
"name": "module_uuid",
"in": "query",
"description": "UUID's of modules that the archetypes of the requested compositions should belong to",
"required": false,
"type": "array",
"items": {
"type": "string",
"format": "uuid"
},
"collectionFormat": "multi"
}
],
"responses": {
"200": {
"description": "No response was specified",
"schema": {
"$ref": "#/definitions/openehr.list.CompositionWrapperList"
}
},
"404": {
"description": "When the clientId does not exist"
}
},
"x-deployment-id": "ons_ehr",
"x-deployment-target-path": "/cupido_api/composition_wrappers",
"x-internal": false,
"produces": [
"application/json",
"application/xml"
],
"deprecated": true,
"x-deprecated-since": "03-05-2023"
}
},
"/t/openehr/composition_wrappers/{id}": {
"get": {
"tags": [
"openehr.CompositionWrapper"
],
"summary": "Finds a compositionWrapper in the requested form",
"operationId": "openehr.CompositionWrapperAPI.byId",
"parameters": [
{
"name": "id",
"in": "path",
"description": "The id of the composition",
"required": true,
"format": "int64",
"type": "integer"
},
{
"name": "reference_model_object_form",
"in": "query",
"description": "The requested form of the composition",
"required": true,
"enum": [
"RM_OBJECT",
"PATHS_AND_VALUES",
"METADATA",
"RM_OBJECT_STANDARDS_COMPLIANT_JSON"
],
"type": "string"
}
],
"responses": {
"200": {
"description": "No response was specified",
"schema": {
"$ref": "#/definitions/openehr.CompositionWrapper"
}
},
"404": {
"description": "When the composition does not exist or is deleted"
}
},
"x-deployment-id": "ons_ehr",
"x-deployment-target-path": "/cupido_api/composition_wrappers/{id}",
"x-internal": false,
"produces": [
"application/json",
"application/xml"
]
},
"put": {
"tags": [
"openehr.CompositionWrapper"
],
"summary": "Updates the given CompositionWrapper",
"operationId": "openehr.CompositionWrapperAPI.update",
"parameters": [
{
"name": "id",
"in": "path",
"description": "The id of the composition",
"required": true,
"format": "int64",
"type": "integer"
},
{
"description": "CompositionWrapper to update",
"required": true,
"name": "body",
"in": "body",
"schema": {
"$ref": "#/definitions/openehr.CompositionWrapper"
}
}
],
"responses": {
"200": {
"description": "No response was specified",
"schema": {
"$ref": "#/definitions/openehr.CompositionWrapper"
}
},
"404": {
"description": "When the composition does not exist or is deleted"
}
},
"x-deployment-id": "ons_ehr",
"x-deployment-target-path": "/cupido_api/composition_wrappers/{id}",
"x-internal": false,
"consumes": [
"application/json",
"application/xml"
],
"produces": [
"application/json",
"application/xml"
]
},
"delete": {
"tags": [
"openehr.CompositionWrapper"
],
"summary": "Deletes the CompositionWrapper with given id",
"operationId": "openehr.CompositionWrapperAPI.delete",
"parameters": [
{
"name": "id",
"in": "path",
"description": "The id of the composition",
"required": true,
"format": "int64",
"type": "integer"
}
],
"responses": {
"200": {
"description": "No response was specified",
"schema": {
"$ref": "#/definitions/openehr.CompositionWrapper"
}
},
"404": {
"description": "When the composition does not exist or is deleted"
}
},
"x-deployment-id": "ons_ehr",
"x-deployment-target-path": "/cupido_api/composition_wrappers/{id}",
"x-internal": false,
"produces": [
"application/json",
"application/xml"
]
}
},
"/t/openehr/composition_wrappers/{id}/composition_versions": {
"get": {
"tags": [
"openehr.CompositionWrapper"
],
"summary": "Finds all CompositionVersionWrappers of a given composition.",
"description": "Finds all {@link CompositionVersionWrapper}s of a given composition.\nContains logic for both authorized and non-authorized API usage.\nThis API supports pogination by using limit and offset. By default will only the 20 most recent results.",
"operationId": "openehr.CompositionWrapperAPI.compositionVersions",
"parameters": [
{
"name": "id",
"in": "path",
"description": "The id of the composition",
"required": true,
"format": "int64",
"type": "integer"
},
{
"name": "reference_model_object_form",
"in": "query",
"description": "The requested form of the composition",
"required": true,
"enum": [
"RM_OBJECT",
"PATHS_AND_VALUES",
"METADATA",
"RM_OBJECT_STANDARDS_COMPLIANT_JSON"
],
"type": "string"
},
{
"name": "limit",
"in": "query",
"description": "The amount of {@link CompositionVersionWrapper}s should be returned",
"format": "int32",
"default": 20,
"type": "integer"
},
{
"name": "offset",
"in": "query",
"description": "Offsets the number of records of the first result",
"format": "int32",
"type": "integer"
},
{
"name": "client_id",
"in": "query",
"description": "The client id",
"format": "int64",
"type": "integer"
}
],
"responses": {
"200": {
"description": "No response was specified",
"schema": {
"$ref": "#/definitions/openehr.list.CompositionVersionWrapperList"
}
}
},
"x-deployment-id": "ons_ehr",
"x-deployment-target-path": "/cupido_api/composition_wrappers/{id}/composition_versions",
"x-internal": false,
"produces": [
"application/json",
"application/xml"
]
}
},
"/t/openehr/composition_wrappers/{id}/incoming_links": {
"get": {
"tags": [
"openehr.CompositionWrapper"
],
"summary": "Finds all reference model objects linking to given composition that are an instance of the given archetypeIds.",
"description": "This API supports pagination by using limit, and by default will only return the 20 most recent results.",
"operationId": "openehr.CompositionWrapperAPI.incomingLinks",
"parameters": [
{
"name": "id",
"in": "path",
"description": "The id of the composition",
"required": true,
"format": "int64",
"type": "integer"
},
{
"name": "reference_model_object_form",
"in": "query",
"description": "The requested form of the reference model object",
"required": true,
"enum": [
"RM_OBJECT",
"PATHS_AND_VALUES",
"METADATA",
"RM_OBJECT_STANDARDS_COMPLIANT_JSON"
],
"type": "string"
},
{
"name": "archetype_id",
"in": "query",
"description": "List of archetype Ids that the requested compositions should be an instance of",
"type": "array",
"items": {
"type": "string"
},
"collectionFormat": "multi"
},
{
"name": "limit",
"in": "query",
"description": "Limits the number of results returned",
"format": "int32",
"type": "integer"
},
{
"name": "offset",
"in": "query",
"description": "Offsets the number of records of the first result.",
"format": "int32",
"type": "integer"
},
{
"name": "valid_from",
"in": "query",
"description": "Starting time",
"format": "date",
"type": "string"
},
{
"name": "valid_to",
"in": "query",
"description": "End time",
"format": "date",
"type": "string"
},
{
"name": "module_uuid",
"in": "query",
"description": "UUID's of modules that the archetypes of the requested compositions should belong to",
"required": false,
"type": "array",
"items": {
"type": "string",
"format": "uuid"
},
"collectionFormat": "multi"
}
],
"responses": {
"200": {
"description": "No response was specified",
"schema": {
"$ref": "#/definitions/openehr.list.LinkedReferenceModelObjectWrapperList"
}
},
"404": {
"description": "When the composition does not exist or is deleted"
}
},
"x-deployment-id": "ons_ehr",
"x-deployment-target-path": "/cupido_api/composition_wrappers/{id}/incoming_links",
"x-internal": false,
"produces": [
"application/json",
"application/xml"
]
}
},
"/t/openehr/composition_wrappers/evaluate": {
"post": {
"tags": [
"openehr.CompositionWrapper"
],
"summary": "Posts a compositionWrapper as a summarized structure of the paths and values and return the ruleEvaluation.",
"operationId": "openehr.CompositionWrapperAPI.evaluate",
"responses": {
"200": {
"description": "No response was specified",
"schema": {
"$ref": "#/definitions/openehr.RuleEvaluationResult"
}
}
},
"x-deployment-id": "ons_ehr",
"x-deployment-target-path": "/cupido_api/composition_wrappers/evaluate",
"x-internal": false,
"parameters": [
{
"description": "The posted CompositionWrapper, containing the structure of the paths and values.",
"required": true,
"name": "body",
"in": "body",
"schema": {
"$ref": "#/definitions/openehr.CompositionWrapper"
}
}
],
"consumes": [
"application/json",
"application/xml"
],
"produces": [
"application/json",
"application/xml"
]
}
},
"/t/openehr/composition_wrappers/export_to_xlsx": {
"get": {
"tags": [
"openehr.CompositionWrapper"
],
"summary": "Returns an XLSX file with the content of all compositions within a clients ehr as stream of bytes",
"operationId": "openehr.CompositionWrapperAPI.exportToXLSX",
"parameters": [
{
"name": "client_id",
"in": "query",
"description": "client id",
"required": true,
"format": "int64",
"type": "integer"
}
],
"responses": {
"200": {
"description": "No response was specified",
"schema": {
"type": "string",
"format": "binary"
}
},
"404": {
"description": "When the clientId does not exist"
}
},
"x-deployment-id": "ons_ehr",
"x-deployment-target-path": "/cupido_api/composition_wrappers/export_to_xlsx",
"x-internal": false,
"produces": [
"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"
]
}
},
"/t/openehr/composition_wrappers/selected_values": {
"post": {
"tags": [
"openehr.CompositionWrapper"
],
"summary": "Query composition data by archetype and path",
"description": "Queries values from compositions based on the requested archetypes and paths, optionally limited by a start and/or end date/time. Returns values for the requested paths from compositions that match the requested archetype ids or specializations thereof. The result is ordered by first event time descending.",
"operationId": "openehr.CompositionWrapperAPI.selectedValues",
"parameters": [
{
"name": "client_id",
"in": "query",
"description": "The id of the client in Ons Administratie for which the data is requested",
"required": true,
"format": "int64",
"type": "integer"
},
{
"name": "reference_model_object_form",
"in": "query",
"description": "The requested form of the compositions",
"required": true,
"enum": [
"RM_OBJECT",
"PATHS_AND_VALUES",
"METADATA",
"RM_OBJECT_STANDARDS_COMPLIANT_JSON"
],
"type": "string"
},
{
"name": "with_authorized_employee_groups",
"in": "query",
"description": "Set this to true if the response should also include the employee groups who are allowed to read or update the composition",
"default": false,
"type": "boolean"
},
{
"name": "body",
"in": "body",
"schema": {
"$ref": "#/definitions/openehr.list.ArchetypeSelectionList"
}
}
],
"responses": {
"200": {
"description": "Success",
"schema": {
"$ref": "#/definitions/openehr.list.CompositionValuesForArchetypeList"
}
}
},
"x-deployment-id": "ons_ehr",
"x-deployment-target-path": "/cupido_api/composition_wrappers/selected_values",
"x-internal": false,
"consumes": [
"application/json",
"application/xml"
],
"produces": [
"application/json",
"application/xml"
]
}
},
"/t/openehr/employee_groups": {
"get": {
"tags": [
"openehr.EmployeeGroup"
],
"summary": "Returns every EmployeeGroup available from the EmployeeGroupAPI",
"operationId": "openehr.EmployeeGroupAPI.all",
"responses": {
"200": {
"description": "No response was specified",
"schema": {
"$ref": "#/definitions/openehr.list.EmployeeGroupList"
}
}
},
"x-deployment-id": "ons_ehr",
"x-deployment-target-path": "/cupido_api/employee_groups",
"x-internal": false,
"parameters": [],
"produces": [
"application/json",
"application/xml"
]
}
},
"/t/openehr/employee_groups/by_employee/{employee_id}": {
"get": {
"tags": [
"openehr.EmployeeGroup"
],
"summary": "Returns employee groups that an employee is or was a member of",
"operationId": "openehr.EmployeeGroupAPI.byEmployee",
"parameters": [
{
"name": "employee_id",
"in": "path",
"description": "The id of the employee",
"required": true,
"format": "int64",
"type": "integer"
},
{
"name": "only_active",
"in": "query",
"description": "When true, only return employee groups that an employee currently is a member of",
"required": false,
"type": "boolean"
},
{
"name": "with_ancestors",
"in": "query",
"description": "When true, also return ancestors of the direct assignments",
"required": false,
"type": "boolean"
}
],
"responses": {
"200": {
"description": "Employee groups that an employee is or was a member of",
"schema": {
"$ref": "#/definitions/openehr.list.EmployeeGroupList"
}
}
},
"x-deployment-id": "ons_ehr",
"x-deployment-target-path": "/cupido_api/employee_groups/by_employee/{employee_id}",
"x-internal": false,
"produces": [
"application/json",
"application/xml"
]
}
},
"/t/ons_ehr/employees/{employee_id}/last_visited_plan": {
"get": {
"tags": [
"ons_ehr.LastVisitedPlan"
],
"summary": "Finds the last visited plan of the given employee",
"operationId": "ons_ehr.LastVisitedPlanAPI.byEmployeeId",
"parameters": [
{
"name": "employee_id",
"in": "path",
"description": "The id of the employee",
"required": true,
"format": "int64",
"type": "integer"
}
],
"responses": {
"200": {
"description": "Last visited plan",
"schema": {
"$ref": "#/definitions/ons_ehr.LastVisitedPlan"
}
}
},
"x-deployment-id": "ons_ehr",
"x-deployment-target-path": "/cupido_api/employees/{employee_id}/last_visited_plan",
"x-internal": false,
"produces": [
"application/json",
"application/xml"
]
}
},
"/t/openehr/multimedia_files": {
"post": {
"tags": [
"openehr.MultimediaFile"
],
"summary": "Creates a MultimediaFile and associated meta object",
"description": "POST body:\n \n POST /uc/openehr/multimedia_files HTTP/1.1\n Accept: application/json\n Accept-Encoding: gzip, deflate\n Connection: keep-alive\n Content-Type: multipart/form-data;boundary=Boundary_1_1610615050_1558687905265\n Content-Length: 554\n --Boundary_1_1610615050_1558687905265\n Content-Disposition: form-data; name=\"metadata\"\n Content-Type: application/json\n\n {\"clientId\":3,\"mediaType\":\"image/jpeg\"}\n --Boundary_1_1610615050_1558687905265\n Content-Disposition: form-data; name=\"attachment\"; filename=\"dude_icon.jpg\"\n Content-Type: image/jpeg\n\n [jpeg data, e.g. output of 'cat dude_icon.jpeg | pbcopy']\n --Boundary_1_1610615050_1558687905265--\n
\n This method is not actually used, but just a decoy to fool openapi2 into\n generating the correct doc for create(Long, MultimediaFile, String, InputStream)",
"operationId": "openehr.MultimediaFileAPI.create",
"responses": {
"200": {
"description": "No response was specified",
"schema": {
"$ref": "#/definitions/openehr.MultimediaFile"
}
}
},
"x-deployment-id": "ons_ehr",
"x-deployment-target-path": "/cupido_api/multimedia_files",
"x-internal": false,
"parameters": [
{
"name": "metadata",
"in": "formData",
"required": true,
"type": "object",
"description": "A JSON object with metadata of the multimedia file"
},
{
"name": "attachment",
"in": "formData",
"required": true,
"format": "binary",
"type": "string",
"description": "The actual file. Supported mediaTypes are application/pdf and image/jpeg"
}
],
"consumes": [
"multipart/form-data"
],
"produces": [
"application/json",
"application/xml"
]
}
},
"/t/openehr/multimedia_files/{id}": {
"get": {
"tags": [
"openehr.MultimediaFile"
],
"summary": "Finds a MultimediaFile metadata",
"operationId": "openehr.MultimediaFileAPI.byId",
"parameters": [
{
"name": "id",
"in": "path",
"description": "The id of the MultimediaFile in Chiron",
"required": true,
"format": "int64",
"type": "integer"
}
],
"responses": {
"200": {
"description": "No response was specified",
"schema": {
"$ref": "#/definitions/openehr.MultimediaFile"
}
},
"404": {
"description": "When the multimedia file does not exist"
}
},
"x-deployment-id": "ons_ehr",
"x-deployment-target-path": "/cupido_api/multimedia_files/{id}",
"x-internal": false,
"produces": [
"application/json",
"application/xml"
]
}
},
"/t/openehr/multimedia_files/{id}/download": {
"get": {
"tags": [
"openehr.MultimediaFile"
],
"summary": "Returns a stream of bytes representing the file related to this MultimediaFile meta data",
"operationId": "openehr.MultimediaFileAPI.download",
"parameters": [
{
"name": "id",
"in": "path",
"description": "The id of the MultimediaFile in Chiron",
"required": true,
"format": "int64",
"type": "integer"
}
],
"responses": {
"200": {
"description": "Download file",
"schema": {
"type": "string",
"format": "binary"
}
},
"404": {
"description": "When the multimedia file does not exist"
}
},
"x-deployment-id": "ons_ehr",
"x-deployment-target-path": "/cupido_api/multimedia_files/{id}/download",
"x-internal": false,
"produces": [
"application/octet-stream"
]
}
},
"/t/ons_ehr/plan_statistics/ggz": {
"get": {
"tags": [
"ons_ehr.GgzPlanStatistics"
],
"summary": "Retrieves plan statistics for the mental healthcare plan",
"operationId": "ons_ehr.GgzPlanStatisticsAPI.all",
"responses": {
"200": {
"description": "No response was specified",
"schema": {
"$ref": "#/definitions/ons_ehr.GgzPlanStatistics"
}
}
},
"x-deployment-id": "ons_ehr",
"x-deployment-target-path": "/cupido_api/plan_statistics/ggz",
"x-internal": false,
"parameters": [],
"produces": [
"application/json",
"application/xml"
]
}
},
"/t/ons_ehr/settings": {
"get": {
"tags": [
"ons_ehr.Setting"
],
"summary": "Return all settings from OnsEhr",
"operationId": "ons_ehr.SettingAPI.getAllSettings",
"responses": {
"200": {
"description": "No response was specified",
"schema": {
"$ref": "#/definitions/ons_ehr.list.SettingList"
}
}
},
"x-deployment-id": "ons_ehr",
"x-deployment-target-path": "/cupido_api/settings",
"x-internal": false,
"parameters": [],
"produces": [
"application/json",
"application/xml"
]
}
},
"/t/openehr/vvt_care_profiles/{careplan_id}": {
"get": {
"tags": [
"openehr.CompositionWrapper"
],
"summary": "Finds a VVT care profile compositionWrapper in the requested form",
"operationId": "openehr.CompositionWrapperAPI.byVvtCareProfileCareplanId",
"parameters": [
{
"name": "careplan_id",
"in": "path",
"description": "The id of the careplan for which to request the vvt care profile",
"required": true,
"format": "int64",
"type": "integer"
},
{
"name": "reference_model_object_form",
"in": "query",
"description": "The requested form of the vvt care profile composition",
"required": true,
"enum": [
"RM_OBJECT",
"PATHS_AND_VALUES",
"METADATA",
"RM_OBJECT_STANDARDS_COMPLIANT_JSON"
],
"type": "string"
}
],
"responses": {
"200": {
"description": "No response was specified",
"schema": {
"$ref": "#/definitions/openehr.CompositionWrapper"
}
},
"404": {
"description": "When the vvt care profile composition does not exist or is deleted"
}
},
"x-deployment-id": "ons_ehr",
"x-deployment-target-path": "/cupido_api/vvt_care_profiles/{careplan_id}",
"x-internal": false,
"produces": [
"application/json",
"application/xml"
]
}
},
"/t/openehr/vvt_care_profiles/{careplan_id}/copy": {
"post": {
"tags": [
"openehr.CompositionWrapper"
],
"summary": "Copies a VVT care profile compositionWrapper to a new careplan.",
"description": "This will update the event time of the observation in\nthe composition to the date time this was copied",
"operationId": "openehr.CompositionWrapperAPI.copyVvtCareProfile",
"parameters": [
{
"name": "careplan_id",
"in": "path",
"description": "The id of the careplan from which to copy the vvt care profile",
"required": true,
"format": "int64",
"type": "integer"
},
{
"name": "new_careplan_id",
"in": "query",
"description": "The id of the careplan for which to create a vvt care profile",
"required": true,
"format": "int64",
"type": "integer"
},
{
"name": "reference_model_object_form",
"in": "query",
"description": "The requested form of the vvt care profile composition",
"required": true,
"enum": [
"RM_OBJECT",
"PATHS_AND_VALUES",
"METADATA",
"RM_OBJECT_STANDARDS_COMPLIANT_JSON"
],
"type": "string"
}
],
"responses": {
"200": {
"description": "No response was specified",
"schema": {
"$ref": "#/definitions/openehr.CompositionWrapper"
}
},
"404": {
"description": "When the vvt care profile composition does not exist or is deleted"
}
},
"x-deployment-id": "ons_ehr",
"x-deployment-target-path": "/cupido_api/vvt_care_profiles/{careplan_id}/copy",
"x-internal": false,
"produces": [
"application/json",
"application/xml"
]
}
},
"/t/openehr/vvt_care_profiles/care_plan_links": {
"post": {
"tags": [
"openehr.CarePlanVvtCareProfileLink"
],
"summary": "Returns care plan IDs for given VVT care profile composition IDs",
"operationId": "openehr.CarePlanVvtCareProfileLinkAPI.linkIds",
"responses": {
"200": {
"description": "List of care plan IDs for given VVT care profile composition IDs",
"schema": {
"$ref": "#/definitions/openehr.list.CarePlanVvtCareProfileLinkList"
}
}
},
"x-deployment-id": "ons_ehr",
"x-deployment-target-path": "/cupido_api/vvt_care_profiles/care_plan_links",
"x-internal": false,
"parameters": [
{
"name": "body",
"in": "body",
"schema": {
"$ref": "#/definitions/openehr.CompositionIdList"
}
}
],
"consumes": [
"application/json",
"application/xml"
],
"produces": [
"application/json",
"application/xml"
]
}
},
"/t/hermes/care_provider_settings": {
"get": {
"tags": [
"hermes.CareProviderSettings"
],
"summary": "Retrieves the CareProviderSettings",
"operationId": "hermes.CareProviderSettingsAPI.get",
"responses": {
"200": {
"description": "No response was specified",
"schema": {
"$ref": "#/definitions/hermes.CareProviderSettings"
}
}
},
"x-deployment-id": "hermes",
"x-deployment-target-path": "/cupido/hermes/care_provider_settings",
"x-internal": false,
"parameters": [],
"produces": [
"application/json",
"application/xml"
]
}
},
"/t/clients/{client_id}/contact_method": {
"get": {
"tags": [
"hermes.ContactMethod"
],
"summary": "Return the hermes contact method of a Client corresponding to the given id.",
"operationId": "hermes.ContactMethodAPI.byClientId",
"parameters": [
{
"name": "client_id",
"in": "path",
"description": "id",
"required": true,
"format": "int64",
"type": "integer"
}
],
"responses": {
"200": {
"description": "No response was specified",
"schema": {
"$ref": "#/definitions/hermes.ContactMethod"
}
}
},
"x-deployment-id": "hermes",
"x-deployment-target-path": "/cupido/hermes/clients/{client_id}/contact_method",
"x-internal": false,
"produces": [
"application/json",
"application/xml"
]
}
},
"/t/clients/{client_id}/contact_methods/set_primary_type": {
"post": {
"tags": [
"hermes.ContactMethod"
],
"summary": "Set primary contact method for client by given contact method type and enable/disable notifications for it.",
"operationId": "hermes.ContactMethodAPI.setPrimaryType",
"parameters": [
{
"name": "client_id",
"in": "path",
"description": "client id.",
"required": true,
"format": "int64",
"type": "integer"
},
{
"description": "object to set the client's notification settings.",
"required": true,
"name": "body",
"in": "body",
"schema": {
"$ref": "#/definitions/hermes.ContactMethodConfig"
}
}
],
"responses": {
"200": {
"description": "No response was specified",
"schema": {
"$ref": "#/definitions/hermes.ContactMethod"
}
}
},
"x-deployment-id": "hermes",
"x-deployment-target-path": "/cupido/hermes/clients/{client_id}/contact_methods/set_primary_type",
"x-internal": false,
"consumes": [
"application/json",
"application/xml"
],
"produces": [
"application/json",
"application/xml"
]
}
},
"/t/employees/{employee_id}/notifications": {
"get": {
"tags": [
"hermes.Notification"
],
"summary": "Return the hermes notifications of an Employee corresponding to the given id.",
"operationId": "hermes.NotificationAPI.byEmployeeId",
"parameters": [
{
"name": "employee_id",
"in": "path",
"description": "id",
"required": true,
"format": "int64",
"type": "integer"
}
],
"responses": {
"200": {
"description": "No response was specified",
"schema": {
"$ref": "#/definitions/hermes.list.NotificationList"
}
}
},
"x-deployment-id": "hermes",
"x-deployment-target-path": "/cupido/hermes/employees/{employee_id}/notifications",
"x-internal": false,
"produces": [
"application/json",
"application/xml"
]
}
},
"/t/hermes/notifications": {
"post": {
"tags": [
"hermes.Notification"
],
"summary": "Send a notification to an employee or user.",
"description": "There are 2 notification systems available, but /portal/notifications is deprecated since 28-10-2019, so you should not implement that one.\n When hermes (ons-notificaties) is activated notifications are received by this api.",
"operationId": "hermes.NotificationAPI.create",
"responses": {
"200": {
"description": "No response was specified",
"schema": {
"$ref": "#/definitions/hermes.Notification"
}
},
"204": {
"description": "Duplicate notification UUID"
},
"422": {
"description": "Invalid UUID"
}
},
"x-deployment-id": "hermes",
"x-deployment-target-path": "/cupido/hermes/notifications",
"x-internal": false,
"parameters": [
{
"required": true,
"name": "body",
"in": "body",
"schema": {
"$ref": "#/definitions/hermes.Notification"
}
}
],
"consumes": [
"application/json",
"application/xml"
],
"produces": [
"application/json",
"application/xml"
]
}
},
"/t/hermes/notifications/{id}": {
"get": {
"tags": [
"hermes.Notification"
],
"operationId": "hermes.NotificationAPI.byId",
"parameters": [
{
"name": "id",
"in": "path",
"description": "used for selecting Notification",
"required": true,
"format": "int64",
"type": "integer"
}
],
"responses": {
"200": {
"description": "No response was specified",
"schema": {
"$ref": "#/definitions/hermes.Notification"
}
},
"404": {
"description": "Notification does not exist"
}
},
"x-deployment-id": "hermes",
"x-deployment-target-path": "/cupido/hermes/notifications/{id}",
"x-internal": false,
"produces": [
"application/json",
"application/xml"
]
}
},
"/t/hermes/notifications/by_uuid/{uuid}": {
"get": {
"tags": [
"hermes.Notification"
],
"operationId": "hermes.NotificationAPI.byUuid",
"parameters": [
{
"name": "uuid",
"in": "path",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "No response was specified",
"schema": {
"$ref": "#/definitions/hermes.Notification"
}
},
"404": {
"description": "Notification does not exist"
}
},
"x-deployment-id": "hermes",
"x-deployment-target-path": "/cupido/hermes/notifications/by_uuid/{uuid}",
"x-internal": false,
"produces": [
"application/json",
"application/xml"
]
}
},
"/t/medication/medication_plans/weeks/current": {
"get": {
"tags": [
"medication.MedicationPlan"
],
"summary": "Returns information about current medication plans",
"description": "Returns all available `MedicationPlan`s for the current week.\nAs this is potentially a large list, cursor-based pagination is used.\nWhen the `Link` header is part of the response, continue fetching the next set of results using the provided URI in the header, until the response does not include the `Link` header anymore.",
"operationId": "medication.MedicationPlanAPI.currentWeekOverview",
"parameters": [
{
"name": "after",
"in": "query",
"description": "When no value is supplied, pagination starts from the beginning. Specifies the `client_id` from the last medication plan in the previous response for pagination.",
"required": false,
"format": "int64",
"type": "integer"
}
],
"responses": {
"200": {
"description": "List of medication plans was determined.",
"headers": {
"Link": {
"description": "Supports cursor-based pagination. Includes a link to use to fetch the next set of available medication plans.",
"type": "string"
}
},
"schema": {
"$ref": "#/definitions/medication.list.MedicationPlanList"
}
},
"500": {
"description": "Unspecified internal error"
}
},
"x-deployment-id": "ons_medicatie",
"x-deployment-target-path": "/api/medication/medication_plan_overviews/current_week",
"x-internal": false,
"produces": [
"application/json",
"application/xml"
]
}
},
"/t/medication/medication_plans/weeks/next": {
"get": {
"tags": [
"medication.MedicationPlan"
],
"summary": "Returns information about upcoming medication plans",
"description": "Returns all available `MedicationPlan`s for the next week.\nAs this is potentially a large list, cursor-based pagination is used.\nWhen the `Link` header is part of the response, continue fetching the next set of results using the provided URI in the header, until the response does not include the `Link` header anymore.",
"operationId": "medication.MedicationPlanAPI.nextWeekOverview",
"parameters": [
{
"name": "after",
"in": "query",
"description": "When no value is supplied, pagination starts from the beginning. Specifies the `client_id` from the last medication plan in the previous response for pagination.",
"required": false,
"format": "int64",
"type": "integer"
}
],
"responses": {
"200": {
"description": "List of medication plans was determined.",
"headers": {
"Link": {
"description": "Supports cursor-based pagination. Includes a link to use to fetch the next set of available medication plans.",
"type": "string"
}
},
"schema": {
"$ref": "#/definitions/medication.list.MedicationPlanList"
}
},
"500": {
"description": "Unspecified internal error"
}
},
"x-deployment-id": "ons_medicatie",
"x-deployment-target-path": "/api/medication/medication_plan_overviews/next_week",
"x-internal": false,
"produces": [
"application/json",
"application/xml"
]
}
},
"/t/medication/medication_plans/clients/{client_id}/weeks/{week}": {
"get": {
"tags": [
"medication.MedicationPlan"
],
"summary": "Fetch a medication plan",
"description": "Returns a PDF version of a medication plan for a specific client and week.\nThe `ETag` header is included in each response to save bandwidth. The next request using the same URI should include the value of the `ETag` header in the request header `If-None-Match`. The `ETag` (sent with `If-None-Match`) will be compared to the `ETag` of the current version of the medication plan and if both values match, a 304 `Not Modified` status, without a body, will be returned, meaning the cached version of the response is still good to use (fresh).",
"operationId": "medication.MedicationPlanAPI.getMedicationPlan",
"parameters": [
{
"name": "client_id",
"in": "path",
"description": "IoServer objectId of the client",
"required": true,
"format": "int64",
"type": "integer"
},
{
"name": "week",
"in": "path",
"description": "The week for which the medication plan will be served",
"required": true,
"pattern": "^([0-9]{4})-W(5[0-3]|[1-4][0-9]|0[1-9])$",
"type": "string",
"x-example": "2023-W12"
},
{
"name": "If-None-Match",
"in": "header",
"description": "The unique identifier for the current version of the resource",
"type": "string"
}
],
"responses": {
"200": {
"description": "Successfully served a medication plan",
"headers": {
"Etag": {
"description": "The version of this medication plan.",
"example": "W/\"64f48878e1d02d32\"",
"type": "string"
},
"Download-path": {
"description": "Contains a suggested path to store the resource.\n First part is the name of the main location assigned to the client, or care provider name if main locations are disabled.\n Second part consists out of the client name and client id. ",
"example": "goudbloem_de/janssen_hrja_mvr_239282",
"type": "string"
},
"Digest-Sha1": {
"description": "Provides the SHA-1 hash of the message body for integrity verification.",
"example": "fb47832c7ddec5db",
"type": "string"
},
"Content-Disposition": {
"description": "Suggests the disposition of the content, including filename",
"example": "attachment; filename=\"2023-W12.pdf\"",
"type": "string"
}
},
"schema": {
"type": "string",
"format": "binary"
}
},
"304": {
"description": "The medication plan was found but not modified.",
"headers": {
"ETag": {
"description": "The version of this list of medication plans.",
"example": "W/\"64f48878e1d02d32\"",
"type": "string"
}
}
},
"400": {
"description": "Bad request",
"schema": {
"$ref": "#/definitions/ErrorResponse"
}
},
"404": {
"description": "Resource not found",
"schema": {
"$ref": "#/definitions/ErrorResponse"
}
},
"410": {
"description": "Given week is in the past",
"schema": {
"$ref": "#/definitions/ErrorResponse"
}
},
"500": {
"description": "Unspecified internal error",
"schema": {
"$ref": "#/definitions/ErrorResponse"
}
}
},
"x-deployment-id": "ons_medicatie",
"x-deployment-target-path": "/api/medication/medication_plans/clients/{client_id}/weeks/{week}",
"x-internal": false,
"produces": [
"application/octet-stream",
"application/json"
]
}
},
"/t/nexus/client_contact_relation_types": {
"get": {
"tags": [
"nexus.ClientContactRelationType"
],
"summary": "Returns every ClientContactRelationType available from the ClientContactRelationTypeAPI",
"operationId": "nexus.ClientContactRelationTypeAPI.all",
"parameters": [
{
"name": "offset",
"in": "query",
"description": "number of results to skip",
"format": "int32",
"type": "integer"
},
{
"name": "limit",
"in": "query",
"description": "number of results for one call",
"format": "int32",
"type": "integer"
}
],
"responses": {
"200": {
"description": "No response was specified",
"schema": {
"$ref": "#/definitions/nexus.list.ClientContactRelationTypeList"
}
}
},
"x-deployment-id": "ons_nexus",
"x-deployment-target-path": "/api/nexus/client_contact_relation_types",
"x-internal": false,
"produces": [
"application/json",
"application/xml"
]
}
},
"/t/nexus/client_contact_relation_types/{id}": {
"get": {
"tags": [
"nexus.ClientContactRelationType"
],
"operationId": "nexus.ClientContactRelationTypeAPI.byId",
"parameters": [
{
"name": "id",
"in": "path",
"description": "used for selecting ClientContactRelationType",
"required": true,
"format": "int64",
"type": "integer"
}
],
"responses": {
"200": {
"description": "No response was specified",
"schema": {
"$ref": "#/definitions/nexus.ClientContactRelationType"
}
}
},
"x-deployment-id": "ons_nexus",
"x-deployment-target-path": "/api/nexus/client_contact_relation_types/{id}",
"x-internal": false,
"produces": [
"application/json",
"application/xml"
]
}
},
"/t/nexus/client_employee_relation_types": {
"get": {
"tags": [
"nexus.ClientEmployeeRelationType"
],
"summary": "Returns every ClientEmployeeRelationType available from the ClientEmployeeRelationTypeAPI",
"operationId": "nexus.ClientEmployeeRelationTypeAPI.all",
"parameters": [
{
"name": "offset",
"in": "query",
"description": "number of results to skip",
"format": "int32",
"type": "integer"
},
{
"name": "limit",
"in": "query",
"description": "number of results for one call",
"format": "int32",
"type": "integer"
}
],
"responses": {
"200": {
"description": "No response was specified",
"schema": {
"$ref": "#/definitions/nexus.list.ClientEmployeeRelationTypeList"
}
}
},
"x-deployment-id": "ons_nexus",
"x-deployment-target-path": "/api/nexus/client_employee_relation_types",
"x-internal": false,
"produces": [
"application/json",
"application/xml"
]
}
},
"/t/nexus/client_employee_relation_types/{id}": {
"get": {
"tags": [
"nexus.ClientEmployeeRelationType"
],
"operationId": "nexus.ClientEmployeeRelationTypeAPI.byId",
"parameters": [
{
"name": "id",
"in": "path",
"description": "used for selecting ClientEmployeeRelationType",
"required": true,
"format": "int64",
"type": "integer"
}
],
"responses": {
"200": {
"description": "No response was specified",
"schema": {
"$ref": "#/definitions/nexus.ClientEmployeeRelationType"
}
}
},
"x-deployment-id": "ons_nexus",
"x-deployment-target-path": "/api/nexus/client_employee_relation_types/{id}",
"x-internal": false,
"produces": [
"application/json",
"application/xml"
]
}
},
"/t/nexus/client_employee_relations": {
"post": {
"tags": [
"nexus.ClientEmployeeRelation"
],
"summary": "Create ClientEmployeeRelation",
"operationId": "nexus.ClientEmployeeRelationAPI.create",
"responses": {
"200": {
"description": "No response was specified",
"schema": {
"$ref": "#/definitions/nexus.ClientEmployeeRelation"
}
}
},
"x-deployment-id": "ons_nexus",
"x-deployment-target-path": "/api/nexus/client_employee_relations",
"x-internal": false,
"parameters": [
{
"description": "ClientEmployeeRelation to create",
"required": true,
"name": "body",
"in": "body",
"schema": {
"$ref": "#/definitions/nexus.ClientEmployeeRelation"
}
}
],
"consumes": [
"application/json",
"application/xml"
],
"produces": [
"application/json",
"application/xml"
]
}
},
"/t/nexus/client_employee_relations/{id}": {
"get": {
"tags": [
"nexus.ClientEmployeeRelation"
],
"operationId": "nexus.ClientEmployeeRelationAPI.byId",
"parameters": [
{
"name": "id",
"in": "path",
"description": "used for selecting ClientEmployeeRelation",
"required": true,
"format": "int64",
"type": "integer"
}
],
"responses": {
"200": {
"description": "No response was specified",
"schema": {
"$ref": "#/definitions/nexus.ClientEmployeeRelation"
}
}
},
"x-deployment-id": "ons_nexus",
"x-deployment-target-path": "/api/nexus/client_employee_relations/{id}",
"x-internal": false,
"produces": [
"application/json",
"application/xml"
]
},
"put": {
"tags": [
"nexus.ClientEmployeeRelation"
],
"summary": "Updates the given ClientEmployeeRelation",
"operationId": "nexus.ClientEmployeeRelationAPI.update",
"parameters": [
{
"name": "id",
"in": "path",
"description": "Identifier of ClientEmployeeRelation to update.",
"required": true,
"format": "int64",
"type": "integer"
},
{
"description": "ClientEmployeeRelation to update",
"required": true,
"name": "body",
"in": "body",
"schema": {
"$ref": "#/definitions/nexus.ClientEmployeeRelation"
}
}
],
"responses": {
"200": {
"description": "No response was specified",
"schema": {
"$ref": "#/definitions/nexus.ClientEmployeeRelation"
}
}
},
"x-deployment-id": "ons_nexus",
"x-deployment-target-path": "/api/nexus/client_employee_relations/{id}",
"x-internal": false,
"consumes": [
"application/json",
"application/xml"
],
"produces": [
"application/json",
"application/xml"
]
},
"delete": {
"tags": [
"nexus.ClientEmployeeRelation"
],
"summary": "Deletes the ClientEmployeeRelation with given id",
"operationId": "nexus.ClientEmployeeRelationAPI.delete",
"parameters": [
{
"name": "id",
"in": "path",
"description": "Identifier of ClientEmployeeRelation to delete.",
"required": true,
"format": "int64",
"type": "integer"
}
],
"responses": {
"204": {
"description": "If successfully removed the client employee relation"
}
},
"x-deployment-id": "ons_nexus",
"x-deployment-target-path": "/api/nexus/client_employee_relations/{id}",
"x-internal": false
}
},
"/t/clients/{client_id}/client_employee_relations": {
"get": {
"tags": [
"nexus.ClientEmployeeRelation"
],
"summary": "Return the client employee relations of a Client corresponding to the given id.",
"operationId": "nexus.ClientEmployeeRelationAPI.byClientId",
"parameters": [
{
"name": "client_id",
"in": "path",
"description": "id",
"required": true,
"format": "int64",
"type": "integer"
},
{
"name": "valid_from",
"in": "query",
"format": "date",
"type": "string"
},
{
"name": "valid_to",
"in": "query",
"format": "date",
"type": "string"
},
{
"name": "limit",
"in": "query",
"format": "int32",
"type": "integer"
},
{
"name": "offset",
"in": "query",
"format": "int32",
"type": "integer"
}
],
"responses": {
"200": {
"description": "No response was specified",
"schema": {
"$ref": "#/definitions/nexus.list.ClientEmployeeRelationList"
}
}
},
"x-deployment-id": "ons_nexus",
"x-deployment-target-path": "/api/nexus/clients/{client_id}/client_employee_relations",
"x-internal": false,
"produces": [
"application/json",
"application/xml"
]
}
},
"/t/employees/{employee_id}/client_employee_relations": {
"get": {
"tags": [
"nexus.ClientEmployeeRelation"
],
"summary": "Return the client employee relations of a Employee corresponding to the given id.",
"operationId": "nexus.ClientEmployeeRelationAPI.byEmployeeId",
"parameters": [
{
"name": "employee_id",
"in": "path",
"description": "id",
"required": true,
"format": "int64",
"type": "integer"
},
{
"name": "valid_from",
"in": "query",
"format": "date",
"type": "string"
},
{
"name": "valid_to",
"in": "query",
"format": "date",
"type": "string"
},
{
"name": "limit",
"in": "query",
"format": "int32",
"type": "integer"
},
{
"name": "offset",
"in": "query",
"format": "int32",
"type": "integer"
}
],
"responses": {
"200": {
"description": "No response was specified",
"schema": {
"$ref": "#/definitions/nexus.list.ClientEmployeeRelationList"
}
}
},
"x-deployment-id": "ons_nexus",
"x-deployment-target-path": "/api/nexus/employees/{employee_id}/client_employee_relations",
"x-internal": false,
"produces": [
"application/json",
"application/xml"
]
}
},
"/t/nexus/organisation_categories": {
"get": {
"tags": [
"nexus.OrganisationCategory"
],
"summary": "Returns every OrganisationCategory available from the OrganisationCategoryAPI",
"operationId": "nexus.OrganisationCategoryAPI.all",
"parameters": [
{
"name": "offset",
"in": "query",
"description": "number of results to skip",
"format": "int32",
"type": "integer"
},
{
"name": "limit",
"in": "query",
"description": "number of results for one call",
"format": "int32",
"type": "integer"
}
],
"responses": {
"200": {
"description": "No response was specified",
"schema": {
"$ref": "#/definitions/nexus.list.OrganisationCategoryList"
}
}
},
"x-deployment-id": "ons_nexus",
"x-deployment-target-path": "/api/nexus/organisation_categories",
"x-internal": false,
"produces": [
"application/json",
"application/xml"
]
}
},
"/t/nexus/organisation_categories/{id}": {
"get": {
"tags": [
"nexus.OrganisationCategory"
],
"operationId": "nexus.OrganisationCategoryAPI.byId",
"parameters": [
{
"name": "id",
"in": "path",
"description": "used for selecting OrganisationCategory",
"required": true,
"format": "int64",
"type": "integer"
}
],
"responses": {
"200": {
"description": "No response was specified",
"schema": {
"$ref": "#/definitions/nexus.OrganisationCategory"
}
}
},
"x-deployment-id": "ons_nexus",
"x-deployment-target-path": "/api/nexus/organisation_categories/{id}",
"x-internal": false,
"produces": [
"application/json",
"application/xml"
]
}
},
"/t/nexus/personal_relation_types": {
"get": {
"tags": [
"nexus.PersonalRelationType"
],
"summary": "Returns every PersonalRelationType available from the PersonalRelationTypeAPI",
"operationId": "nexus.PersonalRelationTypeAPI.all",
"parameters": [
{
"name": "offset",
"in": "query",
"description": "number of results to skip",
"format": "int32",
"type": "integer"
},
{
"name": "limit",
"in": "query",
"description": "number of results for one call",
"format": "int32",
"type": "integer"
}
],
"responses": {
"200": {
"description": "No response was specified",
"schema": {
"$ref": "#/definitions/nexus.list.PersonalRelationTypeList"
}
}
},
"x-deployment-id": "ons_nexus",
"x-deployment-target-path": "/api/nexus/personal_relation_types",
"x-internal": false,
"produces": [
"application/json",
"application/xml"
]
}
},
"/t/nexus/personal_relation_types/{id}": {
"get": {
"tags": [
"nexus.PersonalRelationType"
],
"operationId": "nexus.PersonalRelationTypeAPI.byId",
"parameters": [
{
"name": "id",
"in": "path",
"description": "used for selecting PersonalRelationType",
"required": true,
"format": "int64",
"type": "integer"
}
],
"responses": {
"200": {
"description": "No response was specified",
"schema": {
"$ref": "#/definitions/nexus.PersonalRelationType"
}
}
},
"x-deployment-id": "ons_nexus",
"x-deployment-target-path": "/api/nexus/personal_relation_types/{id}",
"x-internal": false,
"produces": [
"application/json",
"application/xml"
]
}
},
"/t/tasque/care_task_group_statuses": {
"get": {
"tags": [
"tasque.CareTaskGroupStatus"
],
"summary": "Returns every CareTaskGroupStatus available from the CareTaskGroupStatusAPI",
"operationId": "tasque.CareTaskGroupStatusAPI.all",
"responses": {
"200": {
"description": "No response was specified",
"schema": {
"$ref": "#/definitions/tasque.list.CareTaskGroupStatusList"
}
}
},
"security": [
{
"X-Cupido-Customer-Code": [],
"X-Cupido-Deployment-Type": [],
"X-Cupido-User-Name": []
}
],
"x-deployment-id": "ons_taken",
"x-deployment-target-path": "/api/tasque/care_task_group_statuses",
"x-internal": false,
"parameters": [],
"produces": [
"application/json",
"application/xml"
]
}
},
"/t/tasque/care_task_groups": {
"post": {
"tags": [
"tasque.CareTaskGroup"
],
"summary": "Create CareTaskGroup",
"operationId": "tasque.CareTaskGroupAPI.create",
"responses": {
"200": {
"description": "No response was specified",
"schema": {
"$ref": "#/definitions/tasque.CareTaskGroup"
}
}
},
"security": [
{
"X-Cupido-Customer-Code": [],
"X-Cupido-Deployment-Type": [],
"X-Cupido-User-Name": []
}
],
"x-deployment-id": "ons_taken",
"x-deployment-target-path": "/api/tasque/care_task_groups",
"x-internal": false,
"parameters": [
{
"description": "CareTaskGroup to create",
"required": true,
"name": "body",
"in": "body",
"schema": {
"$ref": "#/definitions/tasque.CareTaskGroup"
}
}
],
"consumes": [
"application/json",
"application/xml"
],
"produces": [
"application/json",
"application/xml"
]
}
},
"/t/tasque/care_task_groups/{id}": {
"get": {
"tags": [
"tasque.CareTaskGroup"
],
"summary": "Gets task group",
"operationId": "tasque.CareTaskGroupAPI.byId",
"parameters": [
{
"name": "id",
"in": "path",
"description": "used for selecting CareTaskGroup",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "No response was specified",
"schema": {
"$ref": "#/definitions/tasque.CareTaskGroup"
}
}
},
"security": [
{
"X-Cupido-Customer-Code": [],
"X-Cupido-Deployment-Type": [],
"X-Cupido-User-Name": []
}
],
"x-deployment-id": "ons_taken",
"x-deployment-target-path": "/api/tasque/care_task_groups/{id}",
"x-internal": false,
"produces": [
"application/json",
"application/xml"
]
},
"put": {
"tags": [
"tasque.CareTaskGroup"
],
"summary": "Updates the given CareTaskGroup",
"operationId": "tasque.CareTaskGroupAPI.update",
"parameters": [
{
"name": "id",
"in": "path",
"description": "used for selecting CareTaskGroup",
"required": true,
"type": "string"
},
{
"description": "CareTaskGroup to update",
"required": true,
"name": "body",
"in": "body",
"schema": {
"$ref": "#/definitions/tasque.CareTaskGroup"
}
}
],
"responses": {
"200": {
"description": "No response was specified",
"schema": {
"$ref": "#/definitions/tasque.CareTaskGroup"
}
}
},
"security": [
{
"X-Cupido-Customer-Code": [],
"X-Cupido-Deployment-Type": [],
"X-Cupido-User-Name": []
}
],
"x-deployment-id": "ons_taken",
"x-deployment-target-path": "/api/tasque/care_task_groups/{id}",
"x-internal": false,
"consumes": [
"application/json",
"application/xml"
],
"produces": [
"application/json",
"application/xml"
]
},
"delete": {
"tags": [
"tasque.CareTaskGroup"
],
"summary": "Deletes the CareTaskGroup with given id",
"operationId": "tasque.CareTaskGroupAPI.delete",
"parameters": [
{
"name": "id",
"in": "path",
"description": "used for selecting CareTaskGroup",
"required": true,
"type": "string"
}
],
"responses": {
"204": {
"description": "If successfully removed the care task group"
}
},
"security": [
{
"X-Cupido-Customer-Code": [],
"X-Cupido-Deployment-Type": [],
"X-Cupido-User-Name": []
}
],
"x-deployment-id": "ons_taken",
"x-deployment-target-path": "/api/tasque/care_task_groups/{id}",
"x-internal": false
}
},
"/t/tasque/care_task_occurrences/{id}": {
"get": {
"tags": [
"tasque.CareTaskOccurrence"
],
"operationId": "tasque.CareTaskOccurrenceAPI.byId",
"parameters": [
{
"name": "id",
"in": "path",
"description": "used for selecting CareTaskOccurrence",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "No response was specified",
"schema": {
"$ref": "#/definitions/tasque.CareTaskOccurrence"
}
}
},
"x-deployment-id": "ons_taken",
"x-deployment-target-path": "/api/tasque/care_task_occurrences/{id}",
"x-internal": false,
"produces": [
"application/json",
"application/xml"
]
}
},
"/t/tasque/care_task_occurrences/{id}/destroy_following": {
"delete": {
"tags": [
"tasque.CareTaskOccurrence"
],
"summary": "Removes the given task occurrences item and all of the following occurrences of that item",
"operationId": "tasque.CareTaskOccurrenceAPI.destroyFollowing",
"parameters": [
{
"name": "id",
"in": "path",
"description": "Identifier of CareTaskOccurrence to delete.",
"required": true,
"type": "string"
},
{
"description": "AgendaOccurrence to remove",
"required": true,
"name": "body",
"in": "body",
"schema": {
"$ref": "#/definitions/tasque.CareTaskOccurrence"
}
}
],
"responses": {
"204": {
"description": "If successfully removed the care task occurrences"
}
},
"x-deployment-id": "ons_taken",
"x-deployment-target-path": "/api/tasque/care_task_occurrences/{id}/destroy_following",
"x-internal": false,
"consumes": [
"application/json",
"application/xml"
]
}
},
"/t/tasque/care_task_occurrences/{id}/destroy_incidentally": {
"delete": {
"tags": [
"tasque.CareTaskOccurrence"
],
"summary": "Removes the given task occurrence item",
"operationId": "tasque.CareTaskOccurrenceAPI.destroyIncidentally",
"parameters": [
{
"name": "id",
"in": "path",
"description": "Identifier of CareTaskOccurrence to delete.",
"required": true,
"type": "string"
},
{
"description": "AgendaOccurrence to remove",
"required": true,
"name": "body",
"in": "body",
"schema": {
"$ref": "#/definitions/tasque.CareTaskOccurrence"
}
}
],
"responses": {
"204": {
"description": "If successfully removed the care task occurrence"
}
},
"x-deployment-id": "ons_taken",
"x-deployment-target-path": "/api/tasque/care_task_occurrences/{id}/destroy_incidentally",
"x-internal": false,
"consumes": [
"application/json",
"application/xml"
]
}
},
"/t/tasque/care_task_occurrences/{id}/finish": {
"put": {
"tags": [
"tasque.CareTaskOccurrence"
],
"summary": "Set state of the given task occurrence to finish",
"operationId": "tasque.CareTaskOccurrenceAPI.finish",
"parameters": [
{
"name": "id",
"in": "path",
"description": "Identifier of CareTaskOccurrence to update.",
"required": true,
"type": "string"
},
{
"required": true,
"name": "body",
"in": "body",
"schema": {
"$ref": "#/definitions/tasque.CareTaskOccurrence"
}
}
],
"responses": {
"200": {
"description": "No response was specified",
"schema": {
"$ref": "#/definitions/tasque.CareTaskOccurrence"
}
}
},
"x-deployment-id": "ons_taken",
"x-deployment-target-path": "/api/tasque/care_task_occurrences/{id}/finish",
"x-internal": false,
"consumes": [
"application/json",
"application/xml"
],
"produces": [
"application/json",
"application/xml"
]
}
},
"/t/tasque/care_task_occurrences/{id}/next_date/{date}": {
"get": {
"tags": [
"tasque.CareTaskOccurrence"
],
"operationId": "tasque.CareTaskOccurrenceAPI.nextById",
"parameters": [
{
"name": "id",
"in": "path",
"description": "used for selecting CareTaskOccurrence",
"required": true,
"type": "string"
},
{
"name": "date",
"in": "path",
"description": "used for find the next occurrence",
"required": true,
"format": "date",
"type": "string"
}
],
"responses": {
"200": {
"description": "No response was specified",
"schema": {
"$ref": "#/definitions/tasque.CareTaskOccurrence"
}
}
},
"x-deployment-id": "ons_taken",
"x-deployment-target-path": "/api/tasque/care_task_occurrences/{id}/next_date/{date}",
"x-internal": false,
"produces": [
"application/json",
"application/xml"
]
}
},
"/t/tasque/care_task_occurrences/{id}/next_date/{date}/destroy_following": {
"delete": {
"tags": [
"tasque.CareTaskOccurrence"
],
"summary": "Find the next CareTaskOccurrence based on the id and a baseline search date and\nremoves that found task occurrence item and all of the following occurrences of that item",
"operationId": "tasque.CareTaskOccurrenceAPI.destroyNextFollowing",
"parameters": [
{
"name": "id",
"in": "path",
"description": "Identifier of CareTaskOccurrence to delete.",
"required": true,
"type": "string"
},
{
"name": "date",
"in": "path",
"description": "The date from which the search for the next occurrence should be done",
"required": true,
"format": "date",
"type": "string"
},
{
"description": "AgendaOccurrence to remove",
"required": true,
"name": "body",
"in": "body",
"schema": {
"$ref": "#/definitions/tasque.CareTaskOccurrence"
}
}
],
"responses": {
"200": {
"description": "No response was specified",
"schema": {
"$ref": "#/definitions/tasque.CareTaskOccurrence"
}
}
},
"x-deployment-id": "ons_taken",
"x-deployment-target-path": "/api/tasque/care_task_occurrences/{id}/next_date/{date}/destroy_following",
"x-internal": false,
"consumes": [
"application/json",
"application/xml"
],
"produces": [
"application/json",
"application/xml"
]
}
},
"/t/tasque/care_task_occurrences/{id}/next_date/{date}/destroy_incidentally": {
"delete": {
"tags": [
"tasque.CareTaskOccurrence"
],
"summary": "Find the next CareTaskOccurrence based on the id and a baseline search date and\nremoves that found task occurrence item",
"operationId": "tasque.CareTaskOccurrenceAPI.destroyNextIncidentally",
"parameters": [
{
"name": "id",
"in": "path",
"description": "Identifier of CareTaskOccurrence to delete.",
"required": true,
"type": "string"
},
{
"name": "date",
"in": "path",
"description": "The date from which the search for the next occurrence should be done",
"required": true,
"format": "date",
"type": "string"
},
{
"description": "AgendaOccurrence to remove",
"required": true,
"name": "body",
"in": "body",
"schema": {
"$ref": "#/definitions/tasque.CareTaskOccurrence"
}
}
],
"responses": {
"200": {
"description": "No response was specified",
"schema": {
"$ref": "#/definitions/tasque.CareTaskOccurrence"
}
}
},
"x-deployment-id": "ons_taken",
"x-deployment-target-path": "/api/tasque/care_task_occurrences/{id}/next_date/{date}/destroy_incidentally",
"x-internal": false,
"consumes": [
"application/json",
"application/xml"
],
"produces": [
"application/json",
"application/xml"
]
}
},
"/t/tasque/care_task_occurrences/{id}/next_date/{date}/update_following": {
"put": {
"tags": [
"tasque.CareTaskOccurrence"
],
"summary": "Find the next CareTaskOccurrence based on the id and a baseline search date and\nupdate only that found CareTaskOccurrence and all of the following occurrence of that item.",
"operationId": "tasque.CareTaskOccurrenceAPI.updateNextFollowing",
"parameters": [
{
"name": "id",
"in": "path",
"description": "Identifier of CareTaskOccurrence to update.",
"required": true,
"type": "string"
},
{
"name": "date",
"in": "path",
"description": "The date from which the search for the next occurrence should be done",
"required": true,
"format": "date",
"type": "string"
},
{
"required": true,
"name": "body",
"in": "body",
"schema": {
"$ref": "#/definitions/tasque.CareTaskOccurrence"
}
}
],
"responses": {
"200": {
"description": "No response was specified",
"schema": {
"$ref": "#/definitions/tasque.CareTaskOccurrence"
}
}
},
"x-deployment-id": "ons_taken",
"x-deployment-target-path": "/api/tasque/care_task_occurrences/{id}/next_date/{date}/update_following",
"x-internal": false,
"consumes": [
"application/json",
"application/xml"
],
"produces": [
"application/json",
"application/xml"
]
}
},
"/t/tasque/care_task_occurrences/{id}/next_date/{date}/update_incidentally": {
"put": {
"tags": [
"tasque.CareTaskOccurrence"
],
"summary": "Find the next CareTaskOccurrence based on the id and a baseline search date and\nupdate only that found CareTaskOccurrence.",
"operationId": "tasque.CareTaskOccurrenceAPI.updateNextIncidentally",
"parameters": [
{
"name": "id",
"in": "path",
"description": "Identifier of CareTaskOccurrence to update.",
"required": true,
"type": "string"
},
{
"name": "date",
"in": "path",
"description": "The date from which the search for the next occurrence should be done",
"required": true,
"format": "date",
"type": "string"
},
{
"required": true,
"name": "body",
"in": "body",
"schema": {
"$ref": "#/definitions/tasque.CareTaskOccurrence"
}
}
],
"responses": {
"200": {
"description": "No response was specified",
"schema": {
"$ref": "#/definitions/tasque.CareTaskOccurrence"
}
}
},
"x-deployment-id": "ons_taken",
"x-deployment-target-path": "/api/tasque/care_task_occurrences/{id}/next_date/{date}/update_incidentally",
"x-internal": false,
"consumes": [
"application/json",
"application/xml"
],
"produces": [
"application/json",
"application/xml"
]
}
},
"/t/tasque/care_task_occurrences/{id}/update_following": {
"put": {
"tags": [
"tasque.CareTaskOccurrence"
],
"summary": "Updates the given CareTaskOccurrence item and all of the following occurrences of that item",
"operationId": "tasque.CareTaskOccurrenceAPI.updateFollowing",
"parameters": [
{
"name": "id",
"in": "path",
"description": "Identifier of CareTaskOccurrence to update.",
"required": true,
"type": "string"
},
{
"required": true,
"name": "body",
"in": "body",
"schema": {
"$ref": "#/definitions/tasque.CareTaskOccurrence"
}
}
],
"responses": {
"200": {
"description": "No response was specified",
"schema": {
"$ref": "#/definitions/tasque.CareTaskOccurrence"
}
}
},
"x-deployment-id": "ons_taken",
"x-deployment-target-path": "/api/tasque/care_task_occurrences/{id}/update_following",
"x-internal": false,
"consumes": [
"application/json",
"application/xml"
],
"produces": [
"application/json",
"application/xml"
]
}
},
"/t/tasque/care_task_occurrences/{id}/update_incidentally": {
"put": {
"tags": [
"tasque.CareTaskOccurrence"
],
"summary": "Updates only the given CareTaskOccurrence item",
"operationId": "tasque.CareTaskOccurrenceAPI.updateIncidentally",
"parameters": [
{
"name": "id",
"in": "path",
"description": "Identifier of CareTaskOccurrence to update.",
"required": true,
"type": "string"
},
{
"required": true,
"name": "body",
"in": "body",
"schema": {
"$ref": "#/definitions/tasque.CareTaskOccurrence"
}
}
],
"responses": {
"200": {
"description": "No response was specified",
"schema": {
"$ref": "#/definitions/tasque.CareTaskOccurrence"
}
}
},
"x-deployment-id": "ons_taken",
"x-deployment-target-path": "/api/tasque/care_task_occurrences/{id}/update_incidentally",
"x-internal": false,
"consumes": [
"application/json",
"application/xml"
],
"produces": [
"application/json",
"application/xml"
]
}
},
"/t/tasque/care_task_occurrences/by_sub_type_id/{sub_type_id}": {
"get": {
"tags": [
"tasque.CareTaskOccurrence"
],
"summary": "Returns the care task occurrences for the given sub-type and sub-type query.",
"operationId": "tasque.CareTaskOccurrenceAPI.bySubType",
"parameters": [
{
"name": "sub_type_query",
"in": "query",
"description": "regex for sub_type",
"required": true,
"type": "string"
},
{
"name": "sub_type_id",
"in": "path",
"description": "sub_type_id of task",
"required": true,
"type": "string"
}
],
"responses": {
"200": {
"description": "No response was specified",
"schema": {
"$ref": "#/definitions/tasque.list.CareTaskOccurrenceList"
}
}
},
"security": [
{
"X-Cupido-Customer-Code": [],
"X-Cupido-Deployment-Type": [],
"X-Cupido-User-Name": []
}
],
"x-deployment-id": "ons_taken",
"x-deployment-target-path": "/api/tasque/care_task_occurrences/by_sub_type_id/{sub_type_id}",
"x-internal": false,
"produces": [
"application/json",
"application/xml"
]
}
},
"/t/tasque/care_task_occurrences/client_ids_by_sub_type": {
"get": {
"tags": [
"tasque.CareTaskOccurrence"
],
"summary": "Query unique pairs [ \nEither an abosulte value or the sum of calculated value and deviation.\n Distances are ordered based on the underlying work (e.g. client visits) \nExpenses can either be manual or automatic. Manual expenses will simply consist of an {@link #amount}.\nAutomatic expenses are based on the {@link #calculatedAmount} that, combined with a {@link #deviation}, leads to the\nexpense {@link #amount}.\n \nA DSM 4 classification consists of 5 axis.\nThe speficication says:\n \n1 Klinische stoornis (bijv. depressie)\n2 Persoonlijkheidsstoornissen (bijv. afhankelijke persoonlijkheidsstoornis)\n3 Lichamelijke aandoeningen (relevant voor het begrijpen of behandelen van een psychische stoornis) (bijv. migraine)\n4 Psychosociale en omgevingsfactoren (bijv. scheiding, werkeloosheid )\n5 Algehele beoordeling van het functioneren (Global Assement of Functioning Scale, GAF) uitgedrukt op een schaal van 0 tot 100",
"format": "int32"
},
"diagnoseCode": {
"$ref": "#/definitions/dbc.ggz.Diagnose",
"description": "NZA Stamdata code for this diagnosis"
},
"zorgtrajectId": {
"type": "integer",
"description": "Object identifier for the corresponding Zorgtraject",
"format": "int64"
}
},
"description": "A diagnosis which has been assigned to a client.",
"example": {
"id": 1,
"externalId": 123,
"primair": true,
"trekkenVan": false,
"datum": "2016-08-18",
"diagnoseAs": 1,
"diagnoseCode": {
"id": 1,
"code": "000",
"begindatum": "2016-08-16",
"einddatum": "2016-08-16",
"omschrijving": "Traject",
"icd10": "UUU"
},
"zorgtrajectId": 1
}
},
"dbc.ggz.Diagnose": {
"type": "object",
"allOf": [
{
"$ref": "#/definitions/dbc.StamData"
}
],
"properties": {
"groepcode": {
"type": "string",
"description": "Group for this diagnosis"
},
"element": {
"type": "string",
"description": "Element in group"
},
"zvzSubscore": {
"type": "integer",
"format": "int32"
},
"aanspraakType": {
"type": "string",
"description": "Possible values:\nNIET_VERZEKERD(0),\nVERZEKERD(1);"
},
"hierarchieniveau": {
"type": "integer",
"description": "The nesting level",
"format": "int32"
},
"selecteerbaar": {
"type": "string",
"description": "Whether the user may select this diagnosis\n\nNIET_SELECTEERBAAR(0)\nSELECTEERBAAR_DIEPSTE_NIVEAU(1)\nSELECTEERBAAR_DIEPER_NIVEAU_MOGELIJK(2)"
},
"sorteervolgorde": {
"type": "integer",
"description": "Sorting order",
"format": "int32"
},
"diagnoseAs": {
"type": "integer",
"description": "Possible values:\n1,2,3,4,5",
"format": "int32"
},
"icd9cm": {
"type": "string"
},
"icd10": {
"type": "string"
},
"prestatieniveau": {
"type": "string"
},
"prestatiecodeNaamgevingGGZ": {
"type": "string"
},
"prestatiecodeNaamgevingFZ": {
"type": "string"
},
"prestatiecodedeelGGZ": {
"type": "string"
},
"prestatiecodedeelFZ": {
"type": "string"
},
"parallelliteitscodeGGZ": {
"type": "string"
},
"parallelliteitscodeFZ": {
"type": "string"
},
"brancheIndicatie": {
"type": "string",
"description": "Possible values:\nBEIDE(0)\nGGZ(1)\nFZ(2)"
}
},
"description": "NZA code list values for Diagnosis",
"example": {
"id": 1,
"code": "act_2.6",
"begindatum": "2016-01-01",
"einddatum": "9999-12-31",
"omschrijving": "Leesstoornis",
"groepcode": "as1_1.01",
"element": "Leesstoornis",
"zvzSubscore": 2,
"aanspraakType": "2",
"hierarchieniveau": 3,
"selecteerbaar": "1",
"sorteervolgorde": 1000050,
"diagnoseAs": 1,
"icd9cm": "315.00",
"icd10": "F81.0",
"prestatieniveau": "fictief_a",
"prestatiecodeNaamgevingGGZ": "Overige stoornissen in de kindertijd",
"prestatiecodeNaamgevingFZ": "Stoornissen in de kindertijd",
"prestatiecodedeelGGZ": "17",
"prestatiecodedeelFZ": "1",
"parallelliteitscodeGGZ": "28",
"parallelliteitscodeFZ": "1",
"brancheIndicatie": "0"
}
},
"dbc.StamData": {
"required": [
"code"
],
"type": "object",
"properties": {
"id": {
"type": "integer",
"description": "Object identifier",
"format": "int64",
"x-cupido-id": true
},
"code": {
"type": "string",
"description": "The code taken from NZA code lists."
},
"begindatum": {
"type": "string",
"description": "The first date this value is valid at.",
"format": "date"
},
"einddatum": {
"type": "string",
"description": "The last date this value is valid at.\n\nMay be 9999-12-31 to signify 'valid forever'",
"format": "date"
},
"omschrijving": {
"type": "string",
"description": "A humanly readable description for the value, in Dutch"
}
},
"description": "Base class for a code list of the NZA.\nSee documentation at https://puc.overheid.nl/nza/zorgsectoren/pagina/NZA003b/-/gdlv/1/p/1/",
"example": {
"id": 1,
"code": "example",
"begindatum": "2014-12-29",
"einddatum": "2014-12-29",
"omschrijving": "example"
}
},
"dossier.medical.dsm.list.ClassificationList": {
"type": "object",
"properties": {
"classifications": {
"type": "array",
"items": {
"$ref": "#/definitions/dossier.medical.dsm.Classification"
}
}
},
"description": "ClassificationList model (no description)",
"example": {
"classifications": [
{
"id": 5,
"uuid": "9ee1eb44-a89f-4fb6-bb29-ff39bfeef98e",
"clientId": 8,
"createdById": 1,
"updatedById": 1,
"createdAt": "2016-10-26T19:39:33.000+02:00",
"updatedAt": "2016-10-26T19:39:33.000+02:00",
"findings": [
{
"id": 9,
"uuid": "dbff59ee-4ec0-40bf-bdab-8ee8f29a83f4",
"clientId": 8,
"createdById": 1,
"updatedById": 1,
"createdAt": "2016-10-26T19:39:33.000+02:00",
"updatedAt": "2016-10-26T19:39:33.000+02:00",
"axis": 1,
"signsOf": false,
"mainDiagnosis": true,
"compoundCode": "2016-01-01|as1_10.02|0",
"dsmType": "DSM-IV",
"description": "Dissociatieve fugue"
},
{
"id": 10,
"uuid": "99db4e0f-0d7a-4c68-9f01-a38a7c30d11b",
"clientId": 8,
"createdById": 1,
"updatedById": 1,
"createdAt": "2016-10-26T19:39:33.000+02:00",
"updatedAt": "2016-10-26T19:39:33.000+02:00",
"axis": 2,
"signsOf": true,
"mainDiagnosis": false,
"compoundCode": "2016-01-01|as2_17.01|0",
"dsmType": "DSM-IV",
"description": "Zwakbegaafdheid"
}
],
"evaluations": [
{
"id": 1,
"uuid": "46b414fb-576c-4a5b-890e-0e7e058b4a72",
"clientId": 8,
"createdById": 1,
"updatedById": 1,
"createdAt": "2016-10-26T19:39:42.000+02:00",
"updatedAt": "2016-10-26T19:39:42.000+02:00",
"evaluationText": "Dit is een evaluatie",
"newDraft": false
}
],
"beginDate": "2016-10-26",
"endDate": "2016-10-26",
"classificationDate": "2016-10-26",
"status": "treatment_active",
"diagnosisDescription": "This is the descriptive diagnosis",
"parentId": 2,
"childId": 3,
"immutable": true,
"axis3weight": 1,
"gafStart": 51,
"gafCurrent": 61,
"gafMax": 71,
"gafEnd": 81,
"classificationSeriesId": 1
}
]
}
},
"dossier.medical.involuntary_care.Incompetence": {
"type": "object",
"allOf": [
{
"$ref": "#/definitions/dossier.medical.MedicalBase"
}
],
"properties": {
"narrative": {
"type": "string",
"description": "Extra comments relating to this incompetence"
},
"startDate": {
"type": "string",
"description": "The start date of the incompetence.",
"format": "date"
},
"endDate": {
"type": "string",
"description": "The end date of the incompetence. If this is in the past, the incompetence is no longer active",
"format": "date"
},
"snomedExpressionValue": {
"type": "string",
"description": "The snomed expression of the incompetence decision"
},
"decisionBuilders": {
"type": "array",
"items": {
"$ref": "#/definitions/dossier.medical.DecisionBuilder"
},
"description": "The decision builder to build the medical relation"
},
"decision": {
"type": "string"
}
},
"description": "An incompetence of a client",
"example": {
"id": 1,
"uuid": "02a26900-64d4-11e4-b4af-0002a5d5c51b",
"clientId": 2,
"createdById": 1,
"updatedById": 1,
"createdAt": "2014-11-14T00:00:00.000+01:00",
"updatedAt": "2014-11-14T00:00:00.000+01:00",
"narrative": "I can't do this",
"startDate": "2015-09-17",
"endDate": "2015-09-27",
"snomedExpressionValue": "285033005 | ability to manage medication |",
"decisionBuilders": [
{
"system": "example",
"query": "example",
"name": "example",
"outcome": "example"
},
{
"system": "example",
"query": "example",
"name": "example",
"outcome": "example"
}
],
"decision": "Uitvoeren van gastroscopie"
}
},
"dossier.medical.list.MedicalSummaryList": {
"type": "object",
"properties": {
"medicalSummaries": {
"type": "array",
"items": {
"$ref": "#/definitions/dossier.medical.MedicalSummary"
}
}
},
"description": "MedicalSummaryList model (no description)",
"example": {
"medicalSummaries": [
{
"clientId": 200,
"legalStatus": {
"id": 1,
"uuid": "02a26900-64d4-11e4-b4af-0002a5d5c51b",
"clientId": 2,
"createdById": 1,
"updatedById": 1,
"createdAt": "2014-11-14T00:00:00.000+01:00",
"updatedAt": "2014-11-14T00:00:00.000+01:00",
"status": "Artikel 60 Bopz-indicatie",
"code": "sapc",
"beginDate": "2015-09-17",
"endDate": "2015-09-27",
"comments": "5 weeks until renewal",
"documentId": 1,
"documentName": "artikel60.pdf",
"archived": false,
"request": false,
"legalStatusDocuments": [
{
"documentId": 1,
"documentName": "artikel60.pdf"
}
]
}
},
{
"clientId": 300,
"legalStatus": {
"id": 1,
"uuid": "02a26900-64d4-11e4-b4af-0002a5d5c51b",
"clientId": 2,
"createdById": 1,
"updatedById": 1,
"createdAt": "2014-11-14T00:00:00.000+01:00",
"updatedAt": "2014-11-14T00:00:00.000+01:00",
"status": "Artikel 60 Bopz-indicatie",
"code": "sapc",
"beginDate": "2015-09-17",
"endDate": "2015-09-27",
"comments": "5 weeks until renewal",
"documentId": 1,
"documentName": "bopz.pdf",
"archived": false,
"legalStatusDocuments": [
{
"documentId": 1,
"documentName": "artikel60.pdf"
}
]
}
}
]
}
},
"dossier.medical.MedicalSummary": {
"type": "object",
"properties": {
"clientId": {
"type": "integer",
"description": "The ID of the client the medical summary belongs to",
"format": "int64"
},
"legalStatus": {
"$ref": "#/definitions/dossier.medical.involuntary_care.LegalStatus",
"description": "The current legal status of the client"
},
"medicalPolicy": {
"$ref": "#/definitions/dossier.medical.advance_directives.Context",
"description": "The current medical policy of the client"
},
"resuscitationDecision": {
"$ref": "#/definitions/dossier.medical.advance_directives.ResuscitationDecision",
"description": "The current resuscitation decision for the client\nnull
if it does not end",
"format": "date"
},
"hourTypeId": {
"type": "integer",
"description": "The HourType of the Intent",
"format": "int64"
},
"frequency": {
"type": "integer",
"description": "The number of times this intent is present within the recurrence interval. It can be seen as the multiplier of the\nquantity. For example in '3 times 4 hours every week', 3 is the frequency.",
"format": "int32"
},
"quantityAmount": {
"type": "integer",
"description": "The amount matching the quantity",
"format": "int32"
},
"quantityUnit": {
"$ref": "#/definitions/arrangement.QuantityUnit",
"description": "The Intent's quantity unit, for example MINUTE or HOUR. In combination with the quantity amount, it determines the\nquantity of th the care that is intended. For example:\n- 2, HOUR means '2 hours'\n- 120, MINUTE means '120 minutes'"
},
"recurrenceInterval": {
"type": "integer",
"description": "The recurrence interval",
"format": "int32"
},
"recurrenceType": {
"$ref": "#/definitions/arrangement.RecurrenceType",
"description": "Together with the recurrence interval, the recurrence type determines how the intent is repeated over time.\nExamples:\n- 1, WEEK corresponds to 'every week'\n- 2, DAY corresponds to 'every 2 days' or 'every other day'"
},
"sourceApp": {
"type": "string",
"description": "The app that created this intent. Apps should use upper case names to identify themselves and never change this."
},
"sourceReference": {
"type": "string",
"description": "The reference to this intent. The exact meaning is application specific."
},
"sourceDescription": {
"type": "string",
"description": "Free text description."
},
"splittable": {
"type": "boolean",
"description": "Whether this intent may be split across multiple agenda entries when planning it."
},
"title": {
"type": "string",
"description": "The title of this intent."
},
"description": {
"type": "string",
"description": "The description of this intent."
},
"plannable": {
"type": "boolean",
"description": "Whether this intent plannable;"
}
},
"description": "Intent of the preference",
"example": {
"uuid": "12345",
"timelineUuid": "12344",
"clientUuid": "ABCD",
"clientId": 24,
"beginDate": "2018-06-14",
"endDate": "2018-05-20",
"hourTypeId": 12,
"frequency": 3,
"quantityAmount": 1,
"quantityUnit": "DAY_PART",
"recurrenceInterval": 1,
"recurrenceType": "WEEK",
"sourceApp": "PLANNING",
"sourceReference": "planning/123",
"sourceDescription": "for someone",
"splittable": true,
"title": "title",
"description": "description",
"plannable": true
},
"xml": {
"name": "intent"
}
},
"arrangement.QuantityUnit": {
"enum": [
"MINUTE",
"HOUR",
"DAY_PART",
"DAY",
"PIECE"
],
"type": "string",
"description": "The Intent's quantity unit, for example MINUTE or HOUR. In combination with the quantity amount, it determines the\nquantity of th the care that is intended. For example:\n- 2, HOUR means '2 hours'\n- 120, MINUTE means '120 minutes'",
"example": "MINUTE"
},
"arrangement.RecurrenceType": {
"enum": [
"HOUR",
"DAY",
"WEEK",
"PERIOD"
],
"type": "string",
"description": "Together with the recurrence interval, the recurrence type determines how the intent is repeated over time.\nExamples:\n- 1, WEEK corresponds to 'every week'\n- 2, DAY corresponds to 'every 2 days' or 'every other day'",
"example": "HOUR"
},
"arrangement.TimeSlot": {
"required": [
"uuid",
"clientId",
"clientUuid",
"dayOfWeek",
"beginAfter",
"endBefore"
],
"type": "object",
"properties": {
"uuid": {
"type": "string",
"description": "UUID identifying this time slot",
"x-cupido-id": true
},
"clientId": {
"type": "integer",
"description": "Client of this time slot",
"format": "int64"
},
"clientUuid": {
"type": "string",
"description": "Client UUID of this time slot"
},
"dayOfWeek": {
"type": "integer",
"description": "Day number of the week of this time slot\nMonday = 1 ... Sunday = 7",
"format": "int32",
"default": 0
},
"beginAfter": {
"type": "string",
"description": "Start time of this time slot",
"format": "time"
},
"endBefore": {
"type": "string",
"description": "End time of this time slot",
"format": "time"
}
},
"description": "TimeSlot of the preference",
"example": {
"uuid": "TIME_SLOT_UUID",
"clientId": 1,
"clientUuid": "CLIENT_UUID",
"dayOfWeek": 1,
"beginAfter": "00:00:00.000",
"endBefore": "00:00:00.000"
},
"xml": {
"name": "timeSlot"
}
},
"arrangement.UuidList": {
"type": "object",
"properties": {
"uuids": {
"type": "array",
"items": {
"type": "string",
"xml": {
"name": "uuid"
}
},
"xml": {
"wrapped": true
}
}
},
"description": "UuidList model (no description)",
"example": {
"uuids": [
"UUID",
"UUID"
]
},
"xml": {
"name": "uuidList"
}
},
"arrangement.list.IntentList": {
"type": "object",
"properties": {
"intents": {
"type": "array",
"items": {
"$ref": "#/definitions/arrangement.Intent"
}
}
},
"description": "IntentList model (no description)",
"example": {
"intents": [
{
"uuid": "4dc4ee6a-6b09-4245-8dd1-7aa192178280",
"timelineUuid": "1c7acb14-6d31-4b67-a999-3ed68fcbbf14",
"clientUuid": "1b481755-bada-4a28-9d9e-b1bf77943814",
"clientId": 544,
"beginDate": "2022-01-01",
"hourTypeId": 1,
"frequency": 3,
"quantityAmount": 4,
"quantityUnit": "HOUR",
"recurrenceInterval": 1,
"recurrenceType": "WEEK",
"sourceApp": "PLANNING"
},
{
"uuid": "4dc4ee6a-6b09-4245-8dd1-7aa192178280",
"timelineUuid": "1c7acb14-6d31-4b67-a999-3ed68fcbbf14",
"clientUuid": "1b481755-bada-4a28-9d9e-b1bf77943814",
"clientId": 544,
"beginDate": "2022-01-01",
"hourTypeId": 1,
"frequency": 3,
"quantityAmount": 4,
"quantityUnit": "HOUR",
"recurrenceInterval": 1,
"recurrenceType": "WEEK",
"sourceApp": "PLANNING"
}
]
}
},
"arrangement.Stakeholder": {
"required": [
"uuid",
"timelineUuid",
"intentUuid"
],
"type": "object",
"properties": {
"uuid": {
"type": "string",
"description": "UUID identifying this Stakeholder across applications",
"x-cupido-id": true
},
"timelineUuid": {
"type": "string",
"description": "UUID for the timeline that groups this Stakeholder with other Stakeholders and Intents"
},
"intentUuid": {
"type": "string",
"description": "UUID of the Intent to which this Stakeholder is coupled"
},
"employeeObjectId": {
"type": "integer",
"description": "Employee responsible for the Intent",
"format": "int64"
},
"educationObjectId": {
"type": "integer",
"description": "Education required for the Intent",
"format": "int64"
},
"responsibleClusterObjectId": {
"type": "integer",
"description": "Team responsible for the Intent",
"format": "int64"
},
"executingClusterObjectId": {
"type": "integer",
"description": "Team executing the Intent",
"format": "int64"
},
"presenceTime": {
"type": "integer",
"description": "Time (in minutes) present at the Intent",
"format": "int32"
},
"extraTime": {
"type": "integer",
"description": "Client time (in minutes)\n\nTime registered for the client where the stakeholder is not present at the client",
"format": "int32"
},
"travelTime": {
"type": "integer",
"description": "Travel time (in minutes)",
"format": "int32"
}
},
"description": "Stakeholder model (no description)",
"example": {
"uuid": "AAABB",
"timelineUuid": "ABCDEF",
"intentUuid": "AAAABB",
"employeeObjectId": 1,
"educationObjectId": 2,
"responsibleClusterObjectId": 123,
"executingClusterObjectId": 123,
"presenceTime": 60,
"extraTime": 0,
"travelTime": 5
},
"xml": {
"name": "stakeholder"
}
},
"arrangement.list.StakeholderList": {
"type": "object",
"properties": {
"stakeholders": {
"type": "array",
"items": {
"$ref": "#/definitions/arrangement.Stakeholder"
}
}
},
"description": "StakeholderList model (no description)",
"example": {
"stakeholders": [
{
"uuid": "AAABB",
"timelineUuid": "ABCDEF",
"intentUuid": "AAAABB"
},
{
"uuid": "AAABC",
"timelineUuid": "ABCDEF",
"intentUuid": "AAAABB"
}
]
}
},
"arrangement.list.TimeSlotList": {
"type": "object",
"properties": {
"timeSlots": {
"type": "array",
"items": {
"$ref": "#/definitions/arrangement.TimeSlot"
},
"xml": {
"name": "timeSlot"
}
}
},
"description": "TimeSlotList model (no description)",
"example": {
"timeSlots": [
{
"uuid": "TIME_SLOT_UUID",
"clientId": 1,
"clientUuid": "CLIENT_UUID",
"dayOfWeek": 1,
"beginAfter": "12:00:00.000",
"endBefore": "14:00:00.000"
},
{
"uuid": "TIME_SLOT_UUID",
"clientId": 1,
"clientUuid": "CLIENT_UUID",
"dayOfWeek": 2,
"beginAfter": "12:00:00.000",
"endBefore": "14:00:00.000"
}
]
},
"xml": {
"name": "timeSlots"
}
},
"list.AccessRightList": {
"type": "object",
"properties": {
"accessrights": {
"type": "array",
"items": {
"$ref": "#/definitions/AccessRight"
},
"xml": {
"name": "accessright"
}
}
},
"description": "AccessRightList model (no description)",
"example": {
"accessrights": [
{
"id": "AuthorizationProfileEdit",
"name": "Edit Authorization profiles in the administration menu",
"enabled": true
},
{
"id": "AuthorizationProfileAssign",
"name": "Assign authorization profiles to users in the medewerker->account-section",
"enabled": true
},
{
"id": "BadgeUpdate",
"name": "Update badge status: defective, lost etc.",
"enabled": false
}
]
},
"xml": {
"name": "accessrights"
}
},
"AccessRight": {
"type": "object",
"properties": {
"id": {
"type": "string",
"x-cupido-id": true
},
"name": {
"type": "string",
"description": "The human readable name of this access right"
},
"enabled": {
"type": "boolean",
"description": "Flag which determines if this access right is active"
}
},
"description": "AccessRights define the right to perform a certain action.\n\nExamples:\nAuthorizationProfileEdit -> The right to edit authorization profiles\nAuthorizationProfileAssign -> The right to assign authorization profiles to employees",
"example": {
"id": "AuthorizationProfileEdit",
"name": "Edit Authorization profiles in the administration menu",
"enabled": true
},
"xml": {
"name": "accessright"
}
},
"Bsn": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int64",
"x-cupido-id": true
},
"clientId": {
"type": "integer",
"format": "int64"
},
"number": {
"type": "string"
},
"sourceVerified": {
"type": "boolean"
},
"idVerified": {
"type": "boolean"
},
"idNumber": {
"type": "string"
},
"idType": {
"type": "string"
},
"source": {
"type": "string"
},
"idVerifiedType": {
"type": "string"
},
"idVerifiedDate": {
"type": "string",
"format": "date-time"
},
"bsnUnknown": {
"type": "boolean"
},
"reasonBsnUnknown": {
"type": "string"
},
"idValidUntil": {
"type": "string",
"format": "date"
},
"bsnVerifiedDate": {
"type": "string",
"format": "date"
},
"widVerified": {
"type": "boolean"
},
"verifiedByEmployeeId": {
"type": "integer",
"format": "int64"
},
"bsnDocumentType": {
"$ref": "#/definitions/bsn.BsnDocumentType"
},
"bsnSource": {
"$ref": "#/definitions/bsn.BsnSource"
},
"bsnIdVerifiedType": {
"$ref": "#/definitions/bsn.BsnIdVerifiedType"
}
},
"description": "Bsn model (no description)",
"example": {
"id": 42,
"clientId": 200,
"number": "0123456789",
"sourceVerified": true,
"idVerified": false,
"idNumber": "asd234",
"idType": "Paspoort",
"source": "OwnAdministration",
"idVerifiedType": "Geen",
"idVerifiedDate": "2010-03-15T00:00:00.000+01:00",
"bsnUnknown": false,
"reasonBsnUnknown": "Illegaal",
"idValidUntil": "2010-03-15",
"bsnVerifiedDate": "2010-03-15",
"widVerified": false,
"verifiedByEmployeeId": 100,
"bsnDocumentType": 1,
"bsnSource": -1,
"bsnIdVerifiedType": 2
},
"xml": {
"name": "bsn"
}
},
"bsn.BsnDocumentType": {
"type": "integer",
"description": "BsnDocumentType model (no description)",
"example": 0
},
"bsn.BsnSource": {
"type": "integer",
"description": "BsnSource model (no description)",
"example": -1
},
"bsn.BsnIdVerifiedType": {
"type": "integer",
"description": "BsnIdVerifiedType model (no description)",
"example": 0
},
"capacity.list.CapacityProfileList": {
"type": "object",
"properties": {
"capacityProfiles": {
"type": "array",
"items": {
"$ref": "#/definitions/capacity.CapacityProfile"
},
"xml": {
"name": "capacityProfile"
}
}
},
"description": "CapacityProfileList model (no description)",
"example": {
"capacityProfiles": [
{
"id": 1,
"name": "Active profile",
"comment": "Some nice comment about this profile",
"beginDate": "2018-01-01",
"capacityCategories": [
{
"id": 1,
"name": "Capacity category",
"financeType": {
"id": 1,
"externalCode": "Dummy",
"description": "Dummy",
"userIdentifier": "Dummy",
"beginDate": "2015-01-01",
"endDate": "2019-01-01",
"systemDefined": true,
"covRequired": true,
"agbSelectionEnabled": true,
"cakDelivery": false,
"useWmoNumbering": false,
"zzpAllowed": false
},
"productObjectId": 1,
"capacityExpertiseProfileAssignments": [
{
"id": 1,
"expertiseProfileObjectId": 4,
"categoryObjectId": 3,
"minutes": 30,
"createdAt": "2018-01-01T12:00:00.000+01:00",
"updatedAt": "2018-01-01T12:00:00.000+01:00"
}
],
"capacityExpertiseGroupAssignments": [
{
"id": 1,
"expertiseGroupObjectId": 3,
"categoryObjectId": 3,
"minutes": 60,
"createdAt": "2018-01-01T12:00:00.000+01:00",
"updatedAt": "2018-01-01T12:00:00.000+01:00"
}
],
"profileObjectId": 1,
"createdAt": "2018-01-01T12:00:00.000+01:00",
"updatedAt": "2018-01-01T12:00:00.000+01:00"
}
],
"createdAt": "2018-07-18T00:00:00.000+02:00",
"updatedAt": "2018-07-18T00:00:00.000+02:00"
},
{
"id": 2,
"name": "Future profile",
"beginDate": "2018-02-01",
"createdAt": "2018-07-18T00:00:00.000+02:00",
"updatedAt": "2018-07-18T00:00:00.000+02:00"
}
]
},
"xml": {
"name": "capacityProfiles"
}
},
"capacity.CapacityProfile": {
"required": [
"name",
"beginDate"
],
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int64",
"x-cupido-id": true
},
"name": {
"type": "string"
},
"comment": {
"type": "string",
"description": "Additional optional comments for this profile."
},
"financeType": {
"x-deprecated": true,
"$ref": "#/definitions/finance.FinanceType",
"description": "{@link FinanceType} for which this profile is defined."
},
"beginDate": {
"type": "string",
"format": "date"
},
"endDate": {
"type": "string",
"description": "End date of this profile. Can be null for never ending profile.",
"format": "date"
},
"capacityCategories": {
"uniqueItems": true,
"type": "array",
"items": {
"$ref": "#/definitions/capacity.CapacityCategory"
},
"description": "Set of all {@link CapacityCategory} instances that this profile contains.",
"xml": {
"wrapped": true
}
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"updatedAt": {
"type": "string",
"format": "date-time"
}
},
"description": "CapacityProfile is a profile used for capacity management. Every profile can contain multiple {@link CapacityCategory} instances.\nEvery {@link CapacityCategory} can contain multiple {@link CapacityExpertiseProfileAssignment} instances that link a {@link CapacityCategory} to an {@link com.nedap.healthcare.domain.ExpertiseProfile}\nfor a given number of minutes. Besides that, every {@link CapacityCategory} can contain multiple\n@link CapacityExpertiseGroupAssignment} instances that link a {@link CapacityCategory} to an {@link com.nedap.healthcare.domain.ExpertiseGroup}\nfor a given number of minutes. All those assignments together give an indication of the estimated capacity needed for this profile.",
"example": {
"id": 1,
"name": "Capacity profile",
"comment": "Test profile for capacity management",
"financeType": {
"id": 1,
"externalCode": "example",
"description": "example",
"userIdentifier": "example",
"beginDate": "2014-12-29",
"endDate": "2014-12-29",
"systemDefined": true,
"covRequired": true,
"agbSelectionEnabled": true,
"cakDelivery": true,
"useWmoNumbering": true,
"zzpAllowed": true,
"shape": "square",
"colorHex": "example",
"timeRange": true,
"category": 1
},
"beginDate": "2018-01-01",
"endDate": "2018-12-31",
"capacityCategories": [
{
"id": 1,
"name": "Capacity category",
"financeType": {
"id": 1,
"externalCode": "Dummy",
"description": "Dummy",
"userIdentifier": "Dummy",
"beginDate": "2015-01-01",
"endDate": "2019-01-01",
"systemDefined": true,
"covRequired": true,
"agbSelectionEnabled": true,
"cakDelivery": false,
"useWmoNumbering": false,
"zzpAllowed": false
},
"productObjectId": 1,
"profileObjectId": 1,
"createdAt": "2018-01-01T12:00:00.000+01:00",
"updatedAt": "2018-01-01T12:00:00.000+01:00"
}
],
"createdAt": "2018-01-01T12:00:00.000+01:00",
"updatedAt": "2018-01-01T12:00:00.000+01:00"
},
"xml": {
"name": "capacityProfile"
}
},
"finance.FinanceType": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int64",
"x-cupido-id": true
},
"externalCode": {
"type": "string"
},
"description": {
"type": "string"
},
"userIdentifier": {
"type": "string",
"description": "Short description"
},
"beginDate": {
"type": "string",
"format": "date"
},
"endDate": {
"type": "string",
"format": "date"
},
"systemDefined": {
"type": "boolean",
"description": "Indicates if this FinanceType was created by Nedap (=true) or if this was manually created (=false)"
},
"covRequired": {
"type": "boolean"
},
"agbSelectionEnabled": {
"type": "boolean",
"description": "Indicates if the agbcode can be manually selected (=true)"
},
"cakDelivery": {
"type": "boolean",
"description": "Indicates if this FinanceType is eligible (=true) for the CAK delivery",
"x-deprecated": true
},
"useWmoNumbering": {
"type": "boolean",
"description": "Indicates if this FinanceType has a beschikkingsnummer/aanvraagnummer/indicatie orgaan"
},
"zzpAllowed": {
"type": "boolean",
"description": "Indicates if this FinanceType is allowed to have ZZP products"
},
"shape": {
"$ref": "#/definitions/finance.Shape",
"description": "This is the shape of the icon used in Administration"
},
"colorHex": {
"type": "string",
"description": "This is color of the shape of the icon used in Administration"
},
"timeRange": {
"type": "boolean",
"description": "If this is true this finance type works with klassen otherwise this financetype works with a timerange"
},
"category": {
"type": "integer",
"description": "\nPossible values:\n0 - Overig\n1 - AWBZ extramuraal\n2 - AWBZ intramuraal\n3 - WMO\n4 - PGB\n5 - Onderaannemer\n7 - Jeugdwet\n9 - Eigen risico\n10 - ZVW\n11 - GGZ\n
",
"format": "int32"
}
},
"description": "{@link FinanceType} for which this profile is defined.",
"example": {
"id": 1,
"externalCode": "Dummy",
"description": "Dummy",
"userIdentifier": "Dummy",
"beginDate": "2015-01-01",
"endDate": "2019-01-01",
"systemDefined": true,
"covRequired": true,
"agbSelectionEnabled": true,
"cakDelivery": false,
"useWmoNumbering": false,
"zzpAllowed": false,
"shape": "square",
"colorHex": "#FFFFFF",
"timeRange": true,
"category": 2
},
"xml": {
"name": "financeType"
}
},
"finance.Shape": {
"type": "string",
"description": "This is the shape of the icon used in Administration",
"example": "square"
},
"capacity.CapacityCategory": {
"required": [
"name",
"financeType",
"productObjectId",
"profileObjectId"
],
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int64",
"x-cupido-id": true
},
"name": {
"type": "string"
},
"financeType": {
"$ref": "#/definitions/finance.FinanceType",
"description": "{@link FinanceType} for which this profile is defined."
},
"productObjectId": {
"type": "integer",
"description": "The objectId of the {@link com.nedap.healthcare.domain.finance.Product} instance on which this category is based.",
"format": "int64"
},
"capacityExpertiseProfileAssignments": {
"uniqueItems": true,
"type": "array",
"items": {
"$ref": "#/definitions/capacity.CapacityExpertiseProfileAssignment"
},
"description": "Set of all {@link CapacityExpertiseProfileAssignment} instances this category contains.",
"xml": {
"wrapped": true
}
},
"capacityExpertiseGroupAssignments": {
"uniqueItems": true,
"type": "array",
"items": {
"$ref": "#/definitions/capacity.CapacityExpertiseGroupAssignment"
},
"description": "Set of all {@link CapacityExpertiseGroupAssignment} instances this category contains.",
"xml": {
"wrapped": true
}
},
"profileObjectId": {
"type": "integer",
"description": "The objectId of the {@link CapacityProfile} that this category belongs to.",
"format": "int64"
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"updatedAt": {
"type": "string",
"format": "date-time"
}
},
"description": "Every CapacityCategory is defined for a single {@link FinanceType}.\nCapacityCategory is a category that can have multiple {@link CapacityExpertiseProfileAssignment} instances and multiple {@link CapacityExpertiseGroupAssignment} instances.\nEach assignment specifies how many minutes the {@link com.nedap.healthcare.domain.ExpertiseProfile} or {@link com.nedap.healthcare.domain.ExpertiseGroup} is required for this category.",
"example": {
"id": 1,
"name": "Capacity category",
"financeType": {
"id": 1,
"externalCode": "Dummy",
"description": "Dummy",
"userIdentifier": "Dummy",
"beginDate": "2015-01-01",
"endDate": "2019-01-01",
"systemDefined": true,
"covRequired": true,
"agbSelectionEnabled": true,
"cakDelivery": false,
"useWmoNumbering": false,
"zzpAllowed": false,
"shape": "square",
"colorHex": "#FFFFFF",
"timeRange": true,
"category": 2
},
"productObjectId": 1,
"capacityExpertiseProfileAssignments": [
{
"id": 1,
"expertiseProfileObjectId": 4,
"categoryObjectId": 3,
"minutes": 30,
"createdAt": "2018-01-01T12:00:00.000+01:00",
"updatedAt": "2018-01-01T12:00:00.000+01:00"
}
],
"capacityExpertiseGroupAssignments": [
{
"id": 1,
"expertiseGroupObjectId": 3,
"categoryObjectId": 3,
"minutes": 60,
"createdAt": "2018-01-01T12:00:00.000+01:00",
"updatedAt": "2018-01-01T12:00:00.000+01:00"
}
],
"profileObjectId": 1,
"createdAt": "2018-01-01T12:00:00.000+01:00",
"updatedAt": "2018-01-01T12:00:00.000+01:00"
},
"xml": {
"name": "capacityCategory"
}
},
"capacity.CapacityExpertiseProfileAssignment": {
"required": [
"expertiseProfileObjectId",
"categoryObjectId",
"minutes"
],
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int64",
"x-cupido-id": true
},
"expertiseProfileObjectId": {
"type": "integer",
"description": "The objectId of the {@link ExpertiseProfile} that is part of this assignment.",
"format": "int64"
},
"categoryObjectId": {
"type": "integer",
"description": "The objectId of the {@link CapacityCategory} that is part of this assignment.",
"format": "int64"
},
"minutes": {
"type": "integer",
"description": "Number of minutes that the {@link ExpertiseProfile} is configured for the {@link CapacityCategory}.",
"format": "int32",
"default": 0
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"updatedAt": {
"type": "string",
"format": "date-time"
}
},
"description": "CapacityExpertiseProfileAssignment specifies a link between a {@link CapacityCategory} and an {@link ExpertiseProfile}.",
"example": {
"id": 1,
"expertiseProfileObjectId": 4,
"categoryObjectId": 3,
"minutes": 30,
"createdAt": "2018-01-01T12:00:00.000+01:00",
"updatedAt": "2018-01-01T12:00:00.000+01:00"
},
"xml": {
"name": "capacityExpertiseProfileAssignment"
}
},
"capacity.CapacityExpertiseGroupAssignment": {
"required": [
"expertiseGroupObjectId",
"categoryObjectId",
"minutes"
],
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int64",
"x-cupido-id": true
},
"expertiseGroupObjectId": {
"type": "integer",
"description": "The objectId of the {@link ExpertiseGroup} that is part of this assignment.",
"format": "int64"
},
"categoryObjectId": {
"type": "integer",
"description": "The objectId of the {@link CapacityCategory} that is part of this assignment.",
"format": "int64"
},
"minutes": {
"type": "integer",
"description": "Number of minutes that the {@link ExpertiseGroup} is configured for the {@link CapacityCategory}.",
"format": "int32",
"default": 0
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"updatedAt": {
"type": "string",
"format": "date-time"
}
},
"description": "CapacityExpertiseProfileAssignment specifies a link between a {@link CapacityCategory} and an {@link ExpertiseGroup}.",
"example": {
"id": 1,
"expertiseGroupObjectId": 3,
"categoryObjectId": 3,
"minutes": 60,
"createdAt": "2018-01-01T12:00:00.000+01:00",
"updatedAt": "2018-01-01T12:00:00.000+01:00"
},
"xml": {
"name": "capacityExpertiseGroupAssignment"
}
},
"CareProviderAddress": {
"type": "object",
"allOf": [
{
"$ref": "#/definitions/Address"
}
],
"properties": {
"careProviderId": {
"type": "integer",
"format": "int64"
}
},
"description": "CareProviderAddress model (no description)",
"example": {
"id": 1,
"beginDate": "2010-02-16",
"endDate": "2010-02-17",
"homeNumber": 4,
"homeNumberExtension": "a",
"poBoxNumber": "123a",
"street": "Parallelweg",
"city": "Enschede",
"zipcode": "7513KC",
"municipality": "Enschede",
"country": "Netherlands",
"telephoneNumber": "053-1234567",
"telephoneCountryCode": "+31",
"telephoneNumber2": "053-1234567",
"telephoneCountryCode2": "+31",
"faxNumber": "053-1234567",
"email": "mike.wazowski@nedap.com",
"type": "residence address",
"typeString": "local",
"residentType": "0",
"personType": "1",
"personTypeString": "client",
"roomNumber": "1",
"locationDescription": "Afdeling noord",
"updatedAt": "2016-01-01T12:00:00.000+01:00",
"createdAt": "2016-01-01T12:00:00.000+01:00",
"latitude": 52.1,
"longitude": 6.9,
"careProviderId": 2,
"situationDescription": "Test"
},
"xml": {
"name": "careProviderAddress"
}
},
"CareAllocation": {
"required": [
"clientId",
"beginDate"
],
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int64",
"x-cupido-id": true
},
"clientId": {
"type": "integer",
"format": "int64"
},
"beginDate": {
"type": "string",
"format": "date"
},
"endDate": {
"type": "string",
"format": "date"
},
"comments": {
"type": "string"
},
"destination": {
"type": "string",
"description": "NVT: N.v.t.\nEIGEN_OMGEVING: Eigen omgeving\nEIGEN_OMGEVING_DAGBEHANDELING: Eigen omgeving met dagbehandeling\nINSTELLING_WLZ: Instelling (WLZ) of ziekenhuis\nINSTELLING_NIET_WLZ: Instelling (niet-WLZ)"
},
"reason": {
"type": "string",
"description": "REJECTED: Afgekeurd\nCLASS_CHANGED: Klasse is aangepast\nREVOKE_MUT: Intrekking MUT\nREVOKE_MAZ: Intrekking MAZ\nIN_CARE: N.v.t.\nDISMISS: Ontslag (intramuraal)\nDEATH: Overlijden\nTEMP_GONE: Tijdelijke afwezigheid\nREFUSED_BY_PROVIDER: Aanbieder weigert functie\nREFUSED_BY_CLIENT: Cliënt weigert functie\nRESUME: Onderbroken functie hervat\nEND_OF_CARE: Beëindiging zorg\nTRANSFER: Overplaatsing\nEND_OF_CARE_CLOSE_FUNCTION: Einde zorg (functies intrekken)\nEND_OF_CARE_OPEN_FUNCTION: Einde zorg (functies openlaten)\nTRANSFER_NO_MAZ: Overplaatsing (er is geen Maz)\nREQUEST_CUSTOM_CARE_ORDER: Aanvraag aangepaste zorgtoewijzing\nEND_OF_CARE_AFTER_INTAKE: Beëindiging zorg na intake\nDEATH_BY_SUICIDE: Overlijden door suïcide"
},
"reasonTemporary": {
"type": "string",
"description": "NVT: N.v.t.\nVAKANTIEVERLOF: Vakantieverlof\nZIEKENHUISOPNAME: Ziekenhuisopname\nKORTE_VERBLIJFPLAATSING: Korte verblijfplaatsing in WLZ-erkende instelling\nTIJDELIJK_THUIS: Tijdelijk thuis\nPANDEMIE: Pandemie"
}
},
"description": "CareAllocation model (no description)",
"example": {
"id": 1,
"clientId": 10,
"beginDate": "2016-01-01",
"endDate": "2020-01-01",
"comments": "niets te melden",
"destination": "EIGEN_OMGEVING",
"reason": "IN_CARE",
"reasonTemporary": "VAKANTIEVERLOF"
},
"xml": {
"name": "careAllocation"
}
},
"CareProvider": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int64",
"x-cupido-id": true
},
"identificationNumber": {
"type": "string"
},
"beholdenId": {
"type": "string"
},
"companyName": {
"type": "string"
},
"name": {
"type": "string"
},
"firstName": {
"type": "string"
},
"initials": {
"type": "string"
},
"prefix": {
"type": "string"
},
"gender": {
"type": "string",
"description": "\nPossible values:\nM - Male\nF - Female\nU - Unknown\n
"
},
"preferredContactTime": {
"type": "string"
},
"comments": {
"type": "string"
},
"categoryObjectId": {
"type": "integer",
"format": "int64"
},
"organisationCategoryId": {
"type": "integer",
"format": "int64"
}
},
"description": "The source of this MedicationChart. A pharmacy.\nidentificationNumber and companyName should be filled.\nThe identificationNumber should be the AGB-code of the pharmacy.\nAll other fields are optional.",
"example": {
"id": 111,
"identificationNumber": "555",
"beholdenId": "333",
"companyName": "compname",
"name": "name",
"firstName": "firstname",
"initials": "initials",
"prefix": "prefix",
"gender": "F",
"preferredContactTime": "preferredContactTime",
"comments": "comments",
"categoryObjectId": 123,
"organisationCategoryId": 456
},
"xml": {
"name": "careProvider"
}
},
"list.AddressList": {
"type": "object",
"properties": {
"addresses": {
"type": "array",
"items": {
"$ref": "#/definitions/Address"
}
}
},
"description": "AddressList model (no description)",
"example": {
"addresses": [
{
"id": 1,
"beginDate": "2010-02-16",
"endDate": "2010-02-17",
"homeNumber": 4,
"homeNumberExtension": "a",
"poBoxNumber": "123a",
"street": "Parallelweg",
"city": "Groenlo",
"zipcode": "7513KC",
"municipality": "Enschede",
"country": "Netherlands",
"telephoneNumber": "053-1234567",
"telephoneCountryCode": "+31",
"telephoneNumber2": "053-1234567",
"telephoneCountryCode2": "+31",
"faxNumber": "053-1234567",
"email": "mike.wazowski@nedap.com",
"type": "3",
"typeString": "residence address",
"residentType": "?",
"personType": "1",
"personTypeString": "client",
"roomNumber": "1",
"locationDescription": "Afdeling noord",
"updatedAt": "2016-01-01T12:00:00.000+01:00",
"createdAt": "2016-01-01T12:00:00.000+01:00",
"latitude": 52.1,
"longitude": 6.9,
"situationDescription": "Woont bij ex"
},
{
"id": 1,
"beginDate": "2010-02-16",
"endDate": "2010-02-17",
"homeNumber": 4,
"homeNumberExtension": "b",
"poBoxNumber": "123a",
"street": "Parallelweg",
"city": "Groenlo",
"zipcode": "7513KC",
"municipality": "Enschede",
"country": "Netherlands",
"telephoneNumber": "053-1234567",
"telephoneCountryCode": "+31",
"telephoneNumber2": "053-1234567",
"telephoneCountryCode2": "+31",
"faxNumber": "053-1234567",
"email": "mike.wazowski@nedap.com",
"type": "3",
"typeString": "residence address",
"residentType": "?",
"personType": "1",
"personTypeString": "client",
"roomNumber": "1",
"locationDescription": "Afdeling noord",
"updatedAt": "2016-01-01T12:00:00.000+01:00",
"createdAt": "2016-01-01T12:00:00.000+01:00",
"latitude": 52.1,
"longitude": 6.9,
"situationDescription": "Sleutel bij buurman"
}
]
}
},
"list.CareProviderList": {
"type": "object",
"properties": {
"careProviders": {
"type": "array",
"items": {
"$ref": "#/definitions/CareProvider"
},
"xml": {
"name": "careProvider"
}
}
},
"description": "CareProviderList model (no description)",
"example": {
"careProviders": [
{
"id": 111,
"identificationNumber": "555",
"beholdenId": "333",
"companyName": "compname",
"name": "name",
"firstName": "firstname",
"initials": "initials",
"prefix": "prefix",
"gender": "F",
"comments": "comments",
"categoryObjectId": 1234,
"organisationCategoryId": 456
}
]
},
"xml": {
"name": "careProviders"
}
},
"ClientAddress": {
"type": "object",
"allOf": [
{
"$ref": "#/definitions/Address"
}
],
"properties": {
"clientId": {
"type": "integer",
"format": "int64"
}
},
"description": "ClientAddress model (no description)",
"example": {
"id": 1,
"beginDate": "2010-02-16",
"endDate": "2010-02-17",
"homeNumber": 4,
"homeNumberExtension": "a",
"poBoxNumber": "123a",
"street": "Parallelweg",
"city": "Enschede",
"zipcode": "7513KC",
"municipality": "Enschede",
"country": "Netherlands",
"telephoneNumber": "053-1234567",
"telephoneCountryCode": "+31",
"telephoneNumber2": "053-1234567",
"telephoneCountryCode2": "+31",
"faxNumber": "053-1234567",
"email": "mike.wazowski@nedap.com",
"type": "residence address",
"typeString": "local",
"residentType": "0",
"personType": "1",
"personTypeString": "client",
"roomNumber": "1",
"locationDescription": "Afdeling noord",
"updatedAt": "2016-01-01T12:00:00.000+01:00",
"createdAt": "2016-01-01T12:00:00.000+01:00",
"latitude": 52.1,
"longitude": 6.9,
"clientId": 2,
"situationDescription": "Test"
},
"xml": {
"name": "clientAddress"
}
},
"ClientContactRelationAddress": {
"type": "object",
"allOf": [
{
"$ref": "#/definitions/Address"
}
],
"properties": {
"clientContactRelationId": {
"type": "integer",
"format": "int64"
}
},
"description": "ClientContactRelationAddress model (no description)",
"example": {
"id": 1,
"beginDate": "2010-02-16",
"endDate": "2010-02-17",
"homeNumber": 4,
"homeNumberExtension": "a",
"poBoxNumber": "123a",
"street": "Parallelweg",
"city": "Enschede",
"zipcode": "7513KC",
"municipality": "Enschede",
"country": "Netherlands",
"telephoneNumber": "053-1234567",
"telephoneCountryCode": "+31",
"telephoneNumber2": "053-1234567",
"telephoneCountryCode2": "+31",
"faxNumber": "053-1234567",
"email": "mike.wazowski@nedap.com",
"type": "residence address",
"typeString": "local",
"residentType": "0",
"personType": "client",
"personTypeString": "birthname",
"roomNumber": "1",
"locationDescription": "Afdeling noord",
"updatedAt": "2016-01-01T12:00:00.000+01:00",
"createdAt": "2016-01-01T12:00:00.000+01:00",
"latitude": 52.1,
"longitude": 6.9,
"clientContactRelationId": 1,
"situationDescription": "Test"
},
"xml": {
"name": "clientContactRelationAddress"
}
},
"list.ClientContactRelationList": {
"type": "object",
"properties": {
"clientContactRelations": {
"type": "array",
"items": {
"$ref": "#/definitions/ClientContactRelation"
},
"xml": {
"name": "clientContactRelation"
}
}
},
"description": "ClientContactRelationList model (no description)",
"example": {
"clientContactRelations": [
{
"updatedAt": "2014-04-17T16:04:36.000+02:00",
"createdAt": "2014-04-17T16:04:36.000+02:00",
"id": 10310,
"firstName": "",
"name": "Mw. MMT 05-11-86",
"identificationNo": "",
"preferredNameType": "0",
"lastName": "05-11-86-Niemeijer",
"birthName": "05-11-86",
"partnerName": "Niemeijer",
"initials": "MMT",
"prefix": "",
"birthNamePrefix": "",
"partnerNamePrefix": "",
"gender": "F",
"clientObjectId": 30259,
"inCaseOfEmergency": false,
"comments": "Casemanager komt 1 keer per maand"
},
{
"updatedAt": "2014-04-17T14:05:26.000+02:00",
"createdAt": "2014-04-17T14:05:26.000+02:00",
"id": 10303,
"firstName": "",
"name": "Dhr. AA Groothuis",
"identificationNo": "",
"preferredNameType": "0",
"lastName": "Groothuis",
"birthName": "Groothuis",
"partnerName": "",
"initials": "AA",
"prefix": "",
"birthNamePrefix": "",
"partnerNamePrefix": "",
"gender": "M",
"clientObjectId": 30258,
"inCaseOfEmergency": true,
"comments": ""
}
]
},
"xml": {
"name": "clientContactRelations"
}
},
"ClientContactRelation": {
"type": "object",
"allOf": [
{
"$ref": "#/definitions/AuditedBase"
}
],
"properties": {
"id": {
"type": "integer",
"format": "int64",
"x-cupido-id": true
},
"firstName": {
"type": "string"
},
"name": {
"type": "string"
},
"identificationNo": {
"type": "string"
},
"preferredNameType": {
"type": "string"
},
"lastName": {
"type": "string"
},
"birthName": {
"type": "string"
},
"partnerName": {
"type": "string"
},
"initials": {
"type": "string"
},
"prefix": {
"type": "string"
},
"birthNamePrefix": {
"type": "string"
},
"partnerNamePrefix": {
"type": "string"
},
"gender": {
"type": "string"
},
"clientObjectId": {
"type": "integer",
"format": "int64"
},
"bsn": {
"x-deprecated": true,
"$ref": "#/definitions/Bsn",
"description": "DEPRECATED"
},
"clientContactRelationType": {
"$ref": "#/definitions/nexus.ClientContactRelationType",
"description": "Vektiscode"
},
"clientContactRelationTypeObjectId": {
"type": "integer",
"format": "int64"
},
"personalRelationType": {
"$ref": "#/definitions/nexus.PersonalRelationType",
"description": "Vektiscode"
},
"personalRelationTypeObjectId": {
"type": "integer",
"format": "int64"
},
"organization": {
"type": "string"
},
"inCaseOfEmergency": {
"type": "boolean"
},
"comments": {
"type": "string"
}
},
"description": "ClientContactRelation model (no description)",
"example": {
"updatedAt": "2014-04-17T16:04:36.000+02:00",
"createdAt": "2014-04-17T16:04:36.000+02:00",
"createdBy": "user",
"id": 10310,
"firstName": "Wil",
"name": "Mw. MMT 05-11-86",
"identificationNo": "code",
"preferredNameType": "0",
"lastName": "Jansen-Niemeijer",
"birthName": "Jansen",
"partnerName": "Niemeijer",
"initials": "MMT",
"prefix": "",
"birthNamePrefix": "",
"partnerNamePrefix": "",
"gender": "F",
"clientObjectId": 30259,
"bsn": {
"id": 1,
"clientId": 1,
"number": "example",
"sourceVerified": true,
"idVerified": true,
"idNumber": "example",
"idType": "example",
"source": "example",
"idVerifiedType": "example",
"idVerifiedDate": "2014-12-29T00:00:00.000+01:00",
"bsnUnknown": true,
"reasonBsnUnknown": "example",
"idValidUntil": "2014-12-29",
"bsnVerifiedDate": "2014-12-29",
"widVerified": true,
"verifiedByEmployeeId": 1,
"bsnDocumentType": 0,
"bsnSource": -1,
"bsnIdVerifiedType": 0
},
"clientContactRelationType": {
"id": 1,
"name": "example",
"tag": "example",
"primary": true,
"exclusive": true,
"relevant": true,
"negative": true,
"active": true,
"legal": true,
"vbmResponsible": true,
"vektisCode": 1,
"reference": 1,
"relationCategory": {
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"name": "example",
"type": "example"
},
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example"
},
"clientContactRelationTypeObjectId": 1,
"personalRelationType": {
"id": 1,
"name": "example",
"tag": "example",
"primary": true,
"exclusive": true,
"relevant": true,
"negative": true,
"active": true,
"legal": true,
"vbmResponsible": true,
"vektisCode": 1,
"reference": 1,
"relationCategory": {
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"name": "example",
"type": "example"
},
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example"
},
"personalRelationTypeObjectId": 2,
"organization": "Nedap",
"inCaseOfEmergency": false,
"comments": "Casemanager komt 1 keer per maand"
},
"xml": {
"name": "clientContactRelation"
}
},
"AuditedBase": {
"title": "AuditedBase",
"type": "object",
"properties": {
"updatedAt": {
"type": "string",
"description": "Dated Base extension.",
"format": "date-time",
"x-nullable": true
},
"createdAt": {
"type": "string",
"format": "date-time",
"x-nullable": true
},
"createdBy": {
"type": "string",
"x-nullable": true
}
},
"description": "AuditedBase model (no description)",
"example": {
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example"
}
},
"nexus.ClientContactRelationType": {
"type": "object",
"allOf": [
{
"$ref": "#/definitions/nexus.RelationType"
}
],
"description": "Vektiscode",
"example": {
"id": 6,
"name": "Curator",
"tag": "tag",
"primary": true,
"exclusive": true,
"relevant": true,
"negative": false,
"active": true,
"legal": true,
"vbmResponsible": false,
"vektisCode": 1,
"reference": 1,
"relationCategory": {
"updatedAt": "2013-09-24T11:49:58.000+02:00",
"createdAt": "2013-09-24T11:49:58.000+02:00",
"createdBy": "user",
"id": 7,
"name": "Standard"
},
"updatedAt": "2013-09-24T11:49:58.000+02:00",
"createdAt": "2013-09-24T11:49:58.000+02:00",
"createdBy": "user"
}
},
"nexus.RelationType": {
"type": "object",
"allOf": [
{
"$ref": "#/definitions/AuditedBase"
}
],
"properties": {
"id": {
"type": "integer",
"format": "int64",
"x-cupido-id": true
},
"name": {
"type": "string"
},
"tag": {
"type": "string"
},
"primary": {
"type": "boolean"
},
"exclusive": {
"type": "boolean"
},
"relevant": {
"type": "boolean"
},
"negative": {
"type": "boolean"
},
"active": {
"type": "boolean"
},
"legal": {
"type": "boolean"
},
"vbmResponsible": {
"type": "boolean"
},
"vektisCode": {
"type": "integer",
"description": "See https://www.vektis.nl/standaardisatie/codelijsten/COD821-VEKT",
"format": "int64"
},
"reference": {
"type": "integer",
"description": "Only available during transitional period.",
"format": "int64",
"x-deprecated": true
},
"relationCategory": {
"$ref": "#/definitions/nexus.RelationCategory"
}
},
"description": "RelationType model (no description)",
"example": {
"updatedAt": "2013-09-24T11:49:58.000+02:00",
"createdAt": "2013-09-24T11:49:58.000+02:00",
"createdBy": "user",
"id": 6,
"name": "Coach",
"tag": "coach",
"primary": true,
"exclusive": true,
"relevant": true,
"negative": false,
"active": true,
"legal": false,
"vbmResponsible": false,
"vektisCode": 1,
"reference": 1,
"relationCategory": {
"updatedAt": "2013-09-24T11:49:58.000+02:00",
"createdAt": "2013-09-24T11:49:58.000+02:00",
"createdBy": "user",
"id": 7,
"name": "Standard"
}
},
"x-deprecated-since": "03-10-2014",
"x-deprecated": true
},
"nexus.RelationCategory": {
"type": "object",
"allOf": [
{
"$ref": "#/definitions/AuditedBase"
}
],
"properties": {
"id": {
"type": "integer",
"format": "int64",
"x-cupido-id": true
},
"name": {
"type": "string"
},
"type": {
"type": "string"
}
},
"description": "RelationCategory model (no description)",
"example": {
"updatedAt": "2013-09-24T11:49:58.000+02:00",
"createdAt": "2013-09-24T11:49:58.000+02:00",
"createdBy": "user",
"id": 7,
"name": "Standard",
"type": "SOCIAL"
},
"xml": {
"name": "relationCategory"
}
},
"nexus.PersonalRelationType": {
"type": "object",
"allOf": [
{
"$ref": "#/definitions/nexus.RelationType"
}
],
"description": "Vektiscode",
"example": {
"id": 6,
"name": "Father",
"tag": "tag",
"primary": true,
"exclusive": true,
"relevant": true,
"negative": false,
"active": true,
"legal": true,
"vbmResponsible": false,
"vektisCode": 1,
"reference": 1,
"relationCategory": {
"updatedAt": "2013-09-24T11:49:58.000+02:00",
"createdAt": "2013-09-24T11:49:58.000+02:00",
"createdBy": "user",
"id": 7,
"name": "Standard"
},
"updatedAt": "2013-09-24T11:49:58.000+02:00",
"createdAt": "2013-09-24T11:49:58.000+02:00",
"createdBy": "user"
}
},
"ClientAbsenceReason": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int64",
"x-cupido-id": true
},
"reason": {
"type": "string"
},
"active": {
"type": "boolean",
"default": false
}
},
"description": "ClientAbsenceReason domain model used by Cupido system.",
"example": {
"id": 42,
"reason": "aap",
"active": true
},
"xml": {
"name": "clientAbsenceReason"
}
},
"list.ClientAbsenceReasonList": {
"type": "object",
"properties": {
"clientAbsenceReasons": {
"type": "array",
"items": {
"$ref": "#/definitions/ClientAbsenceReason"
},
"xml": {
"name": "clientAbsenceReason"
}
}
},
"description": "ClientAbsenceReasonList model (no description)",
"example": {
"clientAbsenceReasons": [
{
"id": 42,
"reason": "aap",
"active": true
},
{
"id": 1337,
"reason": "dev",
"active": false
}
]
},
"xml": {
"name": "clientAbsenceReasons"
}
},
"ClientAbsence": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int64",
"x-cupido-id": true
},
"clientId": {
"type": "integer",
"format": "int64"
},
"clientAbsenceReason": {
"$ref": "#/definitions/ClientAbsenceReason"
},
"beginDate": {
"type": "string",
"format": "date-time"
},
"endDate": {
"type": "string",
"format": "date-time"
},
"beginTime": {
"type": "string",
"format": "time"
},
"endTime": {
"type": "string",
"format": "time"
},
"note": {
"type": "string"
},
"sourceId": {
"type": "integer",
"format": "int64"
}
},
"description": "ClientAbsence domain model used by Cupido system.",
"example": {
"id": 1,
"clientId": 1,
"clientAbsenceReason": {
"id": 42,
"reason": "aap",
"active": true
},
"beginDate": "2012-08-02T13:48:46.836+02:00",
"endDate": "2012-08-02T13:48:46.836+02:00",
"beginTime": "11:48:46.836",
"endTime": "12:48:46.836",
"note": "mies",
"sourceId": 900
},
"xml": {
"name": "clientAbsence"
}
},
"list.ClientAbsenceList": {
"type": "object",
"properties": {
"clientAbsences": {
"type": "array",
"items": {
"$ref": "#/definitions/ClientAbsence"
},
"xml": {
"name": "clientAbsence"
}
}
},
"description": "ClientAbsenceList model (no description)",
"example": {
"clientAbsences": [
{
"id": 1,
"clientId": 1,
"endDate": "2012-08-02T11:48:46.836+02:00",
"beginTime": "11:48:46.836",
"endTime": "12:48:46.836",
"note": "aap",
"sourceId": 900
},
{
"id": 2,
"clientId": 2,
"endDate": "2012-08-03T11:48:46.836+02:00",
"endTime": "12:48:46.836",
"note": "noot",
"sourceId": 901
},
{
"id": 3,
"clientId": 3,
"endDate": "2012-08-04T11:48:46.836+02:00",
"beginTime": "11:48:46.836",
"note": "mies",
"sourceId": 902
}
]
},
"xml": {
"name": "clientAbsences"
}
},
"Client": {
"type": "object",
"allOf": [
{
"$ref": "#/definitions/Person"
}
],
"properties": {
"givenName": {
"type": "string",
"description": "The given name (roepnaam) of the client."
},
"civilStatus": {
"type": "integer",
"description": "The civil status of the client. Allowed values:\n0: Unknown\n1: Unmarried and never had registered partnership\n2: Married\n3: Divorced\n4: Widow\n5: Registered partnership\n6: Divorced but has registered partnership\n7: Widow but has registered partnership\n8: Unmarried and no registered partnership\n9: Unmarried and no registered partnership, but had once a registered partnership",
"format": "int32"
},
"civilStatusDate": {
"type": "string",
"description": "The date from which the civil status applies.",
"format": "date-time"
},
"deathDate": {
"type": "string",
"description": "The date the client passed away.",
"format": "date-time"
},
"hometown": {
"type": "string",
"description": "The home town of the client."
},
"nationality": {
"type": "string",
"description": "The nationality of the client, as a 2-letter ISO3166 country code."
},
"language": {
"type": "string",
"description": "The language of the client, as a ISO 639-1 language code."
},
"religion": {
"type": "string",
"description": "The religion of the client."
},
"addressString": {
"type": "string",
"description": "Deprecated, this field is never set.",
"x-deprecated": true
},
"match": {
"type": "string",
"description": "Deprecated, this field is never set.",
"x-deprecated": true
},
"careAllocations": {
"type": "array",
"items": {
"$ref": "#/definitions/CareAllocation"
},
"description": "All care periods for this client.",
"xml": {
"wrapped": true
}
},
"careAllocationBeginDate": {
"type": "string",
"description": "The begin date of the current of most recent past care allocation. Deprecated, use careAllocations.",
"format": "date",
"x-deprecated": true
},
"careAllocationEndDate": {
"type": "string",
"description": "The end date of the current or most recent past care allocation. Deprecated, use careAllocations.",
"format": "date",
"x-deprecated": true
},
"careAllocationReason": {
"type": "string",
"description": "The end of care reason of the current or most recent past care allocation. Deprecated, use careAllocations.",
"x-deprecated": true
},
"secretClient": {
"type": "boolean",
"description": "Indicates if this client is secret."
},
"uuid": {
"type": "string",
"description": "Type 4 Universally Unique Identifier of the client."
},
"levelOfEducation": {
"type": "string",
"description": "Level of education of the client. Allowed values are:\n10: Onderwijs aan kleuters\n20: Primair Onderwijs (omvat codes 10 en 20)\n30: VMBO (omvat codes 31, 32 en 33)\n31: Secundair onderwijs, eerste fase, Laag\n32: Secundair onderwijs, eerste fase, Midden\n33: Secundair onderwijs, eerste fase, Hoog\n40: HAVO, VWO, MBO (omvat codes 41, 42 en 43)\n41: Secundair onderwijs, tweede fase, Laag\n42: Secundair onderwijs, tweede fase, Midden\n43: Secundair onderwijs, tweede fase, Hoog\n50: Bachelor (omvat codes 51, 52 en 53)\n51: Hoger onderwijs, eerste fase, Laag\n52: Hoger onderwijs, eerste fase, Midden\n53: Hoger onderwijs, eerste fase, Hoog\n60: Master (omvat codes 60 en 70)\n70: Hoger onderwijs, derde fase\n99: Onbekend"
},
"livingSituation": {
"type": "string",
"description": "Living situation of the client. Allowed values are:\n10: Alleenstaand\n20: Zonder partner, met kinderen\n30: Met partner, zonder kinderen\n40: Met partner, met kinderen\n70: Optioneel: Niet-ggz-institutie\n80: Optioneel: Ggz-institutie\n90: Optioneel: Zwervend, dakloos\n97: Anders\n99: Onbekend"
},
"skn": {
"type": "string",
"description": "The strafrechtketennummer, max 15 numeric characters."
}
},
"description": "Client registered on Cupido system.",
"example": {
"id": 1,
"firstName": "Mike",
"name": "Dhr Mike Wazowski",
"identificationNo": "wazo",
"dateOfBirth": "1982-01-01",
"preferredNameType": "0",
"lastName": "Wazowski",
"birthName": "Wazowski",
"partnerName": "none",
"initials": "W",
"prefix": "ir",
"birthNamePrefix": "ir",
"partnerNamePrefix": "none",
"gender": "M",
"emailAddress": "someone@nedap.com",
"mobilePhone": "0612345678",
"freeField1": "Free field 1 description",
"freeField2": "Free field 2 description",
"freeField3": "Free field 3 description",
"freeField4": "Free field 4 description",
"updatedAt": "2016-01-01T12:00:00.000+01:00",
"createdAt": "2016-01-01T12:00:00.000+01:00",
"givenName": "Mike",
"civilStatus": 0,
"civilStatusDate": "2010-03-15T00:00:00.000+01:00",
"deathDate": "2010-03-15T00:00:00.000+01:00",
"hometown": "Groenlo",
"nationality": "NL",
"language": "NL",
"religion": "None",
"addressString": "parallelweg 4, groenlo",
"match": "Waiting",
"careAllocations": [
{
"id": 1,
"clientId": 10,
"beginDate": "2016-01-01",
"endDate": "2020-01-01",
"comments": "niets te melden",
"destination": "EIGEN_OMGEVING",
"reason": "IN_CARE",
"reasonTemporary": "VAKANTIEVERLOF"
}
],
"careAllocationBeginDate": "2010-01-01",
"careAllocationEndDate": "2014-01-01",
"careAllocationReason": "InCare",
"secretClient": false,
"uuid": "abca58ed-0138-4aec-87c6-5d391e98161b",
"levelOfEducation": "52",
"livingSituation": "40",
"skn": "123456789012345"
},
"xml": {
"name": "client"
}
},
"Person": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int64",
"x-cupido-id": true,
"x-nullable": true
},
"firstName": {
"type": "string",
"description": "The first name(s) of the person."
},
"name": {
"type": "string",
"description": "Deprecated since: 14-03-2019",
"x-deprecated": true
},
"identificationNo": {
"type": "string",
"description": "Human-readable identification number of the person (clientnummer or medewerkernummer)."
},
"dateOfBirth": {
"type": "string",
"description": "The date of birth of the person.",
"format": "date"
},
"preferredNameType": {
"type": "string",
"description": "Preferred way of writing the name of the person. Possible values:\n0 (birth name)\n1 (partner name)\n2 (birth name - partner name)\n3 (partner name - birth name)"
},
"lastName": {
"type": "string",
"description": "The last name of the person, taking into account the preferredNameType setting."
},
"birthName": {
"type": "string",
"description": "The birth name of the person, without prefix."
},
"partnerName": {
"type": "string",
"description": "The last name of the partner of the person, without prefix."
},
"initials": {
"type": "string",
"description": "The initials of the person."
},
"prefix": {
"type": "string",
"description": "The prefix(es) of the last name(s) of the person, taking into account the preferredNameType setting."
},
"birthNamePrefix": {
"type": "string",
"description": "The birth name prefix of the person."
},
"partnerNamePrefix": {
"type": "string",
"description": "The partner name prefix of the person."
},
"gender": {
"type": "string",
"description": "The gender of the person."
},
"emailAddress": {
"type": "string",
"description": "The email address of the person, as registered on the personalia screen."
},
"mobilePhone": {
"type": "string",
"description": "The phone number of the person, as registered on the personalia screen."
},
"freeField1": {
"type": "string",
"description": "Contents of free field 1."
},
"freeField2": {
"type": "string",
"description": "Contents of free field 2."
},
"freeField3": {
"type": "string",
"description": "Contents of free field 3."
},
"freeField4": {
"type": "string",
"description": "Contents of free field 4."
},
"updatedAt": {
"type": "string",
"format": "date-time"
},
"createdAt": {
"type": "string",
"format": "date-time"
}
},
"description": "Common attributes for Client and Employee.",
"example": {
"id": 1,
"firstName": "Mike",
"name": "Dhr Mike Wazowski",
"identificationNo": "wazo",
"dateOfBirth": "1982-01-01",
"preferredNameType": "0",
"lastName": "Wazowski",
"birthName": "Wazowski",
"partnerName": "none",
"initials": "W",
"prefix": "ir",
"birthNamePrefix": "ir",
"partnerNamePrefix": "none",
"gender": "M",
"emailAddress": "mike.wazowski@nedap.com",
"mobilePhone": "0612345678",
"freeField1": "Free field 1 description",
"freeField2": "Free field 2 description",
"freeField3": "Free field 3 description",
"freeField4": "Free field 4 description",
"updatedAt": "2016-01-01T12:00:00.000+01:00",
"createdAt": "2016-01-01T12:00:00.000+01:00"
}
},
"ClientsInCare": {
"type": "object",
"properties": {
"noLongerInCareAmount": {
"type": "integer",
"format": "int32"
},
"activeInCareAmount": {
"type": "integer",
"format": "int32"
},
"inactiveInCareAmount": {
"type": "integer",
"format": "int32"
},
"waitingForCareAmount": {
"type": "integer",
"format": "int32"
},
"activeNoLongerInCareAmount": {
"type": "integer",
"format": "int32"
}
},
"description": "ClientsInCare model (no description)",
"example": {
"noLongerInCareAmount": 1,
"activeInCareAmount": 2,
"inactiveInCareAmount": 3,
"waitingForCareAmount": 4,
"activeNoLongerInCareAmount": 5
},
"xml": {
"name": "clientsInCare"
}
},
"BankAccount": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int64",
"x-cupido-id": true
},
"number": {
"type": "string"
},
"nameOfOwner": {
"type": "string"
},
"cityOfOwner": {
"type": "string"
},
"iban": {
"type": "string"
},
"bic": {
"type": "string"
},
"creditBankAccount": {
"type": "boolean"
},
"authorizationDate": {
"type": "string",
"format": "date"
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"updatedAt": {
"type": "string",
"format": "date-time"
}
},
"description": "BankAccount model (no description)",
"example": {
"id": 1,
"number": "Dummy",
"nameOfOwner": "Dummy",
"cityOfOwner": "Dummy",
"iban": "Dummy",
"bic": "Dummy",
"creditBankAccount": false,
"authorizationDate": "2016-01-01",
"createdAt": "2016-01-01T12:00:00.000+01:00",
"updatedAt": "2016-01-01T12:00:00.000+01:00"
},
"xml": {
"name": "bankAccount"
}
},
"list.CareAllocationList": {
"type": "object",
"properties": {
"careAllocations": {
"type": "array",
"items": {
"$ref": "#/definitions/CareAllocation"
},
"xml": {
"name": "careAllocation"
}
}
},
"description": "CareAllocationList model (no description)",
"example": {
"careAllocations": [
{
"id": 1,
"clientId": 544,
"beginDate": "2016-01-01",
"endDate": "2020-01-01",
"comments": "niets te melden",
"destination": "EIGEN_OMGEVING",
"reason": "IN_CARE",
"reasonTemporary": "VAKANTIEVERLOF"
}
]
},
"xml": {
"name": "careAllocations"
}
},
"list.CareArrangementList": {
"type": "object",
"properties": {
"careArrangements": {
"type": "array",
"items": {
"$ref": "#/definitions/CareArrangement"
},
"xml": {
"name": "careArrangement"
}
}
},
"description": "CareArrangementList model (no description)",
"example": {
"careArrangements": [
{
"id": 1,
"clientObjectId": 7815,
"teamObjectId": 0,
"activityObjectId": 39,
"category": 1,
"beginDate": "2010-02-22T00:00:00.000+01:00",
"endDate": "2010-05-21T23:59:59.000+02:00",
"normMorning": 180,
"normAfternoon": 0,
"normEvening": 0,
"normNight": 0,
"mornings": "1 2 3 4 5",
"afternoons": "",
"evenings": "",
"nights": ""
}
]
},
"xml": {
"name": "careArrangements"
}
},
"CareArrangement": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int64",
"x-cupido-id": true
},
"clientObjectId": {
"type": "integer",
"format": "int64"
},
"teamObjectId": {
"type": "integer",
"format": "int64"
},
"activityObjectId": {
"type": "integer",
"description": "Id of an activityObject, also known as hour_type",
"format": "int64"
},
"category": {
"type": "integer",
"format": "int32"
},
"beginDate": {
"type": "string",
"format": "date-time"
},
"endDate": {
"type": "string",
"format": "date-time"
},
"normMorning": {
"type": "integer",
"format": "int32"
},
"normAfternoon": {
"type": "integer",
"format": "int32"
},
"normEvening": {
"type": "integer",
"format": "int32"
},
"normNight": {
"type": "integer",
"format": "int32"
},
"mornings": {
"type": "string"
},
"afternoons": {
"type": "string"
},
"evenings": {
"type": "string"
},
"nights": {
"type": "string"
}
},
"description": "Care arrangement domain model.",
"example": {
"id": 1,
"clientObjectId": 7815,
"teamObjectId": 0,
"activityObjectId": 39,
"category": 1,
"beginDate": "2010-02-22T01:00:00.000+01:00",
"endDate": "2010-05-22T01:59:59.000+02:00",
"normMorning": 180,
"normAfternoon": 0,
"normEvening": 0,
"normNight": 0,
"mornings": "1 2 3 4 5",
"afternoons": "1 2 3 4 5",
"evenings": "1 2 3 4 5",
"nights": "1 2 3 4 5"
},
"xml": {
"name": "careArrangement"
}
},
"list.ClientCardList": {
"type": "object",
"properties": {
"clientCards": {
"type": "array",
"items": {
"$ref": "#/definitions/ClientCard"
}
}
},
"description": "ClientCardList model (no description)",
"example": {
"clientCards": [
{
"id": 3,
"beginDate": "2012-08-02T11:48:46.836+02:00",
"endDate": "2012-08-05T11:48:46.836+02:00",
"lastRead": "2012-09-04T11:48:46.836+02:00",
"number": "12345",
"status": "free",
"statusFromDate": "2012-02-01T11:48:46.836+01:00"
}
]
}
},
"ClientCard": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int64",
"x-cupido-id": true
},
"beginDate": {
"type": "string",
"format": "date-time"
},
"endDate": {
"type": "string",
"format": "date-time"
},
"lastRead": {
"type": "string",
"format": "date-time"
},
"number": {
"type": "string"
},
"status": {
"$ref": "#/definitions/TokenStatus"
},
"statusFromDate": {
"type": "string",
"format": "date-time"
}
},
"description": "Card model.",
"example": {
"id": 3,
"beginDate": "2012-08-02T13:48:46.836+02:00",
"endDate": "2012-08-05T13:48:46.836+02:00",
"lastRead": "2012-09-04T13:48:46.836+02:00",
"number": "12345",
"status": "free",
"statusFromDate": "2012-02-01T12:48:46.836+01:00"
}
},
"TokenStatus": {
"type": "string",
"description": "TokenStatus model (no description)",
"example": "unknown"
},
"list.LocationList": {
"type": "object",
"properties": {
"locations": {
"type": "array",
"items": {
"$ref": "#/definitions/Location"
},
"xml": {
"name": "location"
}
}
},
"description": "LocationList model (no description)",
"example": {
"locations": [
{
"id": 1,
"beginDate": "2012-08-02T11:48:46.836+02:00",
"endDate": "2012-08-02T11:48:46.836+02:00",
"identificationNo": "1",
"name": "Nedap Demo",
"agbCode": "75750535",
"agbcodeId": 1,
"materializedPath": "1.2",
"wzaCode": "690535",
"intramuralLocation": false,
"locationType": "Locatie",
"capacity": 0,
"costCenter": "costCenter",
"roomType": "1",
"parentObjectId": 0,
"icon": 0,
"registeredLocationNumber": "123456789012",
"correspondenceName": "Pretty correspondence name",
"hideCorrespondenceName": false
}
]
},
"xml": {
"name": "locations"
}
},
"Location": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int64",
"x-cupido-id": true
},
"beginDate": {
"type": "string",
"format": "date-time"
},
"endDate": {
"type": "string",
"format": "date-time"
},
"identificationNo": {
"type": "string"
},
"name": {
"type": "string"
},
"agbCode": {
"type": "string",
"description": "Deprecated since: 14-03-2019 - nationally issued unique identifying code for organisations and persons that have a registration in the agb register",
"x-deprecated": true
},
"agbcodeId": {
"type": "integer",
"format": "int64"
},
"materializedPath": {
"type": "string",
"description": "automatically calculated field"
},
"wzaCode": {
"type": "string",
"description": "unique identifying code. Used by municipalities"
},
"intramuralLocation": {
"type": "boolean"
},
"locationType": {
"type": "string"
},
"capacity": {
"type": "integer",
"format": "int32",
"default": 0
},
"costCenter": {
"type": "string"
},
"roomType": {
"type": "string"
},
"parentObjectId": {
"type": "integer",
"description": "location objectid of the parent where this location belongs to",
"format": "int64"
},
"icon": {
"type": "integer",
"format": "int32",
"default": 0
},
"medicineAllowed": {
"type": "boolean",
"description": "Indication whether this location can be used as a medication location"
},
"ggzAllowed": {
"type": "boolean",
"description": "Indication whether this location can be used as a mental healthcare residence location"
},
"waitingListAllowed": {
"type": "boolean",
"description": "Indication whether this location can be used as a waiting list"
},
"registeredLocationNumber": {
"type": "string",
"description": "The location as registered for Wzd / Wvggz purposes"
},
"correspondenceName": {
"type": "string",
"description": "Correspondence name for use in mail correspondence when location name is not fit for mail correspondence (e.g. 'K PS fys 03'). Default correspondence name is the location name, unless set otherwise"
},
"hideCorrespondenceName": {
"type": "boolean",
"description": "Whether the correspondence name should be hidden"
},
"addressObjectId": {
"type": "integer",
"format": "int64"
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"updatedAt": {
"type": "string",
"format": "date-time"
}
},
"description": "Location model (no description)",
"example": {
"id": 1,
"beginDate": "2012-08-02T11:48:46.836+02:00",
"endDate": "2012-08-02T11:48:46.836+02:00",
"identificationNo": "1",
"name": "Nedap Demo",
"agbCode": "75750535",
"agbcodeId": 1,
"materializedPath": "1.2",
"wzaCode": "690535",
"intramuralLocation": false,
"locationType": "Locatie",
"capacity": 0,
"costCenter": "costCenter",
"roomType": "1",
"parentObjectId": 0,
"medicineAllowed": true,
"ggzAllowed": true,
"waitingListAllowed": true,
"addressObjectId": 1,
"registeredLocationNumber": "123456789012",
"updatedAt": "2012-08-02T11:48:46.836+02:00",
"createdAt": "2012-08-02T11:48:46.836+02:00",
"icon": 1,
"correspondenceName": "Pretty correspondence name",
"hideCorrespondenceName": false
},
"xml": {
"name": "location"
}
},
"nuts.list.ConsentList": {
"type": "object",
"properties": {
"consents": {
"type": "array",
"items": {
"$ref": "#/definitions/nuts.Consent"
}
}
},
"description": "ConsentList model (no description)",
"example": {
"consents": [
{
"updatedAt": "2018-11-30T00:00:00.000+01:00",
"createdAt": "2018-11-30T00:00:00.000+01:00",
"createdBy": "user",
"id": 1,
"clientId": 1,
"purpose": "Het delen van medische gegevens met de huisarts.",
"careProviderId": 2,
"policy": "PERMIT_ALL",
"category": "MEDICAL",
"documentId": 1337,
"signedDocumentIds": [
1337,
1338
],
"validFrom": "2018-01-01",
"validTo": "2050-01-01",
"party": "GENERAL_PRACTITIONERS",
"goal": "EXECUTION_OF_CARE",
"subject": "MEDICAL_INFORMATION"
}
]
}
},
"nuts.Consent": {
"type": "object",
"allOf": [
{
"$ref": "#/definitions/AuditedBase"
}
],
"properties": {
"id": {
"type": "integer",
"format": "int64",
"x-cupido-id": true
},
"clientId": {
"type": "integer",
"description": "Reference to the client",
"format": "int64"
},
"purpose": {
"type": "string",
"description": "A description about the consent, readable for professional and patient"
},
"careProviderId": {
"type": "integer",
"description": "A reference to the care provider, eg: a GP",
"format": "int64"
},
"policy": {
"type": "string",
"description": "The policy or outcome of the consent question: PERMIT_ALL, DENY_ALL or empty, which assumes DENY_ALL but also the exceptions must be ignored"
},
"category": {
"type": "string",
"description": "CONTACT, MEDICAL, MENTAL, in the future it might refer to FHIR (http://hl7.org/fhir/ValueSet/consent-category)"
},
"documentId": {
"type": "integer",
"description": "The latest signed document which is the proof for the consent",
"format": "int64",
"x-deprecated": true
},
"signedDocumentIds": {
"type": "array",
"items": {
"type": "integer",
"description": "The signed documents which are the proof for the consent",
"format": "int64",
"xml": {
"name": "signedDocumentId"
}
},
"description": "The signed documents which are the proof for the consent",
"xml": {
"wrapped": true
}
},
"validFrom": {
"type": "string",
"description": "period start where this consent is valid from, inclusive",
"format": "date"
},
"validTo": {
"type": "string",
"description": "period end where this consent is valid to, exclusive",
"format": "date"
},
"party": {
"type": "string",
"description": "The party the data may be shared with.\nPossible options include:\n- \"MEDIQUEST\"\n- \"QUALIZORG\"\n- \"GENERAL_PRACTITIONERS\"\n- \"PHARMACISTS\""
},
"goal": {
"type": "string",
"description": "Why this specific set of data is shared.\nPossible options include:\n- \"NOTIFICATION\"\n- \"SURVEY\"\n- \"EXECUTION_OF_CARE\"\n- \"LDF\""
},
"subject": {
"type": "string",
"description": "The set of data to be shared.\nPossible options include:\n- \"EMAIL\"\n- \"POSTAL_ADDRESS\"\n- \"MOBILE_PHONE_SMS\"\n- \"MEDICAL_INFORMATION\"\n- \"TREATMENT_EPISODE\"\n- \"PREM_RESULT\""
}
},
"description": "Consent model (no description)",
"example": {
"updatedAt": "2018-11-30T00:00:00.000+01:00",
"createdAt": "2018-11-30T00:00:00.000+01:00",
"createdBy": "user",
"id": 1,
"clientId": 1,
"purpose": "Het delen van medische gegevens met de huisarts.",
"careProviderId": 2,
"policy": "PERMIT_ALL",
"category": "MEDICAL",
"documentId": 1337,
"signedDocumentIds": [
1337,
1338
],
"validFrom": "2018-01-01",
"validTo": "2050-01-01",
"party": "GENERAL_PRACTITIONERS",
"goal": "EXECUTION_OF_CARE",
"subject": "MEDICAL_INFORMATION"
},
"xml": {
"name": "consent"
}
},
"list.DebtorList": {
"type": "object",
"properties": {
"debtors": {
"type": "array",
"items": {
"$ref": "#/definitions/Debtor"
},
"xml": {
"name": "debtor"
}
}
},
"description": "DebtorList model (no description)",
"example": {
"debtors": [
{
"id": 1,
"type": "2",
"uzoviCode": "3",
"beginDate": "2012-08-02T11:48:46.836+02:00",
"endDate": "2012-08-02T11:48:46.836+02:00",
"phone1": "4",
"phone2": "5",
"phone3": "6",
"fax": "7",
"email": "8",
"gender": "9",
"debtorNumber": "10",
"organizationName": "11",
"firstName": "12",
"lastName": "13",
"lastNameOwn": "13",
"streetName": "14",
"addressNumber": 15,
"addressNumberExt": "16",
"zipCode": "17",
"city": "18",
"sourceType": "19",
"clientObjectId": 20,
"bankAccount": {
"id": 21,
"number": "NL27TRIO0207182531",
"nameOfOwner": "Pietje Puk",
"cityOfOwner": "Lutjebroek"
},
"paymentMethod": "26",
"closedAt": "2012-08-02T11:48:46.836+02:00",
"hidden": true,
"invoicePerEmail": false
}
]
},
"xml": {
"name": "debtors"
}
},
"Debtor": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int64",
"x-cupido-id": true
},
"type": {
"type": "string",
"description": "Possible values:\nORGANISATIE(0, \"Organisatie\")\nASIELZOEKERSCENTRUM(1, \"Asielzoekerscentrum\")\nZORGKANTOOR(2, \"Zorgkantoor\")\nZORGVERZEKERAAR(3, \"Verzekeraar\")\nGEMEENTE(4, \"Gemeente\")\nONDERAANNEMER(5, \"Onderaannemer\")\nCLIENT(6, \"Cliënt\")\nCLIENT_EN_ZORGVERZEKERAAR(7, \"Cliënt en verzekeraar\")"
},
"uzoviCode": {
"type": "string"
},
"beginDate": {
"type": "string",
"format": "date-time"
},
"endDate": {
"type": "string",
"format": "date-time"
},
"phone1": {
"type": "string"
},
"phone2": {
"type": "string"
},
"phone3": {
"type": "string"
},
"fax": {
"type": "string"
},
"email": {
"type": "string"
},
"gender": {
"type": "string"
},
"debtorNumber": {
"type": "string"
},
"organizationName": {
"type": "string"
},
"firstName": {
"type": "string"
},
"lastName": {
"type": "string"
},
"lastNameOwn": {
"type": "string"
},
"streetName": {
"type": "string"
},
"addressNumber": {
"type": "integer",
"format": "int32"
},
"addressNumberExt": {
"type": "string"
},
"poBoxNumber": {
"type": "string"
},
"zipCode": {
"type": "string"
},
"city": {
"type": "string"
},
"sourceType": {
"type": "string"
},
"clientObjectId": {
"type": "integer",
"format": "int64"
},
"bankAccount": {
"$ref": "#/definitions/BankAccount"
},
"paymentMethod": {
"type": "string",
"description": "Possible values:\nCASH,\nBANK,\nGIRO,\nCOLLECT,\nACCEPTGIRO,\nCHEQUES,\nBACS,\nREMITTANCE,\nBILLOFEXCHANGE,\nBILLOFEXCHANGEBANK"
},
"closedAt": {
"type": "string",
"format": "date-time"
},
"hidden": {
"type": "boolean"
},
"invoicePerEmail": {
"type": "boolean"
},
"updatedAt": {
"type": "string",
"format": "date-time"
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"insurances": {
"type": "array",
"items": {
"$ref": "#/definitions/Insurance"
},
"xml": {
"wrapped": true
}
},
"gemeentecode": {
"type": "string"
},
"externalCode": {
"type": "string"
},
"manualInvoiceRetourHandling": {
"type": "boolean"
},
"waitForReturnMessage": {
"type": "boolean"
},
"usePreviousInsuranceForMutationDaysAfterClientDied": {
"type": "boolean"
},
"invoiceHeaderExportPeriod": {
"type": "string"
},
"uuid": {
"type": "string"
},
"zvwSplitOnCareOrderStartDate": {
"type": "string",
"format": "date-time"
},
"splitReistoeslagGzsp": {
"type": "boolean"
},
"splitIntegralProductsInSeparatePrestaties": {
"type": "boolean"
},
"practitionerAgbTravelGzspStartDate": {
"type": "string",
"format": "date-time"
},
"systemDefined": {
"type": "boolean"
},
"creditOnToewijzingnummerChangeStartDate": {
"type": "string",
"format": "date-time"
}
},
"description": "Debtor entry returned from Cupido.",
"example": {
"id": 1,
"type": "2",
"uzoviCode": "3",
"beginDate": "2012-08-02T11:48:46.836+02:00",
"endDate": "2012-08-02T11:48:46.836+02:00",
"phone1": "4",
"phone2": "5",
"phone3": "6",
"fax": "7",
"email": "8",
"gender": "9",
"debtorNumber": "10",
"organizationName": "11",
"firstName": "12",
"lastName": "13",
"lastNameOwn": "13",
"streetName": "14",
"addressNumber": 15,
"addressNumberExt": "16",
"poBoxNumber": "1234",
"zipCode": "17",
"city": "18",
"sourceType": "19",
"clientObjectId": 20,
"bankAccount": {
"id": 1,
"number": "NL27TRIO0207182531",
"nameOfOwner": "Pietje Puk",
"cityOfOwner": "Lutjebroek"
},
"paymentMethod": "26",
"closedAt": "2012-08-02T11:48:46.836+02:00",
"hidden": true,
"invoicePerEmail": false,
"updatedAt": "2016-01-01T12:00:00.000+01:00",
"createdAt": "2016-01-01T12:00:00.000+01:00",
"insurances": [
{
"id": 1,
"registrationNumber": "1",
"clientObjectId": 1234,
"debtorObjectId": 4321,
"sourceType": 1,
"insuranceType": "AV",
"packageCode": "001T0",
"packageName": "Top geen Tandarts",
"labelCode": "001",
"labelName": "Salland Zorgverzekeringen",
"requestedDate": "2012-08-02",
"clientIsDead": false,
"comments": "comments",
"beginDate": "2014-08-02T11:48:46.836+02:00",
"endDate": "2015-08-02T11:48:46.836+02:00",
"createdAt": "2012-08-02T11:48:46.836+02:00",
"updatedAt": "2012-08-02T11:48:46.836+02:00"
}
],
"gemeentecode": "0153",
"externalCode": "1111",
"manualInvoiceRetourHandling": true,
"waitForReturnMessage": true,
"usePreviousInsuranceForMutationDaysAfterClientDied": true,
"invoiceHeaderExportPeriod": "Use the entire exported period.",
"uuid": "d9a856df-8f9a-49a7-90f0-0570a2bde4c0",
"zvwSplitOnCareOrderStartDate": "2015-08-02T11:48:46.836+02:00",
"splitReistoeslagGzsp": true,
"splitIntegralProductsInSeparatePrestaties": true,
"practitionerAgbTravelGzspStartDate": "2015-08-02T11:48:46.836+02:00",
"systemDefined": true,
"creditOnToewijzingnummerChangeStartDate": "2015-08-02T11:48:46.836+02:00"
},
"xml": {
"name": "debtor"
}
},
"Insurance": {
"required": [
"clientObjectId",
"debtorObjectId",
"sourceType",
"insuranceType",
"comments",
"beginDate"
],
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int64",
"x-cupido-id": true
},
"registrationNumber": {
"type": "string",
"description": "Registration number, required if sourceType is other than SYSTEM."
},
"clientObjectId": {
"type": "integer",
"description": "Client objectId.",
"format": "int64"
},
"debtorObjectId": {
"type": "integer",
"description": "Debtor objectId.",
"format": "int64"
},
"insurer": {
"$ref": "#/definitions/Debtor",
"description": "insurer."
},
"sourceType": {
"type": "integer",
"description": "Source type. Possible values:\n\n0 (System defined)\n1 (Manual)\n2 (Third parties)\n3 (Vecozo)\n4 (XML import)\n
",
"format": "int32"
},
"insuranceType": {
"$ref": "#/definitions/InsuranceType",
"description": "Insurance type. Possible values:\n\nBV (Basis Verzekering)\nAV (Aanvullende Verzekering)\nTV (Tand Verzekering)\nHV (Hoofd Verzekering)\n
"
},
"packageCode": {
"type": "string",
"description": "Package code, required if sourceType is VECOZO."
},
"packageName": {
"type": "string",
"description": "Package name, required if sourceType is VECOZO."
},
"labelCode": {
"type": "string",
"description": "Label code, must be a label of debtor. Required if sourceType is VECOZO."
},
"labelName": {
"type": "string",
"description": "Label name, must be a label of debtor. Required if sourceType is VECOZO."
},
"requestedDate": {
"type": "string",
"description": "Requested date, required if sourceType is VECOZO.",
"format": "date"
},
"clientIsDead": {
"type": "boolean",
"description": "Indicates client is deceased."
},
"comments": {
"type": "string",
"description": "Comments.",
"default": ""
},
"beginDate": {
"type": "string",
"description": "Begin date.",
"format": "date-time"
},
"endDate": {
"type": "string",
"description": "End date.",
"format": "date-time"
},
"careProviderObjectId": {
"type": "integer",
"description": "Care provider objectId.",
"format": "int64"
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"updatedAt": {
"type": "string",
"format": "date-time"
}
},
"description": "Insurance entry for a Client.",
"example": {
"id": 1,
"registrationNumber": "1",
"clientObjectId": 1234,
"debtorObjectId": 4321,
"sourceType": 1,
"insuranceType": "AV",
"packageCode": "001T0",
"packageName": "Top geen Tandarts",
"labelCode": "001",
"labelName": "Salland Zorgverzekeringen",
"requestedDate": "2012-08-02",
"clientIsDead": false,
"comments": "comments",
"beginDate": "2014-08-02T11:48:46.836+02:00",
"endDate": "2015-08-02T11:48:46.836+02:00",
"careProviderObjectId": 5678,
"createdAt": "2012-08-02T11:48:46.836+02:00",
"updatedAt": "2012-08-02T11:48:46.836+02:00"
},
"xml": {
"name": "insurance"
}
},
"InsuranceType": {
"enum": [
"BV",
"AV",
"TV",
"HV"
],
"type": "string",
"description": "Insurance type. Possible values:\n\nBV (Basis Verzekering)\nAV (Aanvullende Verzekering)\nTV (Tand Verzekering)\nHV (Hoofd Verzekering)\n
",
"example": "BV"
},
"Document": {
"required": [
"employeeObjectId",
"clientObjectId"
],
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int64",
"x-cupido-id": true
},
"employeeObjectId": {
"type": "integer",
"format": "int64"
},
"clientObjectId": {
"type": "integer",
"format": "int64"
},
"description": {
"type": "string"
},
"rightSelection": {
"$ref": "#/definitions/RightSelection"
},
"status": {
"type": "integer",
"description": "0: New\n1: Uploading\n2: Stored\n3: Deleted\n4: Purged\n5: Error\n6: Archived",
"format": "int32"
},
"fileName": {
"type": "string"
},
"updatedAt": {
"type": "string",
"format": "date-time"
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"expertiseProfiles": {
"type": "array",
"items": {
"$ref": "#/definitions/ExpertiseProfile"
},
"xml": {
"wrapped": true
}
},
"expertiseGroups": {
"type": "array",
"items": {
"$ref": "#/definitions/ExpertiseGroup"
},
"xml": {
"wrapped": true
}
},
"tags": {
"type": "array",
"items": {
"type": "string",
"xml": {
"name": "tag"
}
},
"xml": {
"wrapped": true
}
}
},
"description": "Document model (no description)",
"example": {
"id": 1233,
"employeeObjectId": 10,
"clientObjectId": 2,
"description": "Dit is een test",
"rightSelection": "Group",
"status": 1,
"fileName": "file.pdf",
"updatedAt": "2017-06-08T00:00:00.000+02:00",
"createdAt": "2017-06-06T00:00:00.000+02:00",
"expertiseProfiles": [
{
"id": 1
},
{
"id": 2
}
],
"expertiseGroups": [
{
"id": 1
}
],
"tags": [
"test",
"Een tweede tag"
]
},
"xml": {
"name": "document"
}
},
"RightSelection": {
"enum": [
"Me",
"Group",
"Education",
"All",
"Nobody"
],
"type": "string",
"description": "RightSelection enum (no description)",
"example": "Me"
},
"ExpertiseProfile": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int64",
"x-cupido-id": true
},
"description": {
"type": "string"
},
"visible": {
"type": "boolean"
},
"beginDate": {
"type": "string",
"format": "date-time"
},
"endDate": {
"type": "string",
"format": "date-time"
},
"allowDossierActions": {
"type": "boolean"
},
"allowDossierConfidential": {
"type": "boolean"
},
"hourTypeIds": {
"type": "array",
"items": {
"type": "integer",
"description": "List of Ids of {@link HourType}s assigned to this expertise profile",
"format": "int64",
"xml": {
"name": "hourTypeId"
}
},
"description": "List of Ids of {@link HourType}s assigned to this expertise profile",
"xml": {
"wrapped": true
}
}
},
"description": "Model is used to check to see if a person can be connected to a certain {@link HourType}.",
"example": {
"id": 5,
"description": "Helpenden",
"visible": true,
"beginDate": "2015-01-01T12:00:00.000+01:00",
"endDate": "2020-01-01T12:00:00.000+01:00",
"allowDossierActions": true,
"allowDossierConfidential": false,
"hourTypeIds": [
1,
2,
3
]
}
},
"ExpertiseGroup": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int64",
"x-cupido-id": true
},
"parentObjectid": {
"type": "integer",
"format": "int64"
},
"name": {
"type": "string"
},
"beginDate": {
"type": "string",
"format": "date"
},
"endDate": {
"type": "string",
"format": "date"
},
"expertiseProfiles": {
"type": "array",
"items": {
"$ref": "#/definitions/ExpertiseProfile"
},
"xml": {
"wrapped": true
}
}
},
"description": "Model is used to group {@link ExpertiseProfile}'s, with possibly other {@link ExpertiseGroup}'s as parent/children.",
"example": {
"id": 2,
"parentObjectid": 1,
"name": "Alle helpenden",
"beginDate": "2016-01-01",
"endDate": "2021-12-31",
"expertiseProfiles": [
{
"id": 5,
"description": "Helpenden A",
"visible": true,
"beginDate": "2015-01-01T12:00:00.000+01:00",
"endDate": "2020-01-01T12:00:00.000+01:00",
"allowDossierActions": true,
"allowDossierConfidential": false
},
{
"id": 6,
"description": "Helpenden B",
"visible": true,
"beginDate": "2015-01-01T12:00:00.000+01:00",
"endDate": "2020-01-01T12:00:00.000+01:00",
"allowDossierActions": true,
"allowDossierConfidential": false
}
]
},
"xml": {
"name": "expertiseGroup"
}
},
"list.DocumentList": {
"type": "object",
"properties": {
"documents": {
"type": "array",
"items": {
"$ref": "#/definitions/Document"
},
"xml": {
"name": "document"
}
}
},
"description": "DocumentList model (no description)",
"example": {
"documents": [
{
"id": 88,
"employeeObjectId": 10,
"clientObjectId": 2,
"description": "Dit is een test",
"rightSelection": "Group",
"expertiseProfiles": [
{
"id": 1
},
{
"id": 2
}
],
"expertiseGroups": [
{
"id": 1
}
],
"tags": [
"test",
"Een tweede tag"
]
},
{
"id": 162,
"employeeObjectId": 11,
"clientObjectId": 2,
"description": "Dit is een test",
"rightSelection": "Group",
"expertiseProfiles": [
{
"id": 1
},
{
"id": 4
}
],
"expertiseGroups": [
{
"id": 1
}
],
"tags": [
"Een tweede tag"
]
}
]
},
"xml": {
"name": "documents"
}
},
"Employee": {
"type": "object",
"allOf": [
{
"$ref": "#/definitions/Person"
}
],
"properties": {
"contractId": {
"type": "string",
"description": "Deprecated, this field is never set, use Contract APIs.",
"x-deprecated": true
},
"mobilePhoneNumber": {
"type": "string",
"description": "Deprecated, this field is never set.",
"x-deprecated": true
},
"authenticationMobilePhone": {
"type": "string",
"description": "The mobile phone number used for two-factor authentication messages."
},
"workMobilePhone": {
"type": "string",
"description": "The work mobile phone number of the employee."
},
"privateMobilePhone": {
"type": "string",
"description": "The private mobile phone number of the employee."
},
"homePhone": {
"type": "string",
"description": "The home phone number of the employee."
},
"homeEmailAddress": {
"type": "string",
"description": "The private email address of the employee."
},
"fixedHoursPerWeek": {
"type": "number",
"description": "Deprecated, this field is never set, use Contract APIs.",
"format": "double",
"x-deprecated": true
},
"varHoursPerWeek": {
"type": "number",
"description": "Deprecated, this field is never set, use Contract APIs.",
"format": "double",
"x-deprecated": true
},
"unknownEmployee": {
"type": "boolean",
"description": "Indicates if this employee is the unknown employee."
},
"verifiedUntilDate": {
"type": "string",
"description": "Date up to which the presence logs of this employee are verfied.",
"format": "date"
},
"limitedEmployee": {
"type": "boolean",
"description": "Deprecated, this field is never set.",
"x-deprecated": true
},
"uuid": {
"type": "string",
"description": "Type 4 Universally Unique Identifier of the employee."
},
"employeePrivacySettings": {
"$ref": "#/definitions/EmployeePrivacySettings"
},
"type": {
"type": "integer",
"description": "Type of the employee. Allowed values:\n0: Regular\n1: External",
"format": "int32"
}
},
"description": "Employee model (no description)",
"example": {
"id": 1,
"firstName": "Mike",
"birthName": "Wazowski",
"name": "Dhr Mike Wazowski",
"identificationNo": "wazo",
"dateOfBirth": "1982-01-01",
"preferredNameType": "0",
"lastName": "Wazowski",
"partnerName": "none",
"initials": "W",
"prefix": "ir",
"birthNamePrefix": "ir",
"partnerNamePrefix": "none",
"gender": "M",
"emailAddress": "mike.wazowski@nedap.com",
"contractId": "1",
"mobilePhone": "0612345678",
"mobilePhoneNumber": "0612345678",
"authenticationMobilePhone": "0612345678",
"workMobilePhone": "0612345678",
"privateMobilePhone": "0612345678",
"homePhone": "0612345678",
"homeEmailAddress": "john.doe@home.com",
"fixedHoursPerWeek": 39.5,
"varHoursPerWeek": 0.5,
"unknownEmployee": false,
"verifiedUntilDate": "2012-01-01",
"limitedEmployee": false,
"uuid": "abca58ed-0138-4aec-87c6-5d391e98161b",
"freeField1": "Free field 1 description",
"freeField2": "Free field 2 description",
"freeField3": "Free field 3 description",
"freeField4": "Free field 4 description",
"updatedAt": "2016-01-01T12:00:00.000+01:00",
"createdAt": "2016-01-01T12:00:00.000+01:00",
"type": 0,
"employeePrivacySettings": {
"employeeObjectId": 1,
"shareBirthDay": true,
"sharePrivateEmailAddress": true,
"sharePrivateTelephoneNumber": true,
"shareResidence": true
}
},
"xml": {
"name": "employee"
}
},
"EmployeePrivacySettings": {
"type": "object",
"properties": {
"employeeObjectId": {
"type": "integer",
"format": "int64",
"x-cupido-id": true
},
"shareBirthDay": {
"type": "boolean"
},
"sharePrivateEmailAddress": {
"type": "boolean"
},
"sharePrivateTelephoneNumber": {
"type": "boolean"
},
"shareResidence": {
"type": "boolean"
}
},
"description": "EmployeePrivacySettings model (no description)",
"example": {
"employeeObjectId": 1,
"shareBirthDay": true,
"sharePrivateEmailAddress": true,
"sharePrivateTelephoneNumber": true,
"shareResidence": true
},
"xml": {
"name": "employeePrivacySettings"
}
},
"list.InsuranceList": {
"type": "object",
"properties": {
"insurances": {
"type": "array",
"items": {
"$ref": "#/definitions/Insurance"
},
"xml": {
"name": "insurance"
}
}
},
"description": "InsuranceList model (no description)",
"example": {
"insurances": [
{
"id": 1,
"registrationNumber": "1",
"clientObjectId": 1234,
"debtorObjectId": 4321,
"sourceType": 1,
"insuranceType": "AV",
"packageCode": "001T0",
"packageName": "Top geen Tandarts",
"labelCode": "001",
"labelName": "Salland Zorgverzekeringen",
"requestedDate": "2012-08-02",
"clientIsDead": false,
"comments": "comments",
"beginDate": "2022-01-01T08:00:00.000+01:00",
"createdAt": "2012-08-02T11:48:46.836+02:00",
"updatedAt": "2012-08-02T11:48:46.836+02:00"
}
]
},
"xml": {
"name": "insurances"
}
},
"list.LocationAssignmentList": {
"type": "object",
"properties": {
"locationAssignments": {
"type": "array",
"items": {
"$ref": "#/definitions/LocationAssignment"
},
"xml": {
"name": "locationAssignment"
}
}
},
"description": "LocationAssignmentList model (no description)",
"example": {
"locationAssignments": [
{
"id": 1,
"beginDate": "2012-08-02",
"endDate": "2012-08-02",
"locationAssignmentType": "MAIN",
"mainLocation": true
}
]
},
"xml": {
"name": "locationAssignments"
}
},
"LocationAssignment": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int64",
"x-cupido-id": true
},
"beginDate": {
"type": "string",
"format": "date"
},
"beginTime": {
"type": "string",
"format": "time"
},
"endDate": {
"type": "string",
"format": "date"
},
"endTime": {
"type": "string",
"format": "time"
},
"clientObjectId": {
"type": "integer",
"format": "int64"
},
"locationObjectId": {
"type": "integer",
"format": "int64"
},
"moveDate": {
"type": "string",
"format": "date"
},
"locationAssignmentType": {
"$ref": "#/definitions/LocationAssignmentType"
},
"residence": {
"type": "boolean",
"description": "Indicates if the client resides at this location"
},
"mainLocation": {
"type": "boolean",
"description": "Deprecated since: 14-03-2019 - use locationAssignmentType instead",
"x-deprecated": true
},
"medicineLocation": {
"type": "boolean",
"description": "Deprecated since: 14-03-2019 - use locationAssignmentType instead",
"x-deprecated": true
}
},
"description": "LocationAssignment model (no description)",
"example": {
"id": 1,
"beginDate": "2012-08-02",
"beginTime": "10:11:00.000",
"endDate": "2012-08-02",
"endTime": "12:13:00.000",
"clientObjectId": 2,
"locationObjectId": 3,
"moveDate": "2012-08-02",
"locationAssignmentType": "MAIN",
"residence": false,
"mainLocation": true,
"medicineLocation": false
},
"xml": {
"name": "locationAssignment"
}
},
"LocationAssignmentType": {
"enum": [
"STANDARD",
"MAIN",
"MEDICINE",
"GGZ",
"WAITING_LIST"
],
"type": "string",
"description": "LocationAssignmentType enum (no description)",
"example": "STANDARD"
},
"list.PresenceLogList": {
"type": "object",
"properties": {
"presenceLogs": {
"type": "array",
"items": {
"$ref": "#/definitions/PresenceLog"
},
"xml": {
"name": "presenceLog"
}
}
},
"description": "PresenceLogList model (no description)",
"example": {
"presenceLogs": [
{
"id": 1234,
"activityObjectId": 999,
"duration": 100,
"reason": "Moves import",
"action": "create",
"externalId": "1",
"sourceType": "6",
"clientObjectId": 12344,
"employeeObjectId": 557,
"careOrderObjectId": 123,
"startDate": "2012-08-02T11:48:46.000+02:00",
"endDate": "2012-08-02T11:48:46.000+02:00",
"clusterObjectId": 1
}
]
},
"xml": {
"name": "presenceLogs"
}
},
"PresenceLog": {
"title": "PresenceLog",
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int64",
"x-cupido-id": true,
"x-nullable": true
},
"activityObjectId": {
"type": "integer",
"description": "The id of the {@link HourType} that is assigned to this {@code PresenceLog}. The value of this field is a bit complicated, and depends on the contents of the {@code products} field. The following rules are used, from top to bottom:\n\nIf there is exactly one PresenceLogProduct with a duration, the hour type id of that PresenceLogProduct is used If there are multiple PresenceLogProducts with a duration, 12 is used, which means 'client time' If there are no PresenceLogProducts with a duration, but exactly one with a quantity, the hour type id of that PresenceLogProduct is used If there are no PresenceLogProducts with a duration, and multiple with a quantity, or no products, no value is set",
"format": "int64"
},
"duration": {
"type": "integer",
"description": "The duration of this PresenceLog. This value is only set for PresenceLogs for which the start- and endtime don't matter; so called 'duration presence logs'. These are usually created from for example the week sheet. This value is only set if hasRealTime is false.",
"format": "int64"
},
"reason": {
"type": "string",
"description": "The user-provided reason this PresenceLog was created or modified, if available.",
"x-nullable": true
},
"action": {
"$ref": "#/definitions/PresenceLogAction"
},
"externalId": {
"type": "string",
"description": "The id of the PresenceLog in the source application of the PresenceLog.",
"x-nullable": true
},
"sourceType": {
"type": "string",
"description": "2: MobilePhone\n3: Manual\n4: Timesheet\n5: APriori\n6: Planning\n7: EmployeePortal\n8: Groupcare\n9: Schedule\n10: Import\n11: ImportWithOverlap\n12: Agenda\n13: NewGroupCare\n14: YsisConnector\n15: OnsDBC\n16: OnsVandaag\n17: OnsDossier",
"x-nullable": true
},
"clientObjectId": {
"type": "integer",
"description": "The id of the Client related to this PresenceLog.",
"format": "int64",
"x-nullable": true
},
"employeeObjectId": {
"type": "integer",
"description": "The id of the Employee related to this PresenceLog.",
"format": "int64",
"x-nullable": true
},
"careOrderObjectId": {
"type": "integer",
"description": "The id of the CareOrder related to this PresenceLog. Only set for treatment-related PresenceLogs, such as those relating to Primary Care.",
"format": "int64"
},
"date": {
"type": "string",
"description": "Date of registration.\nOnly use this for indirect presencelogs, which are not bound to a client.\nWhen date is not set, a fallback to startDate will be used.",
"format": "date-time"
},
"startDate": {
"type": "string",
"format": "date-time",
"x-nullable": true
},
"endDate": {
"type": "string",
"format": "date-time",
"x-nullable": true
},
"clusterObjectId": {
"type": "integer",
"description": "The id of the Team used for cost center computation.",
"format": "int64"
},
"registration": {
"type": "boolean",
"description": "Indicates if this is a client-related registration."
},
"payment": {
"type": "boolean",
"description": "Indicates if this PresenceLog is considered for payrolling. Only if both payment and payrollingActivity are true, the presence log is actually considered for payrolling."
},
"fixedRateCompensation": {
"type": "boolean",
"description": "Indicates if this PresenceLog is compensated with a fixed rate. If true, it is not displayed as work time."
},
"payrollingActivity": {
"type": "boolean",
"description": "Indicates if the Activity or Activities attached to this presence log are considered for payrolling. This property is read-only. Only if both payment and payrollingActivity are true, the presence log is actually considered for payrolling."
},
"removed": {
"type": "boolean",
"description": "Indicates if this PresenceLog is removed."
},
"verified": {
"type": "boolean",
"description": "Indicates if this PresenceLog is verified."
},
"dossierReportUuid": {
"type": "string",
"description": "UUID of the related Dossier report."
},
"hasRealTime": {
"type": "boolean",
"description": "Indicates if this PresenceLog represents a real period with a start and end, or simply a duration (e.g. 6 hours). If this is set to true, the duration field should be ignored, if it is false the duration field should have a correct value."
},
"calculatedWorktimeAmount": {
"type": "integer",
"description": "This field contains the actual work time. This can be different if the registration is an availability shift (bereikbaarheidsdienst)\nfor example. Or if the registration is part of a group appointment. Thus, the full time is not should be split over several\nregistrations.",
"format": "int64"
},
"presenceLogLocation": {
"$ref": "#/definitions/PresenceLogLocation"
},
"products": {
"uniqueItems": true,
"type": "array",
"items": {
"$ref": "#/definitions/PresenceLogProduct"
},
"nullable": false,
"xml": {
"wrapped": true
}
},
"ortHours": {
"type": "array",
"items": {
"$ref": "#/definitions/PresenceLogORT"
},
"xml": {
"wrapped": true
}
},
"presenceLogPermission": {
"$ref": "#/definitions/PresenceLogPermission"
}
},
"description": "PresenceLog model (no description)",
"example": {
"id": 1337,
"activityObjectId": 999,
"duration": 100,
"reason": "Moves import",
"action": "create",
"externalId": "1",
"sourceType": "6",
"clientObjectId": 12344,
"employeeObjectId": 557,
"careOrderObjectId": 123,
"date": "2012-08-02T11:48:46.836+02:00",
"startDate": "2012-08-02T11:48:46.836+02:00",
"endDate": "2012-08-02T11:48:46.836+02:00",
"clusterObjectId": 1,
"registration": false,
"payment": true,
"fixedRateCompensation": true,
"payrollingActivity": true,
"removed": true,
"verified": false,
"dossierReportUuid": "12345234900234",
"hasRealTime": false,
"calculatedWorktimeAmount": 60,
"presenceLogLocation": {
"id": 1,
"expenseTypeObjectId": 1,
"zipcode": "1234OK",
"homenumber": 2,
"homenumberExtension": "a",
"latitude": 52.22,
"longitude": 4.53
},
"products": [],
"ortHours": [],
"presenceLogPermission": {
"add_before": true,
"add_after": true,
"modify": true,
"remove": true
}
},
"xml": {
"name": "presenceLog"
},
"x-nullable": true
},
"PresenceLogAction": {
"type": "string",
"description": "PresenceLogAction model (no description)",
"example": "create",
"x-nullable": true
},
"PresenceLogLocation": {
"title": "PresenceLogLocation",
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int64",
"x-cupido-id": true
},
"expenseTypeObjectId": {
"type": "integer",
"format": "int64",
"x-nullable": true
},
"zipcode": {
"type": "string",
"description": "Please use #position instead",
"x-deprecated": true
},
"homenumber": {
"type": "integer",
"description": "Please use #position instead",
"format": "int32",
"x-deprecated": true
},
"homenumberExtension": {
"type": "string",
"description": "Please use #position instead",
"x-deprecated": true
},
"latitude": {
"type": "number",
"description": "Please use #position instead",
"format": "double",
"x-deprecated": true
},
"longitude": {
"type": "number",
"description": "Please use #position instead",
"format": "double",
"x-deprecated": true
},
"position": {
"$ref": "#/definitions/registration.Position"
}
},
"description": "PresenceLogLocation model (no description)",
"example": {
"id": 1,
"expenseTypeObjectId": 1,
"zipcode": "2602AA",
"homenumber": 13,
"homenumberExtension": "a",
"latitude": 52.13,
"longitude": 52.37,
"position": {
"city": "Amsterdam",
"homeNumber": 20,
"homeNumberExtension": "b",
"street": "Prinsengracht",
"zipCode": "1502AA",
"country": "NL",
"longitude": 32.37,
"latitude": 12.13
}
},
"xml": {
"name": "presenceLogLocation"
},
"x-nullable": true
},
"registration.Position": {
"title": "Position",
"type": "object",
"properties": {
"city": {
"type": "string",
"description": "The city where this position is part of. Can be null
.",
"x-nullable": true
},
"homeNumber": {
"type": "integer",
"description": "The home number of the position. Can be null
.",
"format": "int32",
"x-nullable": true
},
"homeNumberExtension": {
"type": "string",
"description": "The possible extension the #homeNumber. Can be null
.",
"x-nullable": true
},
"street": {
"type": "string",
"description": "The position's street name. Can be null
",
"x-nullable": true
},
"zipCode": {
"type": "string",
"description": "Zipcode part of the position. Can be null
",
"x-nullable": true
},
"country": {
"type": "string",
"description": "The two-letter country code. Examples are 'NL' and 'BE'."
},
"longitude": {
"type": "number",
"description": "Longitude part of the position.",
"format": "double",
"x-nullable": true
},
"latitude": {
"type": "number",
"description": "Latitude part of the position.",
"format": "double",
"x-nullable": true
},
"usedGoogleAddress": {
"type": "string"
}
},
"description": "A Position denotes a physical location on a map. This position can either consist of address information, a\nlongitude/latitude pair or both. Not all fields are guaranteed to be present.",
"example": {
"city": "Enschede",
"homeNumber": 5,
"homeNumberExtension": "",
"street": "Bomenlaan",
"zipCode": "6521YH",
"country": "NL",
"longitude": 52.665171,
"latitude": 5.215021,
"usedGoogleAddress": "Bovenlaan 5, 6521YH Enschede, Netherlands"
},
"xml": {
"name": "position"
}
},
"PresenceLogPermission": {
"type": "object",
"properties": {
"add_before": {
"type": "boolean",
"default": false
},
"add_after": {
"type": "boolean",
"default": false
},
"modify": {
"type": "boolean",
"default": false
},
"remove": {
"type": "boolean",
"default": false
}
},
"description": "PresenceLogPermission model (no description)",
"example": {
"add_before": true,
"add_after": true,
"modify": true,
"remove": true
},
"xml": {
"name": "presenceLogPermission"
}
},
"PresenceLogProduct": {
"title": "PresenceLogProduct",
"type": "object",
"properties": {
"activityObjectId": {
"type": "integer",
"format": "int64",
"x-cupido-id": true
},
"duration": {
"type": "integer",
"format": "int64",
"x-nullable": true
},
"quantity": {
"type": "integer",
"format": "int64"
},
"activityDirectOrIndirect": {
"type": "string",
"description": "Valid values for this field are: \"direct\", \"indirect\", \"indirect_client\", \"indirect_client_travel\""
},
"description": {
"type": "string"
}
},
"description": "Product stored within {@link PresenceLog}.",
"example": {
"activityObjectId": 999,
"duration": 100,
"quantity": 1,
"activityDirectOrIndirect": "direct",
"description": "description"
},
"xml": {
"name": "product"
}
},
"PresenceLogORT": {
"type": "object",
"properties": {
"start": {
"type": "string",
"format": "date-time"
},
"end": {
"type": "string",
"format": "date-time"
},
"percentage": {
"type": "integer",
"description": "use 'percentage_decimal' instead",
"format": "int32",
"x-deprecated": true
},
"percentageDecimal": {
"type": "number",
"format": "double"
},
"description": {
"type": "string"
}
},
"description": "PresenceLogORT model (no description)",
"example": {
"start": "2016-06-02T00:00:00.000+02:00",
"end": "2016-06-02T00:00:00.000+02:00",
"percentage": 0,
"percentageDecimal": 0.5,
"description": "Dummy"
},
"xml": {
"name": "ortHour"
}
},
"list.LocationAssignmentWaitingListList": {
"type": "object",
"properties": {
"locationAssignmentWaitingLists": {
"type": "array",
"items": {
"$ref": "#/definitions/LocationAssignmentWaitingList"
},
"xml": {
"name": "locationAssignmentWaitingList"
}
}
},
"description": "LocationAssignmentWaitingListList model (no description)",
"example": {
"locationAssignmentWaitingLists": [
{
"id": 1,
"beginDate": "2012-08-02",
"beginTime": "10:11:00.000",
"endDate": "2012-08-02",
"endTime": "12:13:00.000",
"clientObjectId": 2,
"locationObjectId": 3,
"moveDate": "2012-08-02",
"locationAssignmentType": "WAITING_LIST",
"residence": false,
"mainLocation": false,
"medicineLocation": false,
"waitingFor": "BESCHIKBARE_PLEK",
"status": "ACTIEF_PLAATSEN",
"description": "Client wacht met smart. Contact direct met client, niet via ouders.",
"classification": "DREIGENDE_CRISIS_THUIS",
"closingReason": "GEPLAATST"
}
]
},
"xml": {
"name": "locationAssignmentWaitingLists"
}
},
"LocationAssignmentWaitingList": {
"type": "object",
"allOf": [
{
"$ref": "#/definitions/LocationAssignment"
}
],
"properties": {
"waitingFor": {
"type": "string",
"description": "Description field for what event/resources the client is waiting for.\nPossible values are defined by the care organisation"
},
"status": {
"type": "string",
"description": "Wachtstatus (urgentie)\nPossible values are defined by the care organisation"
},
"description": {
"type": "string",
"description": "Description\nPossible values are defined by the care organisation"
},
"classification": {
"type": "string",
"description": "optional field used for financetype 'WLZ'.\nhttps://assets.zn.nl/p/32768/none/Langdurige%20zorg/Wachtlijsten%20langdurige%20zorg/ZN-Infographic.pdf"
},
"closingReason": {
"type": "string",
"description": "Indication of under what circumstances the client is taken off the waiting list\nAssumed use: BI tooling\nPossible values are defined by the care organisation"
}
},
"description": "Developed as a (temporary) solution to enable (GGZ) customers to indicate a client is on a 'waiting list'",
"example": {
"id": 1,
"beginDate": "2012-08-02",
"beginTime": "10:11:00.000",
"endDate": "2012-08-02",
"endTime": "12:13:00.000",
"clientObjectId": 2,
"locationObjectId": 3,
"moveDate": "2012-08-02",
"locationAssignmentType": "WAITING_LIST",
"residence": false,
"mainLocation": false,
"medicineLocation": false,
"waitingFor": "BESCHIKBARE_PLEK",
"status": "ACTIEF_PLAATSEN",
"description": "Client wacht met smart. Contact direct met client, niet via ouders.",
"classification": "DREIGENDE_CRISIS_THUIS",
"closingReason": "GEPLAATST"
},
"xml": {
"name": "locationAssignmentWaitingList"
}
},
"list.ClientList": {
"type": "object",
"properties": {
"clients": {
"type": "array",
"items": {
"$ref": "#/definitions/Client"
},
"xml": {
"name": "client"
},
"x-nullable": true
}
},
"description": "ClientList model (no description)",
"example": {
"clients": [
{
"id": 1,
"firstName": "Mike",
"dateOfBirth": "2012-08-02",
"birthName": "Wazowski"
}
]
},
"xml": {
"name": "clients"
}
},
"list.ClientSearchResultList": {
"type": "object",
"properties": {
"clientSearchResults": {
"type": "array",
"items": {
"$ref": "#/definitions/ClientSearchResult"
},
"xml": {
"name": "clientSearchResult"
}
}
},
"description": "ClientSearchResultList model (no description)",
"example": {
"clientSearchResults": [
{
"id": 1929,
"identificationNo": "7777777",
"name": "Dhr. PJ Paulusma",
"firstName": "Pieter Johan",
"lastName": "Paulusma",
"givenName": "Piet",
"gender": "M",
"dateOfBirth": "1956-12-31",
"secretClient": false,
"addressString": "Dorpstraat 1, Het Dorp",
"birthName": "Paulusma",
"partnerName": "none",
"birthNamePrefix": "none",
"partnerNamePrefix": "none",
"initials": "PJ",
"preferredNameType": "birthname",
"group": "UNGROUPED"
}
]
},
"xml": {
"name": "clientSearchResults"
}
},
"ClientSearchResult": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"description": "the id of this object",
"format": "int64",
"x-cupido-id": true
},
"identificationNo": {
"type": "string",
"description": "The client number for this Client; e.g. \"234567\""
},
"name": {
"type": "string",
"description": "The full name of this client; e.g. \"Petrus Johannes Paulusma\""
},
"firstName": {
"type": "string",
"description": "This Client's first name; e.g. \"Petrus Johannes\""
},
"lastName": {
"type": "string",
"description": "This Client's last name; e.g. \"Paulusma\""
},
"givenName": {
"type": "string",
"description": "This Client's given name; e.g. \"Piet\""
},
"gender": {
"type": "string",
"description": "This Client's gender; can be male, female or unknown"
},
"dateOfBirth": {
"type": "string",
"description": "Date of birth, fomatted yyyy-mm-dd",
"format": "date"
},
"secretClient": {
"type": "boolean",
"description": "Boolean for celebrities"
},
"addressString": {
"type": "string",
"description": "This Client's address; e.g. \"Parallelweg 2, 7141 DC, Groenlo\""
},
"birthName": {
"type": "string",
"description": "This Client's surname at birth"
},
"partnerName": {
"type": "string",
"description": "This Client's partner's surname at birth"
},
"birthNamePrefix": {
"type": "string",
"description": "This Client's prefix; e.g. \"van\""
},
"partnerNamePrefix": {
"type": "string",
"description": "This client's partner's prefix; e.g. \"van de\""
},
"initials": {
"type": "string",
"description": "This Client's initials; e.g. \"PJ\""
},
"preferredNameType": {
"type": "string",
"description": "This Client's preferred name type; e.g. \"partnerName\""
},
"group": {
"$ref": "#/definitions/ClientSearchResultGroup",
"description": "The group to which this result belongs.\nThis is only set after calling the 'searchGrouped' API.",
"default": "UNGROUPED"
}
},
"description": "Search Result after querying OnsAdmin",
"example": {
"id": 1,
"identificationNo": "12345",
"name": "Dhr. PJ Paulusma",
"firstName": "Pieter Johan",
"lastName": "Paulusma",
"givenName": "Piet",
"gender": "M",
"dateOfBirth": "1956-12-31",
"secretClient": false,
"addressString": "Dorpstraat 1, Het Dorp",
"birthName": "Paulusma",
"partnerName": "none",
"birthNamePrefix": "none",
"partnerNamePrefix": "none",
"initials": "PJ",
"preferredNameType": "0",
"group": "WAITINGLIST"
},
"xml": {
"name": "clientSearchResult"
}
},
"ClientSearchResultGroup": {
"type": "string",
"description": "The group to which this result belongs.\nThis is only set after calling the 'searchGrouped' API.",
"example": "UNGROUPED"
},
"payroll.CollectiveAgreementAssignment": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int64",
"x-cupido-id": true
},
"employeeId": {
"type": "integer",
"format": "int64"
},
"collectiveAgreementId": {
"type": "integer",
"format": "int64"
},
"beginDate": {
"type": "string",
"format": "date"
},
"endDate": {
"type": "string",
"format": "date"
}
},
"description": "CollectiveAgreementAssignment model\n\nCreated on 06/05/21.",
"example": {
"id": 1,
"employeeId": 1,
"collectiveAgreementId": 1,
"beginDate": "2015-01-01",
"endDate": "2020-01-01"
},
"xml": {
"name": "collectiveAgreementAssignment"
}
},
"payroll.list.CollectiveAgreementAssignmentList": {
"type": "object",
"properties": {
"collectiveAgreementAssignments": {
"type": "array",
"items": {
"$ref": "#/definitions/payroll.CollectiveAgreementAssignment"
}
}
},
"description": "CollectiveAgreementAssignmentList model (no description)",
"example": {
"collectiveAgreementAssignments": [
{
"id": 1,
"employeeId": 1,
"collectiveAgreementId": 1,
"beginDate": "2015-01-01",
"endDate": "2020-01-01"
}
]
}
},
"payroll.CollectiveAgreementRule": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int64",
"x-cupido-id": true
},
"collectiveAgreementId": {
"type": "integer",
"format": "int64"
},
"beginDate": {
"type": "string",
"format": "date"
},
"endDate": {
"type": "string",
"format": "date"
},
"calculateTravelTime": {
"type": "boolean"
}
},
"description": "CollectiveAgreementRule model\n\nCreated on 06/05/21.",
"example": {
"id": 1,
"collectiveAgreementId": 1,
"beginDate": "2015-01-01",
"endDate": "2020-01-01",
"calculateTravelTime": true
},
"xml": {
"name": "collectiveAgreementRule"
}
},
"payroll.list.CollectiveAgreementRuleList": {
"type": "object",
"properties": {
"collectiveAgreementRules": {
"type": "array",
"items": {
"$ref": "#/definitions/payroll.CollectiveAgreementRule"
}
}
},
"description": "CollectiveAgreementRuleList model (no description)",
"example": {
"collectiveAgreementRules": [
{
"id": 1,
"collectiveAgreementId": 1,
"beginDate": "2015-01-01",
"endDate": "2020-01-01",
"calculateTravelTime": true
}
]
}
},
"payroll.list.CollectiveAgreementList": {
"type": "object",
"properties": {
"collectiveAgreements": {
"type": "array",
"items": {
"$ref": "#/definitions/payroll.CollectiveAgreement"
},
"xml": {
"name": "collectiveAgreement"
}
}
},
"description": "CollectiveAgreementList model (no description)",
"example": {
"collectiveAgreements": [
{
"id": 1,
"name": "Thuiszorg (extramuraal) - 2014"
}
]
},
"xml": {
"name": "collectiveAgreements"
}
},
"payroll.CollectiveAgreement": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int64",
"x-cupido-id": true
},
"name": {
"type": "string"
}
},
"description": "CollectiveAgreement model\n\nCreated on 06/05/21.",
"example": {
"id": 1,
"name": "Thuiszorg (extramuraal) - 2014"
},
"xml": {
"name": "collectiveAgreement"
}
},
"payroll.ContractType": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int64",
"x-cupido-id": true
},
"name": {
"type": "string"
},
"importCode": {
"type": "string"
},
"payHoursDirectly": {
"type": "boolean"
},
"removed": {
"type": "boolean"
}
},
"description": "ContractType model\n\nCreated on 22/04/15.",
"example": {
"id": 1,
"name": "Dummy",
"importCode": "Dummy",
"payHoursDirectly": true,
"removed": true
},
"xml": {
"name": "contractType"
}
},
"payroll.Contract": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int64",
"x-cupido-id": true
},
"employeeId": {
"type": "integer",
"format": "int64"
},
"fixed": {
"type": "number",
"format": "double"
},
"var": {
"type": "number",
"format": "double"
},
"contractTypeId": {
"type": "integer",
"format": "int64"
},
"beginDate": {
"type": "string",
"format": "date"
},
"endDate": {
"type": "string",
"format": "date"
}
},
"description": "Contract model\n\nCreated on 22/04/15.",
"example": {
"id": 1,
"employeeId": 1,
"fixed": 1.234,
"var": 1.234,
"contractTypeId": 1,
"beginDate": "2015-01-01",
"endDate": "2020-01-01"
},
"xml": {
"name": "contract"
}
},
"list.CostCenterSelectionOptionList": {
"type": "object",
"properties": {
"costCenterSelectionOptions": {
"type": "array",
"items": {
"$ref": "#/definitions/CostCenterSelectionOption"
},
"xml": {
"name": "costCenterSelectionOption"
}
}
},
"description": "CostCenterSelectionOptionList model (no description)",
"example": {
"costCenterSelectionOptions": [
{
"clusterObjectId": 5000,
"category": "OWN_TEAM",
"name": "Carstens Team",
"identificationNumber": "AB12"
},
{
"clusterObjectId": 5001,
"category": "CLIENT_COSTCENTER",
"name": "Backoffice",
"identificationNumber": "CD34"
},
{
"clusterObjectId": 5002,
"category": "OTHER",
"name": "Nedap Healthcare",
"identificationNumber": "EF56"
},
{
"clusterObjectId": 5003,
"category": "OTHER",
"name": "Nedap Livestock",
"identificationNumber": "XZ78"
}
]
},
"xml": {
"name": "costCenterSelectionOptions"
}
},
"CostCenterSelectionOption": {
"type": "object",
"properties": {
"clusterObjectId": {
"type": "integer",
"format": "int32",
"x-cupido-id": true
},
"category": {
"$ref": "#/definitions/CostCenterSelectionOptionCategory",
"description": "A category about the cost center; can be COMMON/OWN_TEAM/CLIENT_COSTCENTER/OTHER."
},
"name": {
"type": "string",
"description": "Name"
},
"identificationNumber": {
"type": "string",
"description": "Identification number"
}
},
"description": "CostCenterSelectionOption model (no description)",
"example": {
"clusterObjectId": 5000,
"category": "OWN_TEAM",
"name": "Carstens Team",
"identificationNumber": "AB12"
},
"xml": {
"name": "costCenterSelectionOption"
}
},
"CostCenterSelectionOptionCategory": {
"enum": [
"COMMON",
"OWN_TEAM",
"CLIENT_COSTCENTER",
"OTHER"
],
"type": "string",
"description": "A category about the cost center; can be COMMON/OWN_TEAM/CLIENT_COSTCENTER/OTHER.",
"example": "OTHER"
},
"list.DashboardProfileList": {
"type": "object",
"properties": {
"dashboardProfiles": {
"type": "array",
"items": {
"$ref": "#/definitions/DashboardProfile"
}
}
},
"description": "List of dashboard profiles",
"example": {
"dashboardProfiles": [
{
"id": 1,
"name": "Intramuraal"
}
]
},
"xml": {
"name": "dashboardProfiles"
}
},
"DashboardProfile": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"description": "The objectId of this dashboard profile",
"format": "int64",
"x-cupido-key": true
},
"name": {
"type": "string",
"description": "The name of this dashboard profile"
}
},
"description": "Dashboard profile in Ons Administratie",
"example": {
"id": 1,
"name": "Intramuraal"
},
"xml": {
"name": "dashboardProfile"
}
},
"dbc.DBCSubTraject": {
"type": "object",
"allOf": [
{
"$ref": "#/definitions/AuditedBase"
}
],
"properties": {
"id": {
"type": "integer",
"format": "int64",
"x-cupido-id": true
},
"source": {
"type": "string"
},
"dbcIdentifier": {
"type": "string"
},
"clientId": {
"type": "integer",
"format": "int64"
},
"clientIdentifier": {
"type": "string"
},
"financeTypeId": {
"type": "integer",
"format": "int64"
},
"contactPerson": {
"type": "string"
},
"startDate": {
"type": "string",
"format": "date-time"
},
"endDate": {
"type": "string",
"format": "date-time"
},
"issueDate": {
"type": "string",
"format": "date-time"
},
"startDateClipped": {
"type": "string",
"format": "date-time"
},
"endDateClipped": {
"type": "string",
"format": "date-time"
},
"debtorId": {
"type": "integer",
"format": "int64"
},
"comments": {
"type": "string"
},
"dbcDiagnosisCode": {
"type": "string"
},
"endOfCare": {
"type": "string",
"format": "date-time"
},
"afsluitingsCode": {
"type": "string"
},
"zorgTypeCode": {
"type": "string"
},
"resignationDestination": {
"type": "string"
},
"transport": {
"type": "boolean"
},
"grouperCheck": {
"type": "boolean"
},
"dbcTrajectId": {
"type": "integer",
"format": "int64"
}
},
"description": "DBC sub traject, a.k.a. DBCCareOrder in Administration.",
"example": {
"updatedAt": "2014-09-17T00:00:00.000+02:00",
"createdAt": "2014-09-17T00:00:00.000+02:00",
"createdBy": "Dummy",
"id": 1,
"source": "Dummy",
"dbcIdentifier": "Dummy",
"clientId": 1,
"clientIdentifier": "Dummy",
"financeTypeId": 1,
"contactPerson": "Dummy",
"startDate": "2014-09-17T00:00:00.000+02:00",
"endDate": "2014-09-17T00:00:00.000+02:00",
"issueDate": "2014-09-17T00:00:00.000+02:00",
"startDateClipped": "2014-09-17T00:00:00.000+02:00",
"endDateClipped": "2014-09-17T00:00:00.000+02:00",
"debtorId": 1,
"comments": "Dummy",
"dbcDiagnosisCode": "Dummy",
"endOfCare": "2014-09-17T00:00:00.000+02:00",
"afsluitingsCode": "Dummy",
"zorgTypeCode": "Dummy",
"resignationDestination": "Dummy",
"transport": true,
"grouperCheck": true,
"dbcTrajectId": 1
},
"xml": {
"name": "dbcSubTraject"
}
},
"dbc.list.DBCSubTrajectList": {
"type": "object",
"properties": {
"dbcSubTrajects": {
"type": "array",
"items": {
"$ref": "#/definitions/dbc.DBCSubTraject"
},
"xml": {
"name": "dbcSubTraject"
}
}
},
"description": "DBCSubTrajectList model (no description)",
"example": {
"dbcSubTrajects": [
{
"updatedAt": "2014-09-17T00:00:00.000+02:00",
"createdAt": "2014-09-17T00:00:00.000+02:00",
"createdBy": "Dummy",
"id": 1,
"source": "Dummy",
"dbcIdentifier": "Dummy",
"clientId": 1,
"clientIdentifier": "Dummy",
"financeTypeId": 1,
"contactPerson": "Dummy",
"startDate": "2014-09-17T00:00:00.000+02:00",
"endDate": "2014-09-17T00:00:00.000+02:00",
"issueDate": "2014-09-17T00:00:00.000+02:00",
"startDateClipped": "2014-09-17T00:00:00.000+02:00",
"endDateClipped": "2014-09-17T00:00:00.000+02:00",
"debtorId": 1,
"comments": "Dummy",
"dbcDiagnosisCode": "Dummy",
"endOfCare": "2014-09-17T00:00:00.000+02:00",
"afsluitingsCode": "Dummy",
"zorgTypeCode": "Dummy",
"resignationDestination": "Dummy",
"transport": true,
"grouperCheck": true,
"dbcTrajectId": 1
}
]
},
"xml": {
"name": "dbcSubTrajects"
}
},
"dbc.DBCTraject": {
"type": "object",
"allOf": [
{
"$ref": "#/definitions/AuditedBase"
}
],
"properties": {
"id": {
"type": "integer",
"format": "int64",
"x-cupido-id": true
},
"clientId": {
"type": "integer",
"format": "int64"
},
"dbcIdentifier": {
"type": "string"
},
"clientIdentifier": {
"type": "string"
},
"startDate": {
"type": "string",
"format": "date-time"
},
"endDate": {
"type": "string",
"format": "date-time"
},
"koppelNummer": {
"type": "string"
},
"parentDBCTraject": {
"type": "string"
},
"referringDBCTraject": {
"type": "string"
},
"verwijzendSpecialismeCode": {
"type": "string"
},
"verwijzendZorgtrajectnummer": {
"type": "string"
},
"hospitalName": {
"type": "string"
},
"hospitalAgbCode": {
"type": "string"
},
"specialistName": {
"type": "string"
},
"specialistAgbCode": {
"type": "string"
}
},
"description": "DBC traject, a.k.a. DBCCarePlan in Administration.",
"example": {
"updatedAt": "2014-09-17T00:00:00.000+02:00",
"createdAt": "2014-09-17T00:00:00.000+02:00",
"createdBy": "user",
"id": 1,
"clientId": 1,
"dbcIdentifier": "Dummy",
"clientIdentifier": "Dummy",
"startDate": "2014-09-17T00:00:00.000+02:00",
"endDate": "2014-09-17T00:00:00.000+02:00",
"koppelNummer": "Dummy",
"parentDBCTraject": "Dummy",
"referringDBCTraject": "Dummy",
"verwijzendSpecialismeCode": "Dummy",
"verwijzendZorgtrajectnummer": "Dummy",
"hospitalName": "Dummy",
"hospitalAgbCode": "Dummy",
"specialistName": "Dummy",
"specialistAgbCode": "Dummy"
},
"xml": {
"name": "dbcTraject"
}
},
"dbc.list.DBCTrajectList": {
"type": "object",
"properties": {
"dbcTrajects": {
"type": "array",
"items": {
"$ref": "#/definitions/dbc.DBCTraject"
}
}
},
"description": "DBCTrajectList model (no description)",
"example": {
"dbcTrajects": [
{
"id": 1,
"clientId": 1,
"dbcIdentifier": "Dummy",
"clientIdentifier": "Dummy",
"startDate": "2014-09-17T00:00:00.000+02:00",
"endDate": "2014-09-17T00:00:00.000+02:00",
"koppelNummer": "Dummy",
"parentDBCTraject": "Dummy",
"referringDBCTraject": "Dummy",
"verwijzendSpecialismeCode": "Dummy",
"verwijzendZorgtrajectnummer": "Dummy",
"hospitalName": "Dummy",
"hospitalAgbCode": "Dummy",
"specialistName": "Dummy",
"specialistAgbCode": "Dummy"
}
]
}
},
"dossier.ActionEntry": {
"type": "object",
"allOf": [
{
"$ref": "#/definitions/AuditedBase"
}
],
"properties": {
"id": {
"type": "integer",
"format": "int64",
"x-cupido-id": true
},
"carePlanEntryId": {
"type": "integer",
"format": "int64"
},
"action": {
"$ref": "#/definitions/dossier.Action"
},
"actionId": {
"type": "integer",
"format": "int64"
},
"carePlanPersistentActionId": {
"type": "integer",
"description": "The care plan persistent action id of this action entry",
"format": "int64"
},
"comment": {
"type": "string"
},
"title": {
"type": "string"
}
},
"description": "Zorgplan \"actie\" entry",
"example": {
"updatedAt": "2014-04-01T17:00:00.000+02:00",
"createdAt": "2013-12-01T17:00:00.000+01:00",
"createdBy": "user",
"id": 1,
"carePlanEntryId": 2,
"action": {
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"domain": {
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"name": "example",
"hidden": true,
"classificationId": "example"
},
"domainId": 1,
"goal": {
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"domain": {
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"name": "example",
"hidden": true,
"classificationId": "example"
},
"domainId": 1,
"demandId": 1,
"definition": "example",
"allowTitleOverride": true,
"allowComment": true,
"reportProgress": true,
"hidden": true,
"classificationId": "example"
},
"goalId": 1,
"definition": "example",
"instructionUrl": "example",
"allowTitleOverride": true,
"allowComment": true,
"hidden": true,
"classificationId": "example"
},
"actionId": 3,
"carePlanPersistentActionId": 4,
"comment": "commentaar",
"title": "Een titel"
},
"xml": {
"name": "actionEntry"
}
},
"dossier.Action": {
"type": "object",
"allOf": [
{
"$ref": "#/definitions/AuditedBase"
}
],
"properties": {
"id": {
"type": "integer",
"format": "int64",
"x-cupido-id": true
},
"domain": {
"$ref": "#/definitions/dossier.Domain"
},
"domainId": {
"type": "integer",
"format": "int64"
},
"goal": {
"$ref": "#/definitions/dossier.Goal"
},
"goalId": {
"type": "integer",
"format": "int64"
},
"definition": {
"type": "string"
},
"instructionUrl": {
"type": "string"
},
"allowTitleOverride": {
"type": "boolean",
"default": false
},
"allowComment": {
"type": "boolean",
"default": false
},
"hidden": {
"type": "boolean",
"default": false
},
"classificationId": {
"type": "string"
}
},
"description": "Zorgplan \"actie\"",
"example": {
"updatedAt": "2014-04-01T17:00:00.000+02:00",
"createdAt": "2013-12-01T17:00:00.000+01:00",
"createdBy": "user",
"id": 1,
"domain": {
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"name": "example",
"hidden": true,
"classificationId": "example"
},
"domainId": 2,
"goal": {
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"domain": {
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"name": "example",
"hidden": true,
"classificationId": "example"
},
"domainId": 1,
"demandId": 1,
"definition": "example",
"allowTitleOverride": true,
"allowComment": true,
"reportProgress": true,
"hidden": true,
"classificationId": "example"
},
"goalId": 3,
"definition": "Een definitie",
"instructionUrl": "http://www.nedap.com/",
"allowTitleOverride": true,
"allowComment": true,
"hidden": false,
"classificationId": "intervention.target.bowel_care"
},
"xml": {
"name": "action"
}
},
"dossier.Domain": {
"type": "object",
"allOf": [
{
"$ref": "#/definitions/AuditedBase"
}
],
"properties": {
"id": {
"type": "integer",
"format": "int64",
"x-cupido-id": true
},
"name": {
"type": "string",
"description": "(nl) Naam van dit domein"
},
"hidden": {
"type": "boolean",
"default": false
},
"classificationId": {
"type": "string"
}
},
"description": "Zorgplan \"domein\"",
"example": {
"updatedAt": "2014-04-01T17:00:00.000+02:00",
"createdAt": "2013-12-01T17:00:00.000+01:00",
"createdBy": "user",
"id": 1,
"name": "Domein naam",
"hidden": false,
"classificationId": "classification.domain.health"
}
},
"dossier.Goal": {
"type": "object",
"allOf": [
{
"$ref": "#/definitions/AuditedBase"
}
],
"properties": {
"id": {
"type": "integer",
"format": "int64",
"x-cupido-id": true
},
"domain": {
"$ref": "#/definitions/dossier.Domain"
},
"domainId": {
"type": "integer",
"format": "int64"
},
"demandId": {
"type": "integer",
"format": "int64"
},
"definition": {
"type": "string"
},
"allowTitleOverride": {
"type": "boolean",
"default": false
},
"allowComment": {
"type": "boolean",
"default": false
},
"reportProgress": {
"type": "boolean",
"default": false
},
"hidden": {
"type": "boolean",
"default": false
},
"classificationId": {
"type": "string"
}
},
"description": "Zorgplan \"doel\"",
"example": {
"updatedAt": "2014-04-01T17:00:00.000+02:00",
"createdAt": "2013-12-01T17:00:00.000+01:00",
"createdBy": "user",
"id": 1,
"domain": {
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"name": "example",
"hidden": true,
"classificationId": "example"
},
"domainId": 2,
"demandId": 3,
"definition": "Target definition",
"allowTitleOverride": true,
"allowComment": true,
"reportProgress": false,
"hidden": false,
"classificationId": "intervention.category.case_management"
},
"xml": {
"name": "goal"
}
},
"dossier.list.ActionList": {
"type": "object",
"properties": {
"actions": {
"type": "array",
"items": {
"$ref": "#/definitions/dossier.Action"
},
"xml": {
"name": "action"
}
}
},
"description": "ActionList model (no description)",
"example": {
"actions": [
{
"updatedAt": "2010-12-08T12:32:42.000+01:00",
"createdAt": "2010-12-08T12:32:42.000+01:00",
"id": 2482,
"domainId": 2052,
"goalId": 2421,
"definition": "Bespreekbaar maken van het belang van een schoon huis",
"allowTitleOverride": false,
"allowComment": false,
"hidden": false
},
{
"updatedAt": "2010-12-08T12:32:42.000+01:00",
"createdAt": "2010-12-08T12:32:42.000+01:00",
"id": 2483,
"domainId": 2052,
"goalId": 2421,
"definition": "Met verwant bespreekbaar maken",
"allowTitleOverride": false,
"allowComment": false,
"hidden": false
},
{
"updatedAt": "2010-12-08T12:32:42.000+01:00",
"createdAt": "2010-12-08T12:32:42.000+01:00",
"id": 2484,
"domainId": 2052,
"goalId": 2421,
"definition": "Tijd maken voor kennismaken met huishoudelijk medewerkster",
"allowTitleOverride": false,
"allowComment": false,
"hidden": false
},
{
"updatedAt": "2010-12-08T12:32:42.000+01:00",
"createdAt": "2010-12-08T12:32:42.000+01:00",
"id": 2485,
"domainId": 2052,
"goalId": 2422,
"definition": "Leren was sorteren",
"allowTitleOverride": false,
"allowComment": false,
"hidden": false
},
{
"updatedAt": "2010-12-08T12:32:42.000+01:00",
"createdAt": "2010-12-08T12:32:42.000+01:00",
"id": 2486,
"domainId": 2052,
"goalId": 2422,
"definition": "Uitleg wasmachine",
"allowTitleOverride": false,
"allowComment": false,
"hidden": false
},
{
"updatedAt": "2010-12-08T12:32:42.000+01:00",
"createdAt": "2010-12-08T12:32:42.000+01:00",
"id": 2487,
"domainId": 2052,
"goalId": 2422,
"definition": "Wassen onder begeleiding",
"allowTitleOverride": false,
"allowComment": false,
"hidden": false
},
{
"updatedAt": "2010-12-08T12:32:42.000+01:00",
"createdAt": "2010-12-08T12:32:42.000+01:00",
"id": 2488,
"domainId": 2052,
"goalId": 2422,
"definition": "Wassen volgens weekschema",
"allowTitleOverride": false,
"allowComment": false,
"hidden": false
},
{
"updatedAt": "2010-12-08T12:32:42.000+01:00",
"createdAt": "2010-12-08T12:32:42.000+01:00",
"id": 2489,
"domainId": 2052,
"goalId": 2423,
"definition": "Cliënt stimuleren tot schoonmaken",
"allowTitleOverride": false,
"allowComment": false,
"hidden": false
},
{
"updatedAt": "2010-12-08T12:32:42.000+01:00",
"createdAt": "2010-12-08T12:32:42.000+01:00",
"id": 2490,
"domainId": 2052,
"goalId": 2423,
"definition": "Controle door begeleiding",
"allowTitleOverride": false,
"allowComment": true,
"hidden": false
},
{
"updatedAt": "2010-12-08T12:32:42.000+01:00",
"createdAt": "2010-12-08T12:32:42.000+01:00",
"id": 2491,
"domainId": 2052,
"goalId": 2423,
"definition": "Dagelijks na de avondmaaltijd vuile was opruimen",
"allowTitleOverride": false,
"allowComment": false,
"hidden": false
},
{
"updatedAt": "2010-12-08T12:32:42.000+01:00",
"createdAt": "2010-12-08T12:32:42.000+01:00",
"id": 2492,
"domainId": 2052,
"goalId": 2423,
"definition": "Samen met begeleiding opruimen",
"allowTitleOverride": false,
"allowComment": true,
"hidden": false
},
{
"updatedAt": "2010-12-08T12:32:42.000+01:00",
"createdAt": "2010-12-08T12:32:42.000+01:00",
"id": 2493,
"domainId": 2052,
"goalId": 2423,
"definition": "Schoonmaak volgens schema",
"allowTitleOverride": false,
"allowComment": true,
"hidden": false
},
{
"updatedAt": "2010-12-08T12:32:42.000+01:00",
"createdAt": "2010-12-08T12:32:42.000+01:00",
"id": 2494,
"domainId": 2052,
"goalId": 2423,
"definition": "Schoonmaken met begeleiding",
"allowTitleOverride": false,
"allowComment": false,
"hidden": false
},
{
"updatedAt": "2010-12-08T12:32:42.000+01:00",
"createdAt": "2010-12-08T12:32:42.000+01:00",
"id": 2495,
"domainId": 2052,
"goalId": 2423,
"definition": "Zo nodig in gesprek met cliënt",
"allowTitleOverride": false,
"allowComment": false,
"hidden": false
},
{
"updatedAt": "2010-12-08T12:32:42.000+01:00",
"createdAt": "2010-12-08T12:32:42.000+01:00",
"id": 2496,
"domainId": 2052,
"goalId": 2424,
"definition": "Begeleiding houdt contact met civiel ondersteuners",
"allowTitleOverride": false,
"allowComment": false,
"hidden": false
},
{
"updatedAt": "2010-12-08T12:32:42.000+01:00",
"createdAt": "2010-12-08T12:32:42.000+01:00",
"id": 2497,
"domainId": 2052,
"goalId": 2424,
"definition": "Bij gemeente bijzondere bijstand aanvragen",
"allowTitleOverride": false,
"allowComment": false,
"hidden": false
},
{
"updatedAt": "2010-12-08T12:32:42.000+01:00",
"createdAt": "2010-12-08T12:32:42.000+01:00",
"id": 2498,
"domainId": 2052,
"goalId": 2424,
"definition": "Cliënt stimuleren tot schoonmaken",
"allowTitleOverride": false,
"allowComment": false,
"hidden": false
},
{
"updatedAt": "2010-12-08T12:32:42.000+01:00",
"createdAt": "2010-12-08T12:32:42.000+01:00",
"id": 2499,
"domainId": 2052,
"goalId": 2424,
"definition": "Dagelijkse controle door begeleiding",
"allowTitleOverride": false,
"allowComment": false,
"hidden": false
},
{
"updatedAt": "2010-12-08T12:32:42.000+01:00",
"createdAt": "2010-12-08T12:32:42.000+01:00",
"id": 2500,
"domainId": 2052,
"goalId": 2424,
"definition": "Ondersteuning door:",
"allowTitleOverride": false,
"allowComment": true,
"hidden": false
},
{
"updatedAt": "2010-12-08T12:32:42.000+01:00",
"createdAt": "2010-12-08T12:32:42.000+01:00",
"id": 2501,
"domainId": 2052,
"goalId": 2424,
"definition": "Schoonmaak volgens schema",
"allowTitleOverride": false,
"allowComment": true,
"hidden": false
},
{
"updatedAt": "2010-12-08T12:32:42.000+01:00",
"createdAt": "2010-12-08T12:32:42.000+01:00",
"id": 2502,
"domainId": 2052,
"goalId": 2424,
"definition": "Schoonmaken met begeleiding",
"allowTitleOverride": false,
"allowComment": false,
"hidden": false
},
{
"updatedAt": "2010-12-08T12:32:42.000+01:00",
"createdAt": "2010-12-08T12:32:42.000+01:00",
"id": 2503,
"domainId": 2052,
"goalId": 2424,
"definition": "Zo nodig in gesprek met cliënt",
"allowTitleOverride": false,
"allowComment": false,
"hidden": false
},
{
"updatedAt": "2013-12-16T16:36:45.000+01:00",
"createdAt": "2010-12-08T12:32:42.000+01:00",
"id": 2504,
"domainId": 2052,
"goalId": 2425,
"definition": "Aanpassingen in de keuken",
"instructionUrl": "https://basisvvt.ioservice.net/download/document/3620",
"allowTitleOverride": false,
"allowComment": false,
"hidden": false
},
{
"updatedAt": "2010-12-08T12:32:42.000+01:00",
"createdAt": "2010-12-08T12:32:42.000+01:00",
"id": 2505,
"domainId": 2052,
"goalId": 2426,
"definition": "Afstandsbediening aanschaffen binnen",
"allowTitleOverride": false,
"allowComment": true,
"hidden": false
},
{
"updatedAt": "2010-12-08T12:32:42.000+01:00",
"createdAt": "2010-12-08T12:32:42.000+01:00",
"id": 2506,
"domainId": 2052,
"goalId": 2426,
"definition": "iO Open installeren",
"allowTitleOverride": false,
"allowComment": false,
"hidden": false
},
{
"updatedAt": "2010-12-08T12:32:42.000+01:00",
"createdAt": "2010-12-08T12:32:42.000+01:00",
"id": 2507,
"domainId": 2052,
"goalId": 2427,
"definition": "Douche/toilet aanpassen ivm veiligheid/comfort/zelfredzaamheid",
"allowTitleOverride": false,
"allowComment": true,
"hidden": false
},
{
"updatedAt": "2010-12-08T12:32:42.000+01:00",
"createdAt": "2010-12-08T12:32:42.000+01:00",
"id": 2508,
"domainId": 2052,
"goalId": 2427,
"definition": "Handgrepen en douchestoel bestellen en installeren",
"allowTitleOverride": false,
"allowComment": false,
"hidden": false
},
{
"updatedAt": "2010-12-08T12:32:42.000+01:00",
"createdAt": "2010-12-08T12:32:42.000+01:00",
"id": 2509,
"domainId": 2052,
"goalId": 2427,
"definition": "Ondersteuning en oefeningen bieden die zelfstandigheid vergroten",
"allowTitleOverride": false,
"allowComment": false,
"hidden": false
},
{
"updatedAt": "2010-12-08T12:32:42.000+01:00",
"createdAt": "2010-12-08T12:32:42.000+01:00",
"id": 2510,
"domainId": 2052,
"goalId": 2427,
"definition": "Zorgstoel installeren",
"allowTitleOverride": false,
"allowComment": false,
"hidden": false
},
{
"updatedAt": "2010-12-08T12:32:42.000+01:00",
"createdAt": "2010-12-08T12:32:42.000+01:00",
"id": 2511,
"domainId": 2052,
"goalId": 2428,
"definition": "Bepaal wat voor hulp nodig is (maaltijden, vervoer, huishoudelijk werk)",
"allowTitleOverride": false,
"allowComment": false,
"hidden": false
},
{
"updatedAt": "2010-12-08T12:32:42.000+01:00",
"createdAt": "2010-12-08T12:32:42.000+01:00",
"id": 2512,
"domainId": 2052,
"goalId": 2428,
"definition": "Bepalen welke hulpmiddelen nodig zijn",
"allowTitleOverride": false,
"allowComment": false,
"hidden": false
},
{
"updatedAt": "2010-12-08T12:32:42.000+01:00",
"createdAt": "2010-12-08T12:32:42.000+01:00",
"id": 2513,
"domainId": 2052,
"goalId": 2429,
"definition": "Cliënt voert uit, begeleiding kijkt mee",
"allowTitleOverride": false,
"allowComment": false,
"hidden": false
},
{
"updatedAt": "2010-12-08T12:32:42.000+01:00",
"createdAt": "2010-12-08T12:32:42.000+01:00",
"id": 2514,
"domainId": 2052,
"goalId": 2429,
"definition": "Gebruiksaanwijzing doornemen",
"allowTitleOverride": false,
"allowComment": false,
"hidden": false
},
{
"updatedAt": "2010-12-08T12:32:42.000+01:00",
"createdAt": "2010-12-08T12:32:42.000+01:00",
"id": 2515,
"domainId": 2052,
"goalId": 2429,
"definition": "Oefenen met begeleiding",
"allowTitleOverride": false,
"allowComment": false,
"hidden": false
},
{
"updatedAt": "2010-12-08T12:32:42.000+01:00",
"createdAt": "2010-12-08T12:32:42.000+01:00",
"id": 2516,
"domainId": 2052,
"goalId": 2430,
"definition": "Rollator bestellen en instructie geven",
"allowTitleOverride": false,
"allowComment": false,
"hidden": false
},
{
"updatedAt": "2010-12-08T12:32:42.000+01:00",
"createdAt": "2010-12-08T12:32:42.000+01:00",
"id": 2517,
"domainId": 2052,
"goalId": 2431,
"definition": "Begeleiding gaat hierover in gesprek met cliënt",
"allowTitleOverride": false,
"allowComment": false,
"hidden": false
},
{
"updatedAt": "2010-12-08T12:32:42.000+01:00",
"createdAt": "2010-12-08T12:32:42.000+01:00",
"id": 2518,
"domainId": 2052,
"goalId": 2431,
"definition": "Begeleiding oefent met cliënt",
"allowTitleOverride": false,
"allowComment": false,
"hidden": false
},
{
"updatedAt": "2010-12-08T12:32:42.000+01:00",
"createdAt": "2010-12-08T12:32:42.000+01:00",
"id": 2519,
"domainId": 2052,
"goalId": 2431,
"definition": "Bepalen welke hulpmiddelen nodig zijn",
"allowTitleOverride": false,
"allowComment": false,
"hidden": false
},
{
"updatedAt": "2010-12-08T12:32:43.000+01:00",
"createdAt": "2010-12-08T12:32:43.000+01:00",
"id": 2520,
"domainId": 2052,
"goalId": 2431,
"definition": "Controle door begeleiding",
"allowTitleOverride": false,
"allowComment": true,
"hidden": false
},
{
"updatedAt": "2010-12-08T12:32:43.000+01:00",
"createdAt": "2010-12-08T12:32:43.000+01:00",
"id": 2521,
"domainId": 2052,
"goalId": 2432,
"definition": "Onderzoek naar aanpassingen die zelfstandig blijven wonen mogelijk maken",
"allowTitleOverride": false,
"allowComment": false,
"hidden": false
},
{
"updatedAt": "2010-12-08T12:32:43.000+01:00",
"createdAt": "2010-12-08T12:32:43.000+01:00",
"id": 2522,
"domainId": 2052,
"goalId": 2432,
"definition": "Trap lift bestellen en installeren",
"allowTitleOverride": false,
"allowComment": false,
"hidden": false
},
{
"updatedAt": "2010-12-08T12:32:43.000+01:00",
"createdAt": "2010-12-08T12:32:43.000+01:00",
"id": 2523,
"domainId": 2052,
"goalId": 2432,
"definition": "Warme maaltijd wordt aangeleverd",
"allowTitleOverride": false,
"allowComment": true,
"hidden": false
},
{
"updatedAt": "2010-12-08T12:32:43.000+01:00",
"createdAt": "2010-12-08T12:32:43.000+01:00",
"id": 2524,
"domainId": 2052,
"goalId": 2432,
"definition": "wensen en behoeften voor individuele aanpassingen bespreken met de cliënt",
"allowTitleOverride": false,
"allowComment": false,
"hidden": false
},
{
"updatedAt": "2010-12-08T12:32:43.000+01:00",
"createdAt": "2010-12-08T12:32:43.000+01:00",
"id": 2525,
"domainId": 2052,
"goalId": 2432,
"definition": "Woning aanpassen aan leeftijd en zorgvraag",
"allowTitleOverride": false,
"allowComment": false,
"hidden": false
},
{
"updatedAt": "2010-12-08T12:32:43.000+01:00",
"createdAt": "2010-12-08T12:32:43.000+01:00",
"id": 2526,
"domainId": 2052,
"goalId": 2432,
"definition": "Zoveel mogelijk contactmomenten",
"allowTitleOverride": false,
"allowComment": false,
"hidden": false
},
{
"updatedAt": "2010-12-08T12:32:43.000+01:00",
"createdAt": "2010-12-08T12:32:43.000+01:00",
"id": 2527,
"domainId": 2052,
"goalId": 2433,
"definition": "Alarminstallatie aanbrengen",
"allowTitleOverride": false,
"allowComment": false,
"hidden": false
},
{
"updatedAt": "2010-12-08T12:32:43.000+01:00",
"createdAt": "2010-12-08T12:32:43.000+01:00",
"id": 2528,
"domainId": 2052,
"goalId": 2433,
"definition": "Onderzoek naar eventuele veiligheidsaanpassingen",
"allowTitleOverride": false,
"allowComment": true,
"hidden": false
},
{
"updatedAt": "2010-12-08T12:32:43.000+01:00",
"createdAt": "2010-12-08T12:32:43.000+01:00",
"id": 2529,
"domainId": 2052,
"goalId": 2433,
"definition": "Onderzoek naar veiligheid woning",
"allowTitleOverride": false,
"allowComment": true,
"hidden": false
},
{
"updatedAt": "2010-12-08T12:32:43.000+01:00",
"createdAt": "2010-12-08T12:32:43.000+01:00",
"id": 2530,
"domainId": 2052,
"goalId": 2434,
"definition": "Aanbrengen alarmeringssysteem",
"allowTitleOverride": false,
"allowComment": false,
"hidden": false
},
{
"updatedAt": "2010-12-08T12:32:43.000+01:00",
"createdAt": "2010-12-08T12:32:43.000+01:00",
"id": 2531,
"domainId": 2052,
"goalId": 2434,
"definition": "Aanbrengen van iO open aan de voordeur",
"allowTitleOverride": false,
"allowComment": false,
"hidden": false
},
{
"updatedAt": "2010-12-08T12:32:43.000+01:00",
"createdAt": "2010-12-08T12:32:43.000+01:00",
"id": 2532,
"domainId": 2052,
"goalId": 2434,
"definition": "Brandblusapparaat oefenen met cliënt",
"allowTitleOverride": false,
"allowComment": false,
"hidden": false
},
{
"updatedAt": "2010-12-08T12:32:43.000+01:00",
"createdAt": "2010-12-08T12:32:43.000+01:00",
"id": 2533,
"domainId": 2052,
"goalId": 2434,
"definition": "Nachtlampje aanschaffen",
"allowTitleOverride": false,
"allowComment": false,
"hidden": false
},
{
"updatedAt": "2010-12-08T12:32:43.000+01:00",
"createdAt": "2010-12-08T12:32:43.000+01:00",
"id": 2534,
"domainId": 2052,
"goalId": 2434,
"definition": "Oefenen met cliënt wat te doen bij brand",
"allowTitleOverride": false,
"allowComment": false,
"hidden": false
},
{
"updatedAt": "2010-12-08T12:32:43.000+01:00",
"createdAt": "2010-12-08T12:32:43.000+01:00",
"id": 2535,
"domainId": 2052,
"goalId": 2434,
"definition": "Oefenen met opvolging alarmsysteem",
"allowTitleOverride": false,
"allowComment": false,
"hidden": false
},
{
"updatedAt": "2010-12-08T12:32:43.000+01:00",
"createdAt": "2010-12-08T12:32:43.000+01:00",
"id": 2536,
"domainId": 2052,
"goalId": 2434,
"definition": "Sloten aanbrengen op deuren en kasten",
"allowTitleOverride": false,
"allowComment": false,
"hidden": false
},
{
"updatedAt": "2010-12-08T12:32:43.000+01:00",
"createdAt": "2010-12-08T12:32:43.000+01:00",
"id": 2537,
"domainId": 2052,
"goalId": 2434,
"definition": "Valrisico verlagen in de woning (zie protocol)",
"allowTitleOverride": false,
"allowComment": false,
"hidden": false
},
{
"updatedAt": "2010-12-08T12:32:43.000+01:00",
"createdAt": "2010-12-08T12:32:43.000+01:00",
"id": 2538,
"domainId": 2052,
"goalId": 2435,
"definition": "Persoonlijk begeleider blijft zorg dragen dat hulpmiddelen up to date zijn",
"allowTitleOverride": false,
"allowComment": false,
"hidden": false
},
{
"updatedAt": "2010-12-08T12:32:43.000+01:00",
"createdAt": "2010-12-08T12:32:43.000+01:00",
"id": 2539,
"domainId": 2052,
"goalId": 2436,
"definition": "Bepalen welke hulpmiddelen nodig zijn",
"allowTitleOverride": false,
"allowComment": false,
"hidden": false
},
{
"updatedAt": "2010-12-08T12:32:43.000+01:00",
"createdAt": "2010-12-08T12:32:43.000+01:00",
"id": 2540,
"domainId": 2052,
"goalId": 2436,
"definition": "Cliënt helpen met uitzoeken van de juiste spullen voor de woning",
"allowTitleOverride": false,
"allowComment": false,
"hidden": false
},
{
"updatedAt": "2010-12-08T12:32:43.000+01:00",
"createdAt": "2010-12-08T12:32:43.000+01:00",
"id": 2541,
"domainId": 2052,
"goalId": 2437,
"definition": "Contact met cliënt / verwant houden over toekomst wonen",
"allowTitleOverride": false,
"allowComment": false,
"hidden": false
},
{
"updatedAt": "2010-12-08T12:32:43.000+01:00",
"createdAt": "2010-12-08T12:32:43.000+01:00",
"id": 2542,
"domainId": 2052,
"goalId": 2437,
"definition": "Samen met cliënt plan maken voor inrichting woning",
"allowTitleOverride": false,
"allowComment": false,
"hidden": false
},
{
"updatedAt": "2010-12-08T12:32:43.000+01:00",
"createdAt": "2010-12-08T12:32:43.000+01:00",
"id": 2543,
"domainId": 2052,
"goalId": 2437,
"definition": "Woonsituatie aanpassen aan leeftijd en zorgvraag",
"allowTitleOverride": false,
"allowComment": false,
"hidden": false
},
{
"updatedAt": "2010-12-08T12:32:43.000+01:00",
"createdAt": "2010-12-08T12:32:43.000+01:00",
"id": 2544,
"domainId": 2052,
"goalId": 2437,
"definition": "Zorgloket benaderen voor herindicatie",
"allowTitleOverride": false,
"allowComment": false,
"hidden": false
},
{
"updatedAt": "2010-12-08T12:32:43.000+01:00",
"createdAt": "2010-12-08T12:32:43.000+01:00",
"id": 2545,
"domainId": 2052,
"goalId": 2438,
"definition": "Aanpassingen aan de woning laten maken door ergotherapie",
"allowTitleOverride": false,
"allowComment": false,
"hidden": false
},
{
"updatedAt": "2010-12-08T12:32:43.000+01:00",
"createdAt": "2010-12-08T12:32:43.000+01:00",
"id": 2546,
"domainId": 2052,
"goalId": 2439,
"definition": "Aanpassingen aan de woonkamerverlichting doen",
"allowTitleOverride": false,
"allowComment": false,
"hidden": false
},
{
"updatedAt": "2010-12-08T12:32:43.000+01:00",
"createdAt": "2010-12-08T12:32:43.000+01:00",
"id": 2547,
"domainId": 2052,
"goalId": 2439,
"definition": "Wensenlijstje en inkopen doen",
"allowTitleOverride": false,
"allowComment": false,
"hidden": false
},
{
"updatedAt": "2010-12-08T12:32:43.000+01:00",
"createdAt": "2010-12-08T12:32:43.000+01:00",
"id": 2548,
"domainId": 2052,
"goalId": 2440,
"definition": "Samen met cliënt plan maken voor inrichting woning",
"allowTitleOverride": false,
"allowComment": false,
"hidden": false
},
{
"updatedAt": "2010-12-08T12:32:43.000+01:00",
"createdAt": "2010-12-08T12:32:43.000+01:00",
"id": 2549,
"domainId": 2052,
"goalId": 2441,
"definition": "Inventariseren van woonwensen van de cliënt",
"allowTitleOverride": false,
"allowComment": false,
"hidden": false
},
{
"updatedAt": "2010-12-08T16:14:43.000+01:00",
"createdAt": "2010-12-08T16:14:43.000+01:00",
"id": 3688,
"domainId": 2052,
"goalId": 2421,
"definition": "Actie",
"allowTitleOverride": false,
"allowComment": true,
"hidden": false
},
{
"updatedAt": "2010-12-08T16:14:43.000+01:00",
"createdAt": "2010-12-08T16:14:43.000+01:00",
"id": 3689,
"domainId": 2052,
"goalId": 2422,
"definition": "Actie",
"allowTitleOverride": false,
"allowComment": true,
"hidden": false
},
{
"updatedAt": "2010-12-08T16:14:43.000+01:00",
"createdAt": "2010-12-08T16:14:43.000+01:00",
"id": 3690,
"domainId": 2052,
"goalId": 2423,
"definition": "Actie",
"allowTitleOverride": false,
"allowComment": true,
"hidden": false
},
{
"updatedAt": "2010-12-08T16:14:43.000+01:00",
"createdAt": "2010-12-08T16:14:43.000+01:00",
"id": 3691,
"domainId": 2052,
"goalId": 2424,
"definition": "Actie",
"allowTitleOverride": false,
"allowComment": true,
"hidden": false
},
{
"updatedAt": "2010-12-08T16:14:43.000+01:00",
"createdAt": "2010-12-08T16:14:43.000+01:00",
"id": 3692,
"domainId": 2052,
"goalId": 3607,
"definition": "Actie",
"allowTitleOverride": false,
"allowComment": true,
"hidden": false
},
{
"updatedAt": "2010-12-08T16:14:43.000+01:00",
"createdAt": "2010-12-08T16:14:43.000+01:00",
"id": 3693,
"domainId": 2052,
"goalId": 3608,
"definition": "Actie",
"allowTitleOverride": false,
"allowComment": true,
"hidden": false
},
{
"updatedAt": "2010-12-08T16:14:43.000+01:00",
"createdAt": "2010-12-08T16:14:43.000+01:00",
"id": 3694,
"domainId": 2052,
"goalId": 2437,
"definition": "Actie",
"allowTitleOverride": false,
"allowComment": true,
"hidden": false
},
{
"updatedAt": "2010-12-08T16:14:43.000+01:00",
"createdAt": "2010-12-08T16:14:43.000+01:00",
"id": 3695,
"domainId": 2052,
"goalId": 2425,
"definition": "Actie",
"allowTitleOverride": false,
"allowComment": true,
"hidden": false
},
{
"updatedAt": "2013-12-04T17:08:50.000+01:00",
"createdAt": "2010-12-08T16:14:43.000+01:00",
"id": 3696,
"domainId": 2052,
"goalId": 2426,
"definition": "Actie",
"instructionUrl": "http://www.deuren.nl",
"allowTitleOverride": true,
"allowComment": true,
"hidden": false
},
{
"updatedAt": "2010-12-08T16:14:43.000+01:00",
"createdAt": "2010-12-08T16:14:43.000+01:00",
"id": 3697,
"domainId": 2052,
"goalId": 2427,
"definition": "Actie",
"allowTitleOverride": false,
"allowComment": true,
"hidden": false
},
{
"updatedAt": "2010-12-08T16:14:43.000+01:00",
"createdAt": "2010-12-08T16:14:43.000+01:00",
"id": 3698,
"domainId": 2052,
"goalId": 3609,
"definition": "Actie",
"allowTitleOverride": false,
"allowComment": true,
"hidden": false
},
{
"updatedAt": "2010-12-08T16:14:43.000+01:00",
"createdAt": "2010-12-08T16:14:43.000+01:00",
"id": 3699,
"domainId": 2052,
"goalId": 2429,
"definition": "Actie",
"allowTitleOverride": false,
"allowComment": true,
"hidden": false
},
{
"updatedAt": "2010-12-08T16:14:43.000+01:00",
"createdAt": "2010-12-08T16:14:43.000+01:00",
"id": 3700,
"domainId": 2052,
"goalId": 2438,
"definition": "Actie",
"allowTitleOverride": false,
"allowComment": true,
"hidden": false
},
{
"updatedAt": "2010-12-08T16:14:43.000+01:00",
"createdAt": "2010-12-08T16:14:43.000+01:00",
"id": 3701,
"domainId": 2052,
"goalId": 2430,
"definition": "Actie",
"allowTitleOverride": false,
"allowComment": true,
"hidden": false
},
{
"updatedAt": "2010-12-08T16:14:43.000+01:00",
"createdAt": "2010-12-08T16:14:43.000+01:00",
"id": 3702,
"domainId": 2052,
"goalId": 3610,
"definition": "Actie",
"allowTitleOverride": false,
"allowComment": true,
"hidden": false
},
{
"updatedAt": "2010-12-08T16:14:43.000+01:00",
"createdAt": "2010-12-08T16:14:43.000+01:00",
"id": 3703,
"domainId": 2052,
"goalId": 2439,
"definition": "Actie",
"allowTitleOverride": false,
"allowComment": true,
"hidden": false
},
{
"updatedAt": "2010-12-08T16:14:43.000+01:00",
"createdAt": "2010-12-08T16:14:43.000+01:00",
"id": 3704,
"domainId": 2052,
"goalId": 2433,
"definition": "Actie",
"allowTitleOverride": false,
"allowComment": true,
"hidden": false
},
{
"updatedAt": "2010-12-08T16:14:43.000+01:00",
"createdAt": "2010-12-08T16:14:43.000+01:00",
"id": 3705,
"domainId": 2052,
"goalId": 2434,
"definition": "Actie",
"allowTitleOverride": false,
"allowComment": true,
"hidden": false
},
{
"updatedAt": "2010-12-08T16:14:43.000+01:00",
"createdAt": "2010-12-08T16:14:43.000+01:00",
"id": 3706,
"domainId": 2052,
"goalId": 2431,
"definition": "Actie",
"allowTitleOverride": false,
"allowComment": true,
"hidden": false
},
{
"updatedAt": "2010-12-08T16:14:43.000+01:00",
"createdAt": "2010-12-08T16:14:43.000+01:00",
"id": 3707,
"domainId": 2052,
"goalId": 2432,
"definition": "Actie",
"allowTitleOverride": false,
"allowComment": true,
"hidden": false
},
{
"updatedAt": "2010-12-08T16:14:43.000+01:00",
"createdAt": "2010-12-08T16:14:43.000+01:00",
"id": 3708,
"domainId": 2052,
"goalId": 2435,
"definition": "Actie",
"allowTitleOverride": false,
"allowComment": true,
"hidden": false
},
{
"updatedAt": "2010-12-08T16:14:43.000+01:00",
"createdAt": "2010-12-08T16:14:43.000+01:00",
"id": 3709,
"domainId": 2052,
"goalId": 2440,
"definition": "Actie",
"allowTitleOverride": false,
"allowComment": true,
"hidden": false
},
{
"updatedAt": "2010-12-08T16:14:43.000+01:00",
"createdAt": "2010-12-08T16:14:43.000+01:00",
"id": 3710,
"domainId": 2052,
"goalId": 2441,
"definition": "Actie",
"allowTitleOverride": false,
"allowComment": true,
"hidden": false
},
{
"updatedAt": "2012-02-08T12:08:12.000+01:00",
"createdAt": "2010-12-08T16:14:45.000+01:00",
"id": 3728,
"domainId": 2052,
"goalId": 2164,
"definition": "Actie",
"allowTitleOverride": false,
"allowComment": true,
"hidden": false
},
{
"updatedAt": "2010-12-08T16:14:48.000+01:00",
"createdAt": "2010-12-08T16:14:48.000+01:00",
"id": 3743,
"domainId": 2052,
"goalId": 3643,
"definition": "Actie",
"allowTitleOverride": false,
"allowComment": true,
"hidden": false
},
{
"updatedAt": "2010-12-08T16:14:48.000+01:00",
"createdAt": "2010-12-08T16:14:48.000+01:00",
"id": 3744,
"domainId": 2052,
"goalId": 3644,
"definition": "Actie",
"allowTitleOverride": false,
"allowComment": true,
"hidden": false
},
{
"updatedAt": "2010-12-08T16:14:48.000+01:00",
"createdAt": "2010-12-08T16:14:48.000+01:00",
"id": 3745,
"domainId": 2052,
"goalId": 3645,
"definition": "Actie",
"allowTitleOverride": false,
"allowComment": true,
"hidden": false
},
{
"updatedAt": "2010-12-08T16:14:48.000+01:00",
"createdAt": "2010-12-08T16:14:48.000+01:00",
"id": 3746,
"domainId": 2052,
"goalId": 3646,
"definition": "Actie",
"allowTitleOverride": false,
"allowComment": true,
"hidden": false
},
{
"updatedAt": "2012-02-08T12:07:52.000+01:00",
"createdAt": "2012-02-08T12:07:52.000+01:00",
"id": 16350,
"domainId": 2052,
"goalId": 16050,
"definition": "training fysio",
"allowTitleOverride": true,
"allowComment": true,
"hidden": false
},
{
"updatedAt": "2013-06-13T10:45:46.000+02:00",
"createdAt": "2013-06-13T10:45:46.000+02:00",
"id": 39851,
"domainId": 2052,
"goalId": 39802,
"definition": "test`112",
"allowTitleOverride": true,
"allowComment": false,
"hidden": false
}
]
},
"xml": {
"name": "actions"
}
},
"dossier.CarePlanEntry": {
"type": "object",
"allOf": [
{
"$ref": "#/definitions/AuditedBase"
}
],
"properties": {
"id": {
"type": "integer",
"format": "int64",
"x-cupido-id": true
},
"carePlanId": {
"type": "integer",
"format": "int64"
},
"demandEntry": {
"$ref": "#/definitions/dossier.DemandEntry"
},
"demandEntryId": {
"type": "integer",
"format": "int64"
},
"goalEntry": {
"$ref": "#/definitions/dossier.GoalEntry"
},
"goalEntryId": {
"type": "integer",
"format": "int64"
},
"actionEntries": {
"type": "array",
"items": {
"$ref": "#/definitions/dossier.ActionEntry"
},
"xml": {
"wrapped": true
}
},
"percentageRealized": {
"type": "integer",
"format": "int32",
"default": 0
},
"percentageTarget": {
"type": "integer",
"format": "int32",
"default": 0
},
"importantForCarePlanGroupId": {
"type": "integer",
"format": "int64"
},
"importantForCarePlanGroup": {
"$ref": "#/definitions/survey.ImportantForCarePlanGroup"
}
},
"description": "\"Zorgplan\" entry.",
"example": {
"updatedAt": "2014-04-01T17:00:00.000+02:00",
"createdAt": "2013-12-01T17:00:00.000+01:00",
"createdBy": "user",
"id": 1,
"carePlanId": 6,
"demandEntry": {
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"carePlanEntryId": 1,
"demand": {
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"domain": {
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"name": "example",
"hidden": true,
"classificationId": "example"
},
"domainId": 1,
"definition": "example",
"protocolUrl": "example",
"hidden": true,
"classificationId": "example"
},
"demandId": 1,
"comment": "example"
},
"demandEntryId": 3,
"goalEntry": {
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"comment": "example",
"title": "example",
"carePlanEntryId": 1,
"goal": {
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"domain": {
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"name": "example",
"hidden": true,
"classificationId": "example"
},
"domainId": 1,
"demandId": 1,
"definition": "example",
"allowTitleOverride": true,
"allowComment": true,
"reportProgress": true,
"hidden": true,
"classificationId": "example"
},
"goalId": 1,
"targetDate": "2014-12-29T00:00:00.000+01:00"
},
"goalEntryId": 4,
"actionEntries": [
{
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"carePlanEntryId": 1,
"action": {
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"domain": {
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"name": "example",
"hidden": true,
"classificationId": "example"
},
"domainId": 1,
"goal": {
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"domain": {
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"name": "example",
"hidden": true,
"classificationId": "example"
},
"domainId": 1,
"demandId": 1,
"definition": "example",
"allowTitleOverride": true,
"allowComment": true,
"reportProgress": true,
"hidden": true,
"classificationId": "example"
},
"goalId": 1,
"definition": "example",
"instructionUrl": "example",
"allowTitleOverride": true,
"allowComment": true,
"hidden": true,
"classificationId": "example"
},
"actionId": 1,
"carePlanPersistentActionId": 1,
"comment": "example",
"title": "example"
},
{
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"carePlanEntryId": 1,
"action": {
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"domain": {
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"name": "example",
"hidden": true,
"classificationId": "example"
},
"domainId": 1,
"goal": {
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"domain": {
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"name": "example",
"hidden": true,
"classificationId": "example"
},
"domainId": 1,
"demandId": 1,
"definition": "example",
"allowTitleOverride": true,
"allowComment": true,
"reportProgress": true,
"hidden": true,
"classificationId": "example"
},
"goalId": 1,
"definition": "example",
"instructionUrl": "example",
"allowTitleOverride": true,
"allowComment": true,
"hidden": true,
"classificationId": "example"
},
"actionId": 1,
"carePlanPersistentActionId": 1,
"comment": "example",
"title": "example"
}
],
"percentageRealized": 20,
"percentageTarget": 40,
"importantForCarePlanGroupId": 5,
"importantForCarePlanGroup": {
"id": 1,
"groupAnswerId": 1,
"surveyTitle": "example",
"description": "example",
"answeredQuestions": [
{
"id": 1,
"sequenceNumber": 1,
"answerType": 1,
"text": "example",
"additionalInfo": "example",
"defaultAnswer": 1,
"skipOnYes": true,
"active": true,
"required": true,
"answerMaxLength": 1,
"groupId": 1,
"classificationId": "example",
"answerDefinitionGroup": {
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"description": "example",
"readOnly": true,
"answerDefinitions": [
{
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"definition": "example",
"sequenceNumber": 1,
"hasInput": true,
"active": true,
"score": 1,
"answers": [
{
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"surveyResultObjectId": 1,
"questionObjectId": 1,
"answerDefinitionObjectId": 1,
"text": "example",
"important": true,
"booleanAnswer": true
},
{
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"surveyResultObjectId": 1,
"questionObjectId": 1,
"answerDefinitionObjectId": 1,
"text": "example",
"important": true,
"booleanAnswer": true
}
],
"classificationId": "example",
"answerDefinitionGroupId": 1
},
{
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"definition": "example",
"sequenceNumber": 1,
"hasInput": true,
"active": true,
"score": 1,
"answers": [
{
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"surveyResultObjectId": 1,
"questionObjectId": 1,
"answerDefinitionObjectId": 1,
"text": "example",
"important": true,
"booleanAnswer": true
},
{
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"surveyResultObjectId": 1,
"questionObjectId": 1,
"answerDefinitionObjectId": 1,
"text": "example",
"important": true,
"booleanAnswer": true
}
],
"classificationId": "example",
"answerDefinitionGroupId": 1
}
],
"questions": [
{
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"sequenceNumber": 1,
"answerType": 1,
"text": "example",
"additionalInfo": "example",
"defaultAnswer": 1,
"skipOnYes": true,
"active": true,
"required": true,
"answerMaxLength": 1,
"groupId": 1,
"classificationId": "example"
},
{
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"sequenceNumber": 1,
"answerType": 1,
"text": "example",
"additionalInfo": "example",
"defaultAnswer": 1,
"skipOnYes": true,
"active": true,
"required": true,
"answerMaxLength": 1,
"groupId": 1,
"classificationId": "example"
}
],
"classificationId": "example"
},
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"answers": [
{
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"surveyResultObjectId": 1,
"questionObjectId": 1,
"answerDefinitionObjectId": 1,
"text": "example",
"important": true,
"booleanAnswer": true
},
{
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"surveyResultObjectId": 1,
"questionObjectId": 1,
"answerDefinitionObjectId": 1,
"text": "example",
"important": true,
"booleanAnswer": true
}
]
},
{
"id": 1,
"sequenceNumber": 1,
"answerType": 1,
"text": "example",
"additionalInfo": "example",
"defaultAnswer": 1,
"skipOnYes": true,
"active": true,
"required": true,
"answerMaxLength": 1,
"groupId": 1,
"classificationId": "example",
"answerDefinitionGroup": {
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"description": "example",
"readOnly": true,
"answerDefinitions": [
{
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"definition": "example",
"sequenceNumber": 1,
"hasInput": true,
"active": true,
"score": 1,
"answers": [
{
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"surveyResultObjectId": 1,
"questionObjectId": 1,
"answerDefinitionObjectId": 1,
"text": "example",
"important": true,
"booleanAnswer": true
},
{
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"surveyResultObjectId": 1,
"questionObjectId": 1,
"answerDefinitionObjectId": 1,
"text": "example",
"important": true,
"booleanAnswer": true
}
],
"classificationId": "example",
"answerDefinitionGroupId": 1
},
{
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"definition": "example",
"sequenceNumber": 1,
"hasInput": true,
"active": true,
"score": 1,
"answers": [
{
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"surveyResultObjectId": 1,
"questionObjectId": 1,
"answerDefinitionObjectId": 1,
"text": "example",
"important": true,
"booleanAnswer": true
},
{
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"surveyResultObjectId": 1,
"questionObjectId": 1,
"answerDefinitionObjectId": 1,
"text": "example",
"important": true,
"booleanAnswer": true
}
],
"classificationId": "example",
"answerDefinitionGroupId": 1
}
],
"questions": [
{
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"sequenceNumber": 1,
"answerType": 1,
"text": "example",
"additionalInfo": "example",
"defaultAnswer": 1,
"skipOnYes": true,
"active": true,
"required": true,
"answerMaxLength": 1,
"groupId": 1,
"classificationId": "example"
},
{
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"sequenceNumber": 1,
"answerType": 1,
"text": "example",
"additionalInfo": "example",
"defaultAnswer": 1,
"skipOnYes": true,
"active": true,
"required": true,
"answerMaxLength": 1,
"groupId": 1,
"classificationId": "example"
}
],
"classificationId": "example"
},
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"answers": [
{
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"surveyResultObjectId": 1,
"questionObjectId": 1,
"answerDefinitionObjectId": 1,
"text": "example",
"important": true,
"booleanAnswer": true
},
{
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"surveyResultObjectId": 1,
"questionObjectId": 1,
"answerDefinitionObjectId": 1,
"text": "example",
"important": true,
"booleanAnswer": true
}
]
}
]
}
},
"xml": {
"name": "carePlanEntry"
}
},
"dossier.DemandEntry": {
"type": "object",
"allOf": [
{
"$ref": "#/definitions/AuditedBase"
}
],
"properties": {
"id": {
"type": "integer",
"format": "int64",
"x-cupido-id": true
},
"carePlanEntryId": {
"type": "integer",
"format": "int64"
},
"demand": {
"$ref": "#/definitions/dossier.Demand"
},
"demandId": {
"type": "integer",
"format": "int64"
},
"comment": {
"type": "string"
}
},
"description": "Zorgplan \"aandachtspunt\" entry",
"example": {
"updatedAt": "2014-04-01T17:00:00.000+02:00",
"createdAt": "2013-12-01T17:00:00.000+01:00",
"createdBy": "user",
"id": 1,
"carePlanEntryId": 2,
"demand": {
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"domain": {
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"name": "example",
"hidden": true,
"classificationId": "example"
},
"domainId": 1,
"definition": "example",
"protocolUrl": "example",
"hidden": true,
"classificationId": "example"
},
"demandId": 3,
"comment": "Een opmerking"
},
"xml": {
"name": "demandEntry"
}
},
"dossier.Demand": {
"type": "object",
"allOf": [
{
"$ref": "#/definitions/AuditedBase"
}
],
"properties": {
"id": {
"type": "integer",
"format": "int64",
"x-cupido-id": true
},
"domain": {
"$ref": "#/definitions/dossier.Domain"
},
"domainId": {
"type": "integer",
"format": "int64"
},
"definition": {
"type": "string"
},
"protocolUrl": {
"type": "string"
},
"hidden": {
"type": "boolean",
"default": false
},
"classificationId": {
"type": "string"
}
},
"description": "Zorgplan \"aandachtspunt\"",
"example": {
"updatedAt": "2014-04-01T17:00:00.000+02:00",
"createdAt": "2013-12-01T17:00:00.000+01:00",
"createdBy": "user",
"id": 1,
"domain": {
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"name": "example",
"hidden": true,
"classificationId": "example"
},
"domainId": 2,
"definition": "Definitie",
"protocolUrl": "http://www.nedap.com/",
"hidden": true,
"classificationId": "classification.problem.health.nutrition"
},
"xml": {
"name": "demand"
}
},
"dossier.GoalEntry": {
"type": "object",
"allOf": [
{
"$ref": "#/definitions/AuditedBase"
}
],
"properties": {
"id": {
"type": "integer",
"format": "int64",
"x-cupido-id": true
},
"comment": {
"type": "string"
},
"title": {
"type": "string"
},
"carePlanEntryId": {
"type": "integer",
"format": "int64"
},
"goal": {
"$ref": "#/definitions/dossier.Goal"
},
"goalId": {
"type": "integer",
"format": "int64"
},
"targetDate": {
"type": "string",
"format": "date-time"
}
},
"description": "Zorgplan \"doel\" entry.",
"example": {
"updatedAt": "2014-04-01T17:00:00.000+02:00",
"createdAt": "2013-12-01T17:00:00.000+01:00",
"createdBy": "user",
"id": 1,
"comment": "Een opmerking",
"title": "Een titlel",
"carePlanEntryId": 2,
"goal": {
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"domain": {
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"name": "example",
"hidden": true,
"classificationId": "example"
},
"domainId": 1,
"demandId": 1,
"definition": "example",
"allowTitleOverride": true,
"allowComment": true,
"reportProgress": true,
"hidden": true,
"classificationId": "example"
},
"goalId": 3,
"targetDate": "2014-04-01T17:00:00.000+02:00"
},
"xml": {
"name": "goalEntry"
}
},
"survey.ImportantForCarePlanGroup": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int64",
"x-cupido-id": true
},
"groupAnswerId": {
"type": "integer",
"format": "int64"
},
"surveyTitle": {
"type": "string"
},
"description": {
"type": "string"
},
"answeredQuestions": {
"type": "array",
"items": {
"$ref": "#/definitions/survey.AnsweredQuestion"
},
"xml": {
"wrapped": true
}
}
},
"description": "ImportantForCarePlanGroup model (no description)",
"example": {
"id": 1,
"groupAnswerId": 5,
"surveyTitle": "Mooie vragenlijst",
"description": "Leeftijd vragen",
"answeredQuestions": [
{
"id": 1,
"sequenceNumber": 1,
"answerType": 1,
"text": "uw leeftijd?",
"additionalInfo": "vul leeftijd in",
"defaultAnswer": 1,
"skipOnYes": true,
"active": true,
"required": true,
"answerMaxLength": 3,
"groupId": 1,
"answerDefinitionGroup": {
"updatedAt": "2012-08-02T13:48:46.836+02:00",
"createdAt": "2012-08-02T13:48:46.836+02:00",
"id": 1,
"description": "heel oud",
"readOnly": false
},
"updatedAt": "2012-08-02T13:48:46.836+02:00",
"createdAt": "2012-08-02T13:48:46.836+02:00",
"answers": [
{
"updatedAt": "2012-08-02T13:48:46.836+02:00",
"createdAt": "2012-08-02T13:48:46.836+02:00",
"id": 1,
"surveyResultObjectId": 1,
"questionObjectId": 1,
"answerDefinitionObjectId": 1,
"text": "heeeeel oud",
"booleanAnswer": false
}
]
}
]
},
"xml": {
"name": "importantForCarePlanGroup"
}
},
"survey.AnsweredQuestion": {
"type": "object",
"allOf": [
{
"$ref": "#/definitions/survey.Question"
}
],
"properties": {
"answers": {
"type": "array",
"items": {
"$ref": "#/definitions/survey.Answer"
},
"xml": {
"wrapped": true
}
}
},
"description": "AnsweredQuestion model (no description)",
"example": {
"id": 1,
"sequenceNumber": 1,
"answerType": 1,
"text": "uw leeftijd?",
"additionalInfo": "vul leeftijd in",
"defaultAnswer": 1,
"skipOnYes": true,
"active": true,
"required": true,
"answerMaxLength": 3,
"groupId": 1,
"classificationId": "classification.problem.health.nutrition.signs",
"answerDefinitionGroup": {
"updatedAt": "2012-08-02T13:48:46.836+02:00",
"createdAt": "2012-08-02T13:48:46.836+02:00",
"createdBy": "user",
"id": 1,
"description": "heel oud",
"readOnly": false
},
"updatedAt": "2012-08-02T13:48:46.836+02:00",
"createdAt": "2012-08-02T13:48:46.836+02:00",
"createdBy": "user",
"answers": [
{
"updatedAt": "2012-08-02T13:48:46.836+02:00",
"createdAt": "2012-08-02T13:48:46.836+02:00",
"createdBy": "user",
"id": 1,
"surveyResultObjectId": 1,
"questionObjectId": 1,
"answerDefinitionObjectId": 1,
"text": "heeeeel oud",
"booleanAnswer": false
}
]
}
},
"survey.Question": {
"type": "object",
"allOf": [
{
"$ref": "#/definitions/AuditedBase"
}
],
"properties": {
"id": {
"type": "integer",
"format": "int64",
"x-cupido-id": true
},
"sequenceNumber": {
"type": "integer",
"format": "int32",
"default": 0
},
"answerType": {
"type": "integer",
"format": "int32",
"default": 0
},
"text": {
"type": "string"
},
"additionalInfo": {
"type": "string"
},
"defaultAnswer": {
"type": "integer",
"format": "int32"
},
"skipOnYes": {
"type": "boolean"
},
"active": {
"type": "boolean"
},
"required": {
"type": "boolean"
},
"answerMaxLength": {
"type": "integer",
"format": "int32"
},
"groupId": {
"type": "integer",
"format": "int64"
},
"classificationId": {
"type": "string"
},
"answerDefinitionGroup": {
"$ref": "#/definitions/survey.AnswerDefinitionGroup"
}
},
"description": "Question model (no description)",
"example": {
"updatedAt": "2012-08-02T13:48:46.836+02:00",
"createdAt": "2012-08-02T13:48:46.836+02:00",
"createdBy": "user",
"id": 1,
"sequenceNumber": 1,
"answerType": 1,
"text": "uw leeftijd?",
"additionalInfo": "vul leeftijd in",
"defaultAnswer": 1,
"skipOnYes": true,
"active": true,
"required": true,
"answerMaxLength": 3,
"groupId": 1,
"classificationId": "classification.problem.health.nutrition.signs",
"answerDefinitionGroup": {
"updatedAt": "2012-08-02T13:48:46.836+02:00",
"createdAt": "2012-08-02T13:48:46.836+02:00",
"id": 1,
"description": "heel oud",
"readOnly": false
}
},
"xml": {
"name": "question"
}
},
"survey.AnswerDefinitionGroup": {
"type": "object",
"allOf": [
{
"$ref": "#/definitions/AuditedBase"
}
],
"properties": {
"id": {
"type": "integer",
"format": "int64",
"x-cupido-id": true
},
"description": {
"type": "string"
},
"readOnly": {
"type": "boolean"
},
"answerDefinitions": {
"type": "array",
"items": {
"$ref": "#/definitions/survey.AnswerDefinition"
},
"xml": {
"wrapped": true
}
},
"questions": {
"type": "array",
"items": {
"$ref": "#/definitions/survey.Question"
},
"xml": {
"wrapped": true
}
},
"classificationId": {
"type": "string"
}
},
"description": "AnswerDefinitionGroup model (no description)",
"example": {
"updatedAt": "2012-08-02T13:48:46.836+02:00",
"createdAt": "2012-08-02T13:48:46.836+02:00",
"createdBy": "user",
"id": 1,
"description": "heel oud",
"readOnly": false,
"answerDefinitions": [],
"questions": [
{
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"sequenceNumber": 1,
"answerType": 1,
"text": "example",
"additionalInfo": "example",
"defaultAnswer": 1,
"skipOnYes": true,
"active": true,
"required": true,
"answerMaxLength": 1,
"groupId": 1,
"classificationId": "example"
},
{
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"sequenceNumber": 1,
"answerType": 1,
"text": "example",
"additionalInfo": "example",
"defaultAnswer": 1,
"skipOnYes": true,
"active": true,
"required": true,
"answerMaxLength": 1,
"groupId": 1,
"classificationId": "example"
}
],
"classificationId": "classification.problem.health.nutrition"
},
"xml": {
"name": "answerDefinitionGroup"
}
},
"survey.AnswerDefinition": {
"type": "object",
"allOf": [
{
"$ref": "#/definitions/AuditedBase"
}
],
"properties": {
"id": {
"type": "integer",
"format": "int64",
"x-cupido-id": true
},
"definition": {
"type": "string"
},
"sequenceNumber": {
"type": "integer",
"format": "int32"
},
"hasInput": {
"type": "boolean"
},
"active": {
"type": "boolean"
},
"score": {
"type": "integer",
"format": "int32"
},
"answers": {
"type": "array",
"items": {
"$ref": "#/definitions/survey.Answer"
},
"xml": {
"wrapped": true
}
},
"classificationId": {
"type": "string"
},
"answerDefinitionGroupId": {
"type": "integer",
"format": "int32"
}
},
"description": "AnswerDefinition model (no description)",
"example": {
"updatedAt": "2012-08-02T13:48:46.836+02:00",
"createdAt": "2012-08-02T13:48:46.836+02:00",
"createdBy": "user",
"id": 1,
"definition": "heel oud",
"sequenceNumber": 1,
"hasInput": false,
"active": false,
"score": 12,
"answers": [],
"classificationId": "classification.reach_modifier.individual",
"answerDefinitionGroupId": 1
},
"xml": {
"name": "answerDefinition"
}
},
"survey.Answer": {
"type": "object",
"allOf": [
{
"$ref": "#/definitions/AuditedBase"
}
],
"properties": {
"id": {
"type": "integer",
"format": "int64",
"x-cupido-id": true
},
"surveyResultObjectId": {
"type": "integer",
"format": "int64"
},
"questionObjectId": {
"type": "integer",
"format": "int64"
},
"answerDefinitionObjectId": {
"type": "integer",
"format": "int64"
},
"text": {
"type": "string"
},
"important": {
"type": "boolean"
},
"booleanAnswer": {
"type": "boolean"
}
},
"description": "Answer model (no description)",
"example": {
"id": 1,
"surveyResultObjectId": 1,
"questionObjectId": 1,
"text": "heeeeel oud",
"answerDefinitionObjectId": 1,
"important": false,
"booleanAnswer": false,
"createdAt": "2012-08-02T13:48:46.836+02:00",
"updatedAt": "2012-08-02T13:48:46.836+02:00",
"createdBy": "user"
},
"xml": {
"name": "answer"
}
},
"dossier.list.ActionEntryList": {
"type": "object",
"properties": {
"actionEntries": {
"type": "array",
"items": {
"$ref": "#/definitions/dossier.ActionEntry"
}
}
},
"description": "ActionEntryList model (no description)",
"example": {
"actionEntries": [
{
"updatedAt": "2011-09-26T12:13:40.000+02:00",
"createdAt": "2011-09-26T12:13:40.000+02:00",
"id": 10561,
"carePlanEntryId": 10510,
"actionId": 350,
"comment": "Gebruik van hulpmiddelen aanleren; rollator les bij ergo"
},
{
"updatedAt": "2011-09-26T12:13:40.000+02:00",
"createdAt": "2011-09-26T12:13:40.000+02:00",
"id": 10562,
"carePlanEntryId": 10510,
"actionId": 350,
"comment": "Conditie verbeteren door dagelijks 3 maal 15 minuten oefenen achter rollator"
}
]
}
},
"dossier.CreateCarePlanEntry": {
"type": "object",
"properties": {
"carePlanEntry": {
"$ref": "#/definitions/dossier.CarePlanEntry"
},
"actionEntries": {
"type": "array",
"items": {
"$ref": "#/definitions/dossier.ActionEntry"
},
"xml": {
"wrapped": true
}
},
"demandEntry": {
"$ref": "#/definitions/dossier.DemandEntry"
},
"goalEntry": {
"$ref": "#/definitions/dossier.GoalEntry"
}
},
"description": "@deprecated This class is deprecated, at the moment of writing this class there is no way in Cupido to create\na model that depends on creations of other models.",
"example": {
"carePlanEntry": {
"carePlanId": 6,
"percentageRealized": 20
},
"actionEntries": [
{
"actionId": 3,
"title": "Een titel"
}
],
"demandEntry": {
"demandId": 3,
"comment": "Een opmerking"
},
"goalEntry": {
"comment": "Een opmerking",
"title": "Een titlel",
"goalId": 3
}
},
"xml": {
"name": "createCarePlanEntry"
},
"x-deprecated-since": "10-07-2014",
"x-deprecated": true
},
"dossier.list.CarePlanReportRightList": {
"type": "object",
"properties": {
"carePlanReportRights": {
"type": "array",
"items": {
"$ref": "#/definitions/dossier.CarePlanReportRight"
},
"xml": {
"name": "carePlanReportRight"
}
}
},
"description": "CarePlanReportRightList model (no description)",
"example": {
"carePlanReportRights": [
{
"updatedAt": "2018-07-18T00:00:00.000+02:00",
"createdAt": "2018-07-18T00:00:00.000+02:00",
"createdBy": "Dummy",
"id": 1,
"educationObjectId": 1,
"expertiseGroupObjectId": 1,
"type": "RIGHT",
"actionEmployeeId": 1,
"actionDateFinished": "2018-08-18"
}
]
},
"xml": {
"name": "carePlanReportRights"
}
},
"dossier.CarePlanReportRight": {
"type": "object",
"allOf": [
{
"$ref": "#/definitions/AuditedBase"
}
],
"properties": {
"id": {
"type": "integer",
"format": "int64",
"x-cupido-id": true
},
"report": {
"$ref": "#/definitions/dossier.Report",
"description": "The report for which this report right applies"
},
"educationObjectId": {
"type": "integer",
"description": "The education linked to this report right",
"format": "int64"
},
"expertiseGroupObjectId": {
"type": "integer",
"description": "The expertise group linked to this report right",
"format": "int64"
},
"type": {
"$ref": "#/definitions/dossier.ReportRightType",
"default": "RIGHT"
},
"actionEmployeeId": {
"type": "integer",
"format": "int64"
},
"actionDateFinished": {
"type": "string",
"format": "date"
}
},
"description": "CarePlanReportRight model (no description)",
"example": {
"updatedAt": "2018-07-18T00:00:00.000+02:00",
"createdAt": "2018-07-18T00:00:00.000+02:00",
"createdBy": "Dummy",
"id": 1,
"report": {
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"uuid": "example",
"reportingDate": "2014-12-29T00:00:00.000+01:00",
"comment": "example",
"flagged": true,
"confidential": true,
"hidden": true,
"hidingReason": "example",
"parentId": 1,
"parentType": "example",
"carenId": 1,
"carenName": "example",
"carenRole": "example",
"status": 1,
"clientId": 1,
"employeeId": 1,
"reportTypeId": 1,
"carePlanEntryId": 1,
"reportEntries": [
{
"name": "example",
"value": "example",
"format": "example",
"unit": "example",
"displayName": "example"
},
{
"name": "example",
"value": "example",
"format": "example",
"unit": "example",
"displayName": "example"
}
],
"expertiseProfile": {
"id": 1,
"description": "example",
"visible": true,
"beginDate": "2014-12-29T00:00:00.000+01:00",
"endDate": "2014-12-29T00:00:00.000+01:00",
"allowDossierActions": true,
"allowDossierConfidential": true,
"hourTypeIds": [
1,
1
]
},
"reportActions": [
{
"id": 1,
"carePlanId": 1,
"expertiseProfileId": 1,
"expertiseGroupObjectId": 1,
"employeeId": 1,
"dateFinished": "2014-12-29T00:00:00.000+01:00"
},
{
"id": 1,
"carePlanId": 1,
"expertiseProfileId": 1,
"expertiseGroupObjectId": 1,
"employeeId": 1,
"dateFinished": "2014-12-29T00:00:00.000+01:00"
}
],
"reportAuthorizations": [
{
"id": 1,
"carePlanId": 1,
"expertiseProfileId": 1,
"expertiseGroupObjectId": 1
},
{
"id": 1,
"carePlanId": 1,
"expertiseProfileId": 1,
"expertiseGroupObjectId": 1
}
],
"soapReportEntries": [
{
"soapPart": "example",
"confidential": true,
"content": "example",
"expertiseProfileIds": [
1,
1
],
"expertiseGroupIds": [
1,
1
]
},
{
"soapPart": "example",
"confidential": true,
"content": "example",
"expertiseProfileIds": [
1,
1
],
"expertiseGroupIds": [
1,
1
]
}
],
"episodeId": 1,
"episodeIds": [
1,
1
],
"restrictiveMeasureId": 1,
"reportLinkId": 1,
"reportLinkType": "NEXT_DOSSIER"
},
"educationObjectId": 1,
"expertiseGroupObjectId": 1,
"type": "RIGHT",
"actionEmployeeId": 1,
"actionDateFinished": "2018-08-18"
},
"xml": {
"name": "carePlanReportRight"
}
},
"dossier.Report": {
"required": [
"reportTypeId"
],
"type": "object",
"allOf": [
{
"$ref": "#/definitions/AuditedBase"
}
],
"properties": {
"id": {
"type": "integer",
"format": "int64",
"x-cupido-id": true
},
"uuid": {
"type": "string"
},
"reportingDate": {
"type": "string",
"format": "date-time"
},
"comment": {
"type": "string"
},
"flagged": {
"type": "boolean"
},
"confidential": {
"type": "boolean",
"description": "Signals whether a report is only visible to certain disciplines (listed in reportAuthorizations)\nIn the case of SOEP-reports (reportType 315), this flag is only true when ALL reportEntries are\nconfidential."
},
"hidden": {
"type": "boolean"
},
"hidingReason": {
"type": "string"
},
"parentId": {
"type": "integer",
"format": "int64"
},
"parentType": {
"type": "string"
},
"carenId": {
"type": "integer",
"format": "int64"
},
"carenName": {
"type": "string"
},
"carenRole": {
"type": "string"
},
"status": {
"type": "integer",
"format": "int32"
},
"clientId": {
"type": "integer",
"format": "int64"
},
"employeeId": {
"type": "integer",
"format": "int64"
},
"reportTypeId": {
"type": "integer",
"description": "The report type, the objectId of {@link com.nedap.healthcare.domain.dossier.ReportType}\nWhich should be one of the following values:\n\n101 Rapportage\n102 Gewicht\n103 Bloeddruk\n104 Temperatuur\n105 Bloedsuiker\n106 Vocht inname\n107 Vocht uitscheiding\n108 Defecatie\n109 Medisch\n110 Voortgang\n111 Familie communicatie\n112 Keten communicatie\n309 Stemming\n310 Omaha\n311 Saturatie\n314 Pijnscore\n315 SOEP\n316 Bristol-stoelgangschaal\n317 Klinimetrie\n
",
"format": "int64"
},
"carePlanEntryId": {
"type": "integer",
"format": "int64"
},
"reportEntries": {
"type": "array",
"items": {
"$ref": "#/definitions/dossier.ReportEntry"
},
"xml": {
"wrapped": true
}
},
"expertiseProfile": {
"$ref": "#/definitions/ExpertiseProfile"
},
"reportActions": {
"type": "array",
"items": {
"$ref": "#/definitions/dossier.ReportAction"
},
"xml": {
"wrapped": true
}
},
"reportAuthorizations": {
"type": "array",
"items": {
"$ref": "#/definitions/dossier.ReportAuthorization"
},
"xml": {
"wrapped": true
}
},
"soapReportEntries": {
"type": "array",
"items": {
"$ref": "#/definitions/dossier.SoapReportEntry"
},
"xml": {
"wrapped": true
}
},
"episodeId": {
"type": "integer",
"description": "Deprecated since: 14-03-2019 -- use episodeIds",
"format": "int64",
"x-deprecated": true
},
"episodeIds": {
"type": "array",
"items": {
"type": "integer",
"format": "int64",
"xml": {
"name": "episodeId"
}
},
"xml": {
"wrapped": true
}
},
"restrictiveMeasureId": {
"type": "integer",
"format": "int64"
},
"reportLinkId": {
"type": "integer",
"format": "int64"
},
"reportLinkType": {
"$ref": "#/definitions/dossier.ReportLinkType"
}
},
"description": "The report for which this report right applies",
"example": {
"updatedAt": "2011-09-05T08:28:25.000+02:00",
"createdAt": "2011-09-05T08:28:25.000+02:00",
"createdBy": "user",
"id": 1,
"uuid": "12345234900234",
"reportingDate": "2011-09-05T08:28:25.000+02:00",
"comment": "Mevrouw rook vanmiddag naar alocohol, blijkbaar weet ze toch aan drank te komen. Kamer nalopen op verborgen drank.",
"flagged": false,
"confidential": false,
"hidden": false,
"hidingReason": "unknown",
"parentId": 1,
"parentType": "presencelog",
"carenId": 1,
"carenName": "zusje",
"carenRole": "nurse",
"status": 1,
"clientId": 212,
"employeeId": 1402,
"reportTypeId": 101,
"carePlanEntryId": 8351,
"reportEntries": [
{
"name": "systolicPressure",
"value": "120",
"format": "%.1f",
"unit": "mm[Hg]",
"displayName": "Systolic pressure"
}
],
"expertiseProfile": {
"id": 11889,
"description": "Specialist ouderen",
"visible": true
},
"reportActions": [
{
"expertiseProfileId": 3,
"expertiseGroupObjectId": 2,
"employeeId": 4085,
"dateFinished": "2011-09-05T08:52:48.000+02:00"
}
],
"reportAuthorizations": [
{
"id": 1,
"carePlanId": 1,
"expertiseProfileId": 1,
"expertiseGroupObjectId": 1
},
{
"id": 1,
"carePlanId": 1,
"expertiseProfileId": 1,
"expertiseGroupObjectId": 1
}
],
"soapReportEntries": [
{
"soapPart": "Subjective",
"confidential": true,
"content": "Text about the subjective experiences of the client",
"expertiseProfileIds": [
1,
2,
3
],
"expertiseGroupIds": [
4,
5,
6
]
},
{
"soapPart": "Objective",
"confidential": false,
"content": "Text about the objective experiences of the client"
}
],
"episodeId": 22,
"episodeIds": [
22,
23
],
"restrictiveMeasureId": 24,
"reportLinkId": 123,
"reportLinkType": "NEXT_DOSSIER"
},
"xml": {
"name": "report"
}
},
"dossier.ReportLinkType": {
"enum": [
"NEXT_DOSSIER"
],
"type": "string",
"description": "ReportLinkType enum (no description)",
"example": "NEXT_DOSSIER"
},
"dossier.ReportEntry": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"value": {
"type": "string"
},
"format": {
"type": "string"
},
"unit": {
"type": "string"
},
"displayName": {
"type": "string"
}
},
"description": "ReportEntry model (no description)",
"example": {
"name": "systolicPressure",
"value": "120",
"format": "%.1f",
"unit": "mm[Hg]",
"displayName": "Systolic pressure"
},
"xml": {
"name": "reportEntry"
}
},
"dossier.ReportAction": {
"type": "object",
"allOf": [
{
"$ref": "#/definitions/dossier.ReportAuthorization"
}
],
"properties": {
"employeeId": {
"type": "integer",
"format": "int64"
},
"dateFinished": {
"type": "string",
"format": "date-time"
}
},
"description": "ReportAction model (no description)",
"example": {
"id": 1,
"carePlanId": 1,
"expertiseProfileId": 1,
"expertiseGroupObjectId": 2,
"employeeId": 1,
"dateFinished": "2014-07-24T02:00:00.000+02:00"
},
"xml": {
"name": "reportAction"
}
},
"dossier.ReportAuthorization": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int64",
"x-cupido-id": true
},
"carePlanId": {
"type": "integer",
"description": "Deprecated since: 14-03-2019",
"format": "int64",
"x-deprecated": true
},
"expertiseProfileId": {
"type": "integer",
"format": "int64"
},
"expertiseGroupObjectId": {
"type": "integer",
"format": "int64"
}
},
"description": "Only present when dossier.Report.confidential == true, then:\n- In the case of SOEP-reports (reportType 315), contains all disciplines that can see any of the \nSOEP-report's reportEntries. Which discipline can see which entry is defined on the reportEntries themselves.\n- For other reports, contains which discipline can see the report.",
"example": {
"id": 1,
"carePlanId": 1,
"expertiseProfileId": 1,
"expertiseGroupObjectId": 1
},
"xml": {
"name": "reportAuthorization"
}
},
"dossier.SoapReportEntry": {
"type": "object",
"properties": {
"soapPart": {
"type": "string"
},
"confidential": {
"type": "boolean",
"description": "When this is true this SOAP entry is shown regardless of the attached rights",
"default": false
},
"content": {
"type": "string"
},
"expertiseProfileIds": {
"type": "array",
"items": {
"type": "integer",
"format": "int64",
"xml": {
"name": "expertiseProfileId"
}
},
"xml": {
"wrapped": true
}
},
"expertiseGroupIds": {
"type": "array",
"items": {
"type": "integer",
"format": "int64",
"xml": {
"name": "expertiseGroupId"
}
},
"xml": {
"wrapped": true
}
}
},
"description": "SoapReportEntry model (no description)",
"example": {
"soapPart": "Subjective",
"confidential": true,
"content": "Text about the subjective experiences of the client",
"expertiseProfileIds": [
1,
2,
3
],
"expertiseGroupIds": [
4,
5,
6
]
},
"xml": {
"name": "soapReportEntry"
}
},
"dossier.ReportRightType": {
"enum": [
"RIGHT",
"ACTION"
],
"type": "string",
"description": "ReportRightType enum (no description)",
"example": "RIGHT"
},
"dossier.CarePlan": {
"type": "object",
"allOf": [
{
"$ref": "#/definitions/AuditedBase"
}
],
"properties": {
"id": {
"type": "integer",
"format": "int64",
"x-cupido-id": true
},
"clientId": {
"type": "integer",
"format": "int64"
},
"employeeId": {
"type": "integer",
"format": "int64"
},
"carePlanEntries": {
"type": "array",
"items": {
"$ref": "#/definitions/dossier.CarePlanEntry"
},
"xml": {
"wrapped": true
}
},
"status": {
"$ref": "#/definitions/dossier.CarePlanStatus"
},
"beginDate": {
"type": "string",
"format": "date-time"
},
"endDate": {
"type": "string",
"format": "date-time"
}
},
"description": "\"Zorgplan\"",
"example": {
"updatedAt": "2014-04-01T17:00:00.000+02:00",
"createdAt": "2013-12-01T17:00:00.000+01:00",
"createdBy": "user",
"id": 1,
"clientId": 1,
"employeeId": 1,
"carePlanEntries": [
{
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"carePlanId": 1,
"demandEntry": {
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"carePlanEntryId": 1,
"demand": {
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"domain": {
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"name": "example",
"hidden": true,
"classificationId": "example"
},
"domainId": 1,
"definition": "example",
"protocolUrl": "example",
"hidden": true,
"classificationId": "example"
},
"demandId": 1,
"comment": "example"
},
"demandEntryId": 1,
"goalEntry": {
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"comment": "example",
"title": "example",
"carePlanEntryId": 1,
"goal": {
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"domain": {
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"name": "example",
"hidden": true,
"classificationId": "example"
},
"domainId": 1,
"demandId": 1,
"definition": "example",
"allowTitleOverride": true,
"allowComment": true,
"reportProgress": true,
"hidden": true,
"classificationId": "example"
},
"goalId": 1,
"targetDate": "2014-12-29T00:00:00.000+01:00"
},
"goalEntryId": 1,
"actionEntries": [
{
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"carePlanEntryId": 1,
"action": {
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"domain": {
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"name": "example",
"hidden": true,
"classificationId": "example"
},
"domainId": 1,
"goal": {
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"domain": {
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"name": "example",
"hidden": true,
"classificationId": "example"
},
"domainId": 1,
"demandId": 1,
"definition": "example",
"allowTitleOverride": true,
"allowComment": true,
"reportProgress": true,
"hidden": true,
"classificationId": "example"
},
"goalId": 1,
"definition": "example",
"instructionUrl": "example",
"allowTitleOverride": true,
"allowComment": true,
"hidden": true,
"classificationId": "example"
},
"actionId": 1,
"carePlanPersistentActionId": 1,
"comment": "example",
"title": "example"
},
{
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"carePlanEntryId": 1,
"action": {
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"domain": {
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"name": "example",
"hidden": true,
"classificationId": "example"
},
"domainId": 1,
"goal": {
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"domain": {
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"name": "example",
"hidden": true,
"classificationId": "example"
},
"domainId": 1,
"demandId": 1,
"definition": "example",
"allowTitleOverride": true,
"allowComment": true,
"reportProgress": true,
"hidden": true,
"classificationId": "example"
},
"goalId": 1,
"definition": "example",
"instructionUrl": "example",
"allowTitleOverride": true,
"allowComment": true,
"hidden": true,
"classificationId": "example"
},
"actionId": 1,
"carePlanPersistentActionId": 1,
"comment": "example",
"title": "example"
}
],
"percentageRealized": 1,
"percentageTarget": 1,
"importantForCarePlanGroupId": 1,
"importantForCarePlanGroup": {
"id": 1,
"groupAnswerId": 1,
"surveyTitle": "example",
"description": "example",
"answeredQuestions": [
{
"id": 1,
"sequenceNumber": 1,
"answerType": 1,
"text": "example",
"additionalInfo": "example",
"defaultAnswer": 1,
"skipOnYes": true,
"active": true,
"required": true,
"answerMaxLength": 1,
"groupId": 1,
"classificationId": "example",
"answerDefinitionGroup": {
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"description": "example",
"readOnly": true,
"answerDefinitions": [
{
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"definition": "example",
"sequenceNumber": 1,
"hasInput": true,
"active": true,
"score": 1,
"answers": [
{
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"surveyResultObjectId": 1,
"questionObjectId": 1,
"answerDefinitionObjectId": 1,
"text": "example",
"important": true,
"booleanAnswer": true
},
{
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"surveyResultObjectId": 1,
"questionObjectId": 1,
"answerDefinitionObjectId": 1,
"text": "example",
"important": true,
"booleanAnswer": true
}
],
"classificationId": "example",
"answerDefinitionGroupId": 1
},
{
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"definition": "example",
"sequenceNumber": 1,
"hasInput": true,
"active": true,
"score": 1,
"answers": [
{
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"surveyResultObjectId": 1,
"questionObjectId": 1,
"answerDefinitionObjectId": 1,
"text": "example",
"important": true,
"booleanAnswer": true
},
{
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"surveyResultObjectId": 1,
"questionObjectId": 1,
"answerDefinitionObjectId": 1,
"text": "example",
"important": true,
"booleanAnswer": true
}
],
"classificationId": "example",
"answerDefinitionGroupId": 1
}
],
"questions": [
{
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"sequenceNumber": 1,
"answerType": 1,
"text": "example",
"additionalInfo": "example",
"defaultAnswer": 1,
"skipOnYes": true,
"active": true,
"required": true,
"answerMaxLength": 1,
"groupId": 1,
"classificationId": "example"
},
{
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"sequenceNumber": 1,
"answerType": 1,
"text": "example",
"additionalInfo": "example",
"defaultAnswer": 1,
"skipOnYes": true,
"active": true,
"required": true,
"answerMaxLength": 1,
"groupId": 1,
"classificationId": "example"
}
],
"classificationId": "example"
},
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"answers": [
{
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"surveyResultObjectId": 1,
"questionObjectId": 1,
"answerDefinitionObjectId": 1,
"text": "example",
"important": true,
"booleanAnswer": true
},
{
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"surveyResultObjectId": 1,
"questionObjectId": 1,
"answerDefinitionObjectId": 1,
"text": "example",
"important": true,
"booleanAnswer": true
}
]
},
{
"id": 1,
"sequenceNumber": 1,
"answerType": 1,
"text": "example",
"additionalInfo": "example",
"defaultAnswer": 1,
"skipOnYes": true,
"active": true,
"required": true,
"answerMaxLength": 1,
"groupId": 1,
"classificationId": "example",
"answerDefinitionGroup": {
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"description": "example",
"readOnly": true,
"answerDefinitions": [
{
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"definition": "example",
"sequenceNumber": 1,
"hasInput": true,
"active": true,
"score": 1,
"answers": [
{
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"surveyResultObjectId": 1,
"questionObjectId": 1,
"answerDefinitionObjectId": 1,
"text": "example",
"important": true,
"booleanAnswer": true
},
{
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"surveyResultObjectId": 1,
"questionObjectId": 1,
"answerDefinitionObjectId": 1,
"text": "example",
"important": true,
"booleanAnswer": true
}
],
"classificationId": "example",
"answerDefinitionGroupId": 1
},
{
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"definition": "example",
"sequenceNumber": 1,
"hasInput": true,
"active": true,
"score": 1,
"answers": [
{
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"surveyResultObjectId": 1,
"questionObjectId": 1,
"answerDefinitionObjectId": 1,
"text": "example",
"important": true,
"booleanAnswer": true
},
{
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"surveyResultObjectId": 1,
"questionObjectId": 1,
"answerDefinitionObjectId": 1,
"text": "example",
"important": true,
"booleanAnswer": true
}
],
"classificationId": "example",
"answerDefinitionGroupId": 1
}
],
"questions": [
{
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"sequenceNumber": 1,
"answerType": 1,
"text": "example",
"additionalInfo": "example",
"defaultAnswer": 1,
"skipOnYes": true,
"active": true,
"required": true,
"answerMaxLength": 1,
"groupId": 1,
"classificationId": "example"
},
{
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"sequenceNumber": 1,
"answerType": 1,
"text": "example",
"additionalInfo": "example",
"defaultAnswer": 1,
"skipOnYes": true,
"active": true,
"required": true,
"answerMaxLength": 1,
"groupId": 1,
"classificationId": "example"
}
],
"classificationId": "example"
},
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"answers": [
{
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"surveyResultObjectId": 1,
"questionObjectId": 1,
"answerDefinitionObjectId": 1,
"text": "example",
"important": true,
"booleanAnswer": true
},
{
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"surveyResultObjectId": 1,
"questionObjectId": 1,
"answerDefinitionObjectId": 1,
"text": "example",
"important": true,
"booleanAnswer": true
}
]
}
]
}
},
{
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"carePlanId": 1,
"demandEntry": {
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"carePlanEntryId": 1,
"demand": {
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"domain": {
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"name": "example",
"hidden": true,
"classificationId": "example"
},
"domainId": 1,
"definition": "example",
"protocolUrl": "example",
"hidden": true,
"classificationId": "example"
},
"demandId": 1,
"comment": "example"
},
"demandEntryId": 1,
"goalEntry": {
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"comment": "example",
"title": "example",
"carePlanEntryId": 1,
"goal": {
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"domain": {
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"name": "example",
"hidden": true,
"classificationId": "example"
},
"domainId": 1,
"demandId": 1,
"definition": "example",
"allowTitleOverride": true,
"allowComment": true,
"reportProgress": true,
"hidden": true,
"classificationId": "example"
},
"goalId": 1,
"targetDate": "2014-12-29T00:00:00.000+01:00"
},
"goalEntryId": 1,
"actionEntries": [
{
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"carePlanEntryId": 1,
"action": {
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"domain": {
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"name": "example",
"hidden": true,
"classificationId": "example"
},
"domainId": 1,
"goal": {
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"domain": {
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"name": "example",
"hidden": true,
"classificationId": "example"
},
"domainId": 1,
"demandId": 1,
"definition": "example",
"allowTitleOverride": true,
"allowComment": true,
"reportProgress": true,
"hidden": true,
"classificationId": "example"
},
"goalId": 1,
"definition": "example",
"instructionUrl": "example",
"allowTitleOverride": true,
"allowComment": true,
"hidden": true,
"classificationId": "example"
},
"actionId": 1,
"carePlanPersistentActionId": 1,
"comment": "example",
"title": "example"
},
{
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"carePlanEntryId": 1,
"action": {
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"domain": {
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"name": "example",
"hidden": true,
"classificationId": "example"
},
"domainId": 1,
"goal": {
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"domain": {
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"name": "example",
"hidden": true,
"classificationId": "example"
},
"domainId": 1,
"demandId": 1,
"definition": "example",
"allowTitleOverride": true,
"allowComment": true,
"reportProgress": true,
"hidden": true,
"classificationId": "example"
},
"goalId": 1,
"definition": "example",
"instructionUrl": "example",
"allowTitleOverride": true,
"allowComment": true,
"hidden": true,
"classificationId": "example"
},
"actionId": 1,
"carePlanPersistentActionId": 1,
"comment": "example",
"title": "example"
}
],
"percentageRealized": 1,
"percentageTarget": 1,
"importantForCarePlanGroupId": 1,
"importantForCarePlanGroup": {
"id": 1,
"groupAnswerId": 1,
"surveyTitle": "example",
"description": "example",
"answeredQuestions": [
{
"id": 1,
"sequenceNumber": 1,
"answerType": 1,
"text": "example",
"additionalInfo": "example",
"defaultAnswer": 1,
"skipOnYes": true,
"active": true,
"required": true,
"answerMaxLength": 1,
"groupId": 1,
"classificationId": "example",
"answerDefinitionGroup": {
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"description": "example",
"readOnly": true,
"answerDefinitions": [
{
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"definition": "example",
"sequenceNumber": 1,
"hasInput": true,
"active": true,
"score": 1,
"answers": [
{
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"surveyResultObjectId": 1,
"questionObjectId": 1,
"answerDefinitionObjectId": 1,
"text": "example",
"important": true,
"booleanAnswer": true
},
{
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"surveyResultObjectId": 1,
"questionObjectId": 1,
"answerDefinitionObjectId": 1,
"text": "example",
"important": true,
"booleanAnswer": true
}
],
"classificationId": "example",
"answerDefinitionGroupId": 1
},
{
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"definition": "example",
"sequenceNumber": 1,
"hasInput": true,
"active": true,
"score": 1,
"answers": [
{
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"surveyResultObjectId": 1,
"questionObjectId": 1,
"answerDefinitionObjectId": 1,
"text": "example",
"important": true,
"booleanAnswer": true
},
{
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"surveyResultObjectId": 1,
"questionObjectId": 1,
"answerDefinitionObjectId": 1,
"text": "example",
"important": true,
"booleanAnswer": true
}
],
"classificationId": "example",
"answerDefinitionGroupId": 1
}
],
"questions": [
{
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"sequenceNumber": 1,
"answerType": 1,
"text": "example",
"additionalInfo": "example",
"defaultAnswer": 1,
"skipOnYes": true,
"active": true,
"required": true,
"answerMaxLength": 1,
"groupId": 1,
"classificationId": "example"
},
{
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"sequenceNumber": 1,
"answerType": 1,
"text": "example",
"additionalInfo": "example",
"defaultAnswer": 1,
"skipOnYes": true,
"active": true,
"required": true,
"answerMaxLength": 1,
"groupId": 1,
"classificationId": "example"
}
],
"classificationId": "example"
},
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"answers": [
{
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"surveyResultObjectId": 1,
"questionObjectId": 1,
"answerDefinitionObjectId": 1,
"text": "example",
"important": true,
"booleanAnswer": true
},
{
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"surveyResultObjectId": 1,
"questionObjectId": 1,
"answerDefinitionObjectId": 1,
"text": "example",
"important": true,
"booleanAnswer": true
}
]
},
{
"id": 1,
"sequenceNumber": 1,
"answerType": 1,
"text": "example",
"additionalInfo": "example",
"defaultAnswer": 1,
"skipOnYes": true,
"active": true,
"required": true,
"answerMaxLength": 1,
"groupId": 1,
"classificationId": "example",
"answerDefinitionGroup": {
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"description": "example",
"readOnly": true,
"answerDefinitions": [
{
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"definition": "example",
"sequenceNumber": 1,
"hasInput": true,
"active": true,
"score": 1,
"answers": [
{
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"surveyResultObjectId": 1,
"questionObjectId": 1,
"answerDefinitionObjectId": 1,
"text": "example",
"important": true,
"booleanAnswer": true
},
{
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"surveyResultObjectId": 1,
"questionObjectId": 1,
"answerDefinitionObjectId": 1,
"text": "example",
"important": true,
"booleanAnswer": true
}
],
"classificationId": "example",
"answerDefinitionGroupId": 1
},
{
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"definition": "example",
"sequenceNumber": 1,
"hasInput": true,
"active": true,
"score": 1,
"answers": [
{
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"surveyResultObjectId": 1,
"questionObjectId": 1,
"answerDefinitionObjectId": 1,
"text": "example",
"important": true,
"booleanAnswer": true
},
{
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"surveyResultObjectId": 1,
"questionObjectId": 1,
"answerDefinitionObjectId": 1,
"text": "example",
"important": true,
"booleanAnswer": true
}
],
"classificationId": "example",
"answerDefinitionGroupId": 1
}
],
"questions": [
{
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"sequenceNumber": 1,
"answerType": 1,
"text": "example",
"additionalInfo": "example",
"defaultAnswer": 1,
"skipOnYes": true,
"active": true,
"required": true,
"answerMaxLength": 1,
"groupId": 1,
"classificationId": "example"
},
{
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"sequenceNumber": 1,
"answerType": 1,
"text": "example",
"additionalInfo": "example",
"defaultAnswer": 1,
"skipOnYes": true,
"active": true,
"required": true,
"answerMaxLength": 1,
"groupId": 1,
"classificationId": "example"
}
],
"classificationId": "example"
},
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"answers": [
{
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"surveyResultObjectId": 1,
"questionObjectId": 1,
"answerDefinitionObjectId": 1,
"text": "example",
"important": true,
"booleanAnswer": true
},
{
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"surveyResultObjectId": 1,
"questionObjectId": 1,
"answerDefinitionObjectId": 1,
"text": "example",
"important": true,
"booleanAnswer": true
}
]
}
]
}
}
],
"status": "OLD",
"beginDate": "2014-01-01T08:00:00.000+01:00",
"endDate": "2014-05-01T17:00:00.000+02:00"
},
"xml": {
"name": "carePlan"
}
},
"dossier.CarePlanStatus": {
"enum": [
"DRAFT",
"ACTIVE",
"OLD"
],
"type": "string",
"description": "CarePlanStatus enum (no description)",
"example": "DRAFT"
},
"dossier.list.CarePlanEntryList": {
"type": "object",
"properties": {
"carePlanEntries": {
"type": "array",
"items": {
"$ref": "#/definitions/dossier.CarePlanEntry"
}
}
},
"description": "CarePlanEntryList model (no description)",
"example": {
"carePlanEntries": [
{
"updatedAt": "2014-04-01T17:00:00.000+02:00",
"createdAt": "2013-12-01T17:00:00.000+01:00",
"id": 10,
"carePlanId": 60,
"demandEntryId": 30,
"goalEntryId": 40,
"percentageRealized": 20,
"percentageTarget": 0,
"importantForCarePlanGroupId": 50
},
{
"updatedAt": "2014-04-01T17:00:00.000+02:00",
"createdAt": "2013-12-01T17:00:00.000+01:00",
"id": 1,
"carePlanId": 6,
"demandEntryId": 3,
"goalEntryId": 4,
"percentageRealized": 20,
"percentageTarget": 40,
"importantForCarePlanGroupId": 5
}
]
}
},
"dossier.list.CarePlanList": {
"type": "object",
"properties": {
"carePlans": {
"type": "array",
"items": {
"$ref": "#/definitions/dossier.CarePlan"
}
}
},
"description": "CarePlanList model (no description)",
"example": {
"carePlans": [
{
"updatedAt": "2014-04-01T17:00:00.000+02:00",
"createdAt": "2013-12-01T17:00:00.000+01:00",
"id": 1,
"clientId": 1,
"employeeId": 1,
"status": "ACTIVE",
"beginDate": "2014-01-01T08:00:00.000+01:00",
"endDate": "2014-05-01T17:00:00.000+02:00"
},
{
"updatedAt": "2014-04-01T17:00:00.000+02:00",
"createdAt": "2013-12-01T17:00:00.000+01:00",
"id": 10,
"clientId": 10,
"employeeId": 10,
"status": "DRAFT",
"beginDate": "2014-01-01T08:00:00.000+01:00",
"endDate": "2014-05-01T17:00:00.000+02:00"
},
{
"updatedAt": "2014-04-01T17:00:00.000+02:00",
"createdAt": "2013-12-01T17:00:00.000+01:00",
"id": 11,
"clientId": 11,
"employeeId": 11,
"status": "OLD",
"beginDate": "2014-01-01T08:00:00.000+01:00",
"endDate": "2014-05-01T17:00:00.000+02:00"
},
{
"updatedAt": "2014-04-01T17:00:00.000+02:00",
"createdAt": "2013-12-01T17:00:00.000+01:00",
"id": 12,
"clientId": 12,
"employeeId": 12,
"status": "OLD",
"beginDate": "2014-01-01T08:00:00.000+01:00",
"endDate": "2014-05-01T17:00:00.000+02:00"
}
]
}
},
"dossier.list.ClientNoteList": {
"type": "object",
"properties": {
"clientNotes": {
"type": "array",
"items": {
"$ref": "#/definitions/dossier.ClientNote"
}
}
},
"description": "ClientNoteList model (no description)",
"example": {
"clientNotes": [
{
"id": 1,
"content": "Dummy",
"visibleOnWorksheet": true,
"deleted": true,
"startDate": "2014-06-16",
"endDate": "2014-06-16",
"updatedByAuthorId": 1,
"authorId": 1,
"updatedAt": "2014-06-16T02:00:00.000+02:00",
"createdAt": "2014-06-16T02:00:00.000+02:00",
"createdBy": "Dummy",
"clientId": 1
},
{
"id": 2,
"content": "Dummy",
"visibleOnWorksheet": true,
"deleted": true,
"startDate": "2014-06-16",
"endDate": "2014-06-16",
"updatedByAuthorId": 2,
"authorId": 2,
"updatedAt": "2014-06-16T02:00:00.000+02:00",
"createdAt": "2014-06-16T02:00:00.000+02:00",
"createdBy": "Dummy",
"clientId": 2
}
]
}
},
"dossier.ClientNote": {
"type": "object",
"allOf": [
{
"$ref": "#/definitions/dossier.BaseNote"
}
],
"properties": {
"clientId": {
"type": "integer",
"format": "int64"
}
},
"description": "ClientNote model (no description)",
"example": {
"id": 1,
"content": "Dummy",
"visibleOnWorksheet": true,
"deleted": true,
"startDate": "2014-06-16",
"endDate": "2014-06-16",
"updatedByAuthorId": 1,
"authorId": 1,
"updatedAt": "2014-06-16T02:00:00.000+02:00",
"createdAt": "2014-06-16T02:00:00.000+02:00",
"createdBy": "Dummy",
"clientId": 1
},
"xml": {
"name": "clientNote"
}
},
"dossier.BaseNote": {
"type": "object",
"allOf": [
{
"$ref": "#/definitions/AuditedBase"
}
],
"properties": {
"id": {
"type": "integer",
"format": "int64",
"x-cupido-id": true
},
"content": {
"type": "string"
},
"visibleOnWorksheet": {
"type": "boolean"
},
"deleted": {
"type": "boolean"
},
"startDate": {
"type": "string",
"format": "date"
},
"endDate": {
"type": "string",
"format": "date"
},
"updatedByAuthorId": {
"type": "integer",
"format": "int64"
},
"authorId": {
"type": "integer",
"format": "int64"
}
},
"description": "BaseNote model (no description)",
"example": {
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"content": "example",
"visibleOnWorksheet": true,
"deleted": true,
"startDate": "2014-12-29",
"endDate": "2014-12-29",
"updatedByAuthorId": 1,
"authorId": 1
}
},
"dossier.list.GoalList": {
"type": "object",
"properties": {
"goals": {
"type": "array",
"items": {
"$ref": "#/definitions/dossier.Goal"
},
"xml": {
"name": "goal"
}
}
},
"description": "GoalList model (no description)",
"example": {
"goals": [
{
"updatedAt": "2010-12-08T12:32:42.000+01:00",
"createdAt": "2010-12-08T12:32:42.000+01:00",
"id": 2421,
"domainId": 2052,
"demandId": 2131,
"definition": "Cliënt accepteert huishoudelijke ondersteuning",
"allowTitleOverride": false,
"allowComment": false,
"reportProgress": false,
"hidden": false
},
{
"updatedAt": "2010-12-08T12:32:42.000+01:00",
"createdAt": "2010-12-08T12:32:42.000+01:00",
"id": 2422,
"domainId": 2052,
"demandId": 2131,
"definition": "Cliënt doet zelfstandig de was",
"allowTitleOverride": false,
"allowComment": false,
"reportProgress": false,
"hidden": false
},
{
"updatedAt": "2010-12-08T12:32:42.000+01:00",
"createdAt": "2010-12-08T12:32:42.000+01:00",
"id": 2423,
"domainId": 2052,
"demandId": 2131,
"definition": "Cliënt heeft een opgeruimde kamer",
"allowTitleOverride": false,
"allowComment": false,
"reportProgress": false,
"hidden": false
},
{
"updatedAt": "2010-12-08T12:32:42.000+01:00",
"createdAt": "2010-12-08T12:32:42.000+01:00",
"id": 2424,
"domainId": 2052,
"demandId": 2131,
"definition": "Cliënt heeft een schoon huis",
"allowTitleOverride": false,
"allowComment": false,
"reportProgress": false,
"hidden": false
},
{
"updatedAt": "2013-02-12T11:24:30.000+01:00",
"createdAt": "2010-12-08T12:32:42.000+01:00",
"id": 2425,
"domainId": 2052,
"demandId": 2132,
"definition": "Cliënt kan zelf maaltijden klaarmaken",
"allowTitleOverride": false,
"allowComment": false,
"reportProgress": true,
"hidden": false
},
{
"updatedAt": "2013-12-04T17:11:24.000+01:00",
"createdAt": "2010-12-08T12:32:42.000+01:00",
"id": 2426,
"domainId": 2052,
"demandId": 2132,
"definition": "Cliënt kan zelfstandig deuren openen en sluiten",
"allowTitleOverride": true,
"allowComment": true,
"reportProgress": false,
"hidden": false
},
{
"updatedAt": "2010-12-08T12:32:42.000+01:00",
"createdAt": "2010-12-08T12:32:42.000+01:00",
"id": 2427,
"domainId": 2052,
"demandId": 2132,
"definition": "Cliënt kan zelfstandig douchen",
"allowTitleOverride": false,
"allowComment": false,
"reportProgress": false,
"hidden": false
},
{
"updatedAt": "2010-12-08T12:32:42.000+01:00",
"createdAt": "2010-12-08T12:32:42.000+01:00",
"id": 2428,
"domainId": 2052,
"demandId": 2131,
"definition": "Cliënt kan zelfstandig het huishouden verzorgen",
"allowTitleOverride": false,
"allowComment": false,
"reportProgress": false,
"hidden": false
},
{
"updatedAt": "2010-12-08T12:32:42.000+01:00",
"createdAt": "2010-12-08T12:32:42.000+01:00",
"id": 2429,
"domainId": 2052,
"demandId": 2131,
"definition": "Cliënt kan zelfstandig huishoudelijke apparaten bedienen",
"allowTitleOverride": false,
"allowComment": false,
"reportProgress": false,
"hidden": false
},
{
"updatedAt": "2010-12-08T12:32:42.000+01:00",
"createdAt": "2010-12-08T12:32:42.000+01:00",
"id": 2430,
"domainId": 2052,
"demandId": 2132,
"definition": "Cliënt kan zelfstandig naar het toilet",
"allowTitleOverride": false,
"allowComment": false,
"reportProgress": false,
"hidden": false
},
{
"updatedAt": "2010-12-08T12:32:42.000+01:00",
"createdAt": "2010-12-08T12:32:42.000+01:00",
"id": 2431,
"domainId": 2052,
"demandId": 2131,
"definition": "Cliënt voert lichte poets- en opruimwerkzaamheden zelf uit",
"allowTitleOverride": false,
"allowComment": false,
"reportProgress": false,
"hidden": false
},
{
"updatedAt": "2010-12-08T12:32:43.000+01:00",
"createdAt": "2010-12-08T12:32:43.000+01:00",
"id": 2432,
"domainId": 2052,
"demandId": 2132,
"definition": "Cliënt wil zelfstandig blijven wonen",
"allowTitleOverride": false,
"allowComment": false,
"reportProgress": false,
"hidden": false
},
{
"updatedAt": "2010-12-08T12:32:43.000+01:00",
"createdAt": "2010-12-08T12:32:43.000+01:00",
"id": 2433,
"domainId": 2052,
"demandId": 2133,
"definition": "Cliënt voelt zich veilig in de woning",
"allowTitleOverride": false,
"allowComment": false,
"reportProgress": false,
"hidden": false
},
{
"updatedAt": "2010-12-08T12:32:43.000+01:00",
"createdAt": "2010-12-08T12:32:43.000+01:00",
"id": 2434,
"domainId": 2052,
"demandId": 2133,
"definition": "Cliënt voelt zich veilig in huis",
"allowTitleOverride": false,
"allowComment": false,
"reportProgress": false,
"hidden": false
},
{
"updatedAt": "2010-12-08T12:32:43.000+01:00",
"createdAt": "2010-12-08T12:32:43.000+01:00",
"id": 2435,
"domainId": 2052,
"demandId": 2133,
"definition": "Cliënt woont in een veilige woonomgeving",
"allowTitleOverride": false,
"allowComment": false,
"reportProgress": false,
"hidden": false
},
{
"updatedAt": "2010-12-08T12:32:43.000+01:00",
"createdAt": "2010-12-08T12:32:43.000+01:00",
"id": 2436,
"domainId": 2052,
"demandId": 2131,
"definition": "Cliënt is tevreden met de situatie in huis",
"allowTitleOverride": false,
"allowComment": false,
"reportProgress": false,
"hidden": false
},
{
"updatedAt": "2010-12-08T12:32:43.000+01:00",
"createdAt": "2010-12-08T12:32:43.000+01:00",
"id": 2437,
"domainId": 2052,
"demandId": 2133,
"definition": "Cliënt is tevreden over woonsituatie",
"allowTitleOverride": false,
"allowComment": false,
"reportProgress": false,
"hidden": false
},
{
"updatedAt": "2010-12-08T12:32:43.000+01:00",
"createdAt": "2010-12-08T12:32:43.000+01:00",
"id": 2438,
"domainId": 2052,
"demandId": 2133,
"definition": "Cliënt kan zelfstandig huishoudelijke apparaten en gereedschap onderhouden",
"allowTitleOverride": false,
"allowComment": false,
"reportProgress": false,
"hidden": false
},
{
"updatedAt": "2010-12-08T12:32:43.000+01:00",
"createdAt": "2010-12-08T12:32:43.000+01:00",
"id": 2439,
"domainId": 2052,
"demandId": 2133,
"definition": "Cliënt voelt zich prettig bij inrichting van de woning",
"allowTitleOverride": false,
"allowComment": false,
"reportProgress": false,
"hidden": false
},
{
"updatedAt": "2010-12-08T12:32:43.000+01:00",
"createdAt": "2010-12-08T12:32:43.000+01:00",
"id": 2440,
"domainId": 2052,
"demandId": 2133,
"definition": "Woning is comfortabel voor cliënt",
"allowTitleOverride": false,
"allowComment": false,
"reportProgress": false,
"hidden": false
},
{
"updatedAt": "2010-12-08T12:32:43.000+01:00",
"createdAt": "2010-12-08T12:32:43.000+01:00",
"id": 2441,
"domainId": 2052,
"demandId": 2133,
"definition": "Woonwensen cliënt zijn duidelijk",
"allowTitleOverride": false,
"allowComment": false,
"reportProgress": false,
"hidden": false
},
{
"updatedAt": "2010-12-08T16:14:43.000+01:00",
"createdAt": "2010-12-08T16:14:43.000+01:00",
"id": 3607,
"domainId": 2052,
"demandId": 2930,
"definition": "Client heeft voldoende privacy",
"allowTitleOverride": false,
"allowComment": false,
"reportProgress": false,
"hidden": false
},
{
"updatedAt": "2010-12-08T16:14:43.000+01:00",
"createdAt": "2010-12-08T16:14:43.000+01:00",
"id": 3608,
"domainId": 2052,
"demandId": 2131,
"definition": "Client is tevreden met de situatie in huis",
"allowTitleOverride": false,
"allowComment": false,
"reportProgress": false,
"hidden": false
},
{
"updatedAt": "2010-12-08T16:14:43.000+01:00",
"createdAt": "2010-12-08T16:14:43.000+01:00",
"id": 3609,
"domainId": 2052,
"demandId": 2131,
"definition": "Client kan zelfstandig het huishouden verzorgen",
"allowTitleOverride": false,
"allowComment": false,
"reportProgress": false,
"hidden": false
},
{
"updatedAt": "2010-12-08T16:14:43.000+01:00",
"createdAt": "2010-12-08T16:14:43.000+01:00",
"id": 3610,
"domainId": 2052,
"demandId": 2131,
"definition": "Cliënt kan zelfstandig schoonmaken",
"allowTitleOverride": false,
"allowComment": false,
"reportProgress": false,
"hidden": false
},
{
"updatedAt": "2013-01-21T22:22:18.000+01:00",
"createdAt": "2010-12-08T16:14:48.000+01:00",
"id": 3643,
"domainId": 2052,
"demandId": 2132,
"definition": "Doel",
"allowTitleOverride": true,
"allowComment": true,
"reportProgress": true,
"hidden": false
},
{
"updatedAt": "2010-12-08T16:14:48.000+01:00",
"createdAt": "2010-12-08T16:14:48.000+01:00",
"id": 3644,
"domainId": 2052,
"demandId": 2133,
"definition": "Doel",
"allowTitleOverride": false,
"allowComment": true,
"reportProgress": false,
"hidden": false
},
{
"updatedAt": "2010-12-08T16:14:48.000+01:00",
"createdAt": "2010-12-08T16:14:48.000+01:00",
"id": 3645,
"domainId": 2052,
"demandId": 2930,
"definition": "Doel",
"allowTitleOverride": false,
"allowComment": true,
"reportProgress": false,
"hidden": false
},
{
"updatedAt": "2010-12-08T16:14:48.000+01:00",
"createdAt": "2010-12-08T16:14:48.000+01:00",
"id": 3646,
"domainId": 2052,
"demandId": 2131,
"definition": "Doel",
"allowTitleOverride": false,
"allowComment": true,
"reportProgress": false,
"hidden": false
},
{
"updatedAt": "2013-01-21T22:26:24.000+01:00",
"createdAt": "2012-02-08T12:06:31.000+01:00",
"id": 16050,
"domainId": 2052,
"demandId": 2132,
"definition": "verbeteren Bewegingsmogelijkheden",
"allowTitleOverride": true,
"allowComment": true,
"reportProgress": true,
"hidden": false
},
{
"updatedAt": "2013-06-13T10:45:26.000+02:00",
"createdAt": "2013-06-13T10:45:26.000+02:00",
"id": 39802,
"domainId": 2052,
"demandId": 25500,
"definition": "test123",
"allowTitleOverride": true,
"allowComment": true,
"reportProgress": false,
"hidden": false
}
]
},
"xml": {
"name": "goals"
}
},
"dossier.list.DemandList": {
"type": "object",
"properties": {
"demands": {
"type": "array",
"items": {
"$ref": "#/definitions/dossier.Demand"
},
"xml": {
"name": "demand"
}
}
},
"description": "DemandList model (no description)",
"example": {
"demands": [
{
"updatedAt": "2010-12-08T12:32:42.000+01:00",
"createdAt": "2010-12-08T12:32:42.000+01:00",
"id": 2131,
"domainId": 2052,
"definition": "Woonruimte en zich thuis voelen: Opgeruimd en schoon",
"hidden": false
},
{
"updatedAt": "2012-03-14T14:08:08.000+01:00",
"createdAt": "2010-12-08T12:32:42.000+01:00",
"id": 2132,
"domainId": 2052,
"definition": "Bewegingsmogelijkheden, mobiliteit: U heeft aanpassingen en speciale hulpmiddelen nodig om zelfstandig te kunnen lopen",
"hidden": false
},
{
"updatedAt": "2010-12-08T12:32:43.000+01:00",
"createdAt": "2010-12-08T12:32:43.000+01:00",
"id": 2133,
"domainId": 2052,
"definition": "Woonruimte en zich thuis voelen: De woning en woonomgeving",
"hidden": false
},
{
"updatedAt": "2010-12-08T16:14:43.000+01:00",
"createdAt": "2010-12-08T16:14:43.000+01:00",
"id": 2930,
"domainId": 2052,
"definition": "Woonruimte en zich thuis voelen: Levenssfeer en privacy",
"hidden": false
},
{
"updatedAt": "2012-08-13T10:14:41.000+02:00",
"createdAt": "2012-08-13T10:14:41.000+02:00",
"id": 25500,
"domainId": 2052,
"definition": "Woonomgeving status",
"hidden": false
}
]
},
"xml": {
"name": "demands"
}
},
"dossier.list.DomainList": {
"type": "object",
"properties": {
"domains": {
"type": "array",
"items": {
"$ref": "#/definitions/dossier.Domain"
},
"xml": {
"name": "domain"
}
}
},
"description": "DomainList model (no description)",
"example": {
"domains": [
{
"updatedAt": "2014-04-01T17:00:00.000+02:00",
"createdAt": "2013-12-01T17:00:00.000+01:00",
"id": 1,
"name": "Domein naam",
"hidden": false
}
]
},
"xml": {
"name": "domains"
}
},
"dossier.list.MedicalNoteList": {
"type": "object",
"properties": {
"medicalNotes": {
"type": "array",
"items": {
"$ref": "#/definitions/dossier.MedicalNote"
}
}
},
"description": "MedicalNoteList model (no description)",
"example": {
"medicalNotes": [
{
"id": 1,
"content": "Dummy",
"visibleOnWorksheet": true,
"deleted": true,
"startDate": "2014-06-16",
"endDate": "2014-06-16",
"updatedByAuthorId": 1,
"authorId": 1,
"updatedAt": "2014-06-16T02:00:00.000+02:00",
"createdAt": "2014-06-16T02:00:00.000+02:00",
"createdBy": "Dummy",
"clientId": 1
},
{
"id": 1,
"content": "Dummy",
"visibleOnWorksheet": true,
"deleted": true,
"startDate": "2014-06-16",
"endDate": "2014-06-16",
"updatedByAuthorId": 1,
"authorId": 2,
"updatedAt": "2014-06-16T02:00:00.000+02:00",
"createdAt": "2014-06-16T02:00:00.000+02:00",
"createdBy": "Dummy",
"clientId": 2
}
]
}
},
"dossier.MedicalNote": {
"type": "object",
"allOf": [
{
"$ref": "#/definitions/dossier.BaseNote"
}
],
"properties": {
"clientId": {
"type": "integer",
"format": "int64"
}
},
"description": "MedicalNote model (no description)",
"example": {
"id": 1,
"content": "Dummy",
"visibleOnWorksheet": true,
"deleted": true,
"startDate": "2014-06-16",
"endDate": "2014-06-16",
"updatedByAuthorId": 1,
"authorId": 1,
"updatedAt": "2014-06-16T02:00:00.000+02:00",
"createdAt": "2014-06-16T02:00:00.000+02:00",
"createdBy": "Dummy",
"clientId": 1
},
"xml": {
"name": "medicalNote"
}
},
"dossier.list.ReportTypeList": {
"type": "object",
"properties": {
"reportTypes": {
"type": "array",
"items": {
"$ref": "#/definitions/dossier.ReportType"
},
"xml": {
"name": "reportType"
}
}
},
"description": "ReportTypeList model (no description)",
"example": {
"reportTypes": [
{
"updatedAt": "2013-08-05T13:31:28.000+02:00",
"createdAt": "2009-07-01T00:00:00.000+02:00",
"id": 101,
"name": "Rapportage",
"valueType": "Comment",
"defaultValue": 0,
"hasTime": true,
"iconSrc": "zorgplan_blauw.png",
"enabled": true
},
{
"updatedAt": "2009-09-30T00:00:00.000+02:00",
"createdAt": "2009-09-30T00:00:00.000+02:00",
"id": 102,
"name": "Gewicht",
"valueType": "BMI",
"format": "%.1f",
"unit": "kg",
"defaultValue": 0,
"hasTime": true,
"iconSrc": "gewicht_blauw.png",
"enabled": true
},
{
"updatedAt": "2009-10-01T00:00:00.000+02:00",
"createdAt": "2009-10-01T00:00:00.000+02:00",
"id": 103,
"name": "Bloeddruk",
"valueType": "BloodPressure",
"defaultValue": 0,
"hasTime": true,
"iconSrc": "hartslag_blauw.png",
"enabled": true
},
{
"updatedAt": "2009-10-02T00:00:00.000+02:00",
"createdAt": "2009-10-02T00:00:00.000+02:00",
"id": 104,
"name": "Temperatuur",
"valueType": "Decimal",
"format": "%.1f",
"unit": "°C",
"defaultValue": 0,
"hasTime": true,
"iconSrc": "temperatuur_blauw.png",
"enabled": true
},
{
"updatedAt": "2010-05-05T00:00:00.000+02:00",
"createdAt": "2010-05-05T00:00:00.000+02:00",
"id": 105,
"name": "Bloedsuiker",
"valueType": "Decimal",
"format": "%.1f",
"unit": "mmol/l",
"defaultValue": 0,
"hasTime": true,
"iconSrc": "bloedsuiker_blauw.png",
"enabled": true
},
{
"updatedAt": "2010-05-05T00:00:00.000+02:00",
"createdAt": "2010-05-05T00:00:00.000+02:00",
"id": 106,
"name": "Vocht inname",
"valueType": "Decimal",
"unit": "ml",
"defaultValue": 0,
"hasTime": true,
"iconSrc": "vochtinname_blauw.png",
"enabled": true
},
{
"updatedAt": "2010-05-05T00:00:00.000+02:00",
"createdAt": "2010-05-05T00:00:00.000+02:00",
"id": 107,
"name": "Vocht uitscheiding",
"valueType": "Decimal",
"unit": "ml",
"defaultValue": 0,
"hasTime": true,
"iconSrc": "vochtuitscheiding_blauw.png",
"enabled": true
},
{
"updatedAt": "2013-01-09T11:37:39.000+01:00",
"createdAt": "2010-08-01T00:00:00.000+02:00",
"id": 109,
"name": "Medisch",
"valueType": "Comment",
"defaultValue": 0,
"hasTime": false,
"iconSrc": "zorg_blauw.png",
"enabled": true
},
{
"updatedAt": "2010-08-01T00:00:00.000+02:00",
"createdAt": "2010-08-01T00:00:00.000+02:00",
"id": 108,
"name": "Defaecatie",
"valueType": "Comment",
"defaultValue": 0,
"hasTime": true,
"iconSrc": "ondersteek_blauw.png",
"enabled": true
},
{
"updatedAt": "2013-02-12T11:34:42.000+01:00",
"createdAt": "2010-08-31T00:00:00.000+02:00",
"id": 110,
"name": "Voortgang",
"valueType": "ProgressReport",
"format": "%.1f",
"unit": "%",
"defaultValue": 0,
"hasTime": false,
"iconSrc": "procent_blauw.png",
"enabled": true
},
{
"updatedAt": "2012-12-06T15:27:05.000+01:00",
"createdAt": "2011-06-01T00:00:00.000+02:00",
"id": 111,
"name": "Familie communicatie",
"valueType": "FamilyCommunication",
"defaultValue": 0,
"hasTime": false,
"iconSrc": "caren_blauw.png",
"enabled": true
},
{
"updatedAt": "2012-07-24T14:38:36.000+02:00",
"createdAt": "2011-07-01T00:00:00.000+02:00",
"id": 212,
"name": "Wondbehandeling",
"valueType": "Comment",
"defaultValue": 0,
"hasTime": false,
"iconSrc": "zorg_blauw.png",
"enabled": false
},
{
"updatedAt": "2013-08-20T14:30:10.000+02:00",
"createdAt": "2011-07-01T00:00:00.000+02:00",
"id": 220,
"name": "Saturatie",
"valueType": "Decimal",
"format": "%.1f",
"unit": "%",
"defaultValue": 0,
"hasTime": false,
"iconSrc": "bloedsuiker_blauw.png",
"enabled": false
},
{
"updatedAt": "2012-09-11T16:29:42.000+02:00",
"createdAt": "2011-07-01T00:00:00.000+02:00",
"id": 221,
"name": "INR",
"valueType": "Decimal",
"format": "%.1f",
"defaultValue": 0,
"hasTime": false,
"iconSrc": "bloedsuiker_blauw.png",
"enabled": false
},
{
"updatedAt": "2013-08-26T15:13:01.000+02:00",
"createdAt": "2013-06-11T18:07:22.000+02:00",
"id": 112,
"name": "Keten communicatie",
"valueType": "ExternalCommunication",
"defaultValue": 0,
"hasTime": true,
"iconSrc": "caren_keten_blauw.png",
"enabled": true
}
]
},
"xml": {
"name": "reportTypes"
}
},
"dossier.ReportType": {
"type": "object",
"allOf": [
{
"$ref": "#/definitions/AuditedBase"
}
],
"properties": {
"id": {
"type": "integer",
"format": "int64",
"x-cupido-id": true
},
"name": {
"type": "string"
},
"valueType": {
"type": "string"
},
"format": {
"type": "string"
},
"unit": {
"type": "string"
},
"defaultValue": {
"type": "integer",
"format": "int32"
},
"hasTime": {
"type": "boolean"
},
"iconSrc": {
"type": "string"
},
"enabled": {
"type": "boolean"
}
},
"description": "ReportType model (no description)",
"example": {
"updatedAt": "2014-04-01T17:00:00.000+02:00",
"createdAt": "2013-12-01T17:00:00.000+01:00",
"createdBy": "user",
"id": 1,
"name": "Rapportage",
"valueType": "Comment",
"format": "%s",
"unit": "mm[Hg]",
"defaultValue": 0,
"hasTime": false,
"iconSrc": "heartbleed.gif",
"enabled": true
},
"xml": {
"name": "reportType"
}
},
"dossier.list.ReportList": {
"type": "object",
"properties": {
"reports": {
"type": "array",
"items": {
"$ref": "#/definitions/dossier.Report"
},
"xml": {
"name": "report"
}
}
},
"description": "ReportList model (no description)",
"example": {
"reports": [
{
"updatedAt": "2014-04-01T17:00:00.000+02:00",
"createdAt": "2013-12-01T17:00:00.000+01:00",
"id": 1,
"reportingDate": "2014-04-01T17:00:00.000+02:00",
"comment": "Goed geplast",
"flagged": true,
"confidential": false,
"hidden": false,
"parentType": "presencelog",
"carenId": 10,
"carenName": "Foeken",
"carenRole": "Mantelzorger",
"status": 1,
"reportTypeId": 101
},
{
"updatedAt": "2014-04-01T17:00:00.000+02:00",
"createdAt": "2013-12-01T17:00:00.000+01:00",
"id": 2,
"reportingDate": "2014-04-01T17:00:00.000+02:00",
"comment": "Goed geplast",
"flagged": true,
"confidential": false,
"hidden": false,
"parentType": "presencelog",
"carenId": 10,
"carenName": "Foeken",
"carenRole": "Mantelzorger",
"status": 1,
"reportTypeId": 101
}
]
},
"xml": {
"name": "reports"
}
},
"dossier.list.ReportAuthorizationList": {
"type": "object",
"properties": {
"reportAuthorizations": {
"type": "array",
"items": {
"$ref": "#/definitions/dossier.ReportAuthorization"
},
"xml": {
"name": "reportAuthorization"
}
}
},
"description": "ReportAuthorizationList model (no description)",
"example": {
"reportAuthorizations": [
{
"id": 1,
"expertiseProfileId": 1,
"expertiseGroupObjectId": 2
},
{
"id": 2,
"expertiseProfileId": 2,
"expertiseGroupObjectId": 1
}
]
},
"xml": {
"name": "reportAuthorizations"
}
},
"dossier.list.SystemNoteList": {
"type": "object",
"properties": {
"systemNotes": {
"type": "array",
"items": {
"$ref": "#/definitions/dossier.SystemNote"
}
}
},
"description": "SystemNoteList model (no description)",
"example": {
"systemNotes": [
{
"id": 1,
"content": "Dummy",
"visibleOnWorksheet": true,
"deleted": true,
"startDate": "2014-06-16",
"endDate": "2014-06-16",
"updatedByAuthorId": 1,
"authorId": 1,
"updatedAt": "2014-06-16T02:00:00.000+02:00",
"createdAt": "2014-06-16T02:00:00.000+02:00",
"createdBy": "Dummy"
},
{
"id": 1,
"content": "Dummy",
"visibleOnWorksheet": true,
"deleted": true,
"startDate": "2014-06-16",
"endDate": "2014-06-16",
"updatedByAuthorId": 1,
"authorId": 2,
"updatedAt": "2014-06-16T02:00:00.000+02:00",
"createdAt": "2014-06-16T02:00:00.000+02:00",
"createdBy": "Dummy"
}
]
}
},
"dossier.SystemNote": {
"type": "object",
"allOf": [
{
"$ref": "#/definitions/dossier.BaseNote"
}
],
"description": "SystemNote model (no description)",
"example": {
"id": 1,
"content": "Dummy",
"visibleOnWorksheet": true,
"deleted": true,
"startDate": "2014-06-16",
"endDate": "2014-06-16",
"updatedByAuthorId": 1,
"authorId": 1,
"updatedAt": "2014-06-16T02:00:00.000+02:00",
"createdAt": "2014-06-16T02:00:00.000+02:00",
"createdBy": "Dummy"
}
},
"EmployeeAddress": {
"type": "object",
"allOf": [
{
"$ref": "#/definitions/Address"
}
],
"properties": {
"employeeId": {
"type": "integer",
"format": "int64"
}
},
"description": "EmployeeAddress model (no description)",
"example": {
"id": 1,
"beginDate": "2010-02-16",
"endDate": "2010-02-17",
"homeNumber": 4,
"homeNumberExtension": "a",
"poBoxNumber": "123a",
"street": "Parallelweg",
"city": "Enschede",
"zipcode": "7513KC",
"municipality": "Enschede",
"country": "Netherlands",
"telephoneNumber": "053-1234567",
"telephoneCountryCode": "+31",
"telephoneNumber2": "053-1234567",
"telephoneCountryCode2": "+31",
"faxNumber": "053-1234567",
"email": "mike.wazowski@nedap.com",
"type": "residence address",
"typeString": "temporary",
"residentType": "0",
"personType": "client",
"personTypeString": "birthname",
"roomNumber": "1",
"locationDescription": "Afdeling noord",
"updatedAt": "2016-01-01T12:00:00.000+01:00",
"createdAt": "2016-01-01T12:00:00.000+01:00",
"latitude": 52.1,
"longitude": 6.9,
"employeeId": 2,
"situationDescription": "Test"
},
"xml": {
"name": "employeeAddress"
}
},
"list.PractitionerAgbCodeList": {
"type": "object",
"properties": {
"practitionerAgbCodes": {
"type": "array",
"items": {
"$ref": "#/definitions/PractitionerAgbCode"
}
}
},
"description": "PractitionerAgbCodeList model (no description)",
"example": {
"practitionerAgbCodes": [
{
"id": 1,
"employeeObjectId": 1,
"code": "12345678",
"beginDate": "2022-01-01",
"endDate": "2022-12-31",
"primary": true
}
]
}
},
"PractitionerAgbCode": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int64",
"x-cupido-id": true
},
"employeeObjectId": {
"type": "integer",
"format": "int64"
},
"code": {
"type": "string"
},
"beginDate": {
"type": "string",
"description": "The date at which the agbcode is beginning",
"format": "date"
},
"endDate": {
"type": "string",
"description": "The date at which the agbcode is ending. Null means no ending.",
"format": "date"
},
"primary": {
"type": "boolean",
"description": "Indicates if this is the primary agbcode for the employee"
}
},
"description": "PractitionerAgbCode model (no description)",
"example": {
"id": 1,
"employeeObjectId": 1,
"code": "12345678",
"beginDate": "2022-01-01",
"endDate": "2022-12-31",
"primary": true
}
},
"list.PractitionerBigCodeList": {
"type": "object",
"properties": {
"practitionerBigCodes": {
"type": "array",
"items": {
"$ref": "#/definitions/PractitionerBigCode"
}
}
},
"description": "PractitionerBigCodeList model (no description)",
"example": {
"practitionerBigCodes": [
{
"id": 1,
"employeeObjectId": 1,
"code": "12345678"
}
]
}
},
"PractitionerBigCode": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int64",
"x-cupido-id": true
},
"employeeObjectId": {
"type": "integer",
"format": "int64"
},
"code": {
"type": "string"
}
},
"description": "PractitionerBigCode model (no description)",
"example": {
"id": 1,
"employeeObjectId": 1,
"code": "12345678"
}
},
"list.TeamList": {
"type": "object",
"properties": {
"teams": {
"type": "array",
"items": {
"$ref": "#/definitions/Team"
},
"xml": {
"name": "team"
}
}
},
"description": "TeamList model (no description)",
"example": {
"teams": [
{
"id": 1,
"beginDate": "1999-12-31T23:00:00.000+01:00",
"externCode": "",
"identificationNo": "0001",
"name": "Nedap Demo",
"poolTeam": false,
"costCenterNumber": "0001",
"parentObjectId": 0
}
]
},
"xml": {
"name": "teams"
}
},
"Team": {
"title": "Team",
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int64",
"x-cupido-id": true
},
"beginDate": {
"type": "string",
"format": "date-time",
"x-nullable": true
},
"endDate": {
"type": "string",
"format": "date-time",
"x-nullable": true
},
"externCode": {
"type": "string",
"x-nullable": true
},
"identificationNo": {
"type": "string",
"x-nullable": true
},
"name": {
"type": "string",
"x-nullable": true
},
"poolTeam": {
"type": "boolean",
"x-nullable": true
},
"costCenterNumber": {
"type": "string",
"x-nullable": true
},
"parentObjectId": {
"type": "integer",
"format": "int64",
"x-nullable": true
},
"teams": {
"type": "array",
"items": {
"$ref": "#/definitions/Team"
}
},
"addresses": {
"type": "array",
"items": {
"$ref": "#/definitions/TeamAddress"
},
"x-nullable": true
}
},
"description": "Team (Cluster)",
"example": {
"id": 1,
"beginDate": "2000-01-01T00:00:00.000+01:00",
"endDate": "2001-01-01T00:00:00.000+01:00",
"externCode": "agb",
"identificationNo": "0001",
"name": "Nedap Demo",
"poolTeam": false,
"costCenterNumber": "0001",
"parentObjectId": 0
},
"xml": {
"name": "team"
}
},
"TeamAddress": {
"type": "object",
"allOf": [
{
"$ref": "#/definitions/Address"
}
],
"properties": {
"teamId": {
"type": "integer",
"format": "int64"
}
},
"description": "The address of a team",
"example": {
"id": 1,
"beginDate": "2010-02-16",
"endDate": "2010-02-17",
"homeNumber": 4,
"homeNumberExtension": "a",
"poBoxNumber": "123a",
"street": "Parallelweg",
"city": "Enschede",
"zipcode": "7513KC",
"municipality": "Enschede",
"country": "Netherlands",
"telephoneNumber": "053-1234567",
"telephoneCountryCode": "+31",
"telephoneNumber2": "053-1234567",
"telephoneCountryCode2": "+31",
"faxNumber": "053-1234567",
"email": "mike.wazowski@nedap.com",
"type": "98",
"typeString": "Other address",
"residentType": "0",
"personType": "6",
"personTypeString": "cluster",
"roomNumber": "1",
"locationDescription": "Afdeling noord",
"updatedAt": "2016-01-01T12:00:00.000+01:00",
"createdAt": "2016-01-01T12:00:00.000+01:00",
"latitude": 52.1,
"longitude": 6.9,
"teamId": 2,
"situationDescription": "Test"
},
"xml": {
"name": "teamAddress"
}
},
"payroll.list.ContractList": {
"type": "object",
"properties": {
"contracts": {
"type": "array",
"items": {
"$ref": "#/definitions/payroll.Contract"
},
"xml": {
"name": "contract"
}
}
},
"description": "ContractList model (no description)",
"example": {
"contracts": [
{
"id": 1,
"employeeId": 1,
"fixed": 1.234,
"var": 1.234,
"contractTypeId": 1,
"beginDate": "2015-01-01",
"endDate": "2020-01-01"
}
]
},
"xml": {
"name": "contracts"
}
},
"list.ExpertiseProfileAssignmentList": {
"type": "object",
"properties": {
"expertiseProfileAssignments": {
"type": "array",
"items": {
"$ref": "#/definitions/ExpertiseProfileAssignment"
},
"xml": {
"name": "expertiseProfileAssignment"
}
}
},
"description": "ExpertiseProfileAssignmentList model (no description)",
"example": {
"expertiseProfileAssignments": [
{
"id": 1,
"startTime": "2012-08-02T11:48:46.836+02:00",
"endTime": "2012-08-02T11:48:46.836+02:00",
"employeeObjectId": 9941,
"expertiseProfileObjectId": 2
}
]
},
"xml": {
"name": "expertiseProfileAssignments"
}
},
"ExpertiseProfileAssignment": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int64",
"x-cupido-id": true
},
"startTime": {
"type": "string",
"format": "date-time"
},
"endTime": {
"type": "string",
"format": "date-time"
},
"employeeObjectId": {
"type": "integer",
"format": "int64"
},
"expertiseProfileObjectId": {
"type": "integer",
"format": "int64"
}
},
"description": "Expertise profile assignment.",
"example": {
"id": 1,
"startTime": "2012-08-02T13:48:46.836+02:00",
"endTime": "2012-08-02T13:48:46.836+02:00",
"employeeObjectId": 9941,
"expertiseProfileObjectId": 2
},
"xml": {
"name": "expertiseProfileAssignment"
}
},
"list.ExpertiseProfileList": {
"type": "object",
"properties": {
"expertiseProfiles": {
"type": "array",
"items": {
"$ref": "#/definitions/ExpertiseProfile"
},
"xml": {
"name": "expertiseProfile"
}
}
},
"description": "ExpertiseProfileList model (no description)",
"example": {
"expertiseProfiles": [
{
"id": 5,
"description": "Helpenden",
"visible": true
}
]
},
"xml": {
"name": "expertiseProfiles"
}
},
"list.PractitionerProfessionList": {
"type": "object",
"properties": {
"practitionerProfessions": {
"type": "array",
"items": {
"$ref": "#/definitions/PractitionerProfession"
}
}
},
"description": "PractitionerProfessionList model (no description)",
"example": {
"practitionerProfessions": [
{
"id": 1,
"employeeObjectId": 1,
"code": "9992",
"name": "VK.OB.overig",
"info": "Overig",
"type": "COD878_GZ_BEROEPZORGVERLENER",
"professionType": 0,
"beginDate": "2018-01-01",
"endDate": "2018-12-31"
}
]
}
},
"PractitionerProfession": {
"required": [
"beginDate"
],
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int64",
"x-cupido-id": true
},
"employeeObjectId": {
"type": "integer",
"description": "Id referring to the Employee object",
"format": "int64"
},
"code": {
"type": "string",
"description": "Profession code from the code list indicated in typeCode."
},
"name": {
"type": "string",
"description": "Abbreviated name for the profession"
},
"info": {
"type": "string",
"description": "Full description for the profession"
},
"type": {
"type": "string",
"description": "Indicates the codelist this profession orginates from\nPlease use #professionType instead",
"x-deprecated": true
},
"professionType": {
"$ref": "#/definitions/PractitionerProfessionType",
"description": "Indicates the codelist this profession orginates from"
},
"beginDate": {
"type": "string",
"description": "The date at which the profession is beginning",
"format": "date"
},
"endDate": {
"type": "string",
"description": "The date at which the profession is ending. Null means no ending.",
"format": "date"
}
},
"description": "Practioner profession returned from Cupido for an Employee.\n\nWhen PUT-ing or POST-ing PractitionerProfessions, the combination of code and professionType is used to uniquely identify the profession.",
"example": {
"id": 1,
"employeeObjectId": 1,
"code": "9992",
"name": "VK.OB.overig",
"info": "Overig",
"type": "COD878_GZ_BEROEPZORGVERLENER",
"professionType": 0,
"beginDate": "2018-01-01",
"endDate": "2018-12-31"
}
},
"PractitionerProfessionType": {
"type": "integer",
"description": "Indicates the codelist this profession orginates from",
"example": 0
},
"list.TeamAssignmentList": {
"type": "object",
"properties": {
"teamAssignments": {
"type": "array",
"items": {
"$ref": "#/definitions/TeamAssignment"
},
"xml": {
"name": "teamAssignment"
}
}
},
"description": "TeamAssignmentList model (no description)",
"example": {
"teamAssignments": [
{
"id": 1,
"beginDate": "2012-08-02",
"endDate": "2012-08-02",
"employeeObjectId": 8948,
"teamObjectId": 337
}
]
},
"xml": {
"name": "teamAssignments"
}
},
"TeamAssignment": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int64",
"x-cupido-id": true
},
"beginDate": {
"type": "string",
"format": "date"
},
"endDate": {
"type": "string",
"format": "date"
},
"employeeObjectId": {
"type": "integer",
"format": "int64"
},
"teamObjectId": {
"type": "integer",
"format": "int64"
}
},
"description": "Team assignment.",
"example": {
"id": 1,
"beginDate": "2012-08-02",
"endDate": "2012-08-02",
"employeeObjectId": 8948,
"teamObjectId": 337
},
"xml": {
"name": "teamAssignment"
}
},
"WeeksheetProfile": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int64",
"x-cupido-id": true
},
"description": {
"type": "string"
},
"registrationActivities": {
"type": "boolean"
},
"registrationWithDossierReport": {
"type": "boolean"
},
"registrationIndirectActivitiesInFutureAllowed": {
"type": "boolean"
},
"allowCreateBeforeVerifyDate": {
"type": "boolean"
},
"directProfilePolicy": {
"$ref": "#/definitions/ProfilePolicy"
},
"indirectProfilePolicy": {
"$ref": "#/definitions/ProfilePolicy"
},
"timeWindowDate": {
"type": "string",
"format": "date-time"
},
"allowEditCostCenterOnsAgenda": {
"type": "boolean"
},
"allowEditCostCenterIome": {
"type": "boolean"
}
},
"description": "The weeksheet profile. It contains information about registration deadlines and permissions.",
"example": {
"id": 10,
"description": "Klinisch Verpleegkundige",
"registrationActivities": true,
"registrationWithDossierReport": true,
"registrationIndirectActivitiesInFutureAllowed": true,
"allowCreateBeforeVerifyDate": false,
"directProfilePolicy": {
"id": 1,
"objectId": 1,
"type": 1,
"createPerm": true,
"createDossier": true,
"hideDefaultBookingDossier": true,
"createBetween": true,
"createBetweenTimegab": 1,
"updateIoserver": true,
"updateIome": true,
"updateIodevice": true,
"updateMoves": true,
"updateOnsAgenda": true,
"updateOnsVandaag": true,
"deleteIoserver": true,
"deleteIome": true,
"deleteIodevice": true,
"deleteMoves": true,
"deleteOnsAgenda": true,
"deleteOnsVandaag": true
},
"indirectProfilePolicy": {
"id": 1,
"objectId": 1,
"type": 1,
"createPerm": true,
"createDossier": true,
"hideDefaultBookingDossier": true,
"createBetween": true,
"createBetweenTimegab": 1,
"updateIoserver": true,
"updateIome": true,
"updateIodevice": true,
"updateMoves": true,
"updateOnsAgenda": true,
"updateOnsVandaag": true,
"deleteIoserver": true,
"deleteIome": true,
"deleteIodevice": true,
"deleteMoves": true,
"deleteOnsAgenda": true,
"deleteOnsVandaag": true
},
"timeWindowDate": "2012-08-02T13:48:46.836+02:00",
"allowEditCostCenterOnsAgenda": true,
"allowEditCostCenterIome": false
},
"xml": {
"name": "weeksheetProfile"
}
},
"ProfilePolicy": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"description": "not part of the shared model",
"format": "int64",
"x-cupido-id": true,
"x-deprecated": true
},
"objectId": {
"type": "integer",
"description": "not part of the shared model",
"format": "int64",
"x-deprecated": true
},
"type": {
"type": "integer",
"format": "int32"
},
"createPerm": {
"type": "boolean"
},
"createDossier": {
"type": "boolean"
},
"hideDefaultBookingDossier": {
"type": "boolean"
},
"createBetween": {
"type": "boolean"
},
"createBetweenTimegab": {
"type": "integer",
"format": "int32"
},
"updateIoserver": {
"type": "boolean"
},
"updateIome": {
"type": "boolean"
},
"updateIodevice": {
"type": "boolean"
},
"updateMoves": {
"type": "boolean"
},
"updateOnsAgenda": {
"type": "boolean"
},
"updateOnsVandaag": {
"type": "boolean"
},
"deleteIoserver": {
"type": "boolean"
},
"deleteIome": {
"type": "boolean"
},
"deleteIodevice": {
"type": "boolean"
},
"deleteMoves": {
"type": "boolean"
},
"deleteOnsAgenda": {
"type": "boolean"
},
"deleteOnsVandaag": {
"type": "boolean"
}
},
"description": "Contains the weeksheet profile policy",
"example": {
"id": 1,
"objectId": 1,
"type": 1,
"createPerm": true,
"createDossier": true,
"hideDefaultBookingDossier": true,
"createBetween": true,
"createBetweenTimegab": 1,
"updateIoserver": true,
"updateIome": true,
"updateIodevice": true,
"updateMoves": true,
"updateOnsAgenda": true,
"updateOnsVandaag": true,
"deleteIoserver": true,
"deleteIome": true,
"deleteIodevice": true,
"deleteMoves": true,
"deleteOnsAgenda": true,
"deleteOnsVandaag": true
}
},
"list.EmployeeList": {
"type": "object",
"properties": {
"employees": {
"type": "array",
"items": {
"$ref": "#/definitions/Employee"
},
"xml": {
"name": "employee"
}
}
},
"description": "EmployeeList model (no description)",
"example": {
"employees": [
{
"id": 1,
"firstName": "Mike",
"dateOfBirth": "2012-08-02",
"birthName": "Wazowski"
}
]
},
"xml": {
"name": "employees"
}
},
"evs.ResponseMessage": {
"required": [
"uuid"
],
"type": "object",
"properties": {
"uuid": {
"type": "string",
"description": "UUID identifying this Evs response across applications",
"x-cupido-id": true
},
"originalMessageTag": {
"type": "string",
"description": "link to the orignal message where this response belongs to"
},
"status": {
"type": "string",
"description": "possible values:\nACKED: when the hl7 message was received correctly by the external EVS provider\nNACKED: when the hl7 was denied by the external EVS provider"
},
"externalMessage": {
"type": "string",
"description": "The textual message from the external EVS provider.\nIn case of status NACKED, this will given an indication of the reason why."
}
},
"description": "ResponseMessage model (no description)",
"example": {
"uuid": "Dummy",
"originalMessageTag": "OriginalDummy",
"status": "ACKED",
"externalMessage": "ok"
},
"xml": {
"name": "responseMessage"
}
},
"evs.EvsAbility": {
"type": "object",
"allOf": [
{
"$ref": "#/definitions/Ability"
}
],
"properties": {
"label": {
"type": "string"
},
"redirectUrl": {
"type": "string"
}
},
"description": "EvsAbility model (no description)",
"example": {
"enabled": true,
"possible": false,
"message": "This client is not yet in the Evs. If you continue the client will be synchronized.",
"label": "Prescribe",
"redirectUrl": "/view/client/42/prescribe"
}
},
"Ability": {
"type": "object",
"properties": {
"enabled": {
"type": "boolean"
},
"possible": {
"type": "boolean"
},
"message": {
"type": "string"
}
},
"description": "Ability model (no description)",
"example": {
"enabled": true,
"possible": false,
"message": "message"
}
},
"expense.list.ExpenseTypeList": {
"type": "object",
"properties": {
"expenseTypes": {
"type": "array",
"items": {
"$ref": "#/definitions/expense.ExpenseType"
},
"xml": {
"name": "expenseType"
}
}
},
"description": "ExpenseTypeList model (no description)",
"example": {
"expenseTypes": [
{
"id": 1,
"name": "Kilometers",
"unit": "KM",
"inputType": "Value",
"format": "Float",
"icon": "Walk",
"exportCode": "KMP",
"exportCodeGreaterThanTen": "KMD",
"compensationInCents": 777,
"compensationInCentsGreaterThanTen": 888,
"removed": true,
"travelCalculationEnabled": true,
"beginDate": "1973-12-20T17:00:00.000+01:00",
"endDate": "2015-12-20T17:00:00.000+01:00"
}
]
},
"xml": {
"name": "expenseTypes"
}
},
"expense.ExpenseType": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int64",
"x-cupido-id": true
},
"name": {
"type": "string",
"description": "The name of this expenseType"
},
"unit": {
"type": "string",
"description": "The unit in which this expensetype is calculated (km or days)"
},
"inputType": {
"type": "string",
"description": "The type of input used to input expenses made with this unit;\nan input field in case of kilometers or a checkbox in case of days"
},
"format": {
"type": "string",
"description": "the format of the value in which an expense is stored in the database:\n0 for decimal, 1 for float"
},
"icon": {
"type": "string",
"description": "The path to the icon used for this expensetype."
},
"exportCode": {
"type": "string",
"description": "The exportcode for this expenseType"
},
"exportCodeGreaterThanTen": {
"type": "string",
"description": "The exportcode for this expenseType used in case there are more than 10km a day"
},
"compensationInCents": {
"type": "integer",
"description": "The compensation per km for this expensetype in Eurocents.\nUnless the EMIS export is used, the compensation in cents fields are for future use and have no effect",
"format": "int64"
},
"compensationInCentsGreaterThanTen": {
"type": "integer",
"description": "The compensation per km for this expensetype in Eurocents used in case there are more than 10km a day.\nUnless the EMIS export is used, the compensation in cents fields are for future use and have no effect",
"format": "int64"
},
"removed": {
"type": "boolean",
"description": "A field denoting whether or not this expenseType has been removed"
},
"travelCalculationEnabled": {
"type": "boolean",
"description": "A field denoting whether or not travel distances should be calculated automatically"
},
"beginDate": {
"type": "string",
"description": "The begindate for this expenseType",
"format": "date-time"
},
"endDate": {
"type": "string",
"description": "The enddate for this expenseType",
"format": "date-time"
},
"alternativeToTravelCalc": {
"type": "boolean"
}
},
"description": "ExpenseType domain model used by Cupido system.\nAn Expensetype is a type of expense for which an employee may be compensated.",
"example": {
"id": 1,
"name": "Kilometers",
"unit": "KM",
"inputType": "Value",
"format": "Float",
"icon": "Walk",
"exportCode": "KMP",
"exportCodeGreaterThanTen": "KMD",
"compensationInCents": 777,
"compensationInCentsGreaterThanTen": 888,
"removed": true,
"travelCalculationEnabled": true,
"beginDate": "1973-12-20T17:00:00.000+01:00",
"endDate": "2015-12-20T17:00:00.000+01:00",
"alternativeToTravelCalc": true
},
"xml": {
"name": "expenseType"
}
},
"expense.Expense": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int64",
"x-cupido-id": true
},
"expenseDate": {
"type": "string",
"description": "The date on which the expense was made (or booked)",
"format": "date"
},
"verifyDate": {
"type": "string",
"description": "The date on which the expense was verified (through an approval process)",
"format": "date"
},
"expenseTypeObjectId": {
"type": "integer",
"description": "Reference to the expense type that underlies the expense. This id is guaranteed not to change within an customer\nenvironment. There is no API object available.",
"format": "int64"
},
"employeeObjectId": {
"type": "integer",
"description": "Id of the employee to which the expense belongs.",
"format": "int64"
},
"amount": {
"type": "number",
"description": "The expense amount. This can kilometers, hours, or money.\n\nHOME\nOFFICE\n
"
}
},
"description": "An expense is a value of some kind (determined) by its type, that an employee will be compensated for (usually via\nher payroll).\n\n
",
"format": "int32"
}
},
"description": "Referral model (no description)",
"example": {
"id": 1,
"clientId": 2,
"documentId": 1,
"date": "2017-01-01",
"referrerType": "01",
"referrerCategory": "02",
"agbCode": "12345678",
"referrer": "naam",
"specialism": "0100",
"institution": 2
},
"xml": {
"name": "referral"
}
},
"list.ReferralList": {
"type": "object",
"properties": {
"referrals": {
"type": "array",
"items": {
"$ref": "#/definitions/Referral"
}
}
},
"description": "ReferralList model (no description)",
"example": {
"referrals": [
{
"id": 1,
"clientId": 2,
"documentId": 1,
"date": "2017-01-01",
"referrerType": "01",
"referrerCategory": "02",
"agbCode": "12345678",
"referrer": "naam",
"specialism": "0100",
"institution": 2
}
]
}
},
"list.ReferrerCategoryList": {
"type": "object",
"properties": {
"referrerCategories": {
"type": "array",
"items": {
"$ref": "#/definitions/ReferrerCategory"
},
"xml": {
"name": "referrerCategory"
}
}
},
"description": "ReferrerCategoryList model (no description)",
"example": {
"referrerCategories": [
{
"code": "01",
"description": "GGZ",
"requiresDocument": true,
"referrerTypes": [
{
"code": "01",
"description": "Verwezen patiënt vanuit de eerste lijn"
},
{
"code": "02",
"description": "Verwezen patiënt vanuit een (andere) GGZ-instelling, instelling MSZ of GGZ-praktijk"
},
{
"code": "03",
"description": "Verwezen patiënt vanuit de crisiszorg of spoedeisende hulp"
},
{
"code": "04",
"description": "Eigen patiënt"
},
{
"code": "05",
"description": "Verwezen patiënt, maar verwijzer heeft geen AGB-code"
},
{
"code": "06",
"description": "Zelfverwijzer"
},
{
"code": "07",
"description": "Bemoeizorg"
},
{
"code": "08",
"description": "Verwijzing langdurige GGZ"
}
]
},
{
"code": "02",
"description": "Jeugd-GGZ",
"requiresDocument": true,
"referrerTypes": [
{
"code": "01",
"description": "Gemeente"
},
{
"code": "02",
"description": "Huisarts"
},
{
"code": "03",
"description": "Jeugdarts"
},
{
"code": "04",
"description": "Gecertificeerde instelling"
},
{
"code": "05",
"description": "Medisch specialist"
},
{
"code": "06",
"description": "Zelfverwijzer / geen verwijzer"
},
{
"code": "07",
"description": "Onbekend"
},
{
"code": "08",
"description": "Rechter, Raad voor de Kinderbescherming of Officier van Justitie"
}
]
},
{
"code": "03",
"description": "DBC-OZP",
"requiresDocument": true,
"referrerTypes": [
{
"code": "01",
"description": "Zelfverwijzer SEH"
},
{
"code": "02",
"description": "Zelfverwijzer niet-SEH"
},
{
"code": "03",
"description": "Verwezen patiënt SEH"
},
{
"code": "04",
"description": "Verwezen patiënt niet-SEH vanuit eerstelijn"
},
{
"code": "05",
"description": "Verwezen patiënt niet-SEH vanuit ander specialisme binnen dezelfde instelling"
},
{
"code": "06",
"description": "Verwezen patiënt niet-SEH vanuit andere instelling"
},
{
"code": "07",
"description": "Eigen patiënt"
},
{
"code": "08",
"description": "Verwezen patiënt niet-SEH vanuit eerstelijn, maar verwijzer heeft geen AGB-code"
},
{
"code": "09",
"description": "Patiënt welke gebruik maakt van directe toegang tot paramedische hulp"
}
]
},
{
"code": "04",
"description": "ZVW-GZSP",
"requiresDocument": false,
"referrerTypes": []
},
{
"code": "05",
"description": "ELV",
"requiresDocument": false,
"referrerTypes": []
},
{
"code": "06",
"description": "GGZ-Eigen-Patient",
"requiresDocument": false,
"referrerTypes": [
{
"code": "04",
"description": "Eigen patiënt"
}
]
}
]
},
"xml": {
"name": "referrerCategories"
}
},
"ReferrerCategory": {
"type": "object",
"properties": {
"code": {
"type": "string",
"x-cupido-id": true
},
"description": {
"type": "string"
},
"requiresDocument": {
"type": "boolean",
"default": false
},
"referrerTypes": {
"type": "array",
"items": {
"$ref": "#/definitions/ReferrerType"
},
"xml": {
"wrapped": true
}
}
},
"description": "ReferrerCategory model (no description)",
"example": {
"code": "01",
"description": "GGZ",
"requiresDocument": true,
"referrerTypes": [
{
"code": "01",
"description": "Verwezen patiënt vanuit de eerste lijn"
},
{
"code": "02",
"description": "Verwezen patiënt vanuit een (andere) GGZ-instelling, instelling MSZ of GGZ-praktijk"
},
{
"code": "03",
"description": "Verwezen patiënt vanuit de crisiszorg of spoedeisende hulp"
},
{
"code": "04",
"description": "Eigen patiënt"
},
{
"code": "05",
"description": "Verwezen patiënt, maar verwijzer heeft geen AGB-code"
},
{
"code": "06",
"description": "Zelfverwijzer"
},
{
"code": "07",
"description": "Bemoeizorg"
},
{
"code": "08",
"description": "Verwijzing langdurige GGZ"
}
]
},
"xml": {
"name": "referrerCategory"
}
},
"ReferrerType": {
"type": "object",
"properties": {
"code": {
"type": "string",
"x-cupido-id": true
},
"description": {
"type": "string"
}
},
"description": "ReferrerType model (no description)",
"example": {
"code": "01",
"description": "Verwezen patiënt vanuit de eerste lijn"
},
"xml": {
"name": "referrerType"
}
},
"status.ApplicationStatus": {
"type": "object",
"properties": {
"anonymizeType": {
"$ref": "#/definitions/status.AnonymizeType",
"description": "the {@link com.nedap.healthcare.domain.status.AnonymizeType} to this application status"
}
},
"description": "ApplicationStatus model (no description)",
"example": {
"anonymizeType": "fully_anonymized"
},
"xml": {
"name": "applicationStatus"
}
},
"status.AnonymizeType": {
"type": "string",
"description": "the {@link com.nedap.healthcare.domain.status.AnonymizeType} to this application status",
"example": "not_anonymized"
},
"survey.SurveyResult": {
"type": "object",
"allOf": [
{
"$ref": "#/definitions/AuditedBase"
}
],
"properties": {
"id": {
"type": "integer",
"format": "int64",
"x-cupido-id": true
},
"surveyObjectId": {
"type": "integer",
"format": "int64"
},
"clientObjectId": {
"type": "integer",
"format": "int64"
},
"employeeObjectId": {
"type": "integer",
"format": "int64"
},
"status": {
"$ref": "#/definitions/survey.SurveyResultStatus"
},
"version": {
"type": "integer",
"format": "int64"
},
"title": {
"type": "string"
},
"linkedToActiveCarePlan": {
"type": "boolean"
},
"isAnyCarePlanUsingThisResult": {
"type": "boolean"
},
"duplicateSurveyResultAbility": {
"$ref": "#/definitions/Ability"
},
"editSurveyResultAbility": {
"$ref": "#/definitions/Ability"
},
"statusBumpSurveyResultAbility": {
"$ref": "#/definitions/Ability"
},
"viewSurveyResultAbility": {
"$ref": "#/definitions/Ability"
},
"answers": {
"type": "array",
"items": {
"$ref": "#/definitions/survey.Answer"
},
"xml": {
"wrapped": true
}
},
"groupAnswers": {
"type": "array",
"items": {
"$ref": "#/definitions/survey.GroupAnswer"
},
"xml": {
"wrapped": true
}
},
"completedAt": {
"type": "string",
"format": "date-time"
}
},
"description": "SurveyResult model (no description)",
"example": {
"id": 111,
"surveyObjectId": 555,
"clientObjectId": 333,
"employeeObjectId": 444,
"version": 1,
"linkedToActiveCarePlan": true,
"isAnyCarePlanUsingThisResult": true,
"createdAt": "2012-08-02T13:48:46.836+02:00",
"updatedAt": "2012-08-02T13:48:46.836+02:00",
"createdBy": "user",
"completedAt": "2012-08-02T13:48:46.836+02:00",
"status": "Draft",
"title": "test",
"duplicateSurveyResultAbility": {
"enabled": true,
"possible": true
},
"editSurveyResultAbility": {
"enabled": true,
"possible": true
},
"statusBumpSurveyResultAbility": {
"enabled": true,
"possible": true
},
"viewSurveyResultAbility": {
"enabled": true,
"possible": true
},
"answers": [],
"groupAnswers": []
},
"xml": {
"name": "surveyResult"
}
},
"survey.SurveyResultStatus": {
"type": "string",
"description": "SurveyResultStatus model (no description)",
"example": "New"
},
"survey.GroupAnswer": {
"type": "object",
"allOf": [
{
"$ref": "#/definitions/AuditedBase"
}
],
"properties": {
"id": {
"type": "integer",
"format": "int64",
"x-cupido-id": true
},
"groupId": {
"type": "integer",
"format": "int64"
},
"surveyResultId": {
"type": "integer",
"format": "int64"
},
"score": {
"type": "integer",
"format": "int32"
},
"importantForCareplan": {
"type": "boolean"
}
},
"description": "GroupAnswer model (no description)",
"example": {
"id": 1,
"surveyResultId": 1,
"groupId": 1,
"score": 7,
"createdAt": "2012-08-02T13:48:46.836+02:00",
"updatedAt": "2012-08-02T13:48:46.836+02:00",
"createdBy": "user",
"importantForCareplan": true
},
"xml": {
"name": "groupAnswer"
}
},
"survey.list.SurveyResultList": {
"type": "object",
"properties": {
"surveyResults": {
"type": "array",
"items": {
"$ref": "#/definitions/survey.SurveyResult"
},
"xml": {
"name": "surveyResult"
}
}
},
"description": "SurveyResultList model (no description)",
"example": {
"surveyResults": [
{
"id": 111,
"surveyObjectId": 555,
"clientObjectId": 333,
"employeeObjectId": 444,
"version": 1,
"completedAt": "2012-08-02T11:48:46.836+02:00",
"status": "New",
"linkedToActiveCarePlan": true,
"isAnyCarePlanUsingThisResult": true
}
]
},
"xml": {
"name": "surveyResults"
}
},
"survey.list.AnswerDefinitionGroupList": {
"type": "object",
"properties": {
"answerDefinitionGroups": {
"type": "array",
"items": {
"$ref": "#/definitions/survey.AnswerDefinitionGroup"
},
"xml": {
"name": "answerDefinitionGroup"
}
}
},
"description": "AnswerDefinitionGroupList model (no description)",
"example": {
"answerDefinitionGroups": [
{
"id": 11,
"description": "ADG test",
"readOnly": false
}
]
},
"xml": {
"name": "answerDefinitionGroups"
}
},
"survey.list.SurveyList": {
"type": "object",
"properties": {
"surveys": {
"type": "array",
"items": {
"$ref": "#/definitions/survey.Survey"
},
"xml": {
"name": "survey"
}
}
},
"description": "SurveyList model (no description)",
"example": {
"surveys": [
{
"createdAt": "2012-08-02T11:48:46.836+02:00",
"createdBy": "jan-willem mooij",
"id": 11,
"description": "vragenlijst omschr",
"title": "intake",
"active": true,
"useWorkflow": true,
"useStrictEditAuthorization": true,
"copyingAllowed": true,
"signalNonClosed": true,
"signalTitle": "let op niet afgehandeld"
}
]
},
"xml": {
"name": "surveys"
}
},
"survey.Survey": {
"type": "object",
"allOf": [
{
"$ref": "#/definitions/AuditedBase"
}
],
"properties": {
"id": {
"type": "integer",
"format": "int64",
"x-cupido-id": true
},
"description": {
"type": "string"
},
"title": {
"type": "string"
},
"active": {
"type": "boolean"
},
"useWorkflow": {
"type": "boolean"
},
"useStrictEditAuthorization": {
"type": "boolean"
},
"copyingAllowed": {
"type": "boolean"
},
"signalNonClosed": {
"type": "boolean",
"description": "Setting no longer provided by Ons Administratie 2016.5.0+\nInstances of this questionaire need to be signaled on the dashboard when incomplete\n",
"x-deprecated": true
},
"signalTitle": {
"type": "string",
"description": "Setting no longer provided by Ons Administratie 2016.5.0+\nTitle of the dashboard signal\n",
"x-deprecated": true
},
"daysToExpiration": {
"type": "integer",
"description": "Setting no longer provided by Ons Administratie 2016.5.0+\nNumber of days the survey is valid\n",
"format": "int32",
"x-deprecated": true
},
"classificationId": {
"type": "string"
},
"surveyResults": {
"type": "array",
"items": {
"$ref": "#/definitions/survey.SurveyResult"
},
"xml": {
"wrapped": true
}
},
"categories": {
"type": "array",
"items": {
"$ref": "#/definitions/survey.Category"
},
"xml": {
"wrapped": true
}
},
"allowedToCreateExpertiseProfiles": {
"type": "array",
"items": {
"$ref": "#/definitions/ExpertiseProfile"
},
"xml": {
"wrapped": true
}
},
"allowedToEditExpertiseProfiles": {
"type": "array",
"items": {
"$ref": "#/definitions/ExpertiseProfile"
},
"xml": {
"wrapped": true
}
},
"allowedToViewExpertiseProfiles": {
"type": "array",
"items": {
"$ref": "#/definitions/ExpertiseProfile"
},
"xml": {
"wrapped": true
}
},
"expertiseProfilesAllowedToCreateSurvey": {
"type": "array",
"items": {
"xml": {
"name": "expertiseProfile"
},
"$ref": "#/definitions/ExpertiseProfile"
},
"description": "Use allowedToCreateExpertiseProfiles instead",
"xml": {
"wrapped": true
},
"x-deprecated": true
},
"expertiseProfilesAllowedToEditSurvey": {
"type": "array",
"items": {
"xml": {
"name": "expertiseProfile"
},
"$ref": "#/definitions/ExpertiseProfile"
},
"description": "Use allowedToEditExpertiseProfiles instead",
"xml": {
"wrapped": true
},
"x-deprecated": true
},
"expertiseProfilesAllowedToViewSurvey": {
"type": "array",
"items": {
"xml": {
"name": "expertiseProfile"
},
"$ref": "#/definitions/ExpertiseProfile"
},
"description": "Use allowedToViewExpertiseProfiles instead",
"xml": {
"wrapped": true
},
"x-deprecated": true
}
},
"description": "Survey model (no description)",
"example": {
"updatedAt": "2012-08-02T13:48:46.836+02:00",
"createdAt": "2012-08-02T13:48:46.836+02:00",
"createdBy": "jan-willem mooij",
"id": 11,
"description": "vragenlijst omschr",
"title": "intake",
"active": true,
"useWorkflow": true,
"useStrictEditAuthorization": true,
"copyingAllowed": true,
"signalNonClosed": true,
"signalTitle": "let op niet afgehandeld",
"daysToExpiration": 30,
"classificationId": "omaha",
"surveyResults": [
{
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"surveyObjectId": 1,
"clientObjectId": 1,
"employeeObjectId": 1,
"status": "New",
"version": 1,
"title": "example",
"linkedToActiveCarePlan": true,
"isAnyCarePlanUsingThisResult": true,
"duplicateSurveyResultAbility": {
"enabled": true,
"possible": true,
"message": "example"
},
"editSurveyResultAbility": {
"enabled": true,
"possible": true,
"message": "example"
},
"statusBumpSurveyResultAbility": {
"enabled": true,
"possible": true,
"message": "example"
},
"viewSurveyResultAbility": {
"enabled": true,
"possible": true,
"message": "example"
},
"answers": [
{
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"surveyResultObjectId": 1,
"questionObjectId": 1,
"answerDefinitionObjectId": 1,
"text": "example",
"important": true,
"booleanAnswer": true
},
{
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"surveyResultObjectId": 1,
"questionObjectId": 1,
"answerDefinitionObjectId": 1,
"text": "example",
"important": true,
"booleanAnswer": true
}
],
"groupAnswers": [
{
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"groupId": 1,
"surveyResultId": 1,
"score": 1,
"importantForCareplan": true
},
{
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"groupId": 1,
"surveyResultId": 1,
"score": 1,
"importantForCareplan": true
}
],
"completedAt": "2014-12-29T00:00:00.000+01:00"
},
{
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"surveyObjectId": 1,
"clientObjectId": 1,
"employeeObjectId": 1,
"status": "New",
"version": 1,
"title": "example",
"linkedToActiveCarePlan": true,
"isAnyCarePlanUsingThisResult": true,
"duplicateSurveyResultAbility": {
"enabled": true,
"possible": true,
"message": "example"
},
"editSurveyResultAbility": {
"enabled": true,
"possible": true,
"message": "example"
},
"statusBumpSurveyResultAbility": {
"enabled": true,
"possible": true,
"message": "example"
},
"viewSurveyResultAbility": {
"enabled": true,
"possible": true,
"message": "example"
},
"answers": [
{
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"surveyResultObjectId": 1,
"questionObjectId": 1,
"answerDefinitionObjectId": 1,
"text": "example",
"important": true,
"booleanAnswer": true
},
{
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"surveyResultObjectId": 1,
"questionObjectId": 1,
"answerDefinitionObjectId": 1,
"text": "example",
"important": true,
"booleanAnswer": true
}
],
"groupAnswers": [
{
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"groupId": 1,
"surveyResultId": 1,
"score": 1,
"importantForCareplan": true
},
{
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"groupId": 1,
"surveyResultId": 1,
"score": 1,
"importantForCareplan": true
}
],
"completedAt": "2014-12-29T00:00:00.000+01:00"
}
],
"categories": [],
"allowedToCreateExpertiseProfiles": [
{
"id": 5,
"description": "Helpenden",
"visible": true,
"beginDate": "2015-01-01T12:00:00.000+01:00",
"endDate": "2020-01-01T12:00:00.000+01:00",
"allowDossierActions": true,
"allowDossierConfidential": false
}
],
"allowedToEditExpertiseProfiles": [
{
"id": 5,
"description": "Helpenden",
"visible": true,
"beginDate": "2015-01-01T12:00:00.000+01:00",
"endDate": "2020-01-01T12:00:00.000+01:00",
"allowDossierActions": true,
"allowDossierConfidential": false
}
],
"allowedToViewExpertiseProfiles": [
{
"id": 5,
"description": "Helpenden",
"visible": true,
"beginDate": "2015-01-01T12:00:00.000+01:00",
"endDate": "2020-01-01T12:00:00.000+01:00",
"allowDossierActions": true,
"allowDossierConfidential": false
}
],
"expertiseProfilesAllowedToCreateSurvey": [
{
"id": 5,
"description": "Helpenden",
"visible": true,
"beginDate": "2015-01-01T12:00:00.000+01:00",
"endDate": "2020-01-01T12:00:00.000+01:00",
"allowDossierActions": true,
"allowDossierConfidential": false
}
],
"expertiseProfilesAllowedToEditSurvey": [
{
"id": 5,
"description": "Helpenden",
"visible": true,
"beginDate": "2015-01-01T12:00:00.000+01:00",
"endDate": "2020-01-01T12:00:00.000+01:00",
"allowDossierActions": true,
"allowDossierConfidential": false
}
],
"expertiseProfilesAllowedToViewSurvey": [
{
"id": 5,
"description": "Helpenden",
"visible": true,
"beginDate": "2015-01-01T12:00:00.000+01:00",
"endDate": "2020-01-01T12:00:00.000+01:00",
"allowDossierActions": true,
"allowDossierConfidential": false
}
]
},
"xml": {
"name": "survey"
}
},
"survey.Category": {
"type": "object",
"allOf": [
{
"$ref": "#/definitions/AuditedBase"
}
],
"properties": {
"id": {
"type": "integer",
"format": "int64",
"x-cupido-id": true
},
"title": {
"type": "string"
},
"sequenceNumber": {
"type": "integer",
"format": "int32"
},
"classificationId": {
"type": "string"
},
"groups": {
"type": "array",
"items": {
"$ref": "#/definitions/survey.Group"
},
"xml": {
"wrapped": true
}
},
"surveyId": {
"type": "integer",
"format": "int32"
}
},
"description": "Category model (no description)",
"example": {
"updatedAt": "2012-08-02T13:48:46.836+02:00",
"createdAt": "2012-08-02T13:48:46.836+02:00",
"createdBy": "user",
"id": 1,
"title": "cat1",
"sequenceNumber": 1,
"classificationId": "classification.domain.health",
"groups": [],
"surveyId": 1
},
"xml": {
"name": "category"
}
},
"survey.Group": {
"type": "object",
"allOf": [
{
"$ref": "#/definitions/AuditedBase"
}
],
"properties": {
"id": {
"type": "integer",
"format": "int64",
"x-cupido-id": true
},
"description": {
"type": "string"
},
"sequenceNumber": {
"type": "integer",
"format": "int32"
},
"maxScore": {
"type": "integer",
"format": "int32"
},
"thresholdScore": {
"type": "integer",
"format": "int32"
},
"questions": {
"type": "array",
"items": {
"$ref": "#/definitions/survey.Question"
},
"xml": {
"wrapped": true
}
},
"demandDefinitionId": {
"type": "integer",
"format": "int64"
},
"classificationId": {
"type": "string"
}
},
"description": "Group model (no description)",
"example": {
"updatedAt": "2012-08-02T13:48:46.836+02:00",
"createdAt": "2012-08-02T13:48:46.836+02:00",
"createdBy": "user",
"id": 1,
"description": "beschrijving",
"sequenceNumber": 1,
"maxScore": 10,
"thresholdScore": 5,
"questions": [],
"demandDefinitionId": 1,
"classificationId": "classification.problem.health.nutrition"
},
"xml": {
"name": "group"
}
},
"transport.ClientTransport": {
"required": [
"clientId",
"date",
"individualTransport",
"hasWeelchairAssignment",
"wlz",
"hourTypes"
],
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int64",
"x-cupido-id": true
},
"clientId": {
"type": "integer",
"description": "Id of {@link com.nedap.healthcare.domain.Client} for which these details are valid",
"format": "int64"
},
"date": {
"type": "string",
"description": "Date for which the transport details for the given client is retrieved",
"format": "date"
},
"individualTransport": {
"type": "boolean",
"description": "Is individual transport needed for this client at the given date",
"default": false
},
"hasWeelchairAssignment": {
"type": "boolean",
"description": "Has this client a wheelchair assigned at the given date",
"default": false
},
"wlz": {
"type": "boolean",
"description": "Receives this client WLZ care at the given date",
"default": false
},
"contractedTransport": {
"type": "boolean",
"description": "Indicates whether the client uses contracted transport",
"default": false
},
"hourTypes": {
"uniqueItems": true,
"type": "array",
"items": {
"$ref": "#/definitions/HourType"
},
"description": "Set of all {@link HourType} instances that can be used for this client",
"xml": {
"wrapped": true
}
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"updatedAt": {
"type": "string",
"format": "date-time"
}
},
"description": "ClientTransport the transport details for a client, financed in the WLZ, on a certain date",
"example": {
"id": 1,
"clientId": 3,
"date": "2018-01-01",
"individualTransport": false,
"hasWeelchairAssignment": false,
"wlz": false,
"contractedTransport": true,
"hourTypes": [
{
"id": 1,
"description": "Vervoer dagbesteding ghz - cat 1",
"identificationNo": "881",
"activityGroupObjectId": 1,
"active": true,
"payrolling": true,
"direct": true,
"systemDefined": true,
"travelTime": true,
"activityType": "Payrolling",
"groupCare": true,
"travelCalculationDisabled": false
},
{
"id": 2,
"description": "Vervoer dagbesteding ghz - cat 2",
"identificationNo": "882",
"activityGroupObjectId": 1,
"active": true,
"payrolling": true,
"direct": true,
"systemDefined": true,
"travelTime": true,
"activityType": "Payrolling",
"groupCare": true,
"travelCalculationDisabled": false
}
],
"createdAt": "2018-01-01T01:02:03.000+01:00",
"updatedAt": "2018-01-01T01:02:03.000+01:00"
},
"xml": {
"name": "clientTransport"
}
},
"TreatmentLocation": {
"required": [
"id",
"isInstitution",
"locationObjectId"
],
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int64",
"x-cupido-id": true
},
"isInstitution": {
"type": "boolean"
},
"locationObjectId": {
"type": "integer",
"format": "int64"
}
},
"description": "TreatmentLocation model (no description)",
"example": {
"id": 1,
"isInstitution": true,
"locationObjectId": 1
},
"xml": {
"name": "treatmentLocation"
}
},
"User": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int64",
"x-cupido-id": true
},
"uuid": {
"type": "string"
},
"userName": {
"type": "string"
},
"activeSession": {
"type": "boolean"
},
"employeeObjectId": {
"type": "integer",
"format": "int64"
},
"employeeName": {
"type": "string"
},
"teamObjectId": {
"type": "integer",
"description": "read only, corresponds with the team.id of the active team for the employee related to this user",
"format": "int64"
},
"teamName": {
"type": "string"
},
"mobilePhone": {
"type": "string",
"description": "read only, corresponds with employee.mobilePhoneNumber"
},
"mobilePhoneNumber": {
"type": "string",
"description": "read only, corresponds with employee.authenticationMobilePhone"
},
"passwordChange": {
"type": "boolean"
},
"emailAddress": {
"type": "string",
"description": "Deprecated since: 14-03-2019",
"x-deprecated": true
},
"administrationEnabled": {
"type": "boolean",
"description": "Deprecated since: 14-03-2019 - Replaced by the `AdministrationLogin` right. Determines if a user can log into Administration.",
"x-deprecated": true
},
"portalEnabled": {
"type": "boolean",
"description": "Deprecated since: 14-03-2019 - Replaced by the `EmployeePortalLogin` right. Determines if a user can log into the Nurse Portal.",
"x-deprecated": true
},
"accessTestEnvironmentEnabled": {
"type": "boolean",
"description": "Deprecated since: 14-03-2019 - Replaced by the `AdministrationTestLogin` right. Determines if a user can log into development / staging environments",
"x-deprecated": true
},
"shieldEnabled": {
"type": "boolean",
"description": "Deprecated since: 11-11-2019 - Shield is now always enabled.",
"x-deprecated": true
},
"ssoEnabled": {
"type": "boolean"
},
"ssoId": {
"type": "string"
},
"ssoProviderId": {
"type": "string"
},
"forceSmsAuthentication": {
"type": "boolean"
},
"roles": {
"uniqueItems": true,
"type": "array",
"items": {
"$ref": "#/definitions/Role"
},
"description": "Deprecated since: 14-03-2019\nDo not use. Shield will not support it. See https://github.com/nedap/shield/issues/3207#issuecomment-635947346",
"xml": {
"wrapped": true
},
"x-deprecated": true
},
"accessrights": {
"uniqueItems": true,
"type": "array",
"items": {
"$ref": "#/definitions/AccessRight"
},
"description": "Deprecated since: 08-08-2019 - Replaced by checking clearances at Shield",
"xml": {
"name": "accessrights",
"wrapped": true
},
"x-deprecated": true
},
"authorizationProfiles": {
"type": "array",
"items": {
"$ref": "#/definitions/authorization.AuthorizationProfile"
},
"description": "Deprecated since: 08-08-2019",
"xml": {
"wrapped": true
},
"x-deprecated": true
},
"allLocationsViewable": {
"type": "boolean",
"description": "Deprecated since: 14-03-2019\nDo not use. Shield will not support it. See https://github.com/nedap/shield/issues/3207#issuecomment-635947346",
"x-deprecated": true
},
"limitLocationView": {
"type": "boolean",
"description": "Deprecated since: 14-03-2019\nDo not use. Shield will not support it. See https://github.com/nedap/shield/issues/3207#issuecomment-635947346",
"x-deprecated": true
},
"teamAccess": {
"type": "string",
"description": "Deprecated since: 14-03-2019\nDo not use. Shield will not support it. See https://github.com/nedap/shield/issues/3207#issuecomment-635947346",
"x-deprecated": true
},
"locationAccess": {
"type": "string",
"description": "Deprecated since: 14-03-2019\nDo not use. Shield will not support it. See https://github.com/nedap/shield/issues/3207#issuecomment-635947346",
"x-deprecated": true
},
"contractRequiredAtLogin": {
"type": "boolean",
"description": "Indicates if the user should have an active contract during login (if this functionality is enabled)",
"default": false
},
"dashboardProfileObjectId": {
"type": "integer",
"description": "Object id of the dashboard profile to use for this User. If not set when creating a user, the default dashboard profile is used.",
"format": "int64"
}
},
"description": "User model (no description)",
"example": {
"employeeObjectId": 334,
"userName": "mike.wazowski",
"id": 348,
"employeeName": "Dhr. Mike Wazowski",
"activeSession": true,
"teamObjectId": 209,
"teamName": "Team wijkzorg",
"mobilePhone": "0655130353",
"mobilePhoneNumber": "0653238787",
"passwordChange": false,
"emailAddress": "mike.wazowski@nedap.com",
"teamAccess": "All",
"locationAccess": "All",
"administrationEnabled": true,
"portalEnabled": true,
"shieldEnabled": true,
"ssoEnabled": true,
"ssoId": "user@domain.com",
"ssoProviderId": "12345",
"forceSmsAuthentication": false,
"accessTestEnvironmentEnabled": true,
"contractRequiredAtLogin": true,
"uuid": "129347091234",
"allLocationsViewable": true,
"limitLocationView": false,
"roles": [],
"accessrights": [],
"authorizationProfiles": [],
"dashboardProfileObjectId": 1
},
"xml": {
"name": "user"
}
},
"Role": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int32",
"x-cupido-id": true
},
"name": {
"type": "string"
}
},
"description": "Role model (no description)",
"example": {
"id": 24,
"name": "iO Me gebruiker"
},
"xml": {
"name": "role"
}
},
"authorization.AuthorizationProfile": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int64",
"x-cupido-id": true,
"x-deprecated": true
},
"active": {
"type": "boolean",
"description": "Deprecated since: 08-08-2019 - Indicates if this authorization profile is active",
"x-deprecated": true
},
"name": {
"type": "string",
"description": "Deprecated since: 08-08-2019 - Authorization profile name. Has a maximum length of 128 characters",
"x-deprecated": true
},
"description": {
"type": "string",
"description": "Deprecated since: 08-08-2019 - Authorization profile description. Has a maximum length of 255 characters",
"x-deprecated": true
},
"authorizations": {
"type": "array",
"items": {
"$ref": "#/definitions/authorization.Authorization"
},
"description": "Deprecated since: 08-08-2019 - The authorizations for this authorization profile",
"xml": {
"wrapped": true
},
"x-deprecated": true
},
"immutable": {
"type": "boolean",
"description": "Deprecated since: 08-08-2019 - Indicates if this authorization profile can be modified",
"x-deprecated": true
}
},
"description": "AuthorizationProfile model (no description)",
"example": {
"id": 1,
"active": true,
"immutable": true,
"name": "Zorgplan wijzigen",
"description": "geenbeschrijving",
"authorizations": [
{
"id": "AuthorizationProfileEdit",
"application": "Io",
"name": "Rollen bewerken",
"accessrights": [
{
"id": "AuthorizationProfileEdit",
"name": "Edit Authorization profiles in the administration menu",
"enabled": true
},
{
"id": "AuthorizationProfileAssign",
"name": "Assign authorization profiles to users in the medewerker->account-section",
"enabled": true
}
]
},
{
"id": "AuthorizationProfileAssign",
"application": "Io",
"name": "Rollen toekennen aan gebruikers",
"accessrights": [
{
"id": "AuthorizationProfileAssign",
"name": "Assign authorization profiles to users in the medewerker->account-section",
"enabled": true
}
]
}
]
},
"xml": {
"name": "authorizationProfile"
}
},
"authorization.Authorization": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Deprecated since: 08-08-2019",
"x-cupido-id": true,
"x-deprecated": true
},
"application": {
"type": "string",
"description": "Deprecated since: 08-08-2019 - The application for which this authorization is valid",
"x-deprecated": true
},
"name": {
"type": "string",
"description": "Deprecated since: 08-08-2019 - The human readable name of this authorization.",
"x-deprecated": true
},
"accessrights": {
"type": "array",
"items": {
"$ref": "#/definitions/AccessRight"
},
"description": "Deprecated since: 08-08-2019 - The set of access rights (actions) which users with this authorization can perform.",
"xml": {
"name": "accessrights",
"wrapped": true
},
"x-deprecated": true
}
},
"description": "Authorization model (no description)",
"example": {
"id": "AuthorizationProfileEdit",
"application": "Io",
"name": "Rollen bewerken",
"accessrights": [
{
"id": "AuthorizationProfileEdit",
"name": "Edit Authorization profiles in the administration menu",
"enabled": true
},
{
"id": "AuthorizationProfileAssign",
"name": "Assign authorization profiles to users in the medewerker->account-section",
"enabled": true
}
]
},
"xml": {
"name": "authorization"
}
},
"authorization.list.AuthorizationProfileList": {
"type": "object",
"properties": {
"authorizationProfiles": {
"type": "array",
"items": {
"$ref": "#/definitions/authorization.AuthorizationProfile"
}
}
},
"description": "AuthorizationProfileList model (no description)",
"example": {
"authorizationProfiles": [
{
"id": 1,
"active": true,
"name": "Zorgplan wijzigen",
"description": "geenbeschrijving",
"authorizations": [
{
"id": "AuthorizationProfileEdit",
"application": "Io",
"name": "Rollen bewerken",
"accessrights": [
{
"id": "AuthorizationProfileEdit",
"name": "Edit Authorization profiles in the administration menu",
"enabled": true
},
{
"id": "AuthorizationProfileAssign",
"name": "Assign authorization profiles to users in the medewerker->account-section",
"enabled": true
}
]
},
{
"id": "AuthorizationProfileAssign",
"application": "Io",
"name": "Rollen toekennen aan gebruikers",
"accessrights": [
{
"id": "AuthorizationProfileAssign",
"name": "Assign authorization profiles to users in the medewerker->account-section",
"enabled": true
}
]
}
],
"immutable": true
},
{
"id": 2,
"active": true,
"name": "Profiel wijzigen",
"description": "eenbeschrijving",
"authorizations": [
{
"id": "AuthorizationProfileAssign",
"application": "Io",
"name": "Rollen toekennen aan gebruikers",
"accessrights": [
{
"id": "AuthorizationProfileAssign",
"name": "Assign authorization profiles to users in the medewerker->account-section",
"enabled": true
}
]
}
],
"immutable": true
}
]
}
},
"PasswordChange": {
"type": "object",
"properties": {
"userId": {
"type": "integer",
"format": "int64"
},
"newPassword": {
"type": "string"
}
},
"description": "PasswordChange model (no description)",
"example": {
"userId": 1,
"newPassword": "newPassword"
}
},
"UserStatus": {
"type": "object",
"properties": {
"userLoginAllowed": {
"type": "boolean",
"description": "true if the user is allowed to log in"
},
"loginDescription": {
"type": "string",
"description": "describes why the user can (not) log in"
},
"type": {
"type": "string",
"description": "describes the state as enum name\n- APPLICATION_LOCK_DOWN\n- CONTRACT_REQUIRED_USER_NEEDS_NO_CONTRACT\n- CONTRACT_REQUIRED_USER_HAS_ACTIVE_CONTRACT\n- CONTRACT_REQUIRED_USER_HAS_ACTIVE_CONTRACT_IN_NEAR_FUTURE\n- CONTRACT_REQUIRED_USER_HAS_NO_ACTIVE_CONTRACT_IN_NEAR_FUTURE\n- CONTRACT_REQUIRED_USER_HAS_NO_CONTRACTS\n- CONTRACT_NOT_REQUIRED_USER_HAS_CONTRACT_WITH_NO_ENDDATE\n- CONTRACT_NOT_REQUIRED_USER_HAS_NO_CONTRACTS\n- CONTRACT_NOT_REQUIRED_USER_HAS_ACTIVE_CONTRACT\n- CONTRACT_NOT_REQUIRED_USER_HAS_NO_ACTIVE_CONTRACT"
}
},
"description": "UserStatus model (no description)",
"example": {
"userLoginAllowed": true,
"loginDescription": "User can log in",
"type": "CONTRACT_REQUIRED_USER_NEEDS_NO_CONTRACT"
}
},
"list.UserList": {
"type": "object",
"properties": {
"users": {
"type": "array",
"items": {
"$ref": "#/definitions/User"
},
"xml": {
"name": "user"
}
}
},
"description": "UserList model (no description)",
"example": {
"users": [
{
"id": 100,
"employeeObjectId": 100,
"userName": "rick.devries",
"ssoEnabled": true,
"ssoId": "user@domain.com",
"ssoProviderId": "12345",
"contractRequiredAtLogin": true
}
]
},
"xml": {
"name": "users"
}
},
"wlz.WlzZorglegitimatie": {
"required": [
"id",
"client",
"berichten"
],
"type": "object",
"properties": {
"id": {
"type": "integer",
"description": "The id for the import",
"format": "int64",
"x-cupido-id": true
},
"client": {
"type": "integer",
"description": "The client",
"format": "int64"
},
"berichten": {
"type": "array",
"items": {
"xml": {
"name": "bericht"
},
"$ref": "#/definitions/lz.Bericht"
},
"description": "A list with messages",
"xml": {
"wrapped": true
}
}
},
"description": "WlzZorglegitimatie model (no description)",
"example": {
"id": 1,
"client": 1,
"berichten": [
{
"content": "test"
}
]
},
"xml": {
"name": "wlzZorglegitimatie"
}
},
"wmo.WmoZorglegitimatie": {
"required": [
"id",
"client",
"berichten"
],
"type": "object",
"properties": {
"id": {
"type": "integer",
"description": "The id for the import",
"format": "int64",
"x-cupido-id": true
},
"client": {
"type": "integer",
"description": "The client",
"format": "int64"
},
"berichten": {
"type": "array",
"items": {
"xml": {
"name": "bericht"
},
"$ref": "#/definitions/lz.Bericht"
},
"description": "A list with messages",
"xml": {
"wrapped": true
}
}
},
"description": "WmoZorglegitimatie model (no description)",
"example": {
"id": 1,
"client": 1,
"berichten": [
{
"content": "test"
}
]
},
"xml": {
"name": "wmoZorglegitimatie"
}
},
"payroll.list.WorkHoursBalanceList": {
"type": "object",
"properties": {
"workHoursBalances": {
"type": "array",
"items": {
"$ref": "#/definitions/payroll.WorkHoursBalance"
}
}
},
"description": "WorkHoursBalanceList model (no description)",
"example": {
"workHoursBalances": [
{
"employeeId": 4,
"accountTypeId": 3,
"unverifiedBalance": 2,
"verifiedBalance": 1,
"date": "2016-01-02",
"verifiedUntil": "2016-01-15"
},
{
"employeeId": 1,
"accountTypeId": 2,
"unverifiedBalance": 3,
"verifiedBalance": 4,
"date": "2016-02-15",
"verifiedUntil": "2016-02-27"
}
]
}
},
"payroll.WorkHoursBalance": {
"type": "object",
"properties": {
"employeeId": {
"type": "integer",
"format": "int64"
},
"accountTypeId": {
"type": "integer",
"format": "int64"
},
"unverifiedBalance": {
"type": "integer",
"format": "int64"
},
"verifiedBalance": {
"type": "integer",
"format": "int64"
},
"date": {
"type": "string",
"format": "date"
},
"verifiedUntil": {
"type": "string",
"format": "date"
}
},
"description": "WorkHoursBalance model (no description)",
"example": {
"employeeId": 4,
"accountTypeId": 3,
"unverifiedBalance": 2,
"verifiedBalance": 1,
"date": "2016-01-02",
"verifiedUntil": "2016-01-15"
}
},
"payroll.WorkLoad": {
"type": "object",
"properties": {
"employeeId": {
"type": "integer",
"format": "int64"
},
"contractMinutes": {
"type": "integer",
"description": "The total amount of contracted minutes in the specified year",
"format": "int64"
},
"payedMinutes": {
"type": "integer",
"description": "The total amount of payable minutes in the specified year",
"format": "int64"
},
"year": {
"type": "integer",
"description": "The year for which the results apply.\nIn case of the current year, results are given until last Sunday",
"format": "int32"
}
},
"description": "WorkLoad model (no description)",
"example": {
"employeeId": 1,
"contractMinutes": 100,
"payedMinutes": 120,
"year": 2019
}
},
"worksheet.Worksheet": {
"required": [
"content"
],
"type": "object",
"properties": {
"content": {
"type": "string",
"description": "The contents of the generated worksheet in base64 encoded pdf format.",
"format": "binary"
}
},
"description": "Worksheet model (no description)",
"example": {
"content": "U2VuZCByZWluZm9yY2VtZW50cw=="
}
},
"zpm.CareOrderZpmDetails": {
"type": "object",
"allOf": [
{
"$ref": "#/definitions/AuditedBase"
}
],
"properties": {
"careOrderObjectId": {
"type": "integer",
"format": "int64",
"x-cupido-id": true
},
"zorgtrajectStartDate": {
"type": "string",
"description": "Zorgtraject(nummer) startdate.",
"format": "date"
},
"zpmSettings": {
"type": "array",
"items": {
"$ref": "#/definitions/zpm.CareOrderZpmSetting"
},
"xml": {
"wrapped": true
}
},
"zpmZorglabels": {
"type": "array",
"items": {
"$ref": "#/definitions/zpm.CareOrderZpmZorglabel"
},
"xml": {
"wrapped": true
}
},
"zpmGbggzProfielen": {
"type": "array",
"items": {
"xml": {
"name": "zpmGbggzProfiel"
},
"$ref": "#/definitions/zpm.CareOrderZpmGbggzProfiel"
},
"xml": {
"wrapped": true
}
},
"zpmReferrals": {
"type": "array",
"items": {
"$ref": "#/definitions/zpm.CareOrderZpmReferral"
},
"xml": {
"wrapped": true
}
},
"zpmRegiebehandelaars": {
"type": "array",
"items": {
"$ref": "#/definitions/zpm.CareOrderZpmRegiebehandelaar"
},
"xml": {
"wrapped": true
}
},
"zpmTariefniveaus": {
"type": "array",
"items": {
"$ref": "#/definitions/zpm.CareOrderZpmTariefniveau"
},
"xml": {
"wrapped": true
}
},
"zpmForensischeZorgtitels": {
"type": "array",
"items": {
"$ref": "#/definitions/zpm.CareOrderZpmForensischeZorgtitel"
},
"xml": {
"wrapped": true
}
},
"zpmPlaatsingsbesluitnummers": {
"type": "array",
"items": {
"$ref": "#/definitions/zpm.CareOrderZpmPlaatsingsbesluitnummer"
},
"xml": {
"wrapped": true
}
},
"zpmTreatmentLocations": {
"type": "array",
"items": {
"$ref": "#/definitions/zpm.CareOrderZpmTreatmentLocation"
},
"xml": {
"wrapped": true
}
},
"zpmMachtigingsnummers": {
"type": "array",
"items": {
"$ref": "#/definitions/zpm.CareOrderZpmMachtigingsnummer"
},
"xml": {
"wrapped": true
}
}
},
"description": "Contains ZPM specific details belonging to a {@link com.nedap.healthcare.domain.finance.CareOrder}.",
"example": {
"updatedAt": "2021-09-21T13:52:09.000+02:00",
"createdAt": "2021-09-21T13:52:09.000+02:00",
"createdBy": "user",
"careOrderObjectId": 345,
"zorgtrajectStartDate": "2021-09-21",
"zpmSettings": [
{
"updatedAt": "2021-09-21T13:52:09.000+02:00",
"createdAt": "2021-09-21T13:52:09.000+02:00",
"createdBy": "user",
"id": 13,
"beginDate": "2022-10-01",
"endDate": "2022-12-31",
"careOrderObjectId": 345,
"zpmSettingObjectId": 5
}
],
"zpmZorglabels": [
{
"updatedAt": "2021-09-21T13:52:09.000+02:00",
"createdAt": "2021-09-21T13:52:09.000+02:00",
"createdBy": "user",
"id": 23,
"beginDate": "2022-01-01",
"value": "Talentolk",
"careOrderObjectId": 345,
"zpmZorglabelObjectId": 4
}
],
"zpmGbggzProfielen": [
{
"updatedAt": "2021-09-21T13:52:09.000+02:00",
"createdAt": "2021-09-21T13:52:09.000+02:00",
"createdBy": "user",
"id": 23,
"beginDate": "2022-03-01",
"careOrderObjectId": 345,
"zpmGbggzProfielObjectId": 4
}
],
"zpmReferrals": [
{
"updatedAt": "2021-09-21T13:52:09.000+02:00",
"createdAt": "2021-09-21T13:52:09.000+02:00",
"createdBy": "user",
"id": 6,
"beginDate": "2022-01-01",
"endDate": "2022-01-31",
"careOrderObjectId": 345,
"referralObjectId": 21
}
],
"zpmRegiebehandelaars": [
{
"updatedAt": "2021-09-21T13:52:09.000+02:00",
"createdAt": "2021-09-21T13:52:09.000+02:00",
"createdBy": "user",
"id": 6,
"beginDate": "2022-01-01",
"endDate": "2022-01-31",
"careOrderObjectId": 345,
"employeeObjectId": 56
}
],
"zpmTariefniveaus": [
{
"updatedAt": "2021-09-21T13:52:09.000+02:00",
"createdAt": "2021-09-21T13:52:09.000+02:00",
"createdBy": "user",
"id": 9,
"beginDate": "2022-07-01",
"careOrderObjectId": 345,
"zpmTariefniveau": "Laag"
}
],
"zpmForensischeZorgtitels": [
{
"updatedAt": "2021-09-21T13:52:09.000+02:00",
"createdAt": "2021-09-21T13:52:09.000+02:00",
"createdBy": "user",
"id": 9,
"beginDate": "2022-07-01",
"endDate": "2022-12-31",
"careOrderObjectId": 345,
"forensischeZorgtitel": "123"
}
],
"zpmPlaatsingsbesluitnummers": [
{
"updatedAt": "2021-09-21T13:52:09.000+02:00",
"createdAt": "2021-09-21T13:52:09.000+02:00",
"createdBy": "user",
"id": 9,
"beginDate": "2022-07-01",
"endDate": "2022-12-31",
"careOrderObjectId": 345,
"plaatsingsbesluitnummer": "012345678"
}
],
"zpmTreatmentLocations": [
{
"updatedAt": "2021-09-21T13:52:09.000+02:00",
"createdAt": "2021-09-21T13:52:09.000+02:00",
"createdBy": "user",
"id": 9,
"beginDate": "2022-07-01",
"endDate": "2022-12-31",
"careOrderObjectId": 345,
"treatmentLocationObjectId": 124
}
],
"zpmMachtigingsnummers": [
{
"updatedAt": "2021-09-21T13:52:09.000+02:00",
"createdAt": "2021-09-21T13:52:09.000+02:00",
"createdBy": "user",
"id": 9,
"beginDate": "2022-07-01",
"endDate": "2022-12-31",
"careOrderObjectId": 345,
"machtigingsnummer": "0123987654"
}
]
},
"xml": {
"name": "careOrderZpmDetails"
}
},
"zpm.CareOrderZpmSetting": {
"required": [
"beginDate",
"zpmSettingObjectId"
],
"type": "object",
"allOf": [
{
"$ref": "#/definitions/AuditedBase"
}
],
"properties": {
"id": {
"type": "integer",
"description": "Object identifier.",
"format": "int64",
"x-cupido-id": true
},
"beginDate": {
"type": "string",
"description": "Validity begin date.",
"format": "date"
},
"endDate": {
"type": "string",
"description": "Validity end date.",
"format": "date"
},
"careOrderObjectId": {
"type": "integer",
"description": "Care order object id.",
"format": "int64"
},
"zpmSettingObjectId": {
"type": "integer",
"description": "ZPM setting object id.",
"format": "int64"
}
},
"description": "Describes which {@link ZpmSetting} is applicable to a {@link com.nedap.healthcare.domain.finance.CareOrder}\nover a period of time.",
"example": {
"updatedAt": "2021-09-21T13:52:09.000+02:00",
"createdAt": "2021-09-21T13:52:09.000+02:00",
"createdBy": "user",
"id": 13,
"beginDate": "2022-10-01",
"endDate": "2022-12-31",
"careOrderObjectId": 345,
"zpmSettingObjectId": 5
}
},
"zpm.CareOrderZpmZorglabel": {
"required": [
"beginDate",
"zpmZorglabelObjectId"
],
"type": "object",
"allOf": [
{
"$ref": "#/definitions/AuditedBase"
}
],
"properties": {
"id": {
"type": "integer",
"description": "Object identifier.",
"format": "int64",
"x-cupido-id": true
},
"beginDate": {
"type": "string",
"description": "Validity begin date.",
"format": "date"
},
"endDate": {
"type": "string",
"description": "Validity end date.",
"format": "date"
},
"value": {
"type": "string",
"description": "Specific value for the zorglabel assignment."
},
"careOrderObjectId": {
"type": "integer",
"description": "Care order object id.",
"format": "int64"
},
"zpmZorglabelObjectId": {
"type": "integer",
"description": "ZPM zorglabel object id.",
"format": "int64"
}
},
"description": "Describes which {@link ZpmZorglabel} is applicable to a {@link com.nedap.healthcare.domain.finance.CareOrder}\nover a period of time.",
"example": {
"updatedAt": "2021-09-21T13:52:09.000+02:00",
"createdAt": "2021-09-21T13:52:09.000+02:00",
"createdBy": "user",
"id": 23,
"beginDate": "2022-01-01",
"endDate": "2022-12-31",
"value": "Talentolk",
"careOrderObjectId": 345,
"zpmZorglabelObjectId": 4
}
},
"zpm.CareOrderZpmGbggzProfiel": {
"required": [
"beginDate",
"zpmGbggzProfielObjectId"
],
"type": "object",
"allOf": [
{
"$ref": "#/definitions/AuditedBase"
}
],
"properties": {
"id": {
"type": "integer",
"description": "Object identifier.",
"format": "int64",
"x-cupido-id": true
},
"beginDate": {
"type": "string",
"description": "Validity begin date.",
"format": "date"
},
"endDate": {
"type": "string",
"description": "Validity end date.",
"format": "date"
},
"careOrderObjectId": {
"type": "integer",
"description": "Care order object id.",
"format": "int64"
},
"zpmGbggzProfielObjectId": {
"type": "integer",
"description": "ZPM GB-ggz profiel object id.",
"format": "int64"
}
},
"description": "Describes which {@link ZpmGbggzProfiel} is applicable to a {@link com.nedap.healthcare.domain.finance.CareOrder}\nover a period of time.",
"example": {
"updatedAt": "2021-09-21T13:52:09.000+02:00",
"createdAt": "2021-09-21T13:52:09.000+02:00",
"createdBy": "user",
"id": 23,
"beginDate": "2022-03-01",
"endDate": "2022-12-31",
"careOrderObjectId": 345,
"zpmGbggzProfielObjectId": 4
},
"xml": {
"name": "careOrderZpmGbggzProfiel"
}
},
"zpm.CareOrderZpmReferral": {
"required": [
"beginDate",
"referralObjectId"
],
"type": "object",
"allOf": [
{
"$ref": "#/definitions/AuditedBase"
}
],
"properties": {
"id": {
"type": "integer",
"description": "Object identifier.",
"format": "int64",
"x-cupido-id": true
},
"beginDate": {
"type": "string",
"description": "Validity begin date.",
"format": "date"
},
"endDate": {
"type": "string",
"description": "Validity end date.",
"format": "date"
},
"careOrderObjectId": {
"type": "integer",
"description": "Care order object id.",
"format": "int64"
},
"referralObjectId": {
"type": "integer",
"description": "Referral object id.",
"format": "int64"
}
},
"description": "Describes which {@link com.nedap.healthcare.domain.Referral} is applicable to a {@link com.nedap.healthcare.domain.finance.CareOrder}\nover a period of time.",
"example": {
"updatedAt": "2021-09-21T13:52:09.000+02:00",
"createdAt": "2021-09-21T13:52:09.000+02:00",
"createdBy": "user",
"id": 6,
"beginDate": "2022-01-01",
"endDate": "2022-01-31",
"careOrderObjectId": 345,
"referralObjectId": 21
}
},
"zpm.CareOrderZpmRegiebehandelaar": {
"required": [
"beginDate",
"employeeObjectId"
],
"type": "object",
"allOf": [
{
"$ref": "#/definitions/AuditedBase"
}
],
"properties": {
"id": {
"type": "integer",
"description": "Object identifier.",
"format": "int64",
"x-cupido-id": true
},
"beginDate": {
"type": "string",
"description": "Validity begin date.",
"format": "date"
},
"endDate": {
"type": "string",
"description": "Validity end date.",
"format": "date"
},
"careOrderObjectId": {
"type": "integer",
"description": "Care order object id.",
"format": "int64"
},
"employeeObjectId": {
"type": "integer",
"description": "Regiebehandelaar (employee) object id.",
"format": "int64"
}
},
"description": "Describes which {@link com.nedap.healthcare.domain.Employee ZPM regiebehandelaar} is applicable to a {@link com.nedap.healthcare.domain.finance.CareOrder}\nover a period of time.",
"example": {
"updatedAt": "2021-09-21T13:52:09.000+02:00",
"createdAt": "2021-09-21T13:52:09.000+02:00",
"createdBy": "user",
"id": 6,
"beginDate": "2022-01-01",
"endDate": "2022-01-31",
"careOrderObjectId": 345,
"employeeObjectId": 56
}
},
"zpm.CareOrderZpmTariefniveau": {
"required": [
"beginDate",
"zpmTariefniveau"
],
"type": "object",
"allOf": [
{
"$ref": "#/definitions/AuditedBase"
}
],
"properties": {
"id": {
"type": "integer",
"description": "Object identifier.",
"format": "int64",
"x-cupido-id": true
},
"beginDate": {
"type": "string",
"description": "Validity begin date.",
"format": "date"
},
"endDate": {
"type": "string",
"description": "Validity end date.",
"format": "date"
},
"careOrderObjectId": {
"type": "integer",
"description": "Care order object id.",
"format": "int64"
},
"zpmTariefniveau": {
"type": "string",
"description": "Tariefniveau, can be Laag or Hoog."
}
},
"description": "Describes which ZPM tariefniveau is applicable to a {@link com.nedap.healthcare.domain.finance.CareOrder}\nover a period of time.",
"example": {
"updatedAt": "2021-09-21T13:52:09.000+02:00",
"createdAt": "2021-09-21T13:52:09.000+02:00",
"createdBy": "user",
"id": 9,
"beginDate": "2022-07-01",
"endDate": "2022-12-31",
"careOrderObjectId": 345,
"zpmTariefniveau": "Laag"
}
},
"zpm.CareOrderZpmForensischeZorgtitel": {
"required": [
"beginDate",
"forensischeZorgtitel"
],
"type": "object",
"allOf": [
{
"$ref": "#/definitions/AuditedBase"
}
],
"properties": {
"id": {
"type": "integer",
"description": "Object identifier.",
"format": "int64",
"x-cupido-id": true
},
"beginDate": {
"type": "string",
"description": "Validity begin date.",
"format": "date"
},
"endDate": {
"type": "string",
"description": "Validity end date.",
"format": "date"
},
"careOrderObjectId": {
"type": "integer",
"description": "Care order object id.",
"format": "int64"
},
"forensischeZorgtitel": {
"type": "string",
"description": "Forensische zorgtitel, see\nhttps://www.vektis.nl/streams/standaardisatie/codelijsten/COD706-MVJ"
}
},
"description": "Describes which ZPM forensische zorgtitel is applicable to a {@link com.nedap.healthcare.domain.finance.CareOrder}\nover a period of time.",
"example": {
"updatedAt": "2021-09-21T13:52:09.000+02:00",
"createdAt": "2021-09-21T13:52:09.000+02:00",
"createdBy": "user",
"id": 9,
"beginDate": "2022-07-01",
"endDate": "2022-12-31",
"careOrderObjectId": 345,
"forensischeZorgtitel": "123"
}
},
"zpm.CareOrderZpmPlaatsingsbesluitnummer": {
"required": [
"beginDate",
"plaatsingsbesluitnummer"
],
"type": "object",
"allOf": [
{
"$ref": "#/definitions/AuditedBase"
}
],
"properties": {
"id": {
"type": "integer",
"description": "Object identifier.",
"format": "int64",
"x-cupido-id": true
},
"beginDate": {
"type": "string",
"description": "Validity begin date.",
"format": "date"
},
"endDate": {
"type": "string",
"description": "Validity end date.",
"format": "date"
},
"careOrderObjectId": {
"type": "integer",
"description": "Care order object id.",
"format": "int64"
},
"plaatsingsbesluitnummer": {
"type": "string",
"description": "Plaatsingsbesluitnummer, a 9 digit number."
},
"fpt": {
"type": "boolean",
"description": "Indicates a plaatsingsbesluitnummer for Forensisch psychiatrisch toezicht (fpt)."
}
},
"description": "Describes which ZPM plaatsingsbesluitnummer is applicable to a {@link com.nedap.healthcare.domain.finance.CareOrder}\nover a period of time.",
"example": {
"updatedAt": "2021-09-21T13:52:09.000+02:00",
"createdAt": "2021-09-21T13:52:09.000+02:00",
"createdBy": "user",
"id": 9,
"beginDate": "2022-07-01",
"endDate": "2022-12-31",
"careOrderObjectId": 345,
"plaatsingsbesluitnummer": "012345678",
"fpt": false
}
},
"zpm.CareOrderZpmTreatmentLocation": {
"required": [
"beginDate",
"treatmentLocationObjectId"
],
"type": "object",
"allOf": [
{
"$ref": "#/definitions/AuditedBase"
}
],
"properties": {
"id": {
"type": "integer",
"description": "Object identifier.",
"format": "int64",
"x-cupido-id": true
},
"beginDate": {
"type": "string",
"description": "Validity begin date.",
"format": "date"
},
"endDate": {
"type": "string",
"description": "Validity end date.",
"format": "date"
},
"careOrderObjectId": {
"type": "integer",
"description": "Care order object id.",
"format": "int64"
},
"treatmentLocationObjectId": {
"type": "integer",
"description": "Behandel locatie id.",
"format": "int64"
}
},
"description": "Describes which ZPM treatment location is applicable to a {@link com.nedap.healthcare.domain.finance.CareOrder}\nover a period of time.",
"example": {
"updatedAt": "2021-09-21T13:52:09.000+02:00",
"createdAt": "2021-09-21T13:52:09.000+02:00",
"createdBy": "user",
"id": 9,
"beginDate": "2022-07-01",
"endDate": "2022-12-31",
"careOrderObjectId": 345,
"treatmentLocationObjectId": 124
}
},
"zpm.CareOrderZpmMachtigingsnummer": {
"required": [
"beginDate",
"machtigingsnummer"
],
"type": "object",
"allOf": [
{
"$ref": "#/definitions/AuditedBase"
}
],
"properties": {
"id": {
"type": "integer",
"description": "Object identifier.",
"format": "int64",
"x-cupido-id": true
},
"beginDate": {
"type": "string",
"description": "Validity begin date.",
"format": "date"
},
"endDate": {
"type": "string",
"description": "Validity end date.",
"format": "date"
},
"careOrderObjectId": {
"type": "integer",
"description": "Care order object id.",
"format": "int64"
},
"machtigingsnummer": {
"type": "string",
"description": "Machtigings nummer."
}
},
"description": "Describes which ZPM machtigingsnummer is applicable to a {@link com.nedap.healthcare.domain.finance.CareOrder}\nover a period of time.",
"example": {
"updatedAt": "2021-09-21T13:52:09.000+02:00",
"createdAt": "2021-09-21T13:52:09.000+02:00",
"createdBy": "user",
"id": 9,
"beginDate": "2022-07-01",
"endDate": "2022-12-31",
"careOrderObjectId": 345,
"machtigingsnummer": "0123987654"
}
},
"zpm.list.ZpmGbggzProfielList": {
"type": "object",
"properties": {
"zpmGbggzProfielen": {
"type": "array",
"items": {
"xml": {
"name": "zpmGbggzProfiel"
},
"$ref": "#/definitions/zpm.ZpmGbggzProfiel"
},
"xml": {
"name": "zpmGbggzProfiel"
}
}
},
"description": "ZpmGbggzProfielList model (no description)",
"example": {
"zpmGbggzProfielen": [
{
"updatedAt": "2021-08-05T14:23:23.000+02:00",
"createdAt": "2021-08-05T14:23:23.000+02:00",
"id": 1,
"code": "GBG01",
"name": "Onvolledig behandeltraject",
"beginDate": "2021-01-01"
}
]
},
"xml": {
"name": "zpmGbggzProfielen"
}
},
"zpm.ZpmGbggzProfiel": {
"required": [
"code",
"name",
"beginDate"
],
"type": "object",
"allOf": [
{
"$ref": "#/definitions/AuditedBase"
}
],
"properties": {
"id": {
"type": "integer",
"description": "Object identifier.",
"format": "int64",
"x-cupido-id": true
},
"code": {
"type": "string",
"description": "Profiel code."
},
"name": {
"type": "string",
"description": "Profiel name."
},
"beginDate": {
"type": "string",
"description": "Validity begin date.",
"format": "date"
},
"endDate": {
"type": "string",
"description": "Validity end date.",
"format": "date"
}
},
"description": "Generalistische basis ggz (gb-ggz) patientprofiel.",
"example": {
"updatedAt": "2021-08-05T14:23:23.000+02:00",
"createdAt": "2021-08-05T14:23:23.000+02:00",
"createdBy": "user",
"id": 1,
"code": "GBG01",
"name": "Onvolledig behandeltraject",
"beginDate": "2021-01-01",
"endDate": "2022-12-31"
},
"xml": {
"name": "zpmGbggzProfiel"
}
},
"zpm.list.ZpmSettingList": {
"type": "object",
"properties": {
"zpmSettings": {
"type": "array",
"items": {
"$ref": "#/definitions/zpm.ZpmSetting"
},
"xml": {
"name": "zpmSetting"
}
}
},
"description": "ZpmSettingList model (no description)",
"example": {
"zpmSettings": [
{
"updatedAt": "2021-08-09T16:17:11.000+02:00",
"createdAt": "2021-06-28T13:21:32.000+02:00",
"id": 1,
"code": "S01",
"legalBegin": "2021-01-01",
"activeBegin": "2022-01-01",
"activeEnd": "2022-12-31",
"name": "Ambulant - kwaliteitsstatuut sectie II"
}
]
},
"xml": {
"name": "zpmSettings"
}
},
"zpm.ZpmSetting": {
"required": [
"code",
"legalBegin",
"activeBegin",
"name"
],
"type": "object",
"allOf": [
{
"$ref": "#/definitions/AuditedBase"
}
],
"properties": {
"id": {
"type": "integer",
"description": "Object identifier.",
"format": "int64",
"x-cupido-id": true
},
"code": {
"type": "string",
"description": "Setting code."
},
"legalBegin": {
"type": "string",
"description": "Legal begin date.",
"format": "date"
},
"legalEnd": {
"type": "string",
"description": "Legal end date.",
"format": "date"
},
"activeBegin": {
"type": "string",
"description": "Date that this setting becomes active for the tenant.",
"format": "date"
},
"activeEnd": {
"type": "string",
"description": "Date that this setting stops being active for this tenant.",
"format": "date"
},
"name": {
"type": "string",
"description": "Setting name."
}
},
"description": "Setting (context, environment) in which care is being delivered.",
"example": {
"updatedAt": "2021-08-09T16:17:11.000+02:00",
"createdAt": "2021-06-28T13:21:32.000+02:00",
"createdBy": "user",
"id": 1,
"code": "S01",
"legalBegin": "2021-01-01",
"legalEnd": "2022-12-31",
"activeBegin": "2022-01-01",
"activeEnd": "2022-12-31",
"name": "Ambulant - kwaliteitsstatuut sectie II"
},
"xml": {
"name": "zpmSetting"
}
},
"zpm.list.ZpmZorglabelList": {
"type": "object",
"properties": {
"zpmZorglabels": {
"type": "array",
"items": {
"$ref": "#/definitions/zpm.ZpmZorglabel"
},
"xml": {
"name": "zpmZorglabel"
}
}
},
"description": "ZpmZorglabelList model (no description)",
"example": {
"zpmZorglabels": [
{
"updatedAt": "2021-08-09T10:52:25.000+02:00",
"createdAt": "2021-08-09T10:52:25.000+02:00",
"id": 4,
"code": "N04",
"name": "Toeslag inzet tolk",
"valueEditable": true,
"allowedValues": "Talentolk;Gebarentolk",
"branchIndication": 0,
"beginDate": "2022-01-01"
}
]
},
"xml": {
"name": "zpmZorglabels"
}
},
"zpm.ZpmZorglabel": {
"required": [
"code",
"name",
"valueEditable",
"branchIndication",
"beginDate"
],
"type": "object",
"allOf": [
{
"$ref": "#/definitions/AuditedBase"
}
],
"properties": {
"id": {
"type": "integer",
"description": "Object identifier.",
"format": "int64",
"x-cupido-id": true
},
"code": {
"type": "string",
"description": "Zorglabel code."
},
"name": {
"type": "string",
"description": "Zorglabel name."
},
"valueEditable": {
"type": "boolean",
"description": "Indicates if a variable value can be specified with the assigned\nzorglabel.",
"default": false
},
"allowedValues": {
"type": "string",
"description": "Contains a semicolon-separated list of values that may be specified\nwith the assigned zorglabel."
},
"branchIndication": {
"type": "integer",
"description": "Indicates if the zorglabel can be used for GGZ, FZ or both.\n\nPossible values:\n\n
",
"format": "int32"
},
"beginDate": {
"type": "string",
"description": "Validity begin date.",
"format": "date"
},
"endDate": {
"type": "string",
"description": "Validity end date.",
"format": "date"
}
},
"description": "Indicates extra information linked to activities.",
"example": {
"updatedAt": "2021-08-09T10:52:25.000+02:00",
"createdAt": "2021-08-09T10:52:25.000+02:00",
"createdBy": "user",
"id": 4,
"code": "N04",
"name": "Toeslag inzet tolk",
"valueEditable": true,
"allowedValues": "Talentolk;Gebarentolk",
"branchIndication": 0,
"beginDate": "2022-01-01",
"endDate": "2022-12-31"
},
"xml": {
"name": "zpmZorglabel"
}
},
"agenda.AgendaOccurrence": {
"title": "EventOccurrence",
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Identifier of this occurrence",
"x-cupido-id": true
},
"occurrenceDate": {
"type": "string",
"description": "Date on which this occurrence occurs based on the recurrence rule",
"format": "date",
"x-nullable": true
},
"uuid": {
"type": "string",
"description": "External reference for `AgendaSeries` to which this occurrence belongs\nExternal parties can use this for their own bookkeeping.\nIs generated if not provided. If provided, it must be unique, will result in 422 otherwise. Every change at one point in a appointment series, results in a new `AgendaSeries` for which the `uuid` must be unique.",
"format": "uuid",
"x-nullable": true
},
"groupUuid": {
"type": "string",
"x-nullable": true
},
"name": {
"type": "string",
"description": "Short summary of the event, like a subject or title",
"x-nullable": true
},
"comment": {
"type": "string",
"description": "Longer description of the event, like notes",
"example": "",
"x-nullable": true
},
"timelineId": {
"type": "integer",
"description": "Identifier of the `AgendaSeries`\n\nExceptions to the series have the same `timelineId` as the series.",
"format": "int32",
"x-nullable": true
},
"validFrom": {
"type": "string",
"description": "Start date of the appointment series",
"format": "date",
"x-nullable": true
},
"validTo": {
"type": "string",
"description": "Recurrence end date\n\nIf recurring, the event is recurring up to this date (exclusive)",
"format": "date",
"x-nullable": true
},
"startTime": {
"type": "string",
"description": "Start time of this occurrence",
"format": "time",
"x-nullable": true
},
"endTime": {
"type": "string",
"description": "End time of this occurrence",
"format": "time",
"x-nullable": true
},
"startsAt": {
"type": "string",
"description": "Start datetime of this occurrence.\nIt is currently readonly, but it's recommended to include the field;\ncurrent: When creating or updating an AgendaOccurrence the start_time and end_time fields are used by Ons Agenda.\nThe starts_at and ends_at fields will be deprecated.\nfuture: When creating or updating an AgendaOccurrence the starts_at and ends_at fields are used by Ons Agenda.\nThe start_time and end_time fields will be ignored and eventually be removed.",
"format": "date-time"
},
"endsAt": {
"type": "string",
"description": "End datetime of this occurrence.\nIt is currently readonly, but it's recommended to include the field;\ncurrent: When creating or updating an AgendaOccurrence the start_time and end_time fields are used by Ons Agenda.\nThe starts_at and ends_at fields will be deprecated.\nfuture: When creating or updating an AgendaOccurrence the starts_at and ends_at fields are used by Ons Agenda.\nThe start_time and end_time fields will be ignored and eventually be removed.",
"format": "date-time"
},
"duration": {
"type": "integer",
"description": "Duration in seconds. Read-only.",
"format": "int32",
"default": 0,
"x-nullable": true
},
"recurrenceType": {
"$ref": "#/definitions/RecurrenceType",
"description": "Frequency of the recurrence"
},
"cycleInterval": {
"type": "integer",
"description": "Interval length of the series\n\nFor a recurrenceType of `monthly`, an interval of `2` means this event happens every 2 months.",
"format": "int32",
"default": 0,
"example": 1,
"x-nullable": true
},
"customLocation": {
"type": "string",
"x-nullable": true
},
"registered": {
"type": "boolean",
"description": "Indication if any employee has registered the appointment",
"x-nullable": true
},
"registrationComplete": {
"type": "boolean",
"description": "Indication that all employees have registered the appointment",
"x-nullable": true
},
"creatorObjectId": {
"type": "integer",
"format": "int64",
"x-nullable": true
},
"monday": {
"type": "boolean",
"description": "Weekly event occurs on monday",
"x-nullable": true
},
"tuesday": {
"type": "boolean",
"description": "Weekly event occurs on tuesday",
"x-nullable": true
},
"wednesday": {
"type": "boolean",
"description": "Weekly event occurs on wednesday",
"x-nullable": true
},
"thursday": {
"type": "boolean",
"description": "Weekly event occurs on thursday",
"x-nullable": true
},
"friday": {
"type": "boolean",
"description": "Weekly event occurs on friday",
"x-nullable": true
},
"saturday": {
"type": "boolean",
"description": "Weekly event occurs on saturday",
"x-nullable": true
},
"sunday": {
"type": "boolean",
"description": "Weekly event occurs on sunday",
"x-nullable": true
},
"hourTypeId": {
"type": "integer",
"description": "Identifier of HourType\n\nWhen using the per-client product selection (part of _uitgebreide workflow_), use the `hourTypeId` field in the client invitations instead",
"format": "int64",
"x-nullable": true
},
"clientPresent": {
"type": "boolean",
"description": "Whether the client is expected in this event"
},
"private": {
"type": "boolean",
"description": "Whether this event is private"
},
"agendaInvitations": {
"type": "array",
"items": {
"$ref": "#/definitions/agenda.AgendaInvitation"
},
"description": "Clients, locations, teams or employees invited to this occurrence\n\nDoes not support clients when using per-client product selection (part of _uitgebreide workflow_). When per-client product selection is enabled, use `agendaClientInvitations` instead to invite clients."
},
"agendaClientInvitations": {
"type": "array",
"items": {
"$ref": "#/definitions/agenda.AgendaClientInvitation"
},
"description": "Clients invited to this appointment\n\nWhen _not_ using per-client product selection (part of _uitgebreide workflow_) use `agendaInvitations` instead to invite clients."
},
"labels": {
"type": "array",
"items": {
"$ref": "#/definitions/agenda.Label"
},
"x-nullable": true
}
},
"description": "Agenda series domain model used by Cupido system.",
"example": {
"id": "2@2012-08-02",
"occurrenceDate": "2012-08-02",
"uuid": "abca58ed-0138-4aec-87c6-5d391e98161b",
"groupUuid": "bbca58ed-0138-4aec-87c6-5d391e98161c",
"name": "fysio",
"comment": "no comment",
"timelineId": 12,
"validFrom": "2012-08-02",
"validTo": "2015-08-02",
"startTime": "08:10:00.000",
"endTime": "08:20:00.000",
"startsAt": "2022-08-02T08:10:00.000+02:00",
"endsAt": "2022-08-02T08:20:00.000+02:00",
"duration": 1600,
"recurrenceType": "single",
"cycleInterval": 1,
"customLocation": "Gemeentehuis",
"registered": false,
"registrationComplete": false,
"creatorObjectId": 42,
"monday": true,
"tuesday": false,
"wednesday": true,
"thursday": true,
"friday": false,
"saturday": true,
"sunday": false,
"agendaInvitations": [
{
"employeeId": 4,
"accepted": true
},
{
"employeeId": 5,
"accepted": true
},
{
"teamId": 42,
"accepted": true
},
{
"locationId": 12,
"accepted": true
}
],
"agendaClientInvitations": [
{
"clientId": 1,
"accepted": true,
"hourTypeId": 52,
"careOrderId": 2
}
],
"hourTypeId": 42,
"clientPresent": true,
"private": false,
"labels": []
}
},
"RecurrenceType": {
"title": "RecurrenceType",
"type": "string",
"description": "Frequency of the recurrence",
"default": "single",
"example": "single",
"x-nullable": true
},
"agenda.AgendaInvitation": {
"title": "Invitation",
"type": "object",
"properties": {
"clientId": {
"type": "integer",
"format": "int64",
"x-nullable": true
},
"employeeId": {
"type": "integer",
"format": "int64",
"x-nullable": true
},
"locationId": {
"type": "integer",
"format": "int64",
"x-nullable": true
},
"teamId": {
"type": "integer",
"format": "int64",
"x-nullable": true
},
"accepted": {
"type": "boolean",
"x-nullable": true
}
},
"description": "Agenda invitation domain model used by Cupido system.",
"example": {
"clientId": 1,
"employeeId": 2,
"locationId": 4,
"teamId": 3,
"accepted": true
}
},
"agenda.AgendaClientInvitation": {
"title": "ClientInvitation",
"type": "object",
"allOf": [
{
"$ref": "#/definitions/agenda.AgendaInvitation"
}
],
"properties": {
"hourTypeId": {
"type": "integer",
"description": "Identifier of Hour Type\n\nWhen _not_ using the per-client product selection (part of _uitgebreide workflow_), use the `hourTypeId` field in the appointment instead",
"format": "int64",
"x-nullable": true
},
"careOrderId": {
"type": "integer",
"format": "int64",
"x-nullable": true
},
"surchargeIds": {
"type": "array",
"items": {
"type": "integer",
"format": "int64"
}
}
},
"description": "Agenda client invitation domain model used by Cupido system.",
"example": {
"clientId": 1,
"employeeId": 2,
"locationId": 4,
"teamId": 3,
"accepted": true,
"hourTypeId": 52,
"careOrderId": 2,
"surchargeIds": [
9,
10
]
}
},
"agenda.Label": {
"title": "Label",
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int64",
"x-cupido-id": true
},
"name": {
"type": "string"
}
},
"description": "Domain model for Labels for AgendaOccurrences/AgendaSeries",
"example": {
"id": 1,
"name": "Telefonisch"
}
},
"agenda.list.RegistrationStatusList": {
"title": "RegistrationStatusList",
"type": "object",
"properties": {
"registrationStatuses": {
"type": "array",
"items": {
"$ref": "#/definitions/agenda.RegistrationStatus"
}
}
},
"description": "RegistrationStatusList model (no description)",
"example": {
"registrationStatuses": [
{
"undeclared": 1,
"failed": 1,
"type": "employee",
"typeId": 1
}
]
}
},
"agenda.RegistrationStatus": {
"title": "RegistrationStatus",
"type": "object",
"properties": {
"undeclared": {
"type": "integer",
"description": "Amount of undeclared registrations",
"format": "int32"
},
"failed": {
"type": "integer",
"description": "Amount of failed registrations",
"format": "int32"
},
"type": {
"type": "string",
"description": "Type\n\nPossible values:\nclient\nemployee\nteam\nlocation\n
"
},
"typeId": {
"type": "integer",
"description": "Type ID",
"format": "int32"
}
},
"description": "Ons Agenda - Registrations status domain model used by Cupido system.",
"example": {
"undeclared": 1,
"failed": 1,
"type": "employee",
"typeId": 1
}
},
"agenda.AgendaSeries": {
"title": "EventSeries",
"required": [
"validFrom",
"startTime",
"endTime"
],
"type": "object",
"properties": {
"id": {
"type": "integer",
"description": "Identifier of this `AgendaSeries`",
"format": "int64",
"x-cupido-id": true,
"x-nullable": true
},
"timelineId": {
"type": "integer",
"description": "Identifier of the `AgendaSeries`\n\nExceptions to the series have the same `timelineId` as the series.",
"format": "int64",
"x-nullable": true
},
"uuid": {
"type": "string",
"description": "External reference for `AgendaSeries`\n\nExternal parties can use this for their own bookkeeping.\n\nIs generated if not provided. If provided, it must unique per `AgendaSeries`, will result in 422 otherwise.",
"format": "uuid",
"x-nullable": true
},
"groupUuid": {
"type": "string",
"format": "uuid",
"x-nullable": true
},
"name": {
"type": "string",
"description": "Short summary of the event",
"x-nullable": true
},
"comment": {
"type": "string",
"description": "Longer description of the event, notes",
"x-nullable": true
},
"hourTypeId": {
"type": "integer",
"description": "Identifier of HourType\n\nWhen using the per-client product selection (part of _uitgebreide workflow_), use the `hourTypeId` field in the client invitation instead",
"format": "int64",
"x-nullable": true
},
"validFrom": {
"type": "string",
"description": "Start date of the appointment series",
"format": "date",
"x-nullable": true
},
"validTo": {
"type": "string",
"description": "Recurrence end date\n\nIf recurring, the event is recurring up to this date (exclusive)",
"format": "date",
"x-nullable": true
},
"startTime": {
"type": "string",
"description": "Start time of the event",
"format": "time",
"x-nullable": true
},
"endTime": {
"type": "string",
"description": "End time of the event",
"format": "time",
"x-nullable": true
},
"duration": {
"type": "integer",
"description": "Duration in seconds",
"format": "int32",
"default": 0,
"x-nullable": true
},
"recurrenceType": {
"$ref": "#/definitions/RecurrenceType",
"description": "Frequency of the recurrence"
},
"cycleInterval": {
"type": "integer",
"description": "Interval length of the series\n\nFor a recurrenceType of `weekly`, an interval of `2`\nmeans this event happens every 2 weeks.",
"format": "int32",
"default": 0,
"example": 1,
"x-nullable": true
},
"cycleBase": {
"type": "string",
"description": "Start date of the recurrence, should be equal to `validFrom`",
"format": "date",
"x-nullable": true
},
"customLocation": {
"type": "string",
"x-nullable": true
},
"creatorObjectId": {
"type": "integer",
"format": "int64",
"x-nullable": true
},
"monday": {
"type": "boolean",
"description": "Weekly event occurs on monday",
"x-nullable": true
},
"tuesday": {
"type": "boolean",
"description": "Weekly event occurs on tuesday",
"x-nullable": true
},
"wednesday": {
"type": "boolean",
"description": "Weekly event occurs on wednesday",
"x-nullable": true
},
"thursday": {
"type": "boolean",
"description": "Weekly event occurs on thursday",
"x-nullable": true
},
"friday": {
"type": "boolean",
"description": "Weekly event occurs on friday",
"x-nullable": true
},
"saturday": {
"type": "boolean",
"description": "Weekly event occurs on saturday",
"x-nullable": true
},
"sunday": {
"type": "boolean",
"description": "Weekly event occurs on sunday",
"x-nullable": true
},
"clientPresent": {
"type": "boolean",
"description": "Whether the client is expected in this event",
"x-nullable": true
},
"travelTimeBefore": {
"maximum": 1440,
"minimum": 0,
"type": "integer",
"description": "Travel time (in minutes) prior to the event.\n\nThis number must be between 0 and 1440 (range is inclusive). The Agenda setting 'show travel time' must be\nenabled, supplying this field when the setting is disabled will yield an error. When the setting is enabled\nand the field is not supplied, the value will default to 0.",
"format": "int64"
},
"travelTimeAfter": {
"type": "integer",
"description": "Travel time (in minutes) following the event.\n\nThis number must be between 0 and 1440 (range is inclusive). The Agenda setting 'show travel time' must be\nenabled, supplying this field when the setting is disabled will yield an error. When the setting is enabled\nand the field is not supplied, the value will default to 0.",
"format": "int64"
},
"agendaInvitations": {
"type": "array",
"items": {
"$ref": "#/definitions/agenda.AgendaInvitation"
},
"description": "Clients, locations, teams or employees invited to this appointment\n\nDoes not support clients when using per-client product selection (part of _uitgebreide workflow_). When per-client product selection is enabled, use `agendaClientInvitations` instead to invite clients.",
"x-nullable": true
},
"agendaClientInvitations": {
"type": "array",
"items": {
"$ref": "#/definitions/agenda.AgendaClientInvitation"
},
"description": "Clients invited to this occurrence\n\nWhen _not_ using per-client product selection (part of _uitgebreide workflow_) use `agendaInvitations` instead to invite clients.",
"x-nullable": true
},
"labels": {
"type": "array",
"items": {
"$ref": "#/definitions/agenda.Label"
},
"x-nullable": true
}
},
"description": "Agenda series domain model used by Cupido system.",
"example": {
"id": 2,
"timelineId": 1,
"uuid": "abca58ed-0138-4aec-87c6-5d391e98161b",
"groupUuid": "bbca58ed-0138-4aec-87c6-5d391e98161c",
"name": "fysio",
"comment": "no comment",
"hourTypeId": 42,
"validFrom": "2012-08-02",
"validTo": "2012-09-02",
"startTime": "08:10:00.000",
"endTime": "08:20:00.000",
"duration": 600,
"recurrenceType": "single",
"cycleInterval": 1,
"cycleBase": "2012-08-02",
"customLocation": "Gemeentehuis",
"agendaInvitations": [
{
"clientId": 1,
"employeeId": 2,
"locationId": 4,
"teamId": 3,
"accepted": true
}
],
"agendaClientInvitations": [
{
"clientId": 1,
"employeeId": 2,
"locationId": 4,
"teamId": 3,
"accepted": true,
"hourTypeId": 52,
"careOrderId": 2,
"surchargeIds": [
9,
10
]
}
],
"creatorObjectId": 1,
"monday": true,
"tuesday": false,
"wednesday": true,
"thursday": true,
"friday": false,
"saturday": true,
"sunday": false,
"clientPresent": true,
"travelTimeBefore": 15,
"travelTimeAfter": 35,
"labels": []
}
},
"agenda.ClientAbsenceOccurrence": {
"title": "ClientAbsenceOccurrence",
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "The id of this object",
"x-cupido-id": true,
"x-nullable": true
},
"startDate": {
"type": "string",
"description": "The start date of this occurrence",
"format": "date",
"x-nullable": true
},
"endDate": {
"type": "string",
"description": "The end date of this occurrence",
"format": "date",
"x-nullable": true
},
"startTime": {
"type": "string",
"description": "The start time of this occurrence",
"format": "time",
"x-nullable": true
},
"endTime": {
"type": "string",
"description": "The end date of this occurrence",
"format": "time",
"x-nullable": true
},
"recurrenceType": {
"$ref": "#/definitions/RecurrenceType",
"description": "The recurrence type of this occurrence; can be \"single\", \"daily\", \"weekly\", \"monthly_on_day\", \"monthly_on_week\"\nor \"yearly\""
},
"cycleInterval": {
"type": "integer",
"description": "The interval of the recurrences",
"format": "int32",
"x-nullable": true
},
"validFrom": {
"type": "string",
"description": "The date on which the series this occurrence belongs to starts",
"format": "date",
"x-nullable": true
},
"validTo": {
"type": "string",
"description": "The date on which the series this occurrence belongs to ends",
"format": "date",
"x-nullable": true
},
"timelineId": {
"type": "integer",
"description": "The id of the timeline this series belongs to",
"format": "int32",
"x-nullable": true
},
"note": {
"type": "string",
"description": "A note about the absence; can be any string of text put in by the employee.",
"x-nullable": true
},
"status": {
"$ref": "#/definitions/agenda.ClientAbsenceStatus",
"description": "A status about the absence; can be created/updated/deleted."
},
"monday": {
"type": "boolean",
"description": "Boolean that defines whether the absence recurs on Mondays",
"x-nullable": true
},
"tuesday": {
"type": "boolean",
"description": "Boolean that defines whether the absence recurs on Tuesdays",
"x-nullable": true
},
"wednesday": {
"type": "boolean",
"description": "Boolean that defines whether the absence recurs on Wednesdays",
"x-nullable": true
},
"thursday": {
"type": "boolean",
"description": "Boolean that defines whether the absence recurs on Thursdays",
"x-nullable": true
},
"friday": {
"type": "boolean",
"description": "Boolean that defines whether the absence recurs on Fridays",
"x-nullable": true
},
"saturday": {
"type": "boolean",
"description": "Boolean that defines whether the absence recurs on Saturdays",
"x-nullable": true
},
"sunday": {
"type": "boolean",
"description": "Boolean that defines whether the absence recurs on Sundays",
"x-nullable": true
},
"clientAbsenceReasonId": {
"type": "integer",
"description": "The id of the reason of absence",
"format": "int32",
"x-nullable": true
},
"clientId": {
"type": "integer",
"description": "The id of the client",
"format": "int32",
"x-nullable": true
}
},
"description": "Client absence occurrence domain in Agenda.",
"example": {
"id": "07e4618393",
"startDate": "2020-06-24",
"endDate": "2020-07-24",
"startTime": "08:10:00.000",
"endTime": "08:20:00.000",
"recurrenceType": "single",
"cycleInterval": 1,
"validFrom": "2020-06-24",
"validTo": "2020-12-24",
"timelineId": 42,
"note": "Omdat het kan",
"status": "CREATED",
"monday": true,
"tuesday": false,
"wednesday": true,
"thursday": true,
"friday": false,
"saturday": true,
"sunday": false,
"clientAbsenceReasonId": 1,
"clientId": 142
}
},
"agenda.ClientAbsenceStatus": {
"enum": [
"CREATED",
"UPDATED",
"DELETED"
],
"type": "string",
"description": "A status about the absence; can be created/updated/deleted.",
"example": "CREATED",
"x-nullable": true
},
"agenda.list.ClientAbsenceOccurrenceList": {
"title": "ClientAbsenceOccurrenceList",
"type": "object",
"properties": {
"clientAbsenceOccurrences": {
"type": "array",
"items": {
"$ref": "#/definitions/agenda.ClientAbsenceOccurrence"
}
}
},
"description": "ClientAbsenceOccurrenceList model (no description)",
"example": {
"clientAbsenceOccurrences": [
{
"id": "07e4618393",
"startDate": "2020-06-24",
"endDate": "2020-07-24",
"startTime": "08:10:00.000",
"endTime": "08:20:00.000",
"recurrenceType": "single",
"cycleInterval": 1,
"validFrom": "2020-06-24",
"validTo": "2020-12-24",
"timelineId": 42,
"note": "Omdat het kan",
"status": "CREATED",
"monday": true,
"tuesday": false,
"wednesday": true,
"thursday": true,
"friday": false,
"saturday": true,
"sunday": false,
"clientAbsenceReasonId": 1,
"clientId": 142
},
{
"id": "07e4618394",
"startDate": "2020-06-25",
"endDate": "2020-07-25",
"startTime": "08:10:00.000",
"endTime": "08:20:00.000",
"recurrenceType": "single",
"cycleInterval": 1,
"validFrom": "2020-06-25",
"validTo": "2020-12-25",
"timelineId": 42,
"note": "Omdat het kan 2",
"status": "CREATED",
"monday": true,
"tuesday": false,
"wednesday": true,
"thursday": true,
"friday": false,
"saturday": true,
"sunday": false,
"clientAbsenceReasonId": 1,
"clientId": 142
}
]
}
},
"agenda.list.AgendaOccurrenceList": {
"title": "EventOccurrenceList",
"type": "object",
"properties": {
"agendaOccurrences": {
"type": "array",
"items": {
"$ref": "#/definitions/agenda.AgendaOccurrence"
}
}
},
"description": "AgendaOccurrenceList model (no description)",
"example": {
"agendaOccurrences": [
{
"id": "2@2012-08-02",
"occurrenceDate": "2012-08-02",
"uuid": "abca58ed-0138-4aec-87c6-5d391e98161b",
"name": "fysio",
"comment": "no comment",
"validFrom": "2012-08-02",
"validTo": "2012-08-03",
"startTime": "08:10:00.000",
"endTime": "08:20:00.000",
"startsAt": "2022-08-02T08:10:00.000+02:00",
"endsAt": "2022-08-02T08:20:00.000+02:00",
"duration": 0,
"recurrenceType": "single",
"cycleInterval": 1
}
]
}
},
"agenda.list.LabelList": {
"title": "LabelList",
"type": "object",
"properties": {
"labels": {
"type": "array",
"items": {
"$ref": "#/definitions/agenda.Label"
}
}
},
"description": "LabelList model (no description)",
"example": {
"labels": [
{
"id": 1,
"name": "Telefonisch"
}
]
}
},
"agenda.Unavailability": {
"title": "Unavailability",
"required": [
"title",
"employeeId",
"startDate"
],
"type": "object",
"properties": {
"id": {
"type": "integer",
"description": "Identifier of this `Unavailability`. Only used when updating an existing model.",
"format": "int64",
"x-cupido-id": true
},
"title": {
"type": "string",
"description": "Title of the unavailability. Max 140 characters allowed."
},
"employeeId": {
"type": "integer",
"description": "Id of the employee for which the unavailability is created",
"format": "int64"
},
"startDate": {
"type": "string",
"description": "The day on which the unavailability occurs. If a recurrence rule is supplied, then the date represents the\nday of the first occurrence. In combination with the time fields, this is used as base for calculating the\nother occurrences.",
"format": "date"
},
"startTime": {
"type": "string",
"description": "The time the unavailability starts. When both startTime and endTime are omitted or null, an unavailability\nspanning the entire day will be created.",
"format": "time",
"x-nullable": true
},
"endTime": {
"type": "string",
"description": "The time the unavailability ends. When both startTime and endTime are omitted or null, an unavailability\nspanning the entire day will be created.",
"format": "time",
"x-nullable": true
},
"recurrenceRule": {
"$ref": "#/definitions/agenda.RecurrenceRule"
}
},
"description": "Domain model for the Agenda Unavailabilities",
"example": {
"id": 1,
"title": "Away",
"employeeId": 1,
"startDate": "2022-01-01",
"startTime": "08:00:00.000",
"endTime": "18:00:00.000",
"recurrenceRule": {
"recurrenceType": "single",
"interval": 1,
"weekdays": [],
"repeatUntil": "2022-01-01"
}
}
},
"agenda.RecurrenceRule": {
"title": "AgendaRecurrenceRule",
"required": [
"recurrenceType"
],
"type": "object",
"properties": {
"recurrenceType": {
"$ref": "#/definitions/agenda.RecurrenceType"
},
"interval": {
"minimum": 1,
"type": "integer",
"description": "Must be >= 1. The interval used in calculating the occurrences. The recurrence rule specifies when an\noccurrence might occur. Then the 'interval' is used to determine which of these occurrences actually occurs.\nA value of 1 means that every occurrence occurs, a value of 2 means that every other occurrence occurs, etc.",
"format": "int64",
"default": 1
},
"weekdays": {
"type": "array",
"items": {
"uniqueItems": true,
"type": "integer",
"format": "int32"
},
"description": "An array containing all days of the week the occurrence should occur. Is only used when the recurrence rule\n'weekly' is selected. Defaults to the `startDate` day integer of the parent event when omitted or null.\nDays of the week are represented as follows:\n * 1: Monday\n * 2: Tuesday\n * 3: Wednesday\n * 4: Thursday\n * 5: Friday\n * 6: Saturday\n * 7: Sunday"
},
"repeatUntil": {
"type": "string",
"description": "Last day on which an occurrence may start (inclusive). When omitted or null, recurs indefinitely.",
"format": "date"
}
},
"description": "Object describing the recurrence. This object may be omitted, in that case a single occurrence is created",
"example": {
"recurrenceType": "weekly",
"interval": 1,
"weekdays": [
1,
3
],
"repeatUntil": "2015-08-02"
},
"x-nullable": true
},
"agenda.RecurrenceType": {
"enum": [
"single",
"daily",
"weekly",
"monthly_on_day",
"monthly_on_week",
"yearly"
],
"type": "string",
"description": "When no value is supplied, it defaults to single. Specifies the recurrence rule:\n\n* single: The entry only occurs a single time, no recurrence is used.\n* daily: The entry occurs every day.\n* weekly: The entry occurs every week on the days supplied in the 'weekdays' field.\n* monthly_on_day: The entry occurs every month on the given date. I.e. on the 10th every month.\n* monthly_on_week: The entry occurs every month on the same day of the month. I.e. on the\nfirst Tuesday every month.\n* yearly: The entry occurs every year on the given date.",
"default": "single",
"example": "single"
},
"aloha.AlohaReport": {
"title": "AlohaReportStatus",
"required": [
"content"
],
"type": "object",
"properties": {
"content": {
"type": "string",
"description": "The contents of the document",
"format": "binary"
}
},
"description": "AlohaReport model (no description)",
"example": {
"content": "QWxsIGhvcGUgaXMgbG9zdA=="
}
},
"aloha.AlohaReportStatus": {
"type": "object",
"properties": {
"uuid": {
"type": "string",
"description": "The uuid referencing the report"
},
"archetypeId": {
"type": "string",
"description": "The archetype which a Report concerns"
},
"startDate": {
"type": "string",
"description": "The start of the period over which the report is generated",
"format": "date-time"
},
"endDate": {
"type": "string",
"description": "The end of the period over which the report is generated",
"format": "date-time"
},
"requestedAt": {
"type": "string",
"description": "When the report was requested",
"format": "date-time"
},
"status": {
"type": "integer",
"description": "enum:\n0: generating\n1: ready\n2: failed",
"format": "int64"
},
"reportName": {
"type": "string",
"description": "A human readable name describing this report"
},
"error": {
"type": "string",
"description": "The error message when pdf generation went wrong"
}
},
"description": "AlohaReportStatus model (no description)",
"example": {
"uuid": "3c18790a-145a-4281-b5bd-0d7e0013ce5d",
"archetypeId": "openEHR-EHR-COMPOSITION.prem.v0.0.0",
"startDate": "2020-02-01T12:00:00.000+01:00",
"endDate": "2020-11-15T12:00:00.000+01:00",
"requestedAt": "2021-01-01T12:00:00.000+01:00",
"status": 2,
"reportName": "Best report in the world!",
"error": "End date must be after start date"
}
},
"aloha.list.AlohaReportStatusList": {
"title": "AlohaReportStatusList",
"type": "object",
"properties": {
"alohaReportStatuses": {
"type": "array",
"items": {
"$ref": "#/definitions/aloha.AlohaReportStatus"
},
"x-nullable": true
}
},
"description": "AlohaReportStatusList model (no description)",
"example": {
"alohaReportStatuses": [
{
"uuid": "3c18790a-145a-4281-b5bd-0d7e0013ce5d",
"archetypeId": "openEHR-EHR-COMPOSITION.prem.v0.0.0",
"startDate": "2020-02-01T12:00:00.000+01:00",
"endDate": "2020-11-15T12:00:00.000+01:00",
"requestedAt": "2021-01-01T12:00:00.000+01:00",
"status": 2,
"reportName": "Best report in the world!",
"error": "End date must be after start date"
}
]
}
},
"herald.AnnouncementCount": {
"required": [
"count"
],
"type": "object",
"properties": {
"count": {
"type": "integer",
"description": "The number of unread announcements",
"format": "int32"
}
},
"description": "AnnouncementCount model (no description)",
"example": {
"count": 10
}
},
"authorization.provisioning.list.RoleList": {
"type": "object",
"properties": {
"roles": {
"type": "array",
"items": {
"$ref": "#/definitions/authorization.provisioning.Role"
}
}
},
"description": "RoleList model (no description)",
"example": {
"roles": [
{
"uuid": "ea9e0f20-2232-4087-9a43-8f894e79b6f0",
"name": "Rol naam"
}
]
}
},
"authorization.provisioning.Role": {
"type": "object",
"properties": {
"uuid": {
"type": "string",
"x-cupido-id": true
},
"name": {
"type": "string"
}
},
"description": "Role model (no description)",
"example": {
"uuid": "ea9e0f20-2232-4087-9a43-8f894e79b6f0",
"name": "Rol naam"
}
},
"authorization.provisioning.User": {
"type": "object",
"properties": {
"userUuid": {
"type": "string",
"x-cupido-id": true
},
"source": {
"type": "string"
},
"duties": {
"type": "array",
"items": {
"$ref": "#/definitions/authorization.provisioning.Duty"
}
},
"defaultScopedDuties": {
"type": "array",
"items": {
"$ref": "#/definitions/authorization.provisioning.Duty"
}
},
"roleScopedDuties": {
"type": "array",
"items": {
"$ref": "#/definitions/authorization.provisioning.Duty"
}
}
},
"description": "User model (no description)",
"example": {
"userUuid": "1b9243a9-83b5-4edf-ab93-507f88fdcb01",
"source": "Koppelingnaam",
"duties": [
{
"roleUuid": "ea9e0f20-2232-4087-9a43-8f894e79b6f0",
"locationIds": [
1,
2,
3
],
"teamIds": [
4,
5,
6
],
"myself": true,
"allEmployees": true,
"myPlanning": true,
"myRoster": true,
"clientEmployeeRelationTypeIds": [
7,
8,
9
]
}
],
"defaultScopedDuties": [
{
"roleUuid": "ea9e0f20-2232-4087-9a43-8f894e79b6f0"
}
],
"roleScopedDuties": [
{
"roleUuid": "ea9e0f20-2232-4087-9a43-8f894e79b6f0"
}
]
}
},
"authorization.provisioning.Duty": {
"type": "object",
"properties": {
"roleUuid": {
"type": "string"
},
"validFrom": {
"type": "string",
"format": "date-time"
},
"validTo": {
"type": "string",
"format": "date-time"
},
"locationIds": {
"type": "array",
"items": {
"type": "integer",
"format": "int32"
}
},
"teamIds": {
"type": "array",
"items": {
"type": "integer",
"format": "int32"
}
},
"myself": {
"type": "boolean"
},
"allEmployees": {
"type": "boolean"
},
"allClients": {
"type": "boolean"
},
"myPlanning": {
"type": "boolean"
},
"myRoster": {
"type": "boolean"
},
"employeesOnMyRoster": {
"type": "boolean"
},
"clientEmployeeRelationTypeIds": {
"type": "array",
"items": {
"type": "integer",
"format": "int32"
}
}
},
"description": "Duty is a role assigned to the user. It consists of roleUuid, the validity timeline, and scoping policy options, determining what clients and/or employees will be accessible in the context of that role.",
"example": {
"roleUuid": "ea9e0f20-2232-4087-9a43-8f894e79b6f0",
"validFrom": "2018-03-01T00:00:00.000+01:00",
"validTo": "2019-03-01T00:00:00.000+01:00",
"locationIds": [
1,
2,
3
],
"teamIds": [
4,
5,
6
],
"myself": true,
"allEmployees": true,
"allClients": false,
"myPlanning": true,
"myRoster": true,
"employeesOnMyRoster": true,
"clientEmployeeRelationTypeIds": [
7,
8,
9
]
}
},
"authorization.provisioning.UserDuties": {
"type": "object",
"properties": {
"userUuid": {
"type": "string",
"x-cupido-id": true
},
"source": {
"type": "string"
},
"duties": {
"type": "array",
"items": {
"$ref": "#/definitions/authorization.provisioning.UserDuty"
}
}
},
"description": "",
"example": {
"userUuid": "1b9243a9-83b5-4edf-ab93-507f88fdcb01",
"source": "Koppelingnaam",
"duties": [
{
"roleUuid": "ea9e0f20-2232-4087-9a43-8f894e79b6f0",
"locationIds": [
1,
2,
3
],
"teamIds": [
4,
5,
6
],
"myself": true,
"allEmployees": true,
"myPlanning": true,
"myRoster": true,
"myTeams": true,
"myLocations": true,
"roleScope": true,
"clientEmployeeRelationTypeIds": [
7,
8,
9
]
}
]
}
},
"authorization.provisioning.UserDuty": {
"type": "object",
"properties": {
"roleUuid": {
"type": "string"
},
"validFrom": {
"type": "string",
"format": "date-time"
},
"validTo": {
"type": "string",
"format": "date-time"
},
"locationIds": {
"type": "array",
"items": {
"type": "integer",
"format": "int32"
}
},
"teamIds": {
"type": "array",
"items": {
"type": "integer",
"format": "int32"
}
},
"myself": {
"type": "boolean"
},
"allEmployees": {
"type": "boolean"
},
"allClients": {
"type": "boolean"
},
"myPlanning": {
"type": "boolean"
},
"myRoster": {
"type": "boolean"
},
"myTeams": {
"type": "boolean"
},
"myLocations": {
"type": "boolean"
},
"roleScope": {
"type": "boolean"
},
"employeesOnMyRoster": {
"type": "boolean"
},
"clientEmployeeRelationTypeIds": {
"type": "array",
"items": {
"type": "integer",
"format": "int32"
}
}
},
"description": "Duty is a role assigned to the user. It consists of roleUuid, the validity timeline, and scoping policy options, determining what clients and/or employees will be accessible in the context of that role.\n Options myTeams, myLocations, and roleScope are only available within the pilot for the new scoping system.",
"example": {
"roleUuid": "ea9e0f20-2232-4087-9a43-8f894e79b6f0",
"validFrom": "2018-03-01T00:00:00.000+01:00",
"validTo": "2019-03-01T00:00:00.000+01:00",
"locationIds": [
1,
2,
3
],
"teamIds": [
4,
5,
6
],
"myself": true,
"allEmployees": true,
"allClients": false,
"myPlanning": true,
"myRoster": true,
"myTeams": true,
"myLocations": true,
"roleScope": true,
"employeesOnMyRoster": true,
"clientEmployeeRelationTypeIds": [
7,
8,
9
]
}
},
"authorization.provisioning.MyLocations": {
"type": "object",
"properties": {
"locationIds": {
"type": "array",
"items": {
"type": "integer",
"format": "int32"
}
}
},
"description": "My locations is a list of locations an employee should have access on a regular basis. This can be used by the role assignment to describe for which clients are accessible. To assign roles with this scoping rule set the `myLocations` flag in `Duty` model.",
"example": {
"locationIds": [
1,
2,
3
]
}
},
"authorization.provisioning.MyTeams": {
"type": "object",
"properties": {
"teamIds": {
"type": "array",
"items": {
"type": "integer",
"format": "int32"
}
}
},
"description": "My teams is a list of teams an employee should have access on a regular basis. This can be used by the role assignment to describe for which employees are accessible. To assign roles with this scoping rule set the `myTeams` flag in `Duty` model.",
"example": {
"teamIds": [
1,
2,
3
]
}
},
"authorization.provisioning.DefaultScope": {
"type": "object",
"properties": {
"userUuid": {
"type": "string",
"x-cupido-id": true
},
"locationIds": {
"type": "array",
"items": {
"type": "integer",
"format": "int32"
}
},
"teamIds": {
"type": "array",
"items": {
"type": "integer",
"format": "int32"
}
},
"myself": {
"type": "boolean"
},
"allEmployees": {
"type": "boolean"
},
"allClients": {
"type": "boolean"
}
},
"description": "The default scope is a set of groups which can be used by role assignments to describe for which clients or employees are accessible.\nTo assign roles with the default scope through provisioning set the `defaultScopedDuties` in the `User` model.",
"example": {
"userUuid": "1b9243a9-83b5-4edf-ab93-507f88fdcb01",
"locationIds": [
1,
2,
3
],
"teamIds": [
4,
5,
6
],
"myself": true,
"allEmployees": true,
"allClients": false
}
},
"caren.Person": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int64",
"x-cupido-id": true
},
"firstName": {
"type": "string"
},
"lastName": {
"type": "string"
},
"male": {
"type": "boolean",
"default": false
},
"email": {
"type": "string"
},
"externalId": {
"type": "string"
},
"linkId": {
"type": "integer",
"format": "int64"
},
"citizenServiceNumber": {
"type": "string"
},
"photo": {
"type": "string"
},
"pending": {
"type": "boolean"
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"updatedAt": {
"type": "string",
"format": "date-time"
}
},
"description": "Caren People registered within Cupido system.",
"example": {
"id": 7,
"firstName": "Mamma",
"lastName": "mia",
"male": false,
"email": "mia@email.com",
"externalId": "1",
"linkId": 9,
"citizenServiceNumber": "123456780",
"photo": "https://caren-development.s3.amazonaws.com/people/photos/7/api_e8b9df7c27e6d03d9f9410c194bfc430.png?1380016198",
"pending": true,
"createdAt": "2013-04-04T15:12:14.000+02:00",
"updatedAt": "2013-09-24T11:49:58.000+02:00"
},
"xml": {
"name": "carenPerson"
}
},
"caren.Letter": {
"type": "object",
"properties": {
"contentType": {
"type": "string",
"description": "The content type of the document"
},
"document": {
"type": "string",
"description": "The document of the letter"
}
},
"description": "Letter model (no description)",
"example": {
"contentType": "text/plain",
"document": "Invitation code: 1234"
},
"xml": {
"name": "letter"
}
},
"client_collab.list.SharedResourceList": {
"type": "object",
"properties": {
"sharedResources": {
"type": "array",
"items": {
"$ref": "#/definitions/client_collab.SharedResource"
}
}
},
"description": "SharedResourceList model (no description)",
"example": {
"sharedResources": [
{
"id": 1,
"resourceName": "Dossier.CarePlan",
"resourceId": "13",
"clientId": 1,
"recipientGroup": "client",
"shareReason": "Beste Henk, bij deze een nieuw zorgplan nav ons vorige gesprek. Ik heb nu ook als doel je slikprobleem meegenomen.",
"sharedAt": "2016-10-10T00:00:00.000+02:00",
"sharedByEmployeeId": 2,
"unshareReason": "Deze versie bevatte een spelfout. Ik heb dit in de nieuwe versie aangepast.",
"unsharedAt": "2016-10-12T00:00:00.000+02:00",
"unsharedByEmployeeId": 2,
"writable": true
},
{
"id": 2,
"resourceName": "Survey.SurveyResult",
"resourceId": "13",
"clientId": 1,
"recipientGroup": "client",
"shareReason": "Dit is de ingevulde MIC-melding van afgelopen woensdg.",
"sharedAt": "2016-10-14T13:16:00.000+02:00",
"sharedByEmployeeId": 2,
"writable": false
}
]
}
},
"client_collab.SharedResource": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int64",
"x-cupido-id": true
},
"resourceId": {
"type": "string"
},
"clientId": {
"type": "integer",
"format": "int64"
},
"recipientGroup": {
"type": "string"
},
"shareReason": {
"type": "string"
},
"sharedAt": {
"type": "string",
"format": "date-time"
},
"sharedByEmployeeId": {
"type": "integer",
"format": "int64"
},
"unshareReason": {
"type": "string"
},
"unsharedAt": {
"type": "string",
"format": "date-time"
},
"unsharedByEmployeeId": {
"type": "integer",
"format": "int64"
},
"writable": {
"type": "boolean"
},
"resourceName": {
"type": "string"
}
},
"description": "Cupido resources shared with the client environment.",
"example": {
"id": 1,
"resourceName": "Dossier.CarePlan",
"resourceId": "13",
"clientId": 1,
"recipientGroup": "client",
"shareReason": "Beste Henk, bij deze een nieuw zorgplan nav ons vorige gesprek. Ik heb nu ook als doel je slikprobleem meegenomen.",
"sharedAt": "2016-10-10T00:00:00.000+02:00",
"sharedByEmployeeId": 2,
"unshareReason": "Deze versie bevatte een spelfout. Ik heb dit in de nieuwe versie aangepast.",
"unsharedAt": "2016-10-12T00:00:00.000+02:00",
"unsharedByEmployeeId": 2,
"writable": true
}
},
"client_story.Story": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int64",
"x-cupido-id": true
},
"categories": {
"type": "array",
"items": {
"$ref": "#/definitions/client_story.Category"
},
"description": "A list of categories in this client story"
},
"accessLevel": {
"$ref": "#/definitions/client_story.AccessLevel",
"description": "The access level of the story, can be NONE, READ_ONLY, or READ_WRITE"
},
"updatedAt": {
"type": "string",
"description": "When this story was last updated",
"format": "date-time"
},
"updatedSource": {
"type": "string",
"description": "The deployment that last updated this story"
},
"updatedBy": {
"type": "integer",
"description": "Who the story was last updated by",
"format": "int64"
}
},
"description": "Story model (no description)",
"example": {
"id": 1,
"categories": [
{
"id": 1,
"definition": "Interesses",
"description": "Interesses van de client",
"answers": [
{
"id": 1,
"schema": "{\"type\":\"object\",\"properties\":{\"/content[id3]/data[id4]/events[id5]/data[id6]/items[id65]/items[id2]\":{\"title\":\"Mijn favoriete gerecht is\",\"description\":\"\",\"type\":\"string\"}}}",
"data": "{\"/content[id3]/data[id4]/events[id5]/data[id6]/items[id65]/items[id2]\":\"Spare ribs\"}"
}
]
}
],
"accessLevel": "READ_ONLY",
"updatedAt": "2019-05-09T00:00:00.000+02:00",
"updatedSource": "CarenDeployment",
"updatedBy": 1
}
},
"client_story.AccessLevel": {
"enum": [
"NONE",
"READ_ONLY",
"READ_WRITE"
],
"type": "string",
"description": "The access level of the story, can be NONE, READ_ONLY, or READ_WRITE",
"example": "NONE"
},
"client_story.Category": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int64",
"x-cupido-id": true
},
"definition": {
"type": "string",
"description": "A short description of this category"
},
"description": {
"type": "string",
"description": "A longer description of this category"
},
"answers": {
"type": "array",
"items": {
"$ref": "#/definitions/client_story.Answer"
},
"description": "A list of answers in this category"
}
},
"description": "Category model (no description)",
"example": {
"id": 1,
"definition": "Interesses",
"description": "Interesses van de client",
"answers": [
{
"id": 1,
"schema": "{\"type\":\"object\",\"properties\":{\"/content[id3]/data[id4]/events[id5]/data[id6]/items[id65]/items[id2]\":{\"title\":\"Mijn favoriete gerecht is\",\"description\":\"\",\"type\":\"string\"}}}",
"data": "{\"/content[id3]/data[id4]/events[id5]/data[id6]/items[id65]/items[id2]\":\"Spare ribs\"}"
}
]
}
},
"client_story.Answer": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int64",
"x-cupido-id": true
},
"schema": {
"type": "string",
"description": "The JsonSchemaForm representation of this answer"
},
"data": {
"type": "string",
"description": "The JsonSchemaForm data for this answer"
}
},
"description": "Answer model (no description)",
"example": {
"id": 1,
"schema": "{\"type\":\"object\",\"properties\":{\"/content[id3]/data[id4]/events[id5]/data[id6]/items[id65]/items[id2]\":{\"title\":\"Mijn favoriete gerecht is\",\"description\":\"\",\"type\":\"string\"}}}",
"data": "{\"/content[id3]/data[id4]/events[id5]/data[id6]/items[id65]/items[id2]\":\"Spare ribs\"}"
}
},
"client_story.ChangeSet": {
"type": "object",
"properties": {
"timestamp": {
"type": "string",
"description": "Timestamp of this changeset",
"format": "date-time"
},
"source": {
"type": "string",
"description": "The source that made the changes in this changeset\nCan be Caren or Dossier"
},
"userId": {
"type": "integer",
"description": "The user id that made the changes. Can refer to the user id or the caren person id depending on the source",
"format": "int32",
"default": 0
},
"changes": {
"type": "array",
"items": {
"$ref": "#/definitions/client_story.Change"
},
"description": "A list of all changes in this changeset"
}
},
"description": "ChangeSet model (no description)",
"example": {
"timestamp": "2019-10-01T00:00:00.000+02:00",
"source": "Dossier",
"userId": 1337,
"changes": [
{
"type": "question",
"action": "create",
"questionTitle": "Test question?",
"questionContext": "Test question to test",
"oldValue": "",
"newValue": "Test answer"
}
]
}
},
"client_story.Change": {
"type": "object",
"properties": {
"type": {
"type": "string",
"description": "Type of the question that was changed: array, event, eventMultimedia, multimedia, multipleChoice or question"
},
"action": {
"type": "string",
"description": "Change action that was applied to the question answer: update, delete or create"
},
"questionTitle": {
"type": "string",
"description": "Title of the question this change was applied to"
},
"questionContext": {
"type": "string",
"description": "Context text of the question that was changed"
},
"oldValue": {
"type": "string",
"description": "Old / previous value of the answer to this question"
},
"newValue": {
"type": "string",
"description": "Value of this question after this change was applied"
}
},
"description": "Change model (no description)",
"example": {
"type": "question",
"action": "create",
"questionTitle": "Test question?",
"questionContext": "Test question to test",
"oldValue": "",
"newValue": "Test answer"
}
},
"dossier.list.ActionEntrySummaryList": {
"type": "object",
"properties": {
"actionEntrySummaries": {
"type": "array",
"items": {
"$ref": "#/definitions/dossier.ActionEntrySummary"
},
"x-nullable": true
}
},
"description": "ActionEntrySummaryList model (no description)",
"example": {
"actionEntrySummaries": [
{
"id": 10561,
"comment": "Gebruik van hulpmiddelen aanleren; rollator les bij ergo"
},
{
"id": 10562,
"comment": "Conditie verbeteren door dagelijks 3 maal 15 minuten oefenen achter rollator"
}
]
}
},
"dossier.ActionEntrySummary": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int64",
"x-cupido-id": true,
"x-nullable": true
},
"carePlanPersistentActionId": {
"type": "integer",
"description": "The care plan persistent action id of this action entry",
"format": "int64",
"x-nullable": true
},
"comment": {
"type": "string",
"x-nullable": true
},
"actionName": {
"type": "string",
"x-nullable": true
},
"goalName": {
"type": "string",
"x-nullable": true
},
"demandName": {
"type": "string",
"x-nullable": true
},
"domainName": {
"type": "string",
"x-nullable": true
}
},
"description": "Summary of a Zorgplan \"actie\" entry",
"example": {
"id": 1,
"carePlanPersistentActionId": 4,
"comment": "commentaar",
"actionName": "action",
"goalName": "goal",
"demandName": "demand",
"domainName": "domain"
}
},
"ErrorResponse": {
"type": "object",
"properties": {
"errorResponseEntries": {
"type": "array",
"items": {
"$ref": "#/definitions/ErrorResponseEntry"
}
}
},
"description": "Error response model that is only used for documentation purposes (does not get generated).",
"example": {
"errorResponseEntries": [
{
"field": "one",
"value": "a",
"message": "field can not be empty"
},
{
"field": "two",
"value": "a",
"message": "too short"
}
]
}
},
"ErrorResponseEntry": {
"title": "ErrorResponse",
"type": "object",
"properties": {
"field": {
"type": "string"
},
"value": {
"type": "string"
},
"message": {
"type": "string"
}
},
"description": "Error response entry model that is only used for documentation purposes (does not get generated).",
"example": {
"field": "one",
"value": "empty",
"message": "field can not be empty"
}
},
"dossier.admin.alerts.list.TopicList": {
"type": "object",
"properties": {
"topics": {
"type": "array",
"items": {
"$ref": "#/definitions/dossier.admin.alerts.Topic"
}
}
},
"description": "TopicList model (no description)",
"example": {
"topics": [
{
"id": 1,
"name": "Covid-19",
"active": true,
"protocol": "http://www.example.org",
"showDescription": true,
"alertType": "danger_medical",
"icon": "virus"
},
{
"id": 2,
"name": "Dangerous dog",
"active": true,
"protocol": "http://www.example.org",
"showDescription": false,
"alertType": "danger_non_medical",
"icon": "aggression"
}
]
}
},
"dossier.admin.alerts.Topic": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"description": "Object id of this alert topic",
"format": "int64",
"x-cupido-id": true
},
"name": {
"type": "string",
"description": "The name of the alert topic"
},
"active": {
"type": "boolean",
"description": "Whether or not the topic is active"
},
"protocol": {
"type": "string",
"description": "The protocol associated with this alert topic"
},
"showDescription": {
"type": "boolean",
"description": "Whether or not an extra description input should be shown when creating\nan alert with this topic for a client"
},
"alertType": {
"type": "string",
"description": "The type of alert. Can be:\n- danger_medical\n- danger_non_medical\n- other"
},
"icon": {
"type": "string",
"description": "The name of the icon associated with this alert"
}
},
"description": "Topic model (no description)",
"example": {
"id": 1,
"name": "Covid-19",
"active": true,
"protocol": "http://www.example.org",
"showDescription": true,
"alertType": "danger_medical",
"icon": "virus"
}
},
"dossier.Alert": {
"type": "object",
"allOf": [
{
"$ref": "#/definitions/dossier.medical.MedicalBase"
}
],
"properties": {
"name": {
"type": "string",
"description": "Name of this alert"
},
"type": {
"type": "string",
"description": "The type of alert"
},
"icon": {
"type": "string",
"description": "Name of Ivy icon to show for this alert"
},
"iconUrl": {
"type": "string",
"description": "The URL for the icon for this alert"
},
"iconPngUrl": {
"type": "string",
"description": "The PNG URL for the icon for this alert"
},
"protocol": {
"type": "string",
"description": "Protocol for this alert"
},
"description": {
"type": "string",
"description": "Description of this alert"
},
"beginDate": {
"type": "string",
"description": "Begin date of this alert",
"format": "date"
},
"endDate": {
"type": "string",
"description": "End date of this alert",
"format": "date"
},
"active": {
"type": "boolean",
"description": "Whether or not the alert is currently active\nAn alert is active when the day of retrieval falls between the begin and end dates"
},
"topicId": {
"type": "integer",
"description": "The ID of the topic this alert is linked to",
"format": "int64"
},
"authorizedExpertiseProfileIds": {
"type": "array",
"items": {
"type": "integer",
"format": "int64"
},
"description": "Only users with these expertise profiles are allowed to access this alert"
},
"authorizedExpertiseGroupIds": {
"type": "array",
"items": {
"type": "integer",
"format": "int64"
},
"description": "Only users with these expertise groups are allowed to access this alert"
},
"encodings": {
"type": "array",
"items": {
"$ref": "#/definitions/dossier.Encoding"
},
"description": "The encodings of this alert"
},
"feederAuditContentStore": {
"$ref": "#/definitions/dossier.FeederAuditContentStoreType",
"description": "Identifier of the content store that is providing this content"
},
"feederAuditContentId": {
"type": "string",
"description": "Identifier referencing the original content in the feederAuditContentStore"
},
"feederAuditSenderName": {
"type": "string",
"description": "Name of the sender of the original content"
},
"feederAuditTransferType": {
"$ref": "#/definitions/dossier.FeederAuditTransferType",
"description": "Type of the transfer containing this content (a.k.a. the use case)"
}
},
"description": "Alert model (no description)",
"example": {
"id": 1,
"uuid": "02a26900-64d4-11e4-b4af-0002a5d5c51b",
"clientId": 4,
"createdById": 1,
"updatedById": 1,
"createdAt": "2020-11-10T12:00:00.000+01:00",
"updatedAt": "2020-11-10T12:00:00.000+01:00",
"name": "MRSA",
"type": "Agressie",
"icon": "virus",
"iconUrl": "http://www.example.com",
"iconPngUrl": "http://www.example.com",
"protocol": "http://www.example.com",
"description": "Some additional text",
"beginDate": "2021-01-01",
"endDate": "2021-02-06",
"active": true,
"topicId": 1,
"authorizedExpertiseProfileIds": [
1,
2
],
"authorizedExpertiseGroupIds": [
3,
4
],
"encodings": [
{
"code": "61372001",
"codeSystem": "SNOMED CT",
"displayName": "aggression"
}
],
"feederAuditContentStore": "ons_ketenverkeer",
"feederAuditContentId": "abz123",
"feederAuditSenderName": "Some care organisation",
"feederAuditTransferType": "eoverdracht_nursing"
}
},
"dossier.medical.MedicalBase": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int64",
"x-cupido-id": true,
"x-nullable": true
},
"uuid": {
"type": "string",
"x-nullable": true
},
"clientId": {
"type": "integer",
"format": "int64",
"x-nullable": true
},
"createdById": {
"type": "integer",
"format": "int64",
"x-nullable": true
},
"updatedById": {
"type": "integer",
"format": "int64",
"x-nullable": true
},
"createdAt": {
"type": "string",
"format": "date-time",
"x-nullable": true
},
"updatedAt": {
"type": "string",
"format": "date-time",
"x-nullable": true
}
},
"description": "MedicalBase model (no description)",
"example": {
"id": 1,
"uuid": "Dummy",
"clientId": 1,
"createdById": 1,
"updatedById": 1,
"createdAt": "2014-11-10T00:00:00.000+01:00",
"updatedAt": "2014-11-10T00:00:00.000+01:00"
}
},
"dossier.FeederAuditContentStoreType": {
"enum": [
"ons_ketenverkeer",
"other"
],
"type": "string",
"description": "Identifier of the content store that is providing this content",
"example": "ons_ketenverkeer"
},
"dossier.FeederAuditTransferType": {
"enum": [
"eoverdracht_nursing",
"other"
],
"type": "string",
"description": "Type of the transfer containing this content (a.k.a. the use case)",
"example": "eoverdracht_nursing"
},
"dossier.Encoding": {
"type": "object",
"properties": {
"code": {
"type": "string"
},
"codeSystem": {
"type": "string"
},
"displayName": {
"type": "string",
"description": "The display name (or title) corresponding to the code in its code system"
}
},
"description": "Encoding",
"example": {
"code": "E10",
"codeSystem": "ICD-10",
"displayName": "Type 1-diabetes"
}
},
"dossier.medical.list.PropensityToAdverseReactionList": {
"type": "object",
"properties": {
"propensityToAdverseReactions": {
"type": "array",
"items": {
"$ref": "#/definitions/dossier.medical.PropensityToAdverseReaction"
}
}
},
"description": "PropensityToAdverseReactionList model (no description)",
"example": {
"propensityToAdverseReactions": [
{
"id": 5,
"uuid": "02a26900-64d4-11e4-b4af-0002a5d5c51b",
"clientId": 4,
"createdById": 1,
"updatedById": 1,
"createdAt": "2014-11-10T12:00:00.000+01:00",
"updatedAt": "2014-11-10T12:00:00.000+01:00",
"causeBuilders": [
{
"system": "CUSTOM",
"query": "Stofmijt"
},
{
"system": "SNOMED",
"query": "256259004 | pollen |",
"name": "Pollen"
}
],
"cause": "Haar van dieren",
"causativeAgent": {
"name": "Haar/schilfers van dieren",
"encodings": [
{
"code": "264287008",
"codeSystem": "SNOMED CT",
"displayName": "animal dander"
}
]
},
"manifestations": [
"Diarree",
"Misselijkheid",
"Duizeligheid"
],
"active": true,
"specification": "Specificatie",
"narrative": "Het doet zeer",
"certainty": "Ik ben er niet zo zeker van",
"severity": "Niet levensbedreigend",
"course": "De afgelopen twee weken",
"onsetPeriodOfLife": "Vanaf kleuterperiode",
"onsetApproximateDate": "2014"
}
]
},
"xml": {
"name": "propensityToAdverseReactions"
}
},
"dossier.medical.PropensityToAdverseReaction": {
"type": "object",
"allOf": [
{
"$ref": "#/definitions/dossier.medical.MedicalBase"
}
],
"properties": {
"causeBuilders": {
"type": "array",
"items": {
"$ref": "#/definitions/dossier.medical.CauseBuilder"
}
},
"cause": {
"type": "string",
"description": "Deprecated since: 22-02-2022 - use causative_agent instead\n( the `name` field of causative_agent is equivalent to the name of this cause(.destination.name) )",
"x-deprecated": true
},
"causativeAgent": {
"$ref": "#/definitions/dossier.medical.encoded_concepts.CausativeAgent"
},
"manifestations": {
"type": "array",
"items": {
"type": "string"
}
},
"active": {
"type": "boolean"
},
"specification": {
"type": "string"
},
"narrative": {
"type": "string"
},
"certainty": {
"type": "string"
},
"severity": {
"type": "string"
},
"course": {
"type": "string"
},
"onsetPeriodOfLife": {
"type": "string"
},
"onsetApproximateDate": {
"type": "string"
},
"diagnosis": {
"$ref": "#/definitions/dossier.snomed.ClinicalFinding"
},
"feederAuditContentStore": {
"$ref": "#/definitions/dossier.FeederAuditContentStoreType",
"description": "Identifier of the content store that is providing this content"
},
"feederAuditContentId": {
"type": "string",
"description": "Identifier referencing the original content in the feederAuditContentStore"
},
"feederAuditSenderName": {
"type": "string",
"description": "Name of the sender of the original content"
},
"feederAuditTransferType": {
"$ref": "#/definitions/dossier.FeederAuditTransferType",
"description": "Type of the transfer containing this content (a.k.a. the use case)"
}
},
"description": "PropensityToAdverseReaction model (no description)",
"example": {
"id": 1,
"uuid": "02a26900-64d4-11e4-b4af-0002a5d5c51b",
"clientId": 4,
"createdById": 1,
"updatedById": 1,
"createdAt": "2014-11-10T12:00:00.000+01:00",
"updatedAt": "2014-11-10T12:00:00.000+01:00",
"causeBuilders": [
{
"system": "CUSTOM",
"query": "Stofmijt"
},
{
"system": "SNOMED",
"query": "256259004 | pollen |",
"name": "Pollen"
}
],
"cause": "Haar van dieren",
"causativeAgent": {
"name": "Haar/schilfers van dieren",
"encodings": [
{
"code": "264287008",
"codeSystem": "SNOMED CT",
"displayName": "animal dander"
}
]
},
"manifestations": [
"Diarree",
"Misselijkheid",
"Duizeligheid"
],
"active": true,
"specification": "Specificatie",
"narrative": "Het doet zeer",
"certainty": "Ik ben er niet zo zeker van",
"severity": "Niet levensbedreigend",
"course": "De afgelopen twee weken",
"onsetPeriodOfLife": "Vanaf kleuterperiode",
"onsetApproximateDate": "2014",
"diagnosis": "allergy",
"feederAuditContentStore": "ons_ketenverkeer",
"feederAuditContentId": "abz123",
"feederAuditSenderName": "Some care organisation",
"feederAuditTransferType": "eoverdracht_nursing"
}
},
"dossier.medical.encoded_concepts.CausativeAgent": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"encodings": {
"type": "array",
"items": {
"$ref": "#/definitions/dossier.Encoding"
}
}
},
"description": "CausativeAgent model (no description)",
"example": {
"name": "Aardbeien",
"encodings": [
{
"code": "102261002",
"codeSystem": "SNOMED CT",
"displayName": "strawberry"
}
]
}
},
"dossier.snomed.ClinicalFinding": {
"enum": [
"allergy",
"adverse_reaction"
],
"type": "string",
"description": "ClinicalFinding enum (no description)",
"example": "allergy"
},
"dossier.medical.CauseBuilder": {
"type": "object",
"allOf": [
{
"$ref": "#/definitions/dossier.medical.RelationshipBuilder"
}
],
"description": "CauseBuilder model (no description)",
"example": {
"system": "SNOMED",
"query": "256259004 | pollen |",
"name": "Pollen"
}
},
"dossier.medical.RelationshipBuilder": {
"type": "object",
"properties": {
"system": {
"type": "string",
"description": "Which code system this builder should query\nCan be any of CUSTOM, SNOMED, ICD-10, ICPC-1 or ICPC-2",
"x-nullable": true
},
"query": {
"type": "string",
"description": "Query used to build the correct concept within the given code system.\nWill use the first concept within the code system that matches the query,\nfor the best results your query should be as close as possible to a complete code from the system",
"x-nullable": true
},
"name": {
"type": "string",
"x-nullable": true
}
},
"description": "RelationshipBuilder model (no description)",
"example": {
"system": "Dummy",
"query": "Dummy",
"name": "Dummy"
}
},
"dossier.CarePlanAgreement": {
"type": "object",
"allOf": [
{
"$ref": "#/definitions/AuditedBase"
}
],
"properties": {
"id": {
"type": "integer",
"format": "int64",
"x-cupido-id": true,
"x-nullable": true
},
"carePlanId": {
"type": "integer",
"description": "The care plan this agreement belongs to",
"format": "int64",
"x-nullable": true
},
"employeeId": {
"type": "integer",
"description": "The employee that created the agreement",
"format": "int64",
"x-nullable": true
},
"clientId": {
"type": "integer",
"description": "The client the care plan belongs to",
"format": "int64",
"x-nullable": true
}
},
"description": "CarePlanAgreement model (no description)",
"example": {
"updatedAt": "2016-09-05T12:59:26.000+02:00",
"createdAt": "2016-09-05T12:59:26.000+02:00",
"createdBy": "administrator",
"id": 3,
"carePlanId": 12,
"employeeId": 13,
"clientId": 14
}
},
"dossier.CarePlanSignatureRequirement": {
"type": "object",
"allOf": [
{
"$ref": "#/definitions/AuditedBase"
}
],
"properties": {
"id": {
"type": "integer",
"format": "int64",
"x-cupido-id": true,
"x-nullable": true
},
"carePlanId": {
"type": "integer",
"description": "The care plan this signature requirement belongs to",
"format": "int64",
"x-nullable": true
},
"comment": {
"type": "string",
"description": "The comment for this signature requirement",
"x-nullable": true
},
"required": {
"type": "boolean",
"description": "Whether or not a signature is required for the care plan",
"x-nullable": true
}
},
"description": "CarePlanSignatureRequirement model (no description)",
"example": {
"updatedAt": "2016-09-05T12:59:26.000+02:00",
"createdAt": "2016-09-05T12:59:26.000+02:00",
"createdBy": "10",
"id": 171,
"carePlanId": 150,
"comment": "Signature requirement comment",
"required": true
}
},
"dossier.RestrictiveMeasureRegistration": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"description": "The id of this registration",
"format": "int64",
"x-cupido-id": true,
"x-nullable": true
},
"restrictiveMeasureEntryId": {
"type": "integer",
"description": "Optional linked restrictive measure entry from the care plan",
"format": "int64",
"x-nullable": true
},
"restrictiveMeasureId": {
"type": "integer",
"description": "The applied restrictive measure",
"format": "int64",
"x-nullable": true
},
"law": {
"type": "integer",
"description": "The law that was valid when this measure was applied\n- 0 Bopz\n- 1 Wzd\n- 2 Wvggz\n- 3 Wzd with fz",
"format": "int32",
"x-nullable": true
},
"narrative": {
"type": "string",
"description": "Optional narrative that was recorded during the registration",
"x-nullable": true
},
"resistant": {
"type": "boolean",
"description": "Whether there was resistance during the application of this measure",
"default": false,
"x-deprecated": true,
"x-nullable": true
},
"clientExternalId": {
"type": "integer",
"description": "The id of the client this registration is linked to",
"format": "int64",
"x-nullable": true
},
"legalTitle": {
"type": "string",
"description": "The legal title under which this measure was applied:\n- determine_later\n- care_authorization\n- crisis_measure\n- temp_unforeseen\n- temp_mandatory_before_cm\n- continuation_authorization\n- tbs_pij",
"x-nullable": true
},
"startTime": {
"type": "string",
"description": "When the application of this measure started",
"format": "date-time",
"x-nullable": true
},
"endTime": {
"type": "string",
"description": "Optional when the application of this measure ended.",
"format": "date-time",
"x-nullable": true
},
"createdAt": {
"type": "string",
"description": "When this registration was created",
"format": "date-time",
"x-nullable": true
},
"updatedAt": {
"type": "string",
"description": "When this registration was last updated",
"format": "date-time",
"x-nullable": true
}
},
"description": "RestrictiveMeasureRegistration model (no description)",
"example": {
"id": 1,
"restrictiveMeasureEntryId": 2,
"restrictiveMeasureId": 3,
"law": 1,
"narrative": "narrative",
"resistant": false,
"clientExternalId": 4,
"legalTitle": "crisis_measure",
"startTime": "2021-01-01T00:00:00.000+01:00",
"endTime": "2021-01-02T00:00:00.000+01:00",
"createdAt": "2014-11-14T00:00:00.000+01:00",
"updatedAt": "2014-11-14T00:00:00.000+01:00"
}
},
"dossier.RestrictiveMeasureCarePlanEntry": {
"type": "object",
"allOf": [
{
"$ref": "#/definitions/dossier.medical.MedicalBase"
}
],
"properties": {
"restrictiveMeasureEntries": {
"type": "array",
"items": {
"$ref": "#/definitions/dossier.RestrictiveMeasureEntry"
},
"description": "The restrictive measure entries belonging to this care plan entry",
"x-nullable": true
},
"restrictiveMeasureEvaluations": {
"type": "array",
"items": {
"$ref": "#/definitions/dossier.RestrictiveMeasureEvaluation"
},
"description": "Optional evaluations for this care plan entry",
"x-nullable": true
},
"situation": {
"type": "string",
"description": "Optional situation in which this measure is/was applied\n\nPossible values:\nunexpected\ncareplan\n
",
"x-nullable": true
},
"typeCompetent": {
"type": "boolean",
"description": "Optional whether the client is competent regarding the measures",
"x-nullable": true
},
"competentNarrative": {
"type": "string",
"description": "[WVGGZ] Optional whether the client is NOT competent, to explain why not"
},
"typeAgreement": {
"type": "boolean",
"description": "Deprecated since: 01-01-2020 - use restrictiveMeasureEntries.typeAgreement instead, this is now recorded on a per-measure basis there.",
"x-deprecated": true,
"x-deprecated-since": "01-01-2020",
"x-nullable": true
},
"typeResistant": {
"type": "boolean",
"description": "Deprecated since: 01-01-2020 - use restrictiveMeasureEntries.typeResistant instead, this is now recorded on a per-measure basis there.",
"x-deprecated": true,
"x-deprecated-since": "01-01-2020",
"x-nullable": true
},
"decisionNarrative": {
"type": "string",
"description": "Optional explanation on the type and situation decisions",
"x-nullable": true
},
"inspectionReportDate": {
"type": "string",
"description": "Optional date the Bopz-measures were reported to the inspection, does not apply after 01-01-2020",
"format": "date",
"x-nullable": true
},
"status": {
"type": "string",
"description": "The status of the entry\n\nPossible values:\n- draft\n- active\n- archived\n
",
"x-nullable": true
},
"problemNarrative": {
"type": "string",
"description": "Optional problem why this measure is needed or serious detriment that is being prevented",
"x-nullable": true
},
"goalNarrative": {
"type": "string",
"description": "Optional goal to achieve with these measures, no longer applies after 01-01-2020",
"x-nullable": true
},
"beginDate": {
"type": "string",
"description": "Optional start date of the measures",
"format": "date",
"x-nullable": true
},
"endDate": {
"type": "string",
"description": "Optional end date of the measures (the date the entry is archived)",
"format": "date",
"x-nullable": true
},
"nextEvaluationDate": {
"type": "string",
"description": "Optional date on which the measures need to be evaluated",
"format": "date",
"x-nullable": true
},
"risksNarrative": {
"type": "string",
"description": "Optional risks of applying the measures or any adverse effects applying these measures might have",
"x-nullable": true
},
"guaranteeNarrative": {
"type": "string",
"description": "Optional guarantee for behavioural approach",
"x-nullable": true
},
"reductionNarrative": {
"type": "string",
"description": "Optional description of the plan to reduce application of measures",
"x-nullable": true
},
"proportionality": {
"type": "string",
"description": "Optional proportionality of applying the measures",
"x-nullable": true
},
"subsidiarity": {
"type": "string",
"description": "Optional subsidiarity of applying the measures",
"x-nullable": true
},
"effectiveness": {
"type": "string",
"description": "Optional effectiveness of applying the measures",
"x-nullable": true
},
"secondOpinion": {
"type": "string",
"description": "Optional second opinion for the measures",
"x-nullable": true
},
"causeNarrative": {
"type": "string",
"description": "Optional direct / indirect cause for the clients behaviour that cases serious detriment",
"x-nullable": true
},
"oversightNarrative": {
"type": "string",
"description": "Optional way the caregiver will keep oversight of the measures",
"x-nullable": true
},
"law": {
"type": "integer",
"description": "Optional law that applies to these measures\n\nPossible values:\n- 0 (bopz)\n- 1 (wzd)\n- 2 (wvggz)\n- 3 (wzd_fz)\n
",
"format": "int32",
"x-nullable": true
},
"step": {
"type": "integer",
"description": "Optional if these measures follow the Wzd roadmap, the definitive step they are in.",
"format": "int32",
"x-nullable": true
},
"manualStep": {
"type": "integer",
"description": "Optional if these measures follow the Wzd roadmap, the override step put in by the user.",
"format": "int32",
"x-nullable": true
},
"immutable": {
"type": "boolean",
"description": "Optional if these measures are immutable, usually because they are inserted via APIs.",
"x-nullable": true
},
"nature": {
"type": "string",
"description": "Optional the nature of these measures whether they are\n\n- agreement_client\n- agreement_representative\n- emergency (also includes temporary measures)\n- involuntary\n- mixed_plan (it contains different types of measures)\n- unknown (not all the fields are filled in so it cannot be calculated)\n- voluntary_plan (voluntary according to plan: measures that follow Wzd road map)\n
",
"x-nullable": true
},
"reasonNarrative": {
"type": "string",
"description": "Optional description of the reason.",
"x-nullable": true
},
"researchDate": {
"type": "string",
"description": "Optional date of research.",
"format": "date",
"x-nullable": true
},
"safety": {
"type": "string",
"description": "Optional safety measures.",
"x-nullable": true
},
"reasons": {
"type": "array",
"items": {
"$ref": "#/definitions/dossier.RestrictiveMeasureCarePlanEntryReason"
},
"description": "Optional list of reasons.",
"x-nullable": true
},
"problemNarratives": {
"type": "array",
"items": {
"$ref": "#/definitions/dossier.RestrictiveMeasureCarePlanEntryProblemNarrative"
},
"description": "List of problem narratives.",
"x-nullable": true
},
"gdConferDate": {
"type": "string",
"description": "Optionally the date on which care personnel conferred with the Geneesheer-Directeur\non the measures.",
"format": "date",
"x-nullable": true
},
"combinedConditions": {
"type": "string",
"description": "Optionally the field in which care personnel explain how the legal conditions for\nthese measures are met: proportionality, subsidiarity, effectiveness, safety.",
"x-nullable": true
},
"evaluationNote": {
"type": "string",
"description": "Optional note to an evaluation."
},
"consultedWithClient": {
"type": "boolean",
"description": "[WVGGZ] (Required when \"in careplan\", not when \"unforeseen\") To indicate if the client was consulted"
},
"followPreferences": {
"type": "boolean",
"description": "[WVGGZ] Optional whether the client's preferences with regard to mandatory care can be followed"
},
"followPreferencesNarrative": {
"type": "string",
"description": "[WVGGZ] Optional whether the client's preferences with regard to mandatory care can NOT be followed,\nto explain why not: describe the major risks and dangers."
},
"ambulatory": {
"type": "boolean",
"description": "(Optional for model, may be required by law) If the client is ambulatory"
},
"clientRepresentativeNarrative": {
"type": "string",
"description": "Opinion of the client representative"
},
"responsibleCaregiverNarrative": {
"type": "string",
"description": "Opinion of the responsible caregiver"
},
"alternateExpertiseNarrative": {
"type": "string",
"description": "Opinion of the alternate expertise"
},
"physicianNarrative": {
"type": "string",
"description": "Opinion of the physician"
},
"uninvolvedExpertiseNarrative": {
"type": "string",
"description": "Opinion of the uninvolved expertise"
},
"externalExpertiseNarrative": {
"type": "string",
"description": "Opinion of the external expertise"
},
"diligenceRequirements": {
"type": "string",
"description": "In this field user explain what requirements need to be taken related to diligence"
},
"judgementStatus": {
"type": "integer",
"description": "Status of a judgement. 0 if rejected and 1 if approved."
},
"judgementText": {
"type": "string",
"description": "Explanation of judgement"
},
"judgeUserId": {
"type": "integer",
"description": "User-id of employee who added a judgement",
"format": "int64"
},
"judgementTime": {
"type": "string",
"description": "Moment of when judgement is added.",
"format": "date-time"
}
},
"description": "RestrictiveMeasureCarePlanEntry model (no description)",
"example": {
"id": 1,
"uuid": "02a26900-64d4-11e4-b4af-0002a5d5c51b",
"clientId": 2,
"createdById": 1,
"updatedById": 1,
"createdAt": "2014-11-14T00:00:00.000+01:00",
"updatedAt": "2014-11-14T00:00:00.000+01:00",
"restrictiveMeasureEntries": [
{
"id": 1,
"uuid": "02a26900-64d4-11e4-b4af-0002a5d5c51b",
"clientId": 2,
"createdById": 1,
"updatedById": 1,
"createdAt": "2014-11-14T00:00:00.000+01:00",
"updatedAt": "2014-11-14T00:00:00.000+01:00",
"expertiseProfile": 3,
"frequency": "continual",
"frequencyNarrative": "All the time",
"frequencyUnit": 1,
"frequencyAmount": 2,
"durationAmount": 3,
"narrative": "RM entry narrative",
"snomedExpressionValue": "37953008 | bedrails |",
"typeAgreement": true,
"typeResistant": false,
"ordinal": 1,
"ambulatoryCaregivers": 4,
"fixedBeginTime": "20:50:00.000",
"fixedEndTime": "07:45:00.000",
"categoryCode": "wzd_medication",
"duration": "duration",
"instruction": "instruction"
}
],
"restrictiveMeasureEvaluations": [
{
"id": 1,
"uuid": "02a26900-64d4-11e4-b4af-0002a5d5c51b",
"clientId": 2,
"createdById": 1,
"updatedById": 1,
"createdAt": "2014-11-14T00:00:00.000+01:00",
"updatedAt": "2014-11-14T00:00:00.000+01:00",
"evaluationText": "Evaluation text",
"evaluationDate": "2014-11-14"
}
],
"situation": "in careplan",
"typeCompetent": true,
"competentNarrative": "Competent narrative",
"typeAgreement": true,
"typeResistant": true,
"decisionNarrative": "Decision narrative",
"inspectionReportDate": "2015-09-17",
"status": "active",
"problemNarrative": "Problem narrative",
"goalNarrative": "Goal narrative",
"beginDate": "2015-09-17",
"endDate": "2015-09-17",
"nextEvaluationDate": "2015-09-17",
"risksNarrative": "Risks narrative",
"guaranteeNarrative": "Guarantee narrative",
"reductionNarrative": "Reduction narrative",
"proportionality": "Proportionality",
"subsidiarity": "Subsidiarity",
"effectiveness": "Effectiveness",
"secondOpinion": "Second opinion",
"causeNarrative": "Cause narrative",
"oversightNarrative": "Oversight narrative",
"law": 2,
"step": 4,
"manualStep": 4,
"immutable": false,
"nature": "emergency",
"reasonNarrative": "Reason narrative",
"researchDate": "2015-10-17",
"safety": "Safety",
"reasons": [
{
"id": 1,
"tag": "prevent_crisis"
}
],
"problemNarratives": [
{
"id": 1,
"tag": "general_safety"
}
],
"gdConferDate": "2015-10-16",
"combinedConditions": "Combined conditions",
"evaluationNote": "Evaluation note",
"consultedWithClient": true,
"followPreferences": true,
"followPreferencesNarrative": "Follow preferences narrative",
"ambulatory": true,
"clientRepresentativeNarrative": "Client representative narrative",
"responsibleCaregiverNarrative": "Responsible caregiver narrative",
"alternateExpertiseNarrative": "Alternate expertise narrative",
"physicianNarrative": "Physician narrative",
"uninvolvedExpertiseNarrative": "Uninvolved expertise narrative",
"externalExpertiseNarrative": "External expertise narrative",
"diligenceRequirements": "Diligence requirements",
"judgementStatus": 1,
"judgementText": "This is fine",
"judgeUserId": 11,
"judgementTime": "2014-11-14T00:00:00.000+01:00"
}
},
"dossier.RestrictiveMeasureEntry": {
"type": "object",
"allOf": [
{
"$ref": "#/definitions/dossier.medical.MedicalBase"
}
],
"properties": {
"expertiseProfile": {
"type": "integer",
"description": "Optional expertise profile that can apply the measure",
"format": "int64",
"x-nullable": true
},
"frequency": {
"type": "string",
"description": "Optional frequency the restrictive measure should be applied",
"x-nullable": true
},
"frequencyNarrative": {
"type": "string",
"description": "Optional explanation of the frequency",
"x-nullable": true
},
"frequencyUnit": {
"type": "integer",
"description": "Optional the unit of the frequency with this structural measure is applied.\n\nPossible values:\n- 0 daily\n- 1 weekly\n- 2 monthly\n- 3 yearly\n
",
"format": "int32"
},
"frequencyAmount": {
"type": "integer",
"description": "Optional the frequency with which this structural measure is applied.",
"format": "int32"
},
"durationAmount": {
"type": "integer",
"description": "The duration of the application of the structural measure application.",
"format": "int32"
},
"narrative": {
"type": "string",
"description": "Optional additional explanation for this restrictive measure",
"x-nullable": true
},
"snomedExpressionValue": {
"type": "string",
"description": "Optional snomed expression of the restrictive measure",
"x-nullable": true
},
"deviceBuilders": {
"type": "array",
"items": {
"$ref": "#/definitions/dossier.medical.DeviceBuilder"
},
"description": "Optional device builder to build the restrictive measure relation",
"x-nullable": true
},
"device": {
"$ref": "#/definitions/dossier.medical.Device",
"description": "Optional device that was used as a restrictive measure"
},
"typeAgreement": {
"type": "boolean",
"description": "Optional whether a client or representative agrees with this measure",
"x-nullable": true
},
"typeResistant": {
"type": "boolean",
"description": "Optional whether a client resists this measure",
"x-nullable": true
},
"ordinal": {
"type": "integer",
"description": "Optional the ordinal number of this measure in a restrictive measure care plan entry",
"format": "int32",
"default": 0,
"x-nullable": true
},
"ambulatoryCaregivers": {
"type": "integer",
"description": "Optional if this measure is applied in an ambulatory situation: the minimum amount of caregivers that are required to apply this measure",
"format": "int32",
"x-nullable": true
},
"fixedBeginTime": {
"type": "string",
"description": "Optional if this measure is applied at fixed times: when the application of this measure should begin",
"format": "time",
"x-nullable": true
},
"fixedEndTime": {
"type": "string",
"description": "Optional if this measure is applied at fixed times: when the application of this measure should end",
"format": "time",
"x-nullable": true
},
"categoryCode": {
"type": "string",
"description": "The code of the category the measure belongs to",
"x-nullable": true
},
"duration": {
"type": "string",
"description": "Optional duration",
"x-nullable": true
},
"instruction": {
"type": "string",
"description": "Optional instruction (original usage)\nRepurposed to be a combined \"toelichting\" field\n(includes \"Proportionality\", \"Subsidiarity\", \"Effectiveness\", and possibly \"Safety\")",
"x-nullable": true
}
},
"description": "RestrictiveMeasureEntry model (no description)",
"example": {
"id": 1,
"uuid": "02a26900-64d4-11e4-b4af-0002a5d5c51b",
"clientId": 2,
"createdById": 1,
"updatedById": 1,
"createdAt": "2014-11-14T00:00:00.000+01:00",
"updatedAt": "2014-11-14T00:00:00.000+01:00",
"expertiseProfile": 3,
"frequency": "continual",
"frequencyNarrative": "All the time",
"frequencyUnit": 1,
"frequencyAmount": 2,
"durationAmount": 3,
"narrative": "RM entry narrative",
"snomedExpressionValue": "37953008 | bedrails |",
"deviceBuilders": [
{
"system": "example",
"query": "example",
"name": "example"
},
{
"system": "example",
"query": "example",
"name": "example"
}
],
"device": {
"id": 1,
"name": "Bedrails"
},
"typeAgreement": true,
"typeResistant": false,
"ordinal": 1,
"ambulatoryCaregivers": 4,
"fixedBeginTime": "20:50:00.000",
"fixedEndTime": "07:45:00.000",
"categoryCode": "wzd_medication",
"duration": "duration",
"instruction": "instruction"
}
},
"dossier.medical.Device": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"description": "The unique ID of the device",
"format": "int64",
"x-nullable": true
},
"name": {
"type": "string",
"description": "The name of the device",
"x-nullable": true
}
},
"description": "Optional device that was used as a restrictive measure",
"example": {
"id": 1,
"name": "Bedrails"
},
"x-nullable": true
},
"dossier.medical.DeviceBuilder": {
"type": "object",
"allOf": [
{
"$ref": "#/definitions/dossier.medical.RelationshipBuilder"
}
],
"description": "DeviceBuilder model (no description)",
"example": {
"system": "SNOMED",
"query": "37953008 | bedrails |",
"name": "Bedrails"
}
},
"dossier.RestrictiveMeasureEvaluation": {
"type": "object",
"allOf": [
{
"$ref": "#/definitions/dossier.medical.MedicalBase"
}
],
"properties": {
"evaluationText": {
"type": "string",
"description": "The text of the evaluation",
"x-nullable": true
},
"evaluationDate": {
"type": "string",
"description": "The date of the evaluation",
"format": "date",
"x-nullable": true
}
},
"description": "RestrictiveMeasureEvaluation model (no description)",
"example": {
"id": 1,
"uuid": "02a26900-64d4-11e4-b4af-0002a5d5c51b",
"clientId": 2,
"createdById": 1,
"updatedById": 1,
"createdAt": "2014-11-14T00:00:00.000+01:00",
"updatedAt": "2014-11-14T00:00:00.000+01:00",
"evaluationText": "Evaluation text",
"evaluationDate": "2014-11-14"
}
},
"dossier.RestrictiveMeasureCarePlanEntryReason": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"description": "The reason's ID.",
"format": "int64",
"x-cupido-id": true,
"x-nullable": true
},
"tag": {
"type": "string",
"description": "The reason description and their Dutch translation.\nNew values since the March 2022-release:\n\n
\n\nOlder values:\n\n
",
"x-nullable": true
}
},
"description": "A reason for a {@link RestrictiveMeasureCarePlanEntry}.",
"example": {
"id": 1,
"tag": "prevent_crisis"
}
},
"dossier.RestrictiveMeasureCarePlanEntryProblemNarrative": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"description": "The problem narrative's ID.",
"format": "int64",
"x-cupido-id": true,
"x-nullable": true
},
"tag": {
"type": "string",
"description": "The problem narrative description. Possible values and their Dutch translations:\n\nWZD-labels:\n\n
\n\nWZD-FZ-labels:\n\n
",
"x-nullable": true
}
},
"description": "A problem narrative for a {@link RestrictiveMeasureCarePlanEntry}.",
"example": {
"id": 1,
"tag": "general_safety"
}
},
"dossier.list.RestrictiveMeasureRegistrationList": {
"type": "object",
"properties": {
"restrictiveMeasureRegistrations": {
"type": "array",
"items": {
"$ref": "#/definitions/dossier.RestrictiveMeasureRegistration"
},
"x-nullable": true
}
},
"description": "RestrictiveMeasureRegistrationList model (no description)",
"example": {
"restrictiveMeasureRegistrations": [
{
"id": 1,
"restrictiveMeasureEntryId": 2,
"restrictiveMeasureId": 3,
"law": 1,
"narrative": "narrative",
"resistant": false,
"clientExternalId": 4,
"legalTitle": "crisis_measure",
"startTime": "2021-01-01T00:00:00.000+01:00",
"endTime": "2021-01-02T00:00:00.000+01:00",
"createdAt": "2014-11-14T00:00:00.000+01:00",
"updatedAt": "2014-11-14T00:00:00.000+01:00"
},
{
"id": 1,
"restrictiveMeasureEntryId": 2,
"restrictiveMeasureId": 3,
"law": 1,
"narrative": "narrative",
"resistant": false,
"clientExternalId": 4,
"legalTitle": "crisis_measure",
"startTime": "2021-01-01T00:00:00.000+01:00",
"endTime": "2021-01-02T00:00:00.000+01:00",
"createdAt": "2014-11-14T00:00:00.000+01:00",
"updatedAt": "2014-11-14T00:00:00.000+01:00"
}
]
}
},
"dossier.list.RestrictiveMeasureCarePlanEntryList": {
"type": "object",
"properties": {
"restrictiveMeasureCarePlanEntries": {
"type": "array",
"items": {
"$ref": "#/definitions/dossier.RestrictiveMeasureCarePlanEntry"
},
"x-nullable": true
}
},
"description": "RestrictiveMeasureCarePlanEntryList model (no description)",
"example": {
"restrictiveMeasureCarePlanEntries": [
{
"id": 1,
"uuid": "02a26900-64d4-11e4-b4af-0002a5d5c51b",
"clientId": 1,
"createdById": 1,
"updatedById": 1,
"createdAt": "2014-11-14T00:00:00.000+01:00",
"updatedAt": "2014-11-14T00:00:00.000+01:00",
"situation": "in careplan",
"typeCompetent": true,
"typeAgreement": true,
"typeResistant": true,
"decisionNarrative": "Decision narrative",
"inspectionReportDate": "2015-09-17",
"status": "active",
"problemNarrative": "Problem narrative",
"goalNarrative": "Problem narrative",
"beginDate": "2015-09-17",
"endDate": "2015-09-17",
"nextEvaluationDate": "2015-09-17",
"risksNarrative": "Risks narrative",
"guaranteeNarrative": "Guarantee narrative",
"reductionNarrative": "Reduction narrative",
"proportionality": "Proportionality",
"subsidiarity": "Subsidiarity",
"effectiveness": "Effectiveness",
"secondOpinion": "Second opinion",
"reasonNarrative": "Reason narrative",
"researchDate": "2015-10-17",
"safety": "Safety",
"gdConferDate": "2015-10-16",
"combinedConditions": "Combined conditions",
"evaluationNote": "Evaluation note"
},
{
"id": 1,
"uuid": "02a26900-64d4-11e4-b4af-0002a5d5c51b",
"clientId": 1,
"createdById": 1,
"updatedById": 1,
"createdAt": "2014-11-14T00:00:00.000+01:00",
"updatedAt": "2014-11-14T00:00:00.000+01:00",
"situation": "in careplan",
"typeCompetent": true,
"typeAgreement": true,
"typeResistant": true,
"decisionNarrative": "Decision narrative",
"inspectionReportDate": "2015-09-17",
"status": "active",
"problemNarrative": "Problem narrative",
"goalNarrative": "Problem narrative",
"beginDate": "2015-09-17",
"endDate": "2015-09-17",
"nextEvaluationDate": "2015-09-17",
"risksNarrative": "Risks narrative",
"guaranteeNarrative": "Guarantee narrative",
"reductionNarrative": "Reduction narrative",
"proportionality": "Proportionality",
"subsidiarity": "Subsidiarity",
"effectiveness": "Effectiveness",
"secondOpinion": "Second opinion",
"reasonNarrative": "Reason narrative",
"researchDate": "2015-10-17",
"safety": "Safety",
"gdConferDate": "2015-10-16",
"combinedConditions": "Combined conditions",
"evaluationNote": "Evaluation note"
}
]
}
},
"dossier.list.LastMedicalMomentList": {
"type": "object",
"properties": {
"lastMedicalMoments": {
"type": "array",
"items": {
"$ref": "#/definitions/dossier.LastMedicalMoment"
}
}
},
"description": "LastMedicalMomentList model (no description)",
"example": {
"lastMedicalMoments": [
{
"clientId": 1,
"updatedAt": "2014-06-16T02:00:00.000+02:00"
},
{
"clientId": 2,
"updatedAt": "2014-06-16T02:00:00.000+02:00"
}
]
}
},
"dossier.LastMedicalMoment": {
"type": "object",
"properties": {
"clientId": {
"type": "integer",
"format": "int64"
},
"updatedAt": {
"type": "string",
"format": "date-time"
}
},
"description": "LastMedicalMoment model (no description)",
"example": {
"clientId": 1,
"updatedAt": "2014-06-16T02:00:00.000+02:00"
}
},
"dossier.medical.advance_directives.list.ContextList": {
"type": "object",
"properties": {
"contexts": {
"type": "array",
"items": {
"$ref": "#/definitions/dossier.medical.advance_directives.Context"
}
}
},
"description": "ContextList model (no description)",
"example": {
"contexts": [
{
"id": 3,
"uuid": "02a26900-64d4-11e4-b4af-0002a5d5c51b",
"clientId": 1,
"createdById": 2,
"updatedById": 4,
"createdAt": "2014-11-14T00:00:00.000+01:00",
"updatedAt": "2014-11-14T00:00:00.000+01:00",
"narrative": "Thats what I want",
"snomedExpressionValue": "Dummy",
"date": "2014-11-14",
"employeeId": 1337,
"status": "Discussed with patient",
"immutable": true
}
]
}
},
"dossier.medical.advance_directives.Context": {
"type": "object",
"allOf": [
{
"$ref": "#/definitions/dossier.medical.MedicalBase"
}
],
"properties": {
"narrative": {
"type": "string"
},
"snomedExpressionValue": {
"type": "string"
},
"date": {
"type": "string",
"format": "date"
},
"employeeId": {
"type": "integer",
"format": "int64"
},
"status": {
"type": "string",
"description": "The status of the AdvanceDirective Context."
},
"documentId": {
"type": "integer",
"format": "int32"
},
"documentName": {
"type": "string"
},
"decisionBuilders": {
"type": "array",
"items": {
"$ref": "#/definitions/dossier.medical.DecisionBuilder"
},
"description": "Used by the update and create api's to build the Decisions of this AdvanceDirective\nBoth the update and create api will only look at the builders and not at the decision list."
},
"decisions": {
"type": "array",
"items": {
"$ref": "#/definitions/dossier.medical.advance_directives.Decision"
},
"description": "The decisions of the AdvanceDirective Context."
},
"immutable": {
"type": "boolean",
"description": "Whether or not the context is immutable"
}
},
"description": "The current medical policy of the client",
"example": {
"id": 3,
"uuid": "02a26900-64d4-11e4-b4af-0002a5d5c51b",
"clientId": 1,
"createdById": 2,
"updatedById": 4,
"createdAt": "2014-11-14T00:00:00.000+01:00",
"updatedAt": "2014-11-14T00:00:00.000+01:00",
"narrative": "Thats what I want",
"snomedExpressionValue": "Dummy",
"date": "2014-11-14",
"employeeId": 1337,
"status": "Discussed with patient",
"documentId": 1,
"documentName": "Document",
"decisionBuilders": [
{
"system": "example",
"query": "example",
"name": "example",
"outcome": "example"
},
{
"system": "example",
"query": "example",
"name": "example",
"outcome": "example"
}
],
"decisions": [
{
"name": "Resuscitation",
"outcome": "Yes"
}
],
"immutable": true
}
},
"dossier.medical.DecisionBuilder": {
"type": "object",
"allOf": [
{
"$ref": "#/definitions/dossier.medical.RelationshipBuilder"
}
],
"properties": {
"outcome": {
"type": "string",
"description": "The outcome that should be set on the decision\nShould be a valid outcome code within the system that is set on this builder"
}
},
"description": "DecisionBuilder model (no description)",
"example": {
"system": "SNOMED",
"query": "61420007 | Tube feeding |",
"name": "Sondevoeding",
"outcome": "373067005 | no |"
}
},
"dossier.medical.advance_directives.Decision": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"outcome": {
"type": "string"
},
"snomedExpressionValue": {
"type": "string",
"description": "snomedexpression of the whole decision.\nExample: \"363589002 | associated procedure |: 246456000 | has interpretation | =439569004 | resuscitation |, 408729009 | finding context | =373066001 | yes |\""
}
},
"description": "Decision model (no description)",
"example": {
"name": "Resuscitation",
"outcome": "Yes",
"snomedExpressionValue": "363589002 | associated procedure |: 246456000 | has interpretation | =439569004 | resuscitation |, 408729009 | finding context | =373066001 | yes |"
}
},
"dossier.medical.dsm.list.ClassificationSeriesList": {
"type": "object",
"properties": {
"classificationSeriesList": {
"type": "array",
"items": {
"xml": {
"name": "classificationSeries"
},
"$ref": "#/definitions/dossier.medical.dsm.ClassificationSeries"
}
}
},
"description": "ClassificationSeriesList model (no description)",
"example": {
"classificationSeriesList": [
{
"id": 1,
"uuid": "a72ec22c-faca-43c6-86ec-28ff0e1ddba4",
"clientId": 8,
"createdById": 1,
"updatedById": 1,
"createdAt": "2016-10-24T18:55:45.000+02:00",
"updatedAt": "2016-10-24T18:55:45.000+02:00",
"dsmType": "DSM-IV",
"financeId": 655,
"financeType": "Cupido::Finance::CareOrder",
"psychiatricCareType": "basic"
},
{
"id": 2,
"uuid": "a72ec22c-faca-43c6-86ec-28ff0e1ddba4",
"clientId": 8,
"createdById": 1,
"updatedById": 1,
"createdAt": "2016-10-24T18:55:45.000+02:00",
"updatedAt": "2016-10-24T18:55:45.000+02:00",
"dsmType": "DSM-V",
"financeId": 455,
"financeType": "Cupido::Dbc::Ggz::Zorgtraject",
"psychiatricCareType": "specialistic"
}
]
},
"xml": {
"name": "classificationSeriesList"
}
},
"dossier.medical.dsm.ClassificationSeries": {
"type": "object",
"allOf": [
{
"$ref": "#/definitions/dossier.medical.MedicalBase"
}
],
"properties": {
"classifications": {
"type": "array",
"items": {
"$ref": "#/definitions/dossier.medical.dsm.Classification"
},
"description": "The classifications belonging to this series"
},
"dsmType": {
"type": "string",
"description": "The type of DSM classifications in this series (DSM-IV or DSM-5)"
},
"financeId": {
"type": "integer",
"description": "The ID of the financial entity linked to this classification series",
"format": "int32"
},
"financeType": {
"type": "string",
"description": "The type of financial entity linked to this classification series"
},
"psychiatricCareType": {
"type": "string",
"description": "The type of psychiatric care for this classification series\nCan be 'basic' or 'specialistic'"
},
"status": {
"type": "string",
"description": "The status of the classification series (based on the status of the last Classification)"
}
},
"description": "ClassificationSeries model (no description)",
"example": {
"id": 1,
"uuid": "a72ec22c-faca-43c6-86ec-28ff0e1ddba4",
"clientId": 8,
"createdById": 1,
"updatedById": 1,
"createdAt": "2016-10-24T18:55:45.000+02:00",
"updatedAt": "2016-10-24T18:55:45.000+02:00",
"classifications": [
{
"id": 1,
"uuid": "d69c298d-89b6-409a-ac5a-450857c40d44",
"clientId": 8,
"createdById": 1,
"updatedById": 1,
"createdAt": "2016-10-24T18:55:45.000+02:00",
"updatedAt": "2016-10-24T18:56:23.000+02:00",
"beginDate": "2016-10-24",
"endDate": "2016-10-24",
"classificationDate": "2016-10-24",
"status": "registration",
"diagnosisDescription": "This is the descriptive diagnosis",
"childId": 2,
"immutable": true,
"axis3weight": 1,
"gafStart": 51,
"classificationSeriesId": 1
},
{
"id": 2,
"uuid": "5d4a08d0-d853-4882-8a7f-f414cd7e9f42",
"clientId": 8,
"createdById": 1,
"updatedById": 1,
"createdAt": "2016-10-24T18:56:23.000+02:00",
"updatedAt": "2016-10-26T19:39:33.000+02:00",
"findings": [
{
"id": 9,
"uuid": "dbff59ee-4ec0-40bf-bdab-8ee8f29a83f4",
"clientId": 8,
"createdById": 1,
"updatedById": 1,
"createdAt": "2016-10-26T19:39:33.000+02:00",
"updatedAt": "2016-10-26T19:39:33.000+02:00",
"axis": 1,
"mainDiagnosis": false,
"compoundCode": "2016-01-01|as1_10.02|0",
"icd9cmCode": "300.13",
"dsmType": "DSM-IV",
"description": "Dissociatieve fugue"
}
],
"beginDate": "2016-10-24",
"endDate": "2016-10-26",
"classificationDate": "2016-10-26",
"status": "intake",
"diagnosisDescription": "This is another descriptive diagnosis",
"parentId": 1,
"childId": 5,
"immutable": true,
"axis3weight": 1,
"gafStart": 51,
"classificationSeriesId": 1
},
{
"id": 5,
"uuid": "9ee1eb44-a89f-4fb6-bb29-ff39bfeef98e",
"clientId": 8,
"createdById": 1,
"updatedById": 1,
"createdAt": "2016-10-26T19:39:33.000+02:00",
"updatedAt": "2016-10-26T19:39:33.000+02:00",
"findings": [
{
"id": 10,
"uuid": "99db4e0f-0d7a-4c68-9f01-a38a7c30d11b",
"clientId": 8,
"createdById": 1,
"updatedById": 1,
"createdAt": "2016-10-26T19:39:33.000+02:00",
"updatedAt": "2016-10-26T19:39:33.000+02:00",
"axis": 2,
"signsOf": true,
"mainDiagnosis": false,
"compoundCode": "2016-01-01|as2_17.01|0",
"icd9cmCode": "V62.89",
"dsmType": "DSM-IV",
"description": "Zwakbegaafdheid"
}
],
"evaluations": [
{
"id": 1,
"uuid": "46b414fb-576c-4a5b-890e-0e7e058b4a72",
"clientId": 8,
"createdById": 1,
"updatedById": 1,
"createdAt": "2016-10-26T19:39:42.000+02:00",
"updatedAt": "2016-10-26T19:39:42.000+02:00",
"evaluationText": "Dit is een evaluatie",
"newDraft": false
}
],
"beginDate": "2016-10-26",
"status": "treatment_active",
"diagnosisDescription": "This is the last descriptive diagnosis",
"parentId": 2,
"axis3weight": 1,
"gafStart": 51,
"classificationSeriesId": 1
}
],
"dsmType": "DSM-IV",
"financeId": 655,
"financeType": "Cupido::Finance::CareOrder",
"psychiatricCareType": "basic",
"status": "treatment_active"
}
},
"dossier.medical.dsm.Classification": {
"type": "object",
"allOf": [
{
"$ref": "#/definitions/dossier.medical.MedicalBase"
}
],
"properties": {
"findings": {
"type": "array",
"items": {
"$ref": "#/definitions/dossier.medical.dsm.Finding"
},
"description": "The findings belonging to this classification"
},
"evaluations": {
"type": "array",
"items": {
"$ref": "#/definitions/dossier.medical.dsm.Evaluation"
},
"description": "The evaluations belonging to this classification"
},
"beginDate": {
"type": "string",
"description": "The begin date of the classification phase",
"format": "date"
},
"endDate": {
"type": "string",
"description": "The end date of the classification phase",
"format": "date"
},
"classificationDate": {
"type": "string",
"description": "The date the classification was determined",
"format": "date"
},
"status": {
"type": "string",
"description": "The status of the classification phase"
},
"diagnosisDescription": {
"type": "string",
"description": "The descriptive diagnosis"
},
"parentId": {
"type": "integer",
"description": "The classification phase this classification was derived from",
"format": "int32"
},
"childId": {
"type": "integer",
"description": "The classification phase that was derived from this classification",
"format": "int32"
},
"immutable": {
"type": "boolean",
"description": "Whether or not the classification is immutable"
},
"axis3weight": {
"type": "integer",
"description": "The weight of the axis 3 findings",
"format": "int32"
},
"gafStart": {
"type": "integer",
"description": "The start GAF score",
"format": "int32"
},
"gafCurrent": {
"type": "integer",
"description": "The current GAF score",
"format": "int32"
},
"gafMax": {
"type": "integer",
"description": "The maximum GAF score",
"format": "int32"
},
"gafEnd": {
"type": "integer",
"description": "The end GAF score",
"format": "int32"
},
"classificationSeriesId": {
"type": "integer",
"description": "The series this classification is a part of",
"format": "int64"
}
},
"description": "Classification model (no description)",
"example": {
"id": 5,
"uuid": "9ee1eb44-a89f-4fb6-bb29-ff39bfeef98e",
"clientId": 8,
"createdById": 1,
"updatedById": 1,
"createdAt": "2016-10-26T19:39:33.000+02:00",
"updatedAt": "2016-10-26T19:39:33.000+02:00",
"findings": [
{
"id": 9,
"uuid": "dbff59ee-4ec0-40bf-bdab-8ee8f29a83f4",
"clientId": 8,
"createdById": 1,
"updatedById": 1,
"createdAt": "2016-10-26T19:39:33.000+02:00",
"updatedAt": "2016-10-26T19:39:33.000+02:00",
"axis": 1,
"signsOf": false,
"mainDiagnosis": true,
"compoundCode": "2016-01-01|as1_10.02|0",
"icd9cmCode": "300.13",
"dsmType": "DSM-IV",
"description": "Dissociatieve fugue"
},
{
"id": 10,
"uuid": "99db4e0f-0d7a-4c68-9f01-a38a7c30d11b",
"clientId": 8,
"createdById": 1,
"updatedById": 1,
"createdAt": "2016-10-26T19:39:33.000+02:00",
"updatedAt": "2016-10-26T19:39:33.000+02:00",
"axis": 2,
"signsOf": true,
"mainDiagnosis": false,
"compoundCode": "2016-01-01|as2_17.01|0",
"icd9cmCode": "V62.89",
"dsmType": "DSM-IV",
"description": "Zwakbegaafdheid"
}
],
"evaluations": [
{
"id": 1,
"uuid": "46b414fb-576c-4a5b-890e-0e7e058b4a72",
"clientId": 8,
"createdById": 1,
"updatedById": 1,
"createdAt": "2016-10-26T19:39:42.000+02:00",
"updatedAt": "2016-10-26T19:39:42.000+02:00",
"evaluationText": "Dit is een evaluatie",
"newDraft": false
}
],
"beginDate": "2016-10-26",
"endDate": "2016-10-26",
"classificationDate": "2016-10-26",
"status": "treatment_active",
"diagnosisDescription": "This is the descriptive diagnosis",
"parentId": 2,
"childId": 3,
"immutable": true,
"axis3weight": 1,
"gafStart": 51,
"gafCurrent": 61,
"gafMax": 71,
"gafEnd": 81,
"classificationSeriesId": 1
}
},
"dossier.medical.dsm.Finding": {
"type": "object",
"allOf": [
{
"$ref": "#/definitions/dossier.medical.MedicalBase"
}
],
"properties": {
"axis": {
"type": "integer",
"description": "The axis of the finding",
"format": "int32"
},
"signsOf": {
"type": "boolean",
"description": "Whether or not there are signs of the diagnosis"
},
"mainDiagnosis": {
"type": "boolean",
"description": "Whether or it is the primary diagnosis"
},
"compoundCode": {
"type": "string",
"description": "The compound code that uniquely identifies the diagnosis\n\nFor DSM-IV this is:\nCL_DIAGNOSE_BEGINDATUM|CL_DIAGNOSE_CODE|CL_DIAGNOSE_BRANCHE_INDICATIE\n\nFor DSM-5 this is:\nCL_DIAGNOSE_BEGINDATUM|CL_D5_DIAGNOSE_CODE"
},
"icd9cmCode": {
"type": "string",
"description": "The ICD-9-CM code of the diagnosis"
},
"dsmType": {
"type": "string",
"description": "Whether it is a DSM-IV or a DSM-V finding"
},
"convertedCompoundCodeDsm4": {
"type": "string",
"description": "If it is a DSM-5 finding, this is the converted DSM-IV compound code"
},
"description": {
"type": "string",
"description": "The description of the diagnosis"
},
"diagnosisClaimType": {
"type": "integer",
"description": "The claim type of a diagnosis.",
"format": "int32"
}
},
"description": "Finding model (no description)",
"example": {
"id": 10,
"uuid": "99db4e0f-0d7a-4c68-9f01-a38a7c30d11b",
"clientId": 8,
"createdById": 1,
"updatedById": 1,
"createdAt": "2016-10-26T19:39:33.000+02:00",
"updatedAt": "2016-10-26T19:39:33.000+02:00",
"axis": 2,
"signsOf": true,
"mainDiagnosis": false,
"compoundCode": "2016-01-01|as2_17.01|0",
"icd9cmCode": "V62.89",
"dsmType": "DSM-IV",
"convertedCompoundCodeDsm4": "2000-01-01|as1_5.04|0",
"description": "Waanstoornis",
"diagnosisClaimType": 2
}
},
"dossier.medical.dsm.Evaluation": {
"type": "object",
"allOf": [
{
"$ref": "#/definitions/dossier.medical.MedicalBase"
}
],
"properties": {
"evaluationText": {
"type": "string",
"description": "The evaluation text"
},
"newDraft": {
"type": "boolean",
"description": "Whether or not this evaluation led to a new draft classification"
}
},
"description": "Evaluation model (no description)",
"example": {
"id": 1,
"uuid": "46b414fb-576c-4a5b-890e-0e7e058b4a72",
"clientId": 8,
"createdById": 1,
"updatedById": 1,
"createdAt": "2016-10-26T19:39:42.000+02:00",
"updatedAt": "2016-10-26T19:39:42.000+02:00",
"evaluationText": "Dit is een evaluatie",
"newDraft": false
}
},
"dossier.medical.involuntary_care.list.LegalStatusList": {
"type": "object",
"properties": {
"legalStatuses": {
"type": "array",
"items": {
"$ref": "#/definitions/dossier.medical.involuntary_care.LegalStatus"
}
}
},
"description": "LegalStatusList model (no description)",
"example": {
"legalStatuses": [
{
"id": 1,
"uuid": "02a26900-64d4-11e4-b4af-0002a5d5c51b",
"clientId": 2,
"createdById": 1,
"updatedById": 1,
"createdAt": "2014-11-14T00:00:00.000+01:00",
"updatedAt": "2014-11-14T00:00:00.000+01:00",
"status": "Artikel 60 Bopz-indicatie",
"code": "sapc",
"beginDate": "2015-09-17",
"endDate": "2015-09-27",
"expirationDate": "2015-09-28",
"comments": "5 weeks until renewal",
"endingReason": "Client is better again",
"documentId": 1,
"documentName": "artikel60.pdf",
"archived": false,
"request": false,
"legalStatusDocuments": [
{
"documentId": 1,
"documentName": "artikel60.pdf"
}
],
"legalStatusSuspensions": [
{
"id": 1,
"beginDate": "2021-09-01",
"endDate": "2021-09-02",
"comments": "What the judge told",
"type": "withdraw_involuntary_care",
"createdById": 1,
"updatedById": 1,
"createdAt": "2020-11-14T00:00:00.000+01:00",
"updatedAt": "2020-11-14T00:00:00.000+01:00",
"uuid": "02a26900-64d4-11e4-b4af-0002a5d5c51d"
}
],
"legalGrounds": [
{
"beginDate": "2015-09-25",
"endDate": "2015-09-26",
"comments": "Important side node",
"categoryCode": "wvggz_inclosure_other"
}
]
}
]
}
},
"dossier.medical.involuntary_care.LegalStatus": {
"type": "object",
"allOf": [
{
"$ref": "#/definitions/dossier.medical.MedicalBase"
}
],
"properties": {
"status": {
"type": "string",
"description": "The type of legal status. Currently supported types in Dossier are:\n- Vrijwillige opname\n- Artikel 60 Bopz-indicatie\n- Rechterlijke machtiging (RM)\n- Inbewaringstelling (IBS)\n\nIn 2020 Wzd and Wvggz take effect and dossier supports the following additional legal status types:\n- Ondertoezichtstelling (OTS)\n- Zorgmachtiging (ZM)\n- Crisismaatregel (CM)\n- Voortgezette crisismaatregel (VCM)\n- Terbeschikkingstelling (TBS)\n- Plaatsing Inrichting Jeugdigen (PIJ)\n- Artikel 21 Wzd-indicatie\n- Zelfbindingsverklaring\n- Wfz 2.3 Schakel-artikel\n- Voorwaardelijke machtiging voor jongvolwassenen met een verstandelijke beperking (VMM)\nIn 2022, dossier supports Jeugd law and the following additional legal status types:\n- Voorlopige onder toezichtstelling (VOTS)\n- Machtiging uithuisplaatsing (MUHP)\n- Gezagsbeëindigende maatregel\n- Voogdijmaatregel\n- Tijdelijke voogdij\n- Voorlopige voogdij (VoVo)\n- Jeugdreclassering"
},
"code": {
"$ref": "#/definitions/dossier.medical.involuntary_care.LegalStatusTypeCode",
"description": "Unique code that identifies the legal status type"
},
"beginDate": {
"type": "string",
"description": "The start date of the legal status. May be empty if the client is in voluntary care (Vrijwillige opname)",
"format": "date"
},
"endDate": {
"type": "string",
"description": "The end date of the legal status. If this is in the past, the described legal status is no longer valid",
"format": "date"
},
"expirationDate": {
"type": "string",
"description": "The expiration date of the legal status",
"format": "date"
},
"comments": {
"type": "string",
"description": "Extra comments relating to this legal status"
},
"endingReason": {
"type": "string",
"description": "The reason to end the legal status"
},
"documentId": {
"type": "integer",
"description": "The ID of the document linked to this legal status",
"format": "int32",
"x-deprecated": true
},
"documentName": {
"type": "string",
"description": "The name of the document linked to this legal status",
"x-deprecated": true
},
"archived": {
"type": "boolean",
"description": "The archived status"
},
"request": {
"type": "boolean",
"description": "The request status"
},
"legalStatusDocuments": {
"type": "array",
"items": {
"$ref": "#/definitions/dossier.medical.involuntary_care.LegalStatusDocument"
},
"description": "A list of documents"
},
"legalStatusSuspensions": {
"type": "array",
"items": {
"$ref": "#/definitions/dossier.medical.involuntary_care.LegalStatusSuspension"
},
"description": "A list of suspensions"
},
"legalGrounds": {
"type": "array",
"items": {
"$ref": "#/definitions/dossier.medical.involuntary_care.LegalGround"
},
"description": "A list of legal grounds"
}
},
"description": "The legal status of a client.",
"example": {
"id": 1,
"uuid": "02a26900-64d4-11e4-b4af-0002a5d5c51b",
"clientId": 2,
"createdById": 1,
"updatedById": 1,
"createdAt": "2014-11-14T00:00:00.000+01:00",
"updatedAt": "2014-11-14T00:00:00.000+01:00",
"status": "Artikel 60 Bopz-indicatie",
"code": "sapc",
"beginDate": "2015-09-17",
"endDate": "2015-09-27",
"expirationDate": "2015-09-28",
"comments": "5 weeks until renewal",
"endingReason": "Client is better again",
"documentId": 1,
"documentName": "artikel60.pdf",
"archived": false,
"request": false,
"legalStatusDocuments": [
{
"documentId": 1,
"documentName": "artikel60.pdf"
}
],
"legalStatusSuspensions": [
{
"id": 1,
"beginDate": "2021-09-01",
"endDate": "2021-09-02",
"comments": "What the judge told",
"type": "withdraw_involuntary_care",
"createdById": 1,
"updatedById": 1,
"createdAt": "2020-11-14T00:00:00.000+01:00",
"updatedAt": "2020-11-14T00:00:00.000+01:00",
"uuid": "02a26900-64d4-11e4-b4af-0002a5d5c51d"
}
],
"legalGrounds": [
{
"beginDate": "2015-09-25",
"endDate": "2015-09-26",
"comments": "Important side node",
"categoryCode": "wvggz_inclosure_other"
}
]
}
},
"dossier.medical.involuntary_care.LegalStatusTypeCode": {
"enum": [
"voluntary_admission",
"sapc",
"court_authorization",
"custody_claim",
"placed_under_supervision",
"care_authorization",
"crisis_measure",
"continued_crisis_measure",
"tbs",
"not_voluntary_no_resistance",
"self_binding",
"pij",
"wfz23",
"vmm",
"vots",
"muhp",
"gbm",
"guardianship",
"temporary_guardianship",
"vovo",
"juvenile_probation"
],
"type": "string",
"description": "Unique code that identifies the legal status type",
"example": "sapc"
},
"dossier.medical.involuntary_care.LegalStatusDocument": {
"type": "object",
"properties": {
"documentId": {
"type": "integer",
"format": "int32"
},
"documentName": {
"type": "string"
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"updatedAt": {
"type": "string",
"format": "date-time"
}
},
"description": "LegalStatusDocument model (no description)",
"example": {
"documentId": 1,
"documentName": "Important.pdf",
"createdAt": "2020-11-15T00:00:00.000+01:00",
"updatedAt": "2020-11-15T00:00:00.000+01:00"
}
},
"dossier.medical.involuntary_care.LegalStatusSuspension": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int64",
"x-cupido-id": true
},
"beginDate": {
"type": "string",
"description": "The start date of the suspension",
"format": "date"
},
"endDate": {
"type": "string",
"description": "The end date of the suspension",
"format": "date"
},
"comments": {
"type": "string",
"description": "Extra comments relating to this legal status"
},
"type": {
"type": "string",
"description": "The type of suspension\nCan consist of:\n- withdraw_involuntary_care (Onttrekken Verplichte Zorg)\n- transfer_involuntary_care (Overplaatsing met Verplichte Zorg)\n- temporary_suspension_involuntary_care (Tijdelijke onderbreking Verplichte Zorg)\n- termination_involuntary_care_with_conditions (Beëindiging Verplichte Zorg met voorwaarden)"
},
"createdById": {
"type": "integer",
"description": "The identifier of the employee that created the suspension",
"format": "int64"
},
"updatedById": {
"type": "integer",
"description": "The identifier of the employee that last updated the suspension",
"format": "int64"
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"updatedAt": {
"type": "string",
"format": "date-time"
},
"uuid": {
"type": "string"
}
},
"description": "LegalStatusSuspension model (no description)",
"example": {
"id": 1,
"beginDate": "2021-09-01",
"endDate": "2021-09-02",
"comments": "What the judge told",
"type": "withdraw_involuntary_care",
"createdById": 1,
"updatedById": 1,
"createdAt": "2020-11-14T00:00:00.000+01:00",
"updatedAt": "2020-11-14T00:00:00.000+01:00",
"uuid": "02a26900-64d4-11e4-b4af-0002a5d5c51d"
}
},
"dossier.medical.involuntary_care.LegalGround": {
"type": "object",
"properties": {
"beginDate": {
"type": "string",
"description": "The begin date of the legal ground.",
"format": "date"
},
"endDate": {
"type": "string",
"description": "The end date of the legal ground.",
"format": "date"
},
"comments": {
"type": "string",
"description": "Extra comments relating to this legal ground"
},
"categoryCode": {
"type": "string",
"description": "The category code of the legal ground.\nThe following codes are available:\n- wvggz_administer_nutrition\n- wvggz_check_clothing_or_body\n- wvggz_check_drugs\n- wvggz_check_home_drugs_danger\n- wvggz_fixation_category\n- wvggz_inclosure_category\n- wvggz_inclosure_other\n- wvggz_inclosure_own_living_space\n- wvggz_inclosure_seclusion_room\n- wvggz_inclosure_secure_room\n- wvggz_inclosure_separation_room\n- wvggz_limit_means_of_communication\n- wvggz_limit_organize_life_category\n- wvggz_limit_organize_life_other\n- wvggz_limit_receive_visitors\n- wvggz_mechanical_fixation\n- wvggz_medical_checks_ect\n- wvggz_medical_checks_other\n- wvggz_medication_category\n- wvggz_medication_checks_category\n- wvggz_medication_intramuscularly\n- wvggz_medication_intravenously\n- wvggz_medication_oral\n- wvggz_medication_other\n- wvggz_movement_restriction_category\n- wvggz_movement_restriction_closed_department\n- wvggz_movement_restriction_other\n- wvggz_nutrition_medication_category\n- wvggz_physical_fixation\n- wvggz_receive_accommodation\n- wvggz_supervision_camera\n- wvggz_supervision_category\n- wvggz_supervision_other_electronic_devices\n- wvggz_transfer_temporary_accommodation"
},
"createdById": {
"type": "integer",
"description": "The identifier of the employee that created the LegalGround",
"format": "int64"
},
"updatedById": {
"type": "integer",
"description": "The identifier of the employee that last updated the LegalGround",
"format": "int64"
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"updatedAt": {
"type": "string",
"format": "date-time"
},
"uuid": {
"type": "string"
}
},
"description": "LegalGround model (no description)",
"example": {
"beginDate": "2015-09-18",
"endDate": "2015-09-25",
"comments": "5 weeks until renewal",
"categoryCode": "wvggz_inclosure_other",
"createdById": 1,
"updatedById": 1,
"createdAt": "2020-11-14T00:00:00.000+01:00",
"updatedAt": "2020-11-14T00:00:00.000+01:00",
"uuid": "02a26900-64d4-11e4-b4af-0002a5d5c51c"
}
},
"dossier.episodes.Episode": {
"type": "object",
"allOf": [
{
"$ref": "#/definitions/AuditedBase"
}
],
"properties": {
"id": {
"type": "integer",
"description": "Object id of this episode",
"format": "int64",
"x-cupido-id": true
},
"clientId": {
"type": "integer",
"description": "Client object id this episode belongs too",
"format": "int64"
},
"startDate": {
"type": "string",
"description": "Start date of this episode",
"format": "date"
},
"endDate": {
"type": "string",
"description": "End date of this episode",
"format": "date"
},
"evaluationDate": {
"type": "string",
"description": "Evaluation date of this episode",
"format": "date"
},
"goal": {
"type": "string",
"description": "Goal description of this episode"
},
"title": {
"type": "string",
"description": "Title of this episode"
},
"marked": {
"type": "boolean",
"description": "Marked as important"
},
"subGoals": {
"type": "array",
"items": {
"$ref": "#/definitions/dossier.episodes.SubGoal"
},
"description": "Sub goals of this episode"
},
"problemIds": {
"type": "array",
"items": {
"type": "integer",
"format": "int64"
},
"description": "Medical problems that are linked to this episode"
},
"surveyResults": {
"type": "array",
"items": {
"$ref": "#/definitions/survey.SurveyResult"
},
"description": "Object ids of the survey results that are linked to this episode"
},
"documents": {
"type": "array",
"items": {
"$ref": "#/definitions/Document"
},
"description": "Object ids of the documents that are linked to this episode"
},
"expertiseProfileIds": {
"type": "array",
"items": {
"type": "integer",
"format": "int64"
},
"description": "Only users with these expertise profiles are allowed to access this episode; authorzationIds",
"x-deprecated": true
},
"authorizedExpertiseProfileIds": {
"type": "array",
"items": {
"type": "integer",
"format": "int64"
},
"description": "Only users with these expertise profiles are allowed to access this episode"
},
"authorizedExpertiseGroupIds": {
"type": "array",
"items": {
"type": "integer",
"format": "int64"
},
"description": "Only users with these expertise groups are allowed to access this episode"
},
"linkedExpertiseProfileIds": {
"type": "array",
"items": {
"type": "integer",
"format": "int64"
},
"description": "Users with these linked expertise profiles are connected to this episode"
},
"linkedExpertiseGroupIds": {
"type": "array",
"items": {
"type": "integer",
"format": "int64"
},
"description": "Users with these linked expertise groups are connected to this episode"
}
},
"description": "Episode model (no description)",
"example": {
"updatedAt": "2017-11-27T00:00:00.000+01:00",
"createdAt": "2017-11-27T00:00:00.000+01:00",
"createdBy": "Some Employee",
"id": 1,
"clientId": 1,
"startDate": "2017-11-27",
"endDate": "2017-11-27",
"evaluationDate": "2017-11-27",
"goal": "Some Goal",
"title": "awesome episode",
"marked": false,
"subGoals": [
{
"updatedAt": "2017-11-27T00:00:00.000+01:00",
"createdAt": "2017-11-27T00:00:00.000+01:00",
"createdBy": "Dummy",
"id": 2,
"title": "Some sub goal",
"episodeId": 1,
"archived": false
}
],
"problemIds": [
1,
2
],
"surveyResults": [
{
"updatedAt": "2012-08-02T13:48:46.836+02:00",
"createdAt": "2012-08-02T13:48:46.836+02:00",
"createdBy": "user",
"id": 111,
"surveyObjectId": 555,
"clientObjectId": 333,
"employeeObjectId": 444,
"status": "Draft",
"version": 1,
"title": "test",
"linkedToActiveCarePlan": true,
"isAnyCarePlanUsingThisResult": true,
"duplicateSurveyResultAbility": {
"enabled": true,
"possible": true
},
"editSurveyResultAbility": {
"enabled": true,
"possible": true
},
"statusBumpSurveyResultAbility": {
"enabled": true,
"possible": true
},
"viewSurveyResultAbility": {
"enabled": true,
"possible": true
},
"answers": [],
"groupAnswers": [],
"completedAt": "2012-08-02T13:48:46.836+02:00"
}
],
"documents": [
{
"id": 1233,
"employeeObjectId": 10,
"clientObjectId": 2,
"description": "Dit is een test",
"rightSelection": "Group",
"status": 1,
"fileName": "file.pdf",
"updatedAt": "2017-06-08T00:00:00.000+02:00",
"createdAt": "2017-06-06T00:00:00.000+02:00",
"expertiseProfiles": [
{
"id": 1
},
{
"id": 2
}
],
"expertiseGroups": [
{
"id": 1
}
],
"tags": [
"test",
"Een tweede tag"
]
}
],
"expertiseProfileIds": [
1,
1
],
"authorizedExpertiseProfileIds": [
1,
2
],
"authorizedExpertiseGroupIds": [
1
],
"linkedExpertiseProfileIds": [
1,
2
],
"linkedExpertiseGroupIds": [
1
]
}
},
"dossier.episodes.SubGoal": {
"type": "object",
"allOf": [
{
"$ref": "#/definitions/AuditedBase"
}
],
"properties": {
"id": {
"type": "integer",
"description": "Object id of this sub goal",
"format": "int64",
"x-cupido-id": true
},
"title": {
"type": "string",
"description": "Title of this sub goal"
},
"episodeId": {
"type": "integer",
"description": "Object id of the parent episode of this sub goal",
"format": "int64"
},
"archived": {
"type": "boolean",
"description": "Archived status of this sub goal"
},
"actions": {
"type": "array",
"items": {
"$ref": "#/definitions/dossier.episodes.Action"
},
"description": "Actions on this sub goal"
}
},
"description": "SubGoal model (no description)",
"example": {
"updatedAt": "2017-11-27T00:00:00.000+01:00",
"createdAt": "2017-11-27T00:00:00.000+01:00",
"createdBy": "Dummy",
"id": 2,
"title": "Some sub goal",
"episodeId": 1,
"archived": false,
"actions": [
{
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"title": "example",
"subGoalId": 1,
"showInCarePlan": true,
"archived": true
},
{
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"title": "example",
"subGoalId": 1,
"showInCarePlan": true,
"archived": true
}
]
}
},
"dossier.episodes.Action": {
"type": "object",
"allOf": [
{
"$ref": "#/definitions/AuditedBase"
}
],
"properties": {
"id": {
"type": "integer",
"description": "Object id of this episode action",
"format": "int64",
"x-cupido-id": true
},
"title": {
"type": "string",
"description": "Title of this episode action"
},
"subGoalId": {
"type": "integer",
"description": "Object id of the parent episode sub goal",
"format": "int64"
},
"showInCarePlan": {
"type": "boolean",
"description": "Show this action in the care plan"
},
"archived": {
"type": "boolean",
"description": "Archive status of this action"
}
},
"description": "Action model (no description)",
"example": {
"updatedAt": "2017-11-27T00:00:00.000+01:00",
"createdAt": "2017-11-27T00:00:00.000+01:00",
"createdBy": "Dummy",
"id": 3,
"title": "Some action",
"subGoalId": 2,
"showInCarePlan": true,
"archived": false
}
},
"dossier.episodes.list.ActionList": {
"type": "object",
"properties": {
"actions": {
"type": "array",
"items": {
"$ref": "#/definitions/dossier.episodes.Action"
}
}
},
"description": "ActionList model (no description)",
"example": {
"actions": [
{
"updatedAt": "2017-11-27T00:00:00.000+01:00",
"createdAt": "2017-11-27T00:00:00.000+01:00",
"createdBy": "Dummy",
"id": 3,
"title": "Some action",
"subGoalId": 2,
"showInCarePlan": true,
"archived": false
},
{
"updatedAt": "2017-11-27T00:00:00.000+01:00",
"createdAt": "2017-11-27T00:00:00.000+01:00",
"createdBy": "Dummy",
"id": 55,
"title": "Some archived action",
"subGoalId": 90,
"showInCarePlan": false,
"archived": true
}
]
}
},
"dossier.episodes.list.EpisodeList": {
"type": "object",
"properties": {
"episodes": {
"type": "array",
"items": {
"$ref": "#/definitions/dossier.episodes.Episode"
}
}
},
"description": "EpisodeList model (no description)",
"example": {
"episodes": [
{
"updatedAt": "2017-11-27T00:00:00.000+01:00",
"createdAt": "2017-11-27T00:00:00.000+01:00",
"createdBy": "Some Employee",
"id": 1,
"clientId": 1,
"startDate": "2017-11-27",
"endDate": "2017-11-27",
"evaluationDate": "2017-11-27",
"goal": "Some Goal",
"title": "awesome episode",
"marked": false
},
{
"updatedAt": "2017-11-26T00:00:00.000+01:00",
"createdAt": "2017-11-26T00:00:00.000+01:00",
"createdBy": "Some Employee",
"id": 2,
"clientId": 2,
"startDate": "2017-11-26",
"endDate": "2017-11-26",
"evaluationDate": "2017-11-26",
"goal": "Another Goal",
"title": "even more awesome episode",
"marked": false
}
]
}
},
"dossier.episodes.list.SubGoalList": {
"type": "object",
"properties": {
"subGoals": {
"type": "array",
"items": {
"$ref": "#/definitions/dossier.episodes.SubGoal"
}
}
},
"description": "SubGoalList model (no description)",
"example": {
"subGoals": [
{
"updatedAt": "2017-11-27T00:00:00.000+01:00",
"createdAt": "2017-11-27T00:00:00.000+01:00",
"createdBy": "Dummy",
"id": 2,
"title": "Some sub goal",
"episodeId": 1,
"archived": false
},
{
"updatedAt": "2017-11-27T00:00:00.000+01:00",
"createdAt": "2017-11-27T00:00:00.000+01:00",
"createdBy": "Dummy",
"id": 5,
"title": "Some archived sub goal",
"episodeId": 22,
"archived": true
}
]
}
},
"dossier.list.InvoluntaryCareExportEntryList": {
"type": "object",
"properties": {
"involuntaryCareExportEntries": {
"type": "array",
"items": {
"$ref": "#/definitions/dossier.InvoluntaryCareExportEntry"
}
}
},
"description": "InvoluntaryCareExportEntryList model (no description)",
"example": {
"involuntaryCareExportEntries": [
{
"sourceId": 1,
"sourceType": "registration",
"clientExternalId": 2,
"locationId": 3,
"locationNumber": "03030303",
"careType": 1,
"interventionType": "010101",
"legalSituation": "RM",
"beginSelfBinding": "2021-01-01",
"endSelfBinding": "2021-12-31",
"beginDate": "2021-02-01T01:01:00.000+01:00",
"endDate": "2021-03-01T02:02:00.000+01:00",
"durationAmount": 4,
"frequencyAmount": 5,
"frequencyUnit": 1,
"ambulatory": false
},
{
"sourceId": 1,
"sourceType": "registration",
"clientExternalId": 2,
"locationId": 3,
"locationNumber": "03030303",
"careType": 1,
"interventionType": "010101",
"legalSituation": "RM",
"beginSelfBinding": "2021-01-01",
"endSelfBinding": "2021-12-31",
"beginDate": "2021-02-01T01:01:00.000+01:00",
"endDate": "2021-03-01T02:02:00.000+01:00",
"durationAmount": 4,
"frequencyAmount": 5,
"frequencyUnit": 1,
"ambulatory": false
}
]
}
},
"dossier.InvoluntaryCareExportEntry": {
"type": "object",
"properties": {
"sourceId": {
"type": "integer",
"description": "The id of the source object for this export entry. It is not unique, because a single source can generate multiple export entries",
"format": "int64"
},
"sourceType": {
"type": "string",
"description": "The type of source this export entry was generated from, possible values:\n- registration\n- care_plan_entry"
},
"clientExternalId": {
"type": "integer",
"description": "The id of the client this export entry is linked to",
"format": "int64"
},
"locationId": {
"type": "integer",
"description": "The location this measure was applied",
"format": "int64"
},
"locationNumber": {
"type": "string",
"description": "The KvK vestigingsnummer for the location this export entry was linked to"
},
"careType": {
"type": "integer",
"description": "Optional in case of Wzd, the type of care:\n- 1 structural and plannable\n- 2 structural not plannable\n- 3 unforseen",
"format": "int32"
},
"interventionType": {
"type": "string",
"description": "The type of involuntary care that was applied, possible values depend on the law and can be found in the ZIB that defines it:\nFor Wzd Measures https://zibs.nl/wiki/VrijheidsbeperkendeInterventie-v1.0(2020NL)#SoortInterventieWzdCodelijst\nFor Wvggz Measures https://zibs.nl/wiki/VrijheidsbeperkendeInterventie-v1.0(2020NL)#SoortInterventieWvggzCodelijst"
},
"legalSituation": {
"type": "string",
"description": "The legal situation of the client, possible values from the ZIB: https://zibs.nl/wiki/JuridischeSituatie-v2.0(2020NL)"
},
"beginSelfBinding": {
"type": "string",
"description": "Optional, only for Wvggz, the begin date of a self binding declaration",
"format": "date"
},
"endSelfBinding": {
"type": "string",
"description": "Optional, only for Wvggz, the end date of a self binding declaration",
"format": "date"
},
"beginDate": {
"type": "string",
"description": "The begin date of the registration",
"format": "date-time"
},
"endDate": {
"type": "string",
"description": "Optional, the end date of the registration",
"format": "date-time"
},
"durationAmount": {
"type": "integer",
"description": "Optional, the average and/or rounded duration of the application of the care",
"format": "int32"
},
"frequencyAmount": {
"type": "integer",
"description": "Optional, the amount of times this measures was applied, goes with frequencyUnit",
"format": "int32"
},
"frequencyUnit": {
"type": "integer",
"description": "Optional, goes with frequencyAmount, possible values;\n- 1 daily\n- 2 weekly\n- 3 monthly\n- 4 yearly",
"format": "int32"
},
"ambulatory": {
"type": "boolean",
"description": "Whether or not the client was in the ambulatory setting when this measure was applied."
}
},
"description": "InvoluntaryCareExportEntry model (no description)",
"example": {
"sourceId": 1,
"sourceType": "registration",
"clientExternalId": 2,
"locationId": 3,
"locationNumber": "03030303",
"careType": 1,
"interventionType": "010101",
"legalSituation": "RM",
"beginSelfBinding": "2021-01-01",
"endSelfBinding": "2021-12-31",
"beginDate": "2021-02-01T01:01:00.000+01:00",
"endDate": "2021-03-01T02:02:00.000+01:00",
"durationAmount": 4,
"frequencyAmount": 5,
"frequencyUnit": 1,
"ambulatory": false
}
},
"dbc.ggz.list.DiagnoseToekenningList": {
"type": "object",
"properties": {
"diagnoseToekenningen": {
"type": "array",
"items": {
"xml": {
"name": "diagnoseToekenning"
},
"$ref": "#/definitions/dbc.ggz.DiagnoseToekenning"
}
}
},
"description": "DiagnoseToekenningList model (no description)",
"example": {
"diagnoseToekenningen": [
{
"id": 1,
"externalId": 1,
"primair": true,
"trekkenVan": false,
"datum": "2016-08-19",
"diagnoseCode": {
"id": 1,
"code": "000",
"begindatum": "2016-08-16",
"einddatum": "2016-08-16",
"omschrijving": "Traject",
"icd10": "UUU"
},
"zorgtrajectId": 1
}
]
},
"xml": {
"name": "diagnoseToekenningen"
}
},
"dbc.ggz.DiagnoseToekenning": {
"required": [
"primair",
"datum"
],
"type": "object",
"properties": {
"id": {
"type": "integer",
"description": "Object identifier",
"format": "int64",
"x-cupido-id": true
},
"externalId": {
"type": "integer",
"description": "Link a diagnosetoekenning to the original dsm classification series in ons-dossier.",
"format": "int64"
},
"primair": {
"type": "boolean",
"description": "Indicate that this object is the primary part of a set.\nOne DSM classification can contain a list of DiagnoseToekenningen. Only one of them can be primary",
"x-deprecated-since": "20-11-2023",
"x-deprecated": true
},
"trekkenVan": {
"type": "boolean",
"description": "To indicate that the client has 'signs of' a diagnosis.\nThis is used when the user is not sure of the diagnosis.",
"x-deprecated-since": "20-11-2023",
"x-deprecated": true
},
"datum": {
"type": "string",
"description": "The date at which the diagnosis took place",
"format": "date"
},
"diagnoseAs": {
"type": "integer",
"description": "Possible values:\n1,2,3,4,5\n\nPossible values:\n0 = NO\n1 = YES\n2 = UNKNOWN\n
"
},
"problems": {
"type": "array",
"items": {
"$ref": "#/definitions/dossier.medical.Problem"
},
"description": "A list of medical problems for this client"
},
"adverseReactions": {
"type": "array",
"items": {
"$ref": "#/definitions/dossier.medical.PropensityToAdverseReaction"
},
"description": "A list of adverse reactions for this client"
},
"simplifiedAdverseReactions": {
"type": "array",
"items": {
"$ref": "#/definitions/dossier.medical.SimplifiedPropensityToAdverseReaction"
},
"description": "A list of simplified propensities to adverse reactions (suspicions) for this client"
},
"allergies": {
"type": "array",
"items": {
"$ref": "#/definitions/dossier.medical.PropensityToAdverseReaction"
},
"description": "A list of allergies for this client"
},
"incompetences": {
"type": "array",
"items": {
"$ref": "#/definitions/dossier.medical.involuntary_care.Incompetence"
},
"description": "A list of incompetences for this client"
},
"episodes": {
"type": "array",
"items": {
"$ref": "#/definitions/dossier.episodes.Episode"
},
"description": "A list of episodes for this client"
},
"alerts": {
"type": "array",
"items": {
"$ref": "#/definitions/dossier.Alert"
},
"description": "A list of alerts for this client"
}
},
"description": "MedicalSummary model (no description)",
"example": {
"clientId": 200,
"legalStatus": {
"id": 1,
"uuid": "02a26900-64d4-11e4-b4af-0002a5d5c51b",
"clientId": 2,
"createdById": 1,
"updatedById": 1,
"createdAt": "2014-11-14T00:00:00.000+01:00",
"updatedAt": "2014-11-14T00:00:00.000+01:00",
"status": "Artikel 60 Bopz-indicatie",
"code": "sapc",
"beginDate": "2015-09-17",
"endDate": "2015-09-27",
"comments": "5 weeks until renewal",
"documentId": 1,
"documentName": "artikel60.pdf",
"archived": false,
"request": false,
"legalStatusDocuments": [
{
"documentId": 1,
"documentName": "artikel60.pdf"
}
]
},
"medicalPolicy": {
"id": 3,
"uuid": "02a26900-64d4-11e4-b4af-0002a5d5c51b",
"clientId": 1,
"createdById": 2,
"updatedById": 4,
"createdAt": "2014-11-14T00:00:00.000+01:00",
"updatedAt": "2014-11-14T00:00:00.000+01:00",
"narrative": "Thats what I want",
"snomedExpressionValue": "Dummy",
"date": "2014-11-14",
"employeeId": 1337,
"status": "Discussed with patient",
"documentId": 1,
"documentName": "Document",
"decisions": [
{
"name": "Resuscitation",
"outcome": "Yes"
}
]
},
"resuscitationDecision": 1,
"problems": [
{
"id": 1,
"uuid": "02a26900-64d4-11e4-b4af-0002a5d5c51b",
"clientId": 2,
"createdById": 3,
"updatedById": 1,
"createdAt": "2014-11-14T00:00:00.000+01:00",
"updatedAt": "2014-11-14T00:00:00.000+01:00",
"narrative": "It hurts",
"starred": true,
"onsetApproximateDate": "2014",
"resolvedApproximateDate": "2014-12",
"snomedExpressionValue": "22298006 | Myocardial infarction (disorder) |",
"active": true,
"relevant": true,
"certainty": "Ik ben er niet zo zeker van",
"severity": "Niet levensbedreigend",
"course": "De afgelopen twee weken",
"onsetPeriodOfLife": "Vanaf kleuterperiode",
"expertiseProfileIds": [
1,
2
],
"episodeId": 1
}
],
"adverseReactions": [
{
"id": 5,
"uuid": "02a26900-64d4-11e4-b4af-0002a5d5c51b",
"clientId": 4,
"createdById": 1,
"updatedById": 1,
"createdAt": "2014-11-10T12:00:00.000+01:00",
"updatedAt": "2014-11-10T12:00:00.000+01:00",
"causeBuilders": [
{
"system": "CUSTOM",
"query": "Stofmijt"
},
{
"system": "SNOMED",
"query": "256259004 | pollen |",
"name": "Pollen"
}
],
"cause": "Haar van dieren",
"manifestations": [
"Diarree",
"Misselijkheid",
"Duizeligheid"
],
"active": true,
"specification": "Specificatie",
"narrative": "Het doet zeer",
"certainty": "Ik ben er niet zo zeker van",
"severity": "Niet levensbedreigend",
"course": "De afgelopen twee weken",
"onsetPeriodOfLife": "Vanaf kleuterperiode",
"onsetApproximateDate": "2014"
}
],
"simplifiedAdverseReactions": [
{
"id": 5,
"uuid": "02a26900-64d4-11e4-b4af-0002a5d5c51b",
"clientId": 4,
"createdById": 1,
"updatedById": 1,
"createdAt": "2014-11-10T12:00:00.000+01:00",
"updatedAt": "2014-11-10T12:00:00.000+01:00",
"causeBuilders": [
{
"system": "CUSTOM",
"query": "Stofmijt"
},
{
"system": "SNOMED",
"query": "256259004 | pollen |",
"name": "Pollen"
}
],
"causes": [
"Diarree",
"Misselijkheid",
"Duizeligheid"
]
}
],
"allergies": [
{
"id": 5,
"uuid": "02a26900-64d4-11e4-b4af-0002a5d5c51b",
"clientId": 4,
"createdById": 1,
"updatedById": 1,
"createdAt": "2014-11-10T12:00:00.000+01:00",
"updatedAt": "2014-11-10T12:00:00.000+01:00",
"causeBuilders": [
{
"system": "CUSTOM",
"query": "Stofmijt"
},
{
"system": "SNOMED",
"query": "256259004 | pollen |",
"name": "Pollen"
}
],
"cause": "Haar van dieren",
"manifestations": [
"Diarree",
"Misselijkheid",
"Duizeligheid"
],
"active": true,
"specification": "Specificatie",
"narrative": "Het doet zeer",
"certainty": "Ik ben er niet zo zeker van",
"severity": "Niet levensbedreigend",
"course": "De afgelopen twee weken",
"onsetPeriodOfLife": "Vanaf kleuterperiode",
"onsetApproximateDate": "2014"
}
],
"incompetences": [
{
"id": 1,
"uuid": "02a26900-64d4-11e4-b4af-0002a5d5c51b",
"clientId": 2,
"createdById": 1,
"updatedById": 1,
"createdAt": "2014-11-14T00:00:00.000+01:00",
"updatedAt": "2014-11-14T00:00:00.000+01:00",
"narrative": "I can't do this",
"startDate": "2015-09-17",
"endDate": "2015-09-27",
"snomedExpressionValue": "285033005 | ability to manage medication |",
"decision": "Uitvoeren van gastroscopie"
}
],
"episodes": [
{
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"clientId": 1,
"startDate": "2014-12-29",
"endDate": "2014-12-29",
"evaluationDate": "2014-12-29",
"goal": "example",
"title": "example",
"marked": true,
"subGoals": [
{
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"title": "example",
"episodeId": 1,
"archived": true,
"actions": [
{
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"title": "example",
"subGoalId": 1,
"showInCarePlan": true,
"archived": true
},
{
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"title": "example",
"subGoalId": 1,
"showInCarePlan": true,
"archived": true
}
]
},
{
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"title": "example",
"episodeId": 1,
"archived": true,
"actions": [
{
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"title": "example",
"subGoalId": 1,
"showInCarePlan": true,
"archived": true
},
{
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"title": "example",
"subGoalId": 1,
"showInCarePlan": true,
"archived": true
}
]
}
],
"problemIds": [
1,
1
],
"surveyResults": [
{
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"surveyObjectId": 1,
"clientObjectId": 1,
"employeeObjectId": 1,
"status": "New",
"version": 1,
"title": "example",
"linkedToActiveCarePlan": true,
"isAnyCarePlanUsingThisResult": true,
"duplicateSurveyResultAbility": {
"enabled": true,
"possible": true,
"message": "example"
},
"editSurveyResultAbility": {
"enabled": true,
"possible": true,
"message": "example"
},
"statusBumpSurveyResultAbility": {
"enabled": true,
"possible": true,
"message": "example"
},
"viewSurveyResultAbility": {
"enabled": true,
"possible": true,
"message": "example"
},
"answers": [
{
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"surveyResultObjectId": 1,
"questionObjectId": 1,
"answerDefinitionObjectId": 1,
"text": "example",
"important": true,
"booleanAnswer": true
},
{
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"surveyResultObjectId": 1,
"questionObjectId": 1,
"answerDefinitionObjectId": 1,
"text": "example",
"important": true,
"booleanAnswer": true
}
],
"groupAnswers": [
{
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"groupId": 1,
"surveyResultId": 1,
"score": 1,
"importantForCareplan": true
},
{
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"groupId": 1,
"surveyResultId": 1,
"score": 1,
"importantForCareplan": true
}
],
"completedAt": "2014-12-29T00:00:00.000+01:00"
},
{
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"surveyObjectId": 1,
"clientObjectId": 1,
"employeeObjectId": 1,
"status": "New",
"version": 1,
"title": "example",
"linkedToActiveCarePlan": true,
"isAnyCarePlanUsingThisResult": true,
"duplicateSurveyResultAbility": {
"enabled": true,
"possible": true,
"message": "example"
},
"editSurveyResultAbility": {
"enabled": true,
"possible": true,
"message": "example"
},
"statusBumpSurveyResultAbility": {
"enabled": true,
"possible": true,
"message": "example"
},
"viewSurveyResultAbility": {
"enabled": true,
"possible": true,
"message": "example"
},
"answers": [
{
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"surveyResultObjectId": 1,
"questionObjectId": 1,
"answerDefinitionObjectId": 1,
"text": "example",
"important": true,
"booleanAnswer": true
},
{
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"surveyResultObjectId": 1,
"questionObjectId": 1,
"answerDefinitionObjectId": 1,
"text": "example",
"important": true,
"booleanAnswer": true
}
],
"groupAnswers": [
{
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"groupId": 1,
"surveyResultId": 1,
"score": 1,
"importantForCareplan": true
},
{
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"groupId": 1,
"surveyResultId": 1,
"score": 1,
"importantForCareplan": true
}
],
"completedAt": "2014-12-29T00:00:00.000+01:00"
}
],
"documents": [
{
"id": 1,
"employeeObjectId": 1,
"clientObjectId": 1,
"description": "example",
"rightSelection": "Me",
"status": 1,
"fileName": "example",
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"expertiseProfiles": [
{
"id": 1,
"description": "example",
"visible": true,
"beginDate": "2014-12-29T00:00:00.000+01:00",
"endDate": "2014-12-29T00:00:00.000+01:00",
"allowDossierActions": true,
"allowDossierConfidential": true,
"hourTypeIds": [
1,
1
]
},
{
"id": 1,
"description": "example",
"visible": true,
"beginDate": "2014-12-29T00:00:00.000+01:00",
"endDate": "2014-12-29T00:00:00.000+01:00",
"allowDossierActions": true,
"allowDossierConfidential": true,
"hourTypeIds": [
1,
1
]
}
],
"expertiseGroups": [
{
"id": 1,
"parentObjectid": 1,
"name": "example",
"beginDate": "2014-12-29",
"endDate": "2014-12-29",
"expertiseProfiles": [
{
"id": 1,
"description": "example",
"visible": true,
"beginDate": "2014-12-29T00:00:00.000+01:00",
"endDate": "2014-12-29T00:00:00.000+01:00",
"allowDossierActions": true,
"allowDossierConfidential": true,
"hourTypeIds": [
1,
1
]
},
{
"id": 1,
"description": "example",
"visible": true,
"beginDate": "2014-12-29T00:00:00.000+01:00",
"endDate": "2014-12-29T00:00:00.000+01:00",
"allowDossierActions": true,
"allowDossierConfidential": true,
"hourTypeIds": [
1,
1
]
}
]
},
{
"id": 1,
"parentObjectid": 1,
"name": "example",
"beginDate": "2014-12-29",
"endDate": "2014-12-29",
"expertiseProfiles": [
{
"id": 1,
"description": "example",
"visible": true,
"beginDate": "2014-12-29T00:00:00.000+01:00",
"endDate": "2014-12-29T00:00:00.000+01:00",
"allowDossierActions": true,
"allowDossierConfidential": true,
"hourTypeIds": [
1,
1
]
},
{
"id": 1,
"description": "example",
"visible": true,
"beginDate": "2014-12-29T00:00:00.000+01:00",
"endDate": "2014-12-29T00:00:00.000+01:00",
"allowDossierActions": true,
"allowDossierConfidential": true,
"hourTypeIds": [
1,
1
]
}
]
}
],
"tags": [
"example",
"example"
]
},
{
"id": 1,
"employeeObjectId": 1,
"clientObjectId": 1,
"description": "example",
"rightSelection": "Me",
"status": 1,
"fileName": "example",
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"expertiseProfiles": [
{
"id": 1,
"description": "example",
"visible": true,
"beginDate": "2014-12-29T00:00:00.000+01:00",
"endDate": "2014-12-29T00:00:00.000+01:00",
"allowDossierActions": true,
"allowDossierConfidential": true,
"hourTypeIds": [
1,
1
]
},
{
"id": 1,
"description": "example",
"visible": true,
"beginDate": "2014-12-29T00:00:00.000+01:00",
"endDate": "2014-12-29T00:00:00.000+01:00",
"allowDossierActions": true,
"allowDossierConfidential": true,
"hourTypeIds": [
1,
1
]
}
],
"expertiseGroups": [
{
"id": 1,
"parentObjectid": 1,
"name": "example",
"beginDate": "2014-12-29",
"endDate": "2014-12-29",
"expertiseProfiles": [
{
"id": 1,
"description": "example",
"visible": true,
"beginDate": "2014-12-29T00:00:00.000+01:00",
"endDate": "2014-12-29T00:00:00.000+01:00",
"allowDossierActions": true,
"allowDossierConfidential": true,
"hourTypeIds": [
1,
1
]
},
{
"id": 1,
"description": "example",
"visible": true,
"beginDate": "2014-12-29T00:00:00.000+01:00",
"endDate": "2014-12-29T00:00:00.000+01:00",
"allowDossierActions": true,
"allowDossierConfidential": true,
"hourTypeIds": [
1,
1
]
}
]
},
{
"id": 1,
"parentObjectid": 1,
"name": "example",
"beginDate": "2014-12-29",
"endDate": "2014-12-29",
"expertiseProfiles": [
{
"id": 1,
"description": "example",
"visible": true,
"beginDate": "2014-12-29T00:00:00.000+01:00",
"endDate": "2014-12-29T00:00:00.000+01:00",
"allowDossierActions": true,
"allowDossierConfidential": true,
"hourTypeIds": [
1,
1
]
},
{
"id": 1,
"description": "example",
"visible": true,
"beginDate": "2014-12-29T00:00:00.000+01:00",
"endDate": "2014-12-29T00:00:00.000+01:00",
"allowDossierActions": true,
"allowDossierConfidential": true,
"hourTypeIds": [
1,
1
]
}
]
}
],
"tags": [
"example",
"example"
]
}
],
"expertiseProfileIds": [
1,
1
],
"authorizedExpertiseProfileIds": [
1,
1
],
"authorizedExpertiseGroupIds": [
1,
1
],
"linkedExpertiseProfileIds": [
1,
1
],
"linkedExpertiseGroupIds": [
1,
1
]
},
{
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"clientId": 1,
"startDate": "2014-12-29",
"endDate": "2014-12-29",
"evaluationDate": "2014-12-29",
"goal": "example",
"title": "example",
"marked": true,
"subGoals": [
{
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"title": "example",
"episodeId": 1,
"archived": true,
"actions": [
{
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"title": "example",
"subGoalId": 1,
"showInCarePlan": true,
"archived": true
},
{
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"title": "example",
"subGoalId": 1,
"showInCarePlan": true,
"archived": true
}
]
},
{
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"title": "example",
"episodeId": 1,
"archived": true,
"actions": [
{
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"title": "example",
"subGoalId": 1,
"showInCarePlan": true,
"archived": true
},
{
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"title": "example",
"subGoalId": 1,
"showInCarePlan": true,
"archived": true
}
]
}
],
"problemIds": [
1,
1
],
"surveyResults": [
{
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"surveyObjectId": 1,
"clientObjectId": 1,
"employeeObjectId": 1,
"status": "New",
"version": 1,
"title": "example",
"linkedToActiveCarePlan": true,
"isAnyCarePlanUsingThisResult": true,
"duplicateSurveyResultAbility": {
"enabled": true,
"possible": true,
"message": "example"
},
"editSurveyResultAbility": {
"enabled": true,
"possible": true,
"message": "example"
},
"statusBumpSurveyResultAbility": {
"enabled": true,
"possible": true,
"message": "example"
},
"viewSurveyResultAbility": {
"enabled": true,
"possible": true,
"message": "example"
},
"answers": [
{
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"surveyResultObjectId": 1,
"questionObjectId": 1,
"answerDefinitionObjectId": 1,
"text": "example",
"important": true,
"booleanAnswer": true
},
{
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"surveyResultObjectId": 1,
"questionObjectId": 1,
"answerDefinitionObjectId": 1,
"text": "example",
"important": true,
"booleanAnswer": true
}
],
"groupAnswers": [
{
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"groupId": 1,
"surveyResultId": 1,
"score": 1,
"importantForCareplan": true
},
{
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"groupId": 1,
"surveyResultId": 1,
"score": 1,
"importantForCareplan": true
}
],
"completedAt": "2014-12-29T00:00:00.000+01:00"
},
{
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"surveyObjectId": 1,
"clientObjectId": 1,
"employeeObjectId": 1,
"status": "New",
"version": 1,
"title": "example",
"linkedToActiveCarePlan": true,
"isAnyCarePlanUsingThisResult": true,
"duplicateSurveyResultAbility": {
"enabled": true,
"possible": true,
"message": "example"
},
"editSurveyResultAbility": {
"enabled": true,
"possible": true,
"message": "example"
},
"statusBumpSurveyResultAbility": {
"enabled": true,
"possible": true,
"message": "example"
},
"viewSurveyResultAbility": {
"enabled": true,
"possible": true,
"message": "example"
},
"answers": [
{
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"surveyResultObjectId": 1,
"questionObjectId": 1,
"answerDefinitionObjectId": 1,
"text": "example",
"important": true,
"booleanAnswer": true
},
{
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"surveyResultObjectId": 1,
"questionObjectId": 1,
"answerDefinitionObjectId": 1,
"text": "example",
"important": true,
"booleanAnswer": true
}
],
"groupAnswers": [
{
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"groupId": 1,
"surveyResultId": 1,
"score": 1,
"importantForCareplan": true
},
{
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"groupId": 1,
"surveyResultId": 1,
"score": 1,
"importantForCareplan": true
}
],
"completedAt": "2014-12-29T00:00:00.000+01:00"
}
],
"documents": [
{
"id": 1,
"employeeObjectId": 1,
"clientObjectId": 1,
"description": "example",
"rightSelection": "Me",
"status": 1,
"fileName": "example",
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"expertiseProfiles": [
{
"id": 1,
"description": "example",
"visible": true,
"beginDate": "2014-12-29T00:00:00.000+01:00",
"endDate": "2014-12-29T00:00:00.000+01:00",
"allowDossierActions": true,
"allowDossierConfidential": true,
"hourTypeIds": [
1,
1
]
},
{
"id": 1,
"description": "example",
"visible": true,
"beginDate": "2014-12-29T00:00:00.000+01:00",
"endDate": "2014-12-29T00:00:00.000+01:00",
"allowDossierActions": true,
"allowDossierConfidential": true,
"hourTypeIds": [
1,
1
]
}
],
"expertiseGroups": [
{
"id": 1,
"parentObjectid": 1,
"name": "example",
"beginDate": "2014-12-29",
"endDate": "2014-12-29",
"expertiseProfiles": [
{
"id": 1,
"description": "example",
"visible": true,
"beginDate": "2014-12-29T00:00:00.000+01:00",
"endDate": "2014-12-29T00:00:00.000+01:00",
"allowDossierActions": true,
"allowDossierConfidential": true,
"hourTypeIds": [
1,
1
]
},
{
"id": 1,
"description": "example",
"visible": true,
"beginDate": "2014-12-29T00:00:00.000+01:00",
"endDate": "2014-12-29T00:00:00.000+01:00",
"allowDossierActions": true,
"allowDossierConfidential": true,
"hourTypeIds": [
1,
1
]
}
]
},
{
"id": 1,
"parentObjectid": 1,
"name": "example",
"beginDate": "2014-12-29",
"endDate": "2014-12-29",
"expertiseProfiles": [
{
"id": 1,
"description": "example",
"visible": true,
"beginDate": "2014-12-29T00:00:00.000+01:00",
"endDate": "2014-12-29T00:00:00.000+01:00",
"allowDossierActions": true,
"allowDossierConfidential": true,
"hourTypeIds": [
1,
1
]
},
{
"id": 1,
"description": "example",
"visible": true,
"beginDate": "2014-12-29T00:00:00.000+01:00",
"endDate": "2014-12-29T00:00:00.000+01:00",
"allowDossierActions": true,
"allowDossierConfidential": true,
"hourTypeIds": [
1,
1
]
}
]
}
],
"tags": [
"example",
"example"
]
},
{
"id": 1,
"employeeObjectId": 1,
"clientObjectId": 1,
"description": "example",
"rightSelection": "Me",
"status": 1,
"fileName": "example",
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"expertiseProfiles": [
{
"id": 1,
"description": "example",
"visible": true,
"beginDate": "2014-12-29T00:00:00.000+01:00",
"endDate": "2014-12-29T00:00:00.000+01:00",
"allowDossierActions": true,
"allowDossierConfidential": true,
"hourTypeIds": [
1,
1
]
},
{
"id": 1,
"description": "example",
"visible": true,
"beginDate": "2014-12-29T00:00:00.000+01:00",
"endDate": "2014-12-29T00:00:00.000+01:00",
"allowDossierActions": true,
"allowDossierConfidential": true,
"hourTypeIds": [
1,
1
]
}
],
"expertiseGroups": [
{
"id": 1,
"parentObjectid": 1,
"name": "example",
"beginDate": "2014-12-29",
"endDate": "2014-12-29",
"expertiseProfiles": [
{
"id": 1,
"description": "example",
"visible": true,
"beginDate": "2014-12-29T00:00:00.000+01:00",
"endDate": "2014-12-29T00:00:00.000+01:00",
"allowDossierActions": true,
"allowDossierConfidential": true,
"hourTypeIds": [
1,
1
]
},
{
"id": 1,
"description": "example",
"visible": true,
"beginDate": "2014-12-29T00:00:00.000+01:00",
"endDate": "2014-12-29T00:00:00.000+01:00",
"allowDossierActions": true,
"allowDossierConfidential": true,
"hourTypeIds": [
1,
1
]
}
]
},
{
"id": 1,
"parentObjectid": 1,
"name": "example",
"beginDate": "2014-12-29",
"endDate": "2014-12-29",
"expertiseProfiles": [
{
"id": 1,
"description": "example",
"visible": true,
"beginDate": "2014-12-29T00:00:00.000+01:00",
"endDate": "2014-12-29T00:00:00.000+01:00",
"allowDossierActions": true,
"allowDossierConfidential": true,
"hourTypeIds": [
1,
1
]
},
{
"id": 1,
"description": "example",
"visible": true,
"beginDate": "2014-12-29T00:00:00.000+01:00",
"endDate": "2014-12-29T00:00:00.000+01:00",
"allowDossierActions": true,
"allowDossierConfidential": true,
"hourTypeIds": [
1,
1
]
}
]
}
],
"tags": [
"example",
"example"
]
}
],
"expertiseProfileIds": [
1,
1
],
"authorizedExpertiseProfileIds": [
1,
1
],
"authorizedExpertiseGroupIds": [
1,
1
],
"linkedExpertiseProfileIds": [
1,
1
],
"linkedExpertiseGroupIds": [
1,
1
]
}
],
"alerts": [
{
"id": 1,
"uuid": "02a26900-64d4-11e4-b4af-0002a5d5c51b",
"clientId": 4,
"createdById": 1,
"updatedById": 1,
"createdAt": "2020-11-10T12:00:00.000+01:00",
"updatedAt": "2020-11-10T12:00:00.000+01:00",
"name": "MRSA",
"type": "Agressie",
"icon": "virus",
"iconUrl": "http://www.example.com",
"iconPngUrl": "http://www.example.com",
"protocol": "http://www.example.com",
"description": "Some additional text",
"beginDate": "2021-01-01",
"endDate": "2021-02-06",
"active": true,
"topicId": 1,
"authorizedExpertiseProfileIds": [
1,
2
],
"authorizedExpertiseGroupIds": [
3,
4
]
}
]
}
},
"dossier.medical.advance_directives.ResuscitationDecision": {
"type": "integer",
"description": "The current resuscitation decision for the client\n\nPossible values:\n0 = NO\n1 = YES\n2 = UNKNOWN\n
",
"example": 0
},
"dossier.medical.Problem": {
"type": "object",
"allOf": [
{
"$ref": "#/definitions/dossier.medical.MedicalBase"
}
],
"properties": {
"narrative": {
"type": "string"
},
"starred": {
"type": "boolean"
},
"onsetApproximateDate": {
"type": "string"
},
"resolvedApproximateDate": {
"type": "string"
},
"snomedExpressionValue": {
"type": "string"
},
"active": {
"type": "boolean"
},
"relevant": {
"type": "boolean"
},
"certainty": {
"type": "string"
},
"severity": {
"type": "string"
},
"course": {
"type": "string"
},
"onsetPeriodOfLife": {
"type": "string"
},
"expertiseProfileIds": {
"type": "array",
"items": {
"type": "integer",
"format": "int64"
}
},
"authorizedExpertiseProfileIds": {
"type": "array",
"items": {
"type": "integer",
"format": "int64"
},
"description": "Only users with these expertise profiles are allowed to access this problem\nUse expertiseProfileIds until implemented in Dossier"
},
"authorizedExpertiseGroupIds": {
"type": "array",
"items": {
"type": "integer",
"format": "int64"
},
"description": "Only users with these expertise groups are allowed to access this problem\nUse expertiseProfileIds until implemented in Dossier"
},
"episodeId": {
"type": "integer",
"format": "int32"
},
"diagnosisBuilders": {
"type": "array",
"items": {
"$ref": "#/definitions/dossier.medical.DiagnosisBuilder"
}
},
"diagnoses": {
"type": "array",
"items": {
"$ref": "#/definitions/dossier.medical.Diagnosis"
}
},
"immutable": {
"type": "boolean",
"description": "Whether or not the problem is immutable"
},
"feederAuditContentStore": {
"$ref": "#/definitions/dossier.FeederAuditContentStoreType",
"description": "Identifier of the content store that is providing this content"
},
"feederAuditContentId": {
"type": "string",
"description": "Identifier referencing the original content in the feederAuditContentStore"
},
"feederAuditSenderName": {
"type": "string",
"description": "Name of the sender of the original content"
},
"feederAuditTransferType": {
"$ref": "#/definitions/dossier.FeederAuditTransferType",
"description": "Type of the transfer containing this content (a.k.a. the use case)"
}
},
"description": "Problem model (no description)",
"example": {
"id": 1,
"uuid": "02a26900-64d4-11e4-b4af-0002a5d5c51b",
"clientId": 2,
"createdById": 3,
"updatedById": 1,
"createdAt": "2014-11-14T00:00:00.000+01:00",
"updatedAt": "2014-11-14T00:00:00.000+01:00",
"narrative": "It hurts",
"starred": true,
"onsetApproximateDate": "2014",
"resolvedApproximateDate": "2014-12",
"snomedExpressionValue": "22298006 | Myocardial infarction (disorder) |",
"active": true,
"relevant": true,
"certainty": "Ik ben er niet zo zeker van",
"severity": "Niet levensbedreigend",
"course": "De afgelopen twee weken",
"onsetPeriodOfLife": "Vanaf kleuterperiode",
"expertiseProfileIds": [
1,
2
],
"authorizedExpertiseProfileIds": [
1,
2
],
"authorizedExpertiseGroupIds": [
3,
4
],
"episodeId": 1,
"diagnosisBuilders": [
{
"system": "example",
"query": "example",
"name": "example"
},
{
"system": "example",
"query": "example",
"name": "example"
}
],
"diagnoses": [
{
"name": "example",
"code": "example",
"encodings": [
{
"code": "example",
"codeSystem": "example",
"displayName": "example"
},
{
"code": "example",
"codeSystem": "example",
"displayName": "example"
}
]
},
{
"name": "example",
"code": "example",
"encodings": [
{
"code": "example",
"codeSystem": "example",
"displayName": "example"
},
{
"code": "example",
"codeSystem": "example",
"displayName": "example"
}
]
}
],
"immutable": true,
"feederAuditContentStore": "ons_ketenverkeer",
"feederAuditContentId": "abz123",
"feederAuditSenderName": "Some care organisation",
"feederAuditTransferType": "eoverdracht_nursing"
}
},
"dossier.medical.DiagnosisBuilder": {
"type": "object",
"allOf": [
{
"$ref": "#/definitions/dossier.medical.RelationshipBuilder"
}
],
"description": "DiagnosisBuilder model (no description)",
"example": {
"system": "SNOMED",
"query": "22298006 | Myocardial infarction (disorder) |",
"name": "Hartinfarct"
}
},
"dossier.medical.Diagnosis": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"code": {
"type": "string",
"description": "Deprecated since: 01-12-2021 - use encodings instead\n(the `code` field of all encodings is equivalent to this stringified array of codes)",
"x-deprecated": true
},
"encodings": {
"type": "array",
"items": {
"$ref": "#/definitions/dossier.Encoding"
}
}
},
"description": "Diagnosis model (no description)",
"example": {
"name": "Type 1-diabetes",
"code": "E10",
"encodings": [
{
"code": "E10",
"codeSystem": "ICD-10",
"displayName": "Type 1-diabetes"
}
]
}
},
"dossier.medical.SimplifiedPropensityToAdverseReaction": {
"type": "object",
"allOf": [
{
"$ref": "#/definitions/dossier.medical.MedicalBase"
}
],
"properties": {
"causeBuilders": {
"type": "array",
"items": {
"$ref": "#/definitions/dossier.medical.CauseBuilder"
}
},
"causes": {
"type": "array",
"items": {
"type": "string"
}
},
"immutable": {
"type": "boolean",
"description": "Whether or not the propensity to adverse reaction is immutable"
}
},
"description": "SimplifiedPropensityToAdverseReaction model (no description)",
"example": {
"id": 5,
"uuid": "02a26900-64d4-11e4-b4af-0002a5d5c51b",
"clientId": 4,
"createdById": 1,
"updatedById": 1,
"createdAt": "2014-11-10T12:00:00.000+01:00",
"updatedAt": "2014-11-10T12:00:00.000+01:00",
"causeBuilders": [
{
"system": "CUSTOM",
"query": "Stofmijt"
},
{
"system": "SNOMED",
"query": "256259004 | pollen |",
"name": "Pollen"
}
],
"causes": [
"Diarree",
"Misselijkheid",
"Duizeligheid"
],
"immutable": true
}
},
"dossier.ReportsWithActionsSummary": {
"type": "object",
"properties": {
"actionsForUser": {
"type": "integer",
"format": "int64"
},
"actionsByUser": {
"type": "integer",
"format": "int64"
}
},
"description": "ReportsWithActionsSummary model (no description)",
"example": {
"actionsForUser": 42,
"actionsByUser": 87
}
},
"dossier.list.AlertList": {
"type": "object",
"properties": {
"alerts": {
"type": "array",
"items": {
"$ref": "#/definitions/dossier.Alert"
}
}
},
"description": "List of Alerts",
"example": {
"alerts": [
{
"id": 1,
"uuid": "02a26900-64d4-11e4-b4af-0002a5d5c51b",
"clientId": 4,
"createdById": 1,
"updatedById": 1,
"createdAt": "2020-11-10T12:00:00.000+01:00",
"updatedAt": "2020-11-10T12:00:00.000+01:00",
"name": "MRSA",
"type": "Agressie",
"icon": "virus",
"iconUrl": "http://www.example.com",
"iconPngUrl": "http://www.example.com",
"protocol": "http://www.example.com",
"description": "Some additional text",
"beginDate": "2021-01-01",
"endDate": "2021-02-06",
"active": true,
"topicId": 1,
"authorizedExpertiseProfileIds": [
1,
2
],
"authorizedExpertiseGroupIds": [
3,
4
],
"encodings": [
{
"code": "61372001",
"codeSystem": "SNOMED CT",
"displayName": "aggression"
}
],
"feederAuditContentStore": "ons_ketenverkeer",
"feederAuditContentId": "abz123",
"feederAuditSenderName": "Some care organisation",
"feederAuditTransferType": "eoverdracht_nursing"
},
{
"id": 2,
"uuid": "02a26900-64d4-11e4-b4af-0002a5d5c51b",
"clientId": 4,
"createdById": 1,
"updatedById": 1,
"createdAt": "2020-11-10T12:00:00.000+01:00",
"updatedAt": "2020-11-10T12:00:00.000+01:00",
"name": "MRSA",
"type": "Agressie",
"icon": "virus",
"iconUrl": "http://www.example.com",
"iconPngUrl": "http://www.example.com",
"protocol": "http://www.example.com",
"description": "Some additional text",
"beginDate": "2021-01-01",
"endDate": "2021-02-06",
"active": true,
"topicId": 1,
"authorizedExpertiseProfileIds": [
1,
2
],
"authorizedExpertiseGroupIds": [
3,
4
],
"encodings": [
{
"code": "61372001",
"codeSystem": "SNOMED CT",
"displayName": "aggression"
}
],
"feederAuditContentStore": "ons_ketenverkeer",
"feederAuditContentId": "abz123",
"feederAuditSenderName": "Some care organisation",
"feederAuditTransferType": "eoverdracht_nursing"
}
]
}
},
"fvc.FvcMessage": {
"required": [
"uuid",
"payload"
],
"type": "object",
"properties": {
"uuid": {
"type": "string",
"description": "UUID identifying this FVC message across applications",
"example": null,
"x-cupido-id": true
},
"payload": {
"type": "string",
"description": "Payload FVC message (Base64 encoded)",
"example": null
}
},
"description": "FvcMessage model (no description)",
"example": {
"uuid": "Dummy",
"payload": "Dummy"
},
"xml": {
"name": "fvcMessage"
}
},
"finance.list.DebtorGroupList": {
"type": "object",
"properties": {
"debtorGroups": {
"type": "array",
"items": {
"$ref": "#/definitions/finance.DebtorGroup"
},
"xml": {
"name": "debtorGroup"
}
}
},
"description": "DebtorGroupList model (no description)",
"example": {
"debtorGroups": [
{
"id": 1,
"name": "VGZ",
"description": "Koepel VGZ",
"debtorIds": [
4,
5,
7,
8,
100
]
},
{
"id": 2,
"name": "Achmea",
"description": "Koepel Achmea",
"debtorIds": [
104,
105,
107,
108,
200
]
}
]
},
"xml": {
"name": "debtorGroups"
}
},
"finance.DebtorGroup": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int64",
"x-cupido-id": true
},
"name": {
"type": "string",
"description": "User provided name"
},
"description": {
"type": "string",
"description": "User provided description"
},
"debtorIds": {
"type": "array",
"items": {
"type": "integer",
"description": "List of configured debtor",
"format": "int64",
"xml": {
"name": "debtorId"
}
},
"description": "List of configured debtor",
"xml": {
"wrapped": true
}
}
},
"description": "DebtorGroup model (no description)",
"example": {
"id": 1,
"name": "VGZ",
"description": "Koepel VGZ",
"debtorIds": [
4,
5,
7,
8,
100
]
},
"xml": {
"name": "debtorGroup"
}
},
"groupcare.list.OccurrenceList": {
"type": "object",
"properties": {
"occurrences": {
"type": "array",
"items": {
"$ref": "#/definitions/groupcare.Occurrence"
}
}
},
"description": "OccurrenceList model (no description)",
"example": {
"occurrences": [
{
"id": "1@2016-02-01",
"date": "2016-02-01",
"startTime": "2016-02-01T00:01:00.000+01:00",
"endTime": "2016-02-01T00:02:00.000+01:00",
"groupId": 1,
"groupName": "Name of group",
"locationName": "Name of location",
"locationId": 10,
"registration": "present",
"employeeIds": [
1,
2
],
"recurrenceType": "single",
"recurrenceInterval": 1
}
]
}
},
"groupcare.Occurrence": {
"type": "object",
"properties": {
"id": {
"type": "string",
"x-cupido-id": true
},
"date": {
"type": "string",
"format": "date"
},
"startTime": {
"type": "string",
"format": "date-time"
},
"endTime": {
"type": "string",
"format": "date-time"
},
"groupId": {
"type": "integer",
"format": "int64"
},
"groupName": {
"type": "string"
},
"locationName": {
"type": "string"
},
"locationId": {
"type": "integer",
"format": "int64"
},
"registration": {
"type": "string"
},
"employeeIds": {
"type": "array",
"items": {
"type": "integer",
"format": "int64"
}
},
"recurrenceType": {
"type": "string"
},
"recurrenceInterval": {
"type": "integer",
"format": "int32"
}
},
"description": "Occurrence model (no description)",
"example": {
"id": "1@2016-02-01",
"date": "2016-02-01",
"startTime": "2016-02-01T00:01:00.000+01:00",
"endTime": "2016-02-01T00:02:00.000+01:00",
"groupId": 1,
"groupName": "Name of group",
"locationName": "Name of location",
"locationId": 10,
"registration": "present",
"employeeIds": [
1,
2
],
"recurrenceType": "single",
"recurrenceInterval": 1
}
},
"groupcare.list.GroupList": {
"type": "object",
"properties": {
"groups": {
"type": "array",
"items": {
"$ref": "#/definitions/groupcare.Group"
},
"xml": {
"name": "group"
}
}
},
"description": "GroupList model (no description)",
"example": {
"groups": [
{
"id": 1,
"name": "Testgroup",
"startTime": "08:00:00.000",
"endTime": "16:00:00.000",
"minimumCapacity": 0,
"maximumCapacity": 25,
"expiresAfter": "2040-01-01T00:00:00.000+01:00",
"archived": false,
"useLocationAuthorisation": false,
"useAgendaAppointments": false,
"locationId": 10,
"teamId": 8,
"employeeIds": [
10
],
"activityIds": [
1
],
"uuid": "2d8b914f-33e3-4f15-b737-89bb1a58f122",
"monday": false,
"tuesday": false,
"wednesday": false,
"thursday": false,
"friday": false,
"saturday": true,
"sunday": true,
"cycleInterval": 1,
"recurrenceType": "single"
}
]
},
"xml": {
"name": "groups"
}
},
"groupcare.Group": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int64",
"x-cupido-id": true,
"x-nullable": true
},
"name": {
"type": "string"
},
"startTime": {
"type": "string",
"format": "time",
"x-nullable": true
},
"endTime": {
"type": "string",
"format": "time",
"x-nullable": true
},
"minimumCapacity": {
"type": "integer",
"description": "Minimum capacity of a group (only notifies user in the browser about this in Groupcare)",
"format": "int32",
"x-nullable": true
},
"maximumCapacity": {
"type": "integer",
"description": "Maximum capacity of a group, can go up to 99 (only notifies user in the browser about this in Groupcare)",
"format": "int32",
"x-nullable": true
},
"expiresAfter": {
"type": "string",
"description": "After this date the Group is not visible anymore in Groupcare (together with archived)",
"format": "date-time",
"x-nullable": true
},
"archived": {
"type": "boolean"
},
"useLocationAuthorisation": {
"type": "boolean",
"description": "Use location based authorisation for this group, instead of adding employees manually (with employee_ids)"
},
"useAgendaAppointments": {
"type": "boolean",
"description": "Store appointments of this group in Agenda, where it also should be registered (not normal Groupcare flow, see Groupregistration project)"
},
"locationId": {
"type": "integer",
"format": "int64",
"x-nullable": true
},
"teamId": {
"type": "integer",
"format": "int64",
"x-nullable": true
},
"employeeIds": {
"type": "array",
"items": {
"type": "integer",
"format": "int64",
"xml": {
"name": "employeeId"
}
},
"xml": {
"wrapped": true
}
},
"activityIds": {
"type": "array",
"items": {
"type": "integer",
"format": "int64",
"xml": {
"name": "activityId"
}
},
"xml": {
"wrapped": true
}
},
"uuid": {
"type": "string",
"format": "uuid",
"x-nullable": true
},
"monday": {
"type": "boolean",
"description": "Needed to recreate agenda appointments for the Groupregistration project"
},
"tuesday": {
"type": "boolean"
},
"wednesday": {
"type": "boolean"
},
"thursday": {
"type": "boolean"
},
"friday": {
"type": "boolean"
},
"saturday": {
"type": "boolean"
},
"sunday": {
"type": "boolean"
},
"cycleInterval": {
"type": "integer",
"format": "int32"
},
"recurrenceType": {
"type": "string"
}
},
"description": "Group model (no description)",
"example": {
"id": 1,
"name": "Testgroup",
"startTime": "08:00:00.000",
"endTime": "16:00:00.000",
"minimumCapacity": 0,
"maximumCapacity": 25,
"expiresAfter": "2040-01-01T00:00:00.000+01:00",
"archived": false,
"useLocationAuthorisation": false,
"useAgendaAppointments": false,
"locationId": 10,
"teamId": 8,
"employeeIds": [
10
],
"activityIds": [
1
],
"uuid": "2d8b914f-33e3-4f15-b737-89bb1a58f122",
"monday": false,
"tuesday": false,
"wednesday": false,
"thursday": false,
"friday": false,
"saturday": true,
"sunday": true,
"cycleInterval": 1,
"recurrenceType": "single"
},
"xml": {
"name": "group"
}
},
"onsimport.list.RunList": {
"type": "object",
"properties": {
"runs": {
"type": "array",
"items": {
"$ref": "#/definitions/onsimport.Run"
},
"xml": {
"name": "run"
}
}
},
"description": "RunList model (no description)",
"example": {
"runs": [
{
"updatedAt": "2020-03-25T00:00:00.000+01:00",
"createdAt": "2020-03-25T00:00:00.000+01:00",
"createdBy": "htaylor",
"id": "runwithme",
"name": "Run With Me",
"autoProcess": true,
"quickMatch": true
}
]
},
"xml": {
"name": "runs"
}
},
"onsimport.Run": {
"required": [
"name"
],
"type": "object",
"allOf": [
{
"$ref": "#/definitions/AuditedBase"
}
],
"properties": {
"id": {
"type": "string",
"description": "Object identifier of the run, usually in the form of a UUID.",
"x-cupido-id": true
},
"name": {
"type": "string",
"description": "Name of the run."
},
"autoProcess": {
"type": "boolean",
"description": "Indicates that records added to the run will be automatically\nmatched and synchronized.",
"default": true,
"x-deprecated-since": "20-11-2023",
"x-deprecated": true
},
"quickMatch": {
"type": "boolean",
"description": "Indicates that matching will be skipped for reference fields\nalready containing database IDs.",
"default": false,
"x-deprecated-since": "20-11-2023",
"x-deprecated": true
}
},
"description": "A collection of records to be imported via Ons Import.\nRecords can be added by uploading XML or binary files\nvia RunAPI.",
"example": {
"updatedAt": "2020-03-25T00:00:00.000+01:00",
"createdAt": "2020-03-25T00:00:00.000+01:00",
"createdBy": "htaylor",
"id": "runwithme",
"name": "Run With Me",
"autoProcess": true,
"quickMatch": true
},
"xml": {
"name": "run"
}
},
"onsimport.RunReport": {
"type": "object",
"properties": {
"reportId": {
"type": "string",
"description": "Unique id for requesting the generated report."
},
"report": {
"type": "string",
"description": "An Excel report for the run.",
"format": "binary"
}
},
"description": "Contains an Excel report for a run.",
"example": {
"reportId": "reportid",
"report": "QWxsIGhvcGUgaXMgbG9zdA=="
}
},
"onsimport.RunStatus": {
"type": "object",
"properties": {
"runId": {
"type": "string",
"description": "Object identifier of the run, usually in the form of a UUID."
},
"processing": {
"type": "boolean",
"description": "Indicates records are still being processed."
},
"statuses": {
"type": "object",
"description": "Map of record status to number of records having that status.\nAlso contains an entry ALL with the total number of records."
},
"fileValidations": {
"type": "array",
"items": {
"type": "string"
},
"description": "List of validation messages resulting from uploading XML.\nThese typically concern invalid XML or XSD violations."
}
},
"description": "Contains status information about a run in Ons Import.",
"example": {
"runId": "runwithme",
"processing": false,
"statuses": {
"all": "1",
"success": "1"
},
"fileValidations": [
"failtorun"
]
}
},
"onsimport.list.ValidationList": {
"type": "object",
"properties": {
"validations": {
"type": "array",
"items": {
"$ref": "#/definitions/onsimport.Validation"
}
}
},
"description": "ValidationList model (no description)",
"example": {
"validations": [
{
"updatedAt": "2020-05-07T00:00:00.000+02:00",
"createdAt": "2020-05-07T00:00:00.000+02:00",
"createdBy": "tanneberger",
"id": 1,
"field": "name",
"value": "Running A Wrong Way",
"message": "WrongNameException",
"recordId": 991,
"recordStatus": "INVALID",
"domain": "Run",
"importId": "001"
},
{
"updatedAt": "2020-05-07T00:00:00.000+02:00",
"createdAt": "2020-05-07T00:00:00.000+02:00",
"createdBy": "tanneberger",
"id": 2,
"field": "name",
"value": "Running A Wrong Way",
"message": "BadSongException",
"recordId": 991,
"recordStatus": "INVALID",
"domain": "Run",
"importId": "001"
}
]
}
},
"onsimport.Validation": {
"type": "object",
"allOf": [
{
"$ref": "#/definitions/AuditedBase"
}
],
"properties": {
"id": {
"type": "integer",
"description": "Technical ID of the validation.",
"format": "int64",
"x-cupido-id": true
},
"field": {
"type": "string",
"description": "Name of the field this validation concerns."
},
"value": {
"type": "string",
"description": "Value of the field (String representation) this validation concerns."
},
"message": {
"type": "string",
"description": "The validation message."
},
"recordId": {
"type": "integer",
"description": "Technical ID of the imported record this validation belongs to.",
"format": "int64"
},
"recordStatus": {
"type": "string",
"description": "Import status of the record this validation belongs to.\nPossible values: INITIAL, INVALID, MATCHED, SUCCESS, SYNC_FAILED."
},
"domain": {
"type": "string",
"description": "Domain of the record this validation belongs to."
},
"importId": {
"type": "string",
"description": "ImportId of the record this validation belongs to."
}
},
"description": "A validation message describing an error that occurred while\nimporting a record in Ons Import.",
"example": {
"updatedAt": "2020-05-07T00:00:00.000+02:00",
"createdAt": "2020-05-07T00:00:00.000+02:00",
"createdBy": "tanneberger",
"id": 1,
"field": "name",
"value": "Running A Wrong Way",
"message": "WrongNameException",
"recordId": 991,
"recordStatus": "INVALID",
"domain": "Run",
"importId": "001"
}
},
"onsimport.UploadResponse": {
"type": "object",
"properties": {
"uploadId": {
"type": "string",
"description": "Unique id for requesting status info about the upload."
}
},
"description": "Contains a unique id by which information about an\nupload can be retrieved.",
"example": {
"uploadId": "uploadid"
},
"xml": {
"name": "uploadResponse"
}
},
"onsimport.BinaryFileRequest": {
"type": "object",
"properties": {
"runId": {
"type": "string",
"description": "Object identifier of the run, usually in the form of a UUID."
},
"fileName": {
"type": "string",
"description": "File name of the binary file, optionally including a path."
},
"content": {
"type": "string",
"description": "Content of the binary file.",
"format": "binary"
}
},
"description": "Contains a binary file to be added to a run in Ons Import.",
"example": {
"runId": "runwithme",
"fileName": "runwithme.pdf",
"content": "JVBERi1jb250ZW50JSVFT0Y="
},
"xml": {
"name": "binaryFileRequest"
}
},
"onsimport.RecordsXmlRequest": {
"type": "object",
"properties": {
"runId": {
"type": "string",
"description": "Object identifier of the run, usually in the form of a UUID."
},
"xml": {
"type": "string",
"description": "XML as specified by the Ons Import XSD, optionally\nBase64 encoded."
}
},
"description": "Contains records to be added to a run in Ons Import,\nformatted as XML as specified by the Ons Import XSD.",
"example": {
"runId": "runwithme",
"xml": "\nworking\nnot-working\nnot-working-tentative\navailable\nflex-signed-up\n
"
},
"onsdraaiboekUrl": {
"type": "string",
"description": "URL to OnsDraaiboek where this item can be found."
}
},
"description": "An item rostered, planned, or otherwise scheduled for an Employee in Ons Planning.",
"example": {
"rosterSlot": {
"id": "21@2019-11-25",
"date": "2019-11-25",
"beginTime": "2019-11-25T22:00:00.000+01:00",
"endTime": "2019-11-25T23:00:00.000+01:00",
"note": "Some note",
"shiftId": "1@2019-10-25",
"externalExpertiseProfileId": 1,
"externalTeamId": 1,
"authorizesForLocationId": 12,
"shiftAssignments": [
{
"id": 1,
"date": "1999-12-31",
"beginTime": "1999-12-31T22:00:00.000+01:00",
"endTime": "1999-12-31T23:00:00.000+01:00",
"shiftId": "1@2014-03-28",
"employeeId": 1,
"employeeLeadingName": "Jan Henk",
"employeeName": "Jan Henk Heilersig",
"onCall": true
}
],
"flexSignups": [],
"plannedVisits": [
{
"date": "2013-12-06",
"calculatedStart": "2013-12-06T12:51:00.000+01:00",
"totalDuration": -1386330660,
"travelTimeBefore": 3600,
"gapTimeBefore": 0,
"notes": [],
"plancards": [],
"shiftTimelineId": 6,
"shiftName": "Middag De Terp PV",
"shiftCode": "MDT",
"teamId": 328,
"teamUuid": "8978eec1-55c8-4c2f-bf63-4d9ae599263c",
"teamName": "V&V De Terp",
"teamCode": "1410",
"teamBlockplanned": false,
"authorizesForLocationId": 12,
"clientId": 14947,
"clientUuid": "3c18790a-145a-4281-b5bd-0d7e0013ce5d",
"clientCode": "05645",
"clientName": "A Radstaak - de Doring",
"clientGender": "F",
"clientIsDummy": false,
"clientBirthDate": "1932-05-23",
"employeeId": 1,
"employeeUuid": "1234567890",
"employeeCode": "code",
"employeeName": "employee",
"employeeGender": "m",
"employeeIsDummy": true
}
]
},
"unavailabilityOccurrence": {
"timelineId": 1,
"date": "2019-11-19",
"employeeId": 1,
"typeName": "Ziek",
"typeAbbreviation": "Z",
"allDay": true,
"beginTime": "2019-11-19T00:00:00.000+01:00",
"endTime": "2019-11-19T00:00:00.000+01:00",
"note": "Dummy"
},
"directlyPlannedVisits": [
{
"date": "2013-12-06",
"calculatedStart": "2013-12-06T12:51:00.000+01:00",
"totalDuration": -1386330660,
"travelTimeBefore": 3600,
"gapTimeBefore": 0,
"notes": [],
"plancards": [],
"shiftTimelineId": 6,
"shiftName": "Middag De Terp PV",
"shiftCode": "MDT",
"teamId": 328,
"teamUuid": "8978eec1-55c8-4c2f-bf63-4d9ae599263c",
"teamName": "V&V De Terp",
"teamCode": "1410",
"teamBlockplanned": false,
"authorizesForLocationId": 12,
"clientId": 14947,
"clientUuid": "3c18790a-145a-4281-b5bd-0d7e0013ce5d",
"clientCode": "05645",
"clientName": "A Radstaak - de Doring",
"clientGender": "F",
"clientIsDummy": false,
"clientBirthDate": "1932-05-23",
"employeeId": 1,
"employeeUuid": "1234567890",
"employeeCode": "code",
"employeeName": "employee",
"employeeGender": "m",
"employeeIsDummy": true
}
],
"availabilityOccurrence": {
"timelineId": 1,
"date": "2019-11-19",
"employeeId": 1,
"beginTime": "2019-11-19T00:00:00.000+01:00",
"endTime": "2019-11-20T00:00:00.000+01:00",
"note": "Dummy"
},
"leaveRequestOccurrence": {
"timelineId": 1,
"date": "2019-11-19",
"employeeId": 1,
"beginTime": "2019-11-19T00:00:00.000+01:00",
"endTime": "2019-11-20T00:00:00.000+01:00",
"status": "pending"
},
"displayCategory": "working",
"onsdraaiboekUrl": "https://customer.hasmoves.com/onsdraaiboek"
}
},
"moves.RosterSlot": {
"type": "object",
"properties": {
"id": {
"type": "string",
"x-cupido-id": true
},
"date": {
"type": "string",
"format": "date"
},
"beginTime": {
"type": "string",
"description": "Regular begin time of the Shift.\nThe date component of this field is always the same as the date of this RosterSlot.",
"format": "date-time"
},
"beginBreakTime": {
"type": "string",
"description": "Regular begin time of the break in this Shift (if any).\nCan be after midnight, relative to the date of this RosterSlot.",
"format": "date-time"
},
"endBreakTime": {
"type": "string",
"description": "Regular end time of the break in this Shift (if any).\nCan be after midnight, relative to the date of this RosterSlot.",
"format": "date-time"
},
"endTime": {
"type": "string",
"description": "Regular end time of this Shift.\nCan be after midnight, relative to the date of this RosterSlot.",
"format": "date-time"
},
"note": {
"type": "string"
},
"code": {
"type": "string",
"description": "The code of the Shift.\nUsually a shortend version of the description."
},
"description": {
"type": "string",
"description": "The description of the Shift."
},
"transportationMethodName": {
"type": "string",
"description": "Name of the transportation method of the Shift."
},
"transportationMethodImage": {
"type": "string",
"description": "Image of the transportation method of the Shift.\n\nPossible values:\n\ncar\nperson\nbike\nmoped\ntrain\nbus\nunknown\n
"
},
"expertiseProfileName": {
"type": "string",
"description": "Name of expertise required for this RosterSlot."
},
"teamName": {
"type": "string",
"description": "Name of the team this RosterSlot belongs to."
},
"shiftId": {
"type": "string"
},
"externalExpertiseProfileId": {
"type": "integer",
"description": "Id of the related expertise profile in OA",
"format": "int64"
},
"externalTeamId": {
"type": "integer",
"description": "Id of the related team in OA",
"format": "int64"
},
"authorizesForLocationId": {
"type": "integer",
"description": "Being assigned as Employee for the Team or Shift\nimplies authorization for this Location.",
"format": "int64",
"x-deprecated": true
},
"locationAuthorizations": {
"type": "array",
"items": {
"$ref": "#/definitions/moves.LocationAuthorization"
},
"description": "Being assigned as Employee for the Team or Shift\nimplies authorization for these Locations."
},
"shiftAssignments": {
"type": "array",
"items": {
"$ref": "#/definitions/moves.ShiftAssignment"
}
},
"flexSignups": {
"type": "array",
"items": {
"$ref": "#/definitions/moves.FlexSignup"
}
},
"plannedVisits": {
"type": "array",
"items": {
"$ref": "#/definitions/moves.PlannedVisit"
},
"description": "The PlannedVisits that are planned to this RosterSlot."
}
},
"description": "A RosterSlot that has been assigned to the Employee,\nor that the Employee has signed-up for.\n\nNote 1: When rosterSlot is set, unavailabilityOccurrence, directlyPlannedVisits, availabilityOccurrence and leaveRequestOccurrence are all null.\nNote 2: When multiple Employees are assigned to this RosterSlot, a ShiftAssignment will be included for each one of them.",
"example": {
"id": "21@2014-04-11",
"date": "2013-12-31",
"beginTime": "2013-12-31T22:00:00.000+01:00",
"beginBreakTime": "2013-12-31T22:15:00.000+01:00",
"endBreakTime": "2013-12-31T22:30:00.000+01:00",
"endTime": "2013-12-31T23:00:00.000+01:00",
"note": "Some note",
"code": "A2",
"description": "Avond 2",
"transportationMethodName": "Auto in de binnenstad",
"transportationMethodImage": "car",
"expertiseProfileName": "Verzorgende",
"teamName": "Groenlo Noord",
"shiftId": "1@2014-03-28",
"externalExpertiseProfileId": 1,
"externalTeamId": 1,
"authorizesForLocationId": 12,
"locationAuthorizations": [
{
"locationId": 12
}
],
"shiftAssignments": [
{
"id": 1,
"date": "1999-12-31",
"beginTime": "1999-12-31T22:00:00.000+01:00",
"endTime": "1999-12-31T23:00:00.000+01:00",
"shiftId": "1@2014-03-28",
"employeeId": 1,
"employeeLeadingName": "Jan Henk",
"employeeName": "Jan Henk Heilersig",
"onCall": true
},
{
"id": 2,
"date": "1999-12-31",
"beginTime": "1999-12-31T22:00:00.000+01:00",
"endTime": "1999-12-31T23:00:00.000+01:00",
"shiftId": "1@2014-03-28",
"employeeId": 2,
"employeeLeadingName": "Selvi",
"employeeName": "Selvi Ratnasingam",
"onCall": false
}
],
"flexSignups": [
{
"id": 1,
"date": "1999-12-31",
"shiftId": "1@2014-03-28",
"employeeId": 1,
"employeeLeadingName": "Pieter",
"employeeName": "Pieter Bos"
}
],
"plannedVisits": [
{
"date": "2013-12-06",
"calculatedStart": "2013-12-06T12:51:00.000+01:00",
"totalDuration": -1386330660,
"travelTimeBefore": 3600,
"gapTimeBefore": 0,
"notes": [],
"plancards": [],
"shiftTimelineId": 6,
"shiftName": "Middag De Terp PV",
"shiftCode": "MDT",
"teamId": 328,
"teamUuid": "8978eec1-55c8-4c2f-bf63-4d9ae599263c",
"teamName": "V&V De Terp",
"teamCode": "1410",
"teamBlockplanned": false,
"authorizesForLocationId": 12,
"clientId": 14947,
"clientUuid": "3c18790a-145a-4281-b5bd-0d7e0013ce5d",
"clientCode": "05645",
"clientName": "A Radstaak - de Doring",
"clientGender": "F",
"clientIsDummy": false,
"clientBirthDate": "1932-05-23",
"employeeId": 1,
"employeeUuid": "1234567890",
"employeeCode": "code",
"employeeName": "employee",
"employeeGender": "m",
"employeeIsDummy": true
}
]
}
},
"moves.LocationAuthorization": {
"type": "object",
"properties": {
"locationId": {
"type": "integer",
"description": "The location this LocationAuthorization grants access to.\nReference to Cupido::Location.",
"format": "int64",
"x-nullable": true
}
},
"description": "LocationAuthorization model (no description)",
"example": {
"locationId": 1
}
},
"moves.ShiftAssignment": {
"title": "ShiftAssignment",
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int64",
"x-cupido-id": true,
"x-nullable": true
},
"date": {
"type": "string",
"format": "date",
"x-nullable": true
},
"beginTime": {
"type": "string",
"format": "date-time",
"x-nullable": true
},
"endTime": {
"type": "string",
"format": "date-time",
"x-nullable": true
},
"shiftId": {
"pattern": "\\d+@\\d{4}-\\d{2}-\\d{2}",
"type": "string",
"description": "Composed from the timeline_id and date: \"413@2019-05-01\"",
"x-nullable": true
},
"employeeId": {
"type": "integer",
"format": "int64",
"x-nullable": true
},
"employeeLeadingName": {
"type": "string",
"x-nullable": true
},
"employeeName": {
"type": "string",
"x-nullable": true
},
"onCall": {
"type": "boolean",
"description": "Is it an on-call (bereikbaarheidsdienst) shift",
"x-nullable": true
},
"timelineShiftId": {
"type": "integer",
"description": "To what shift does it belong",
"format": "int64",
"x-nullable": true
},
"unitId": {
"type": "integer",
"description": "To what unit/team does it belong",
"format": "int64",
"x-nullable": true
},
"breakDuration": {
"type": "integer",
"description": "How long is the break (in minutes)",
"format": "int64",
"x-nullable": true
},
"incidental": {
"type": "boolean",
"description": "Is something within the assignment incidental changed from the original shift (like start/stop time, break etc)",
"x-nullable": true
},
"order": {
"type": "integer",
"description": "Order of ShiftAssignments if there are multiple on the same date and shift.",
"format": "int64",
"x-nullable": true
},
"startBreakTime": {
"type": "string",
"description": "Incidential changed start break time",
"format": "date-time",
"x-nullable": true
},
"stopBreakTime": {
"type": "string",
"description": "Incidential changed stop break time",
"format": "date-time",
"x-nullable": true
},
"discardedAt": {
"type": "string",
"description": "Shift Assignments are not hard-deleted, but marked as discarded. When the Shift Assignment is discarded, discardedAt shows when this was discarded.",
"format": "date-time",
"x-nullable": true
},
"exportable": {
"type": "boolean",
"description": "Indicates if this ShiftAssignnment will be exported. Only available through specific APIs.",
"x-nullable": true
}
},
"description": "Updated by Jurriën Gosselink on 04-03-19",
"example": {
"id": 1,
"date": "1999-12-31",
"beginTime": "1999-12-31T22:00:00.000+01:00",
"endTime": "1999-12-31T23:00:00.000+01:00",
"shiftId": "1@2014-03-28",
"employeeId": 1,
"employeeLeadingName": "Jan Henk",
"employeeName": "Jan Henk Heilersig",
"onCall": true,
"timelineShiftId": 1654,
"unitId": 5,
"breakDuration": 15,
"incidental": true,
"order": 0,
"startBreakTime": "1999-12-31T22:15:00.000+01:00",
"stopBreakTime": "1999-12-31T23:29:00.000+01:00",
"discardedAt": "2000-12-31T23:29:00.000+01:00",
"exportable": true
},
"xml": {
"name": "shiftAssignment"
}
},
"moves.FlexSignup": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int64",
"x-cupido-id": true
},
"date": {
"type": "string",
"format": "date"
},
"shiftId": {
"type": "string"
},
"employeeId": {
"type": "integer",
"format": "int64"
},
"employeeLeadingName": {
"type": "string"
},
"employeeName": {
"type": "string"
}
},
"description": "FlexSignup model (no description)",
"example": {
"id": 1,
"date": "1999-12-31",
"shiftId": "1@2014-03-28",
"employeeId": 1,
"employeeLeadingName": "Jan Henk",
"employeeName": "Jan Henk Heilersig"
}
},
"moves.PlannedVisit": {
"type": "object",
"properties": {
"date": {
"type": "string",
"format": "date",
"x-nullable": true
},
"calculatedStart": {
"type": "string",
"format": "date-time",
"x-nullable": true
},
"totalDuration": {
"type": "integer",
"format": "int32",
"x-nullable": true
},
"travelTimeBefore": {
"type": "integer",
"format": "int32",
"x-nullable": true
},
"gapTimeBefore": {
"type": "integer",
"format": "int32",
"x-nullable": true
},
"firstAfterMidnight": {
"type": "boolean",
"description": "This visit is the first after midnight, and a visual indication\nshould be shown to the user (e.g. the new date or a 🌙 icon)."
},
"notes": {
"type": "array",
"items": {
"type": "string"
},
"x-nullable": true
},
"plancards": {
"type": "array",
"items": {
"$ref": "#/definitions/moves.Plancard"
},
"x-nullable": true
},
"plannedAddress": {
"$ref": "#/definitions/moves.PlannedAddress"
},
"shiftTimelineId": {
"type": "integer",
"format": "int64",
"x-nullable": true
},
"shiftName": {
"type": "string",
"x-nullable": true
},
"shiftCode": {
"type": "string",
"x-nullable": true
},
"teamId": {
"type": "integer",
"format": "int64",
"x-nullable": true
},
"teamUuid": {
"type": "string",
"x-nullable": true
},
"teamName": {
"type": "string",
"x-nullable": true
},
"teamCode": {
"type": "string",
"x-nullable": true
},
"teamBlockplanned": {
"type": "boolean",
"description": "Indicates if the Team uses the blockplanscreen (clients planned to\nemployees directly) instead of the route-based planscreen.",
"x-nullable": true
},
"authorizesForLocationId": {
"type": "integer",
"description": "Being planned as Employee for the Team or Shift\nimplies authorization for this Location.",
"format": "int64",
"x-deprecated": true,
"x-nullable": true
},
"locationAuthorizations": {
"type": "array",
"items": {
"$ref": "#/definitions/moves.LocationAuthorization"
},
"description": "Being assigned as Employee for the Team or Shift\nimplies authorization for these Locations.",
"x-nullable": true
},
"clientId": {
"type": "integer",
"format": "int64",
"x-nullable": true
},
"clientUuid": {
"type": "string",
"x-nullable": true
},
"clientCode": {
"type": "string",
"x-nullable": true
},
"clientName": {
"type": "string",
"x-nullable": true
},
"clientGender": {
"type": "string",
"x-nullable": true
},
"clientIsDummy": {
"type": "boolean",
"x-nullable": true
},
"clientBirthDate": {
"type": "string",
"format": "date",
"x-nullable": true
},
"employeeId": {
"type": "integer",
"format": "int64",
"x-nullable": true
},
"employeeUuid": {
"type": "string",
"x-nullable": true
},
"employeeCode": {
"type": "string",
"x-nullable": true
},
"employeeName": {
"type": "string",
"x-nullable": true
},
"employeeGender": {
"type": "string",
"x-nullable": true
},
"employeeIsDummy": {
"type": "boolean",
"x-nullable": true
}
},
"description": "A Visit from an {@Employee} to a {@Client}.",
"example": {
"date": "2013-12-06",
"calculatedStart": "2013-12-06T12:51:00.000+01:00",
"totalDuration": -1386330660,
"travelTimeBefore": 3600,
"gapTimeBefore": 0,
"firstAfterMidnight": false,
"notes": [],
"plancards": [],
"plannedAddress": {
"latitude": 0.5,
"longitude": 0.5,
"city": "example",
"street": "example",
"zipcode": "example",
"number": "example",
"numberPostfix": "example"
},
"shiftTimelineId": 6,
"shiftName": "Middag De Terp PV",
"shiftCode": "MDT",
"teamId": 328,
"teamUuid": "8978eec1-55c8-4c2f-bf63-4d9ae599263c",
"teamName": "V&V De Terp",
"teamCode": "1410",
"teamBlockplanned": false,
"authorizesForLocationId": 12,
"locationAuthorizations": [
{
"locationId": 12
}
],
"clientId": 14947,
"clientUuid": "3c18790a-145a-4281-b5bd-0d7e0013ce5d",
"clientCode": "05645",
"clientName": "A Radstaak - de Doring",
"clientGender": "F",
"clientIsDummy": false,
"clientBirthDate": "1932-05-23",
"employeeId": 1,
"employeeUuid": "1234567890",
"employeeCode": "code",
"employeeName": "employee",
"employeeGender": "m",
"employeeIsDummy": true
},
"x-nullable": true
},
"moves.PlannedAddress": {
"type": "object",
"properties": {
"latitude": {
"type": "number",
"format": "double",
"x-nullable": true
},
"longitude": {
"type": "number",
"format": "double",
"x-nullable": true
},
"city": {
"type": "string",
"x-nullable": true
},
"street": {
"type": "string",
"x-nullable": true
},
"zipcode": {
"type": "string",
"x-nullable": true
},
"number": {
"type": "string",
"x-nullable": true
},
"numberPostfix": {
"type": "string",
"x-nullable": true
}
},
"description": "Address where {@link PlannedVisit}s are planned.\n\nMoves has it's own Address model, and plancards can be\nplanned tp addresses not known in other systems.",
"example": {
"latitude": 52.038398,
"longitude": 6.624163,
"city": "Groenlo",
"street": "Parallelweg",
"zipcode": "7141DC",
"number": "31",
"numberPostfix": "a"
},
"x-nullable": true
},
"moves.Plancard": {
"type": "object",
"properties": {
"hourTypeId": {
"type": "integer",
"format": "int64",
"x-nullable": true
},
"hourTypeName": {
"type": "string",
"x-nullable": true
},
"hourTypeCode": {
"type": "string",
"x-nullable": true
},
"duration": {
"type": "integer",
"description": "Duration of this Plancard in seconds.",
"format": "int32",
"x-nullable": true
},
"note": {
"type": "string",
"description": "The note added to this Plancard in the planscreen.",
"x-nullable": true
},
"promisedStart": {
"type": "string",
"description": "The entered start time of this Plancard. This time is an intent, not a guarantee.",
"format": "date-time",
"x-nullable": true
},
"dayPart": {
"type": "integer",
"description": "Daypart on which this Plancard is defined in the care arrangement.\n\n\n1 - Morning\n2 - Afternoon\n3 - Evening\n0 - Night (Night-plancards generally occur after Evening-plancards for the same date)\nnull - Incidentally added Plancard that is not linked to a care arrangement.\n
",
"format": "int32",
"x-nullable": true
},
"deleted": {
"type": "boolean",
"description": "Indicates if this Planccard has been incidentally deleted.",
"x-nullable": true
},
"cycleBase": {
"type": "string",
"description": "The date from which the recurrence pattern is calculated (usually a Sunday)",
"format": "date"
},
"cycleInterval": {
"type": "integer",
"description": "The plancard occurs every N-days",
"format": "int32"
},
"cycleOffset": {
"type": "integer",
"description": "The number of days from cycleBase the plancard occurs, effectively indicating a day of the week. Usually [0-6], 0 is Sunday",
"format": "int32"
},
"originalCycleOffset": {
"type": "integer",
"description": "When the plancard was incidentally moved, this attribute holds the original value of cycleOffset.",
"format": "int32"
},
"incidentallyChanged": {
"type": "boolean",
"description": "The information on this plancard is different from its regular/structural state."
},
"instanceOfType": {
"type": "string",
"description": "Either 'PatternRule' (a regular plancard created from the care arrangement) or 'EventRule' (a plancard that was incidentally added from the planscreen)"
},
"instanceOfId": {
"type": "integer",
"description": "Reference to 'PatternRule'-record in case `instanceOfType` is `PatternRule`",
"format": "int32"
},
"kind": {
"type": "string",
"description": "Unused",
"x-nullable": true
},
"exportable": {
"type": "boolean",
"description": "Indicates if this Plancard will be exported. Only available through specific APIs.",
"x-nullable": true
}
},
"description": "{@link PlannedVisit}s are the aggregation of a list of Plancards.",
"example": {
"hourTypeId": 25,
"hourTypeName": "PV eten en drinken",
"hourTypeCode": "31",
"duration": 600,
"note": "Les naïfs ægithales hâtifs pondant à Noël où il gèle sont sûrs d'être déçus en voyant leurs drôles d'œufs abîmés.",
"promisedStart": "2010-03-15T00:00:00.000+01:00",
"dayPart": 1,
"deleted": false,
"cycleBase": "2021-06-24",
"cycleInterval": 7,
"cycleOffset": 3,
"originalCycleOffset": 5,
"incidentallyChanged": false,
"instanceOfType": "PatternRule",
"instanceOfId": 16,
"kind": "arrangement",
"exportable": true
}
},
"moves.UnavailabilityOccurrence": {
"type": "object",
"properties": {
"timelineId": {
"type": "integer",
"description": "Same value for all UnavailabilityOccurrences generated from the same Unavailability.",
"format": "int64"
},
"date": {
"type": "string",
"format": "date"
},
"employeeId": {
"type": "integer",
"format": "int64"
},
"typeName": {
"type": "string",
"description": "Human-readable name indicating kind of Unavailability. For examle \"Sick\" or \"Holiday\"."
},
"typeAbbreviation": {
"type": "string",
"description": "Short (one or two characters) representation that can be used instead of typeName when space is limited."
},
"allDay": {
"type": "boolean",
"description": "Indicates if this UnavailabilityOccurrence last the whole."
},
"beginTime": {
"type": "string",
"format": "date-time"
},
"endTime": {
"type": "string",
"format": "date-time"
},
"note": {
"type": "string"
},
"exportable": {
"type": "boolean",
"description": "Indicates if this UnavailabilityOccurrence will be exported. Only available through specific APIs."
}
},
"description": "An UnavailabilityOccurrence of the Employee.\n\nWhen unavailabilityOccurrence is set, rosterSlot, directlyPlannedVisits, availabilityOccurrence and leaveRequestOccurrence are all null.",
"example": {
"timelineId": 1,
"date": "2019-11-19",
"employeeId": 1,
"typeName": "Ziek",
"typeAbbreviation": "Z",
"allDay": true,
"beginTime": "2019-11-19T00:00:00.000+01:00",
"endTime": "2019-11-20T00:00:00.000+01:00",
"note": "Dummy",
"exportable": true
}
},
"moves.AvailabilityOccurrence": {
"type": "object",
"properties": {
"timelineId": {
"type": "integer",
"description": "Same value for all AvailabilityOccurrences generated from the same Availability.",
"format": "int64"
},
"date": {
"type": "string",
"description": "Date on which this AvailabilityOccurrence occurs.",
"format": "date"
},
"employeeId": {
"type": "integer",
"description": "Refers to the Employee this AvailabilityOccurrence belongs to.",
"format": "int64"
},
"beginTime": {
"type": "string",
"description": "Time at which this AvailabilityOccurrence begins.",
"format": "date-time"
},
"endTime": {
"type": "string",
"description": "Time at which this AvailabilityOccurrence ends.",
"format": "date-time"
},
"note": {
"type": "string",
"description": "Note/comment about this AvailabilityOccurrence."
}
},
"description": "AvailabilityOccurrence model (no description)",
"example": {
"timelineId": 1,
"date": "2019-11-19",
"employeeId": 1,
"beginTime": "2019-11-19T00:00:00.000+01:00",
"endTime": "2019-11-20T00:00:00.000+01:00",
"note": "Dummy"
}
},
"moves.LeaveRequestOccurrence": {
"type": "object",
"properties": {
"timelineId": {
"type": "integer",
"description": "Same value for all LeaveRequestOccurrences generated from the same Availability.",
"format": "int64"
},
"date": {
"type": "string",
"description": "Date on which this LeaveRequestOccurrence occurs.",
"format": "date"
},
"employeeId": {
"type": "integer",
"description": "Refers to the Employee this LeaveRequestOccurrence belongs to.",
"format": "int64"
},
"beginTime": {
"type": "string",
"description": "Time at which the LeaveRequest begins.\nFor longer LeaveRequests, this DateTime will not be on the same Date as the date attribute.",
"format": "date-time"
},
"endTime": {
"type": "string",
"description": "Time at which the LeaveRequest ends.\nFor longer LeaveRequests, this DateTime will not be on the same Date as the date attribute.",
"format": "date-time"
},
"status": {
"type": "string",
"description": "Status of the LeaveRequest"
}
},
"description": "LeaveRequestOccurrence model (no description)",
"example": {
"timelineId": 1,
"date": "2019-11-19",
"employeeId": 1,
"beginTime": "2019-11-19T00:00:00.000+01:00",
"endTime": "2019-11-20T00:00:00.000+01:00",
"status": "pending"
}
},
"moves.list.ClientPlanningFilterList": {
"type": "object",
"properties": {
"clientPlanningFilters": {
"type": "array",
"items": {
"$ref": "#/definitions/moves.ClientPlanningFilter"
}
}
},
"description": "ClientPlanningFilterList model (no description)",
"example": {
"clientPlanningFilters": [
{
"clientId": 7607,
"reason": "sick",
"availabilityName": "Ziek",
"validFrom": "2013-12-05",
"validTo": "2013-12-06",
"teamScope": "only",
"teamId": 328,
"teamName": "V&V De Terp",
"teamCode": "1410"
},
{
"clientId": 7607,
"reason": "sick",
"validFrom": "2013-12-02",
"validTo": "2013-12-04",
"teamScope": "all"
},
{
"clientId": 7607,
"reason": "unavailable",
"validFrom": "2013-12-06",
"validTo": "2013-12-07",
"teamScope": "except",
"teamId": 301,
"teamName": "HV OOST",
"teamCode": "121"
},
{
"clientId": 7607,
"reason": "hospitalized",
"comment": "我能吞下玻璃而不傷身體",
"validFrom": "2013-12-06",
"teamScope": "none"
},
{
"clientId": 7607,
"reason": "unavailable",
"comment": "Τη γλώσσα μου έδωσαν ελληνική",
"validFrom": "2013-12-03",
"validTo": "2013-12-04",
"teamScope": "only",
"teamName": "Subunit 1A",
"teamCode": "UNLINKED"
},
{
"clientId": 7607,
"reason": "not_yet_in_care",
"validFrom": "1900-01-01",
"validTo": "2010-02-25",
"teamScope": "all"
},
{
"clientId": 7607,
"reason": "out_of_care",
"validFrom": "2014-02-01",
"teamScope": "all"
}
]
}
},
"moves.ClientPlanningFilter": {
"type": "object",
"properties": {
"clientId": {
"type": "integer",
"format": "int64"
},
"reason": {
"type": "string"
},
"availabilityName": {
"type": "string"
},
"comment": {
"type": "string"
},
"validFrom": {
"type": "string",
"format": "date"
},
"validTo": {
"type": "string",
"format": "date"
},
"teamScope": {
"type": "string"
},
"teamId": {
"type": "integer",
"format": "int64"
},
"teamName": {
"type": "string"
},
"teamCode": {
"type": "string"
}
},
"description": "Relation between an Client and an Employee.",
"example": {
"clientId": 7607,
"reason": "sick",
"availabilityName": "Ziek",
"comment": "comment",
"validFrom": "2013-12-05",
"validTo": "2013-12-06",
"teamScope": "only",
"teamId": 328,
"teamName": "V&V De Terp",
"teamCode": "1410"
}
},
"moves.ClientPlannedSchedule": {
"type": "object",
"properties": {
"plannedVisits": {
"type": "array",
"items": {
"$ref": "#/definitions/moves.ClientPlannedSchedulePlannedVisit"
}
}
},
"description": "The planned schedule for a client",
"example": {
"plannedVisits": [
{
"description": "Verzorging niveau 4",
"duration": 2700,
"time": "2021-07-21T20:26:00.000+02:00",
"employees": []
},
{
"description": "Verzorging niveau 5",
"duration": 2700,
"time": "2021-07-21T21:11:00.000+02:00",
"employees": [
{
"externalId": 123,
"name": "Dhr. Bakker"
}
]
}
]
}
},
"moves.ClientPlannedSchedulePlannedVisit": {
"type": "object",
"properties": {
"description": {
"type": "string"
},
"duration": {
"type": "integer",
"format": "int64"
},
"time": {
"type": "string",
"format": "date-time"
},
"employees": {
"type": "array",
"items": {
"$ref": "#/definitions/moves.ClientPlannedSchedulePlannedVisitEmployee"
}
}
},
"description": "A single visit in the planned schedule of a client",
"example": {
"description": "Verzorging niveau 5",
"duration": 2700,
"time": "2021-07-21T21:11:00.000+02:00",
"employees": [
{
"externalId": 123,
"name": "Dhr. Bakker"
}
]
}
},
"moves.ClientPlannedSchedulePlannedVisitEmployee": {
"type": "object",
"properties": {
"externalId": {
"type": "integer",
"format": "int64"
},
"name": {
"type": "string"
}
},
"description": "An employee during a single visit in the planned schedule of a client",
"example": {
"externalId": 123,
"name": "Dhr. Bakker"
}
},
"moves.EmployeeExportJob": {
"title": "EmployeeExportJob",
"type": "object",
"properties": {
"date": {
"type": "string",
"format": "date",
"x-nullable": true
},
"employeeId": {
"type": "integer",
"format": "int64",
"x-nullable": true
},
"batch": {
"type": "string",
"x-nullable": true
},
"presenceLogsCreated": {
"type": "integer",
"format": "int32",
"x-nullable": true
},
"presenceLogs": {
"type": "array",
"items": {
"$ref": "#/definitions/PresenceLog"
},
"x-nullable": true
}
},
"description": "EmployeeExportJob model (no description)",
"example": {
"date": "2014-10-10",
"employeeId": 998,
"batch": "fe7ef626-81c3-4baa-8a0c-eeb00f792d0b",
"presenceLogsCreated": 15,
"presenceLogs": [
{
"activityObjectId": 999,
"duration": 100,
"reason": "Moves import",
"action": "create",
"externalId": "1",
"sourceType": "6",
"clientObjectId": 12344,
"employeeObjectId": 557,
"startDate": "2012-08-02T11:48:46.836+02:00",
"endDate": "2012-08-02T11:48:46.836+02:00",
"clusterObjectId": 1,
"registration": false,
"payment": true,
"removed": true,
"verified": false,
"hasRealTime": false,
"products": []
}
]
}
},
"moves.EmployeeMovesProfile": {
"type": "object",
"properties": {
"employeeId": {
"type": "integer",
"format": "int64"
},
"memberOfFlexRosterTeam": {
"type": "boolean"
},
"memberOfSelfRosterTeam": {
"type": "boolean"
},
"memberOfSelfAvailabilityTeam": {
"type": "boolean"
},
"memberOfIntramuralTeam": {
"type": "boolean"
},
"useOnsDraaiboekRoster": {
"type": "boolean",
"description": "Feature flag for the roster in OnsDraaiboek."
},
"useOnsDraaiboekPlanning": {
"type": "boolean",
"description": "Feature flag for the planning in OnsDraaiboek."
},
"useOnsDraaiboekVacationOverview": {
"type": "boolean",
"description": "Timepilot/feature flag indicating which version of the VacationOverview to use.\nThe new Vacation Overview that is part of OnsDraaiboek, or the old one that is part of the EmployeePortal."
},
"vacationOverviewEnabled": {
"type": "boolean",
"description": "Feature flag indicating if the VacationOverview is enabled at all."
},
"useSelfAvailabilityViaMoves": {
"type": "boolean",
"description": "Timepilot flag for when we want to repatriate SelfAvailability from the EmployeePortal to Moves in the future."
}
},
"description": "EmployeeMovesProfile describes dynamic properties\nof an Employee, based on the Memberships of that Employees\nas known in Moves and on team settings configured in Moves.",
"example": {
"employeeId": 2002,
"memberOfFlexRosterTeam": false,
"memberOfSelfRosterTeam": true,
"memberOfSelfAvailabilityTeam": false,
"memberOfIntramuralTeam": true,
"useOnsDraaiboekRoster": true,
"useOnsDraaiboekPlanning": true,
"useOnsDraaiboekVacationOverview": true,
"vacationOverviewEnabled": true,
"useSelfAvailabilityViaMoves": true
}
},
"moves.EmployeePlanning": {
"type": "object",
"properties": {
"eventGroups": {
"type": "array",
"items": {
"$ref": "#/definitions/moves.EmployeePlanningEventGroup"
}
}
},
"description": "The employee planning",
"example": {
"eventGroups": [
{
"startsAt": "2023-11-24T13:29:00.000+01:00",
"duration": 1234,
"client": {
"externalId": 123,
"identificationNo": "abc123",
"name": "Koning, F.C.",
"address": "Groeneweg 25, Groenlo",
"gender": "M"
},
"notes": [
"sleutel onder de mat"
],
"planCards": [
{
"startsAt": "2023-11-24T16:39:00.000+01:00",
"duration": 1337,
"description": "(O4) Ochtenddienst 4"
}
]
}
]
}
},
"moves.EmployeePlanningEventGroup": {
"type": "object",
"properties": {
"startsAt": {
"type": "string",
"format": "date-time"
},
"duration": {
"type": "integer",
"format": "int64"
},
"client": {
"$ref": "#/definitions/moves.EmployeePlanningClient"
},
"notes": {
"type": "array",
"items": {
"type": "string"
}
},
"planCards": {
"type": "array",
"items": {
"$ref": "#/definitions/moves.EmployeePlanningPlanCard"
}
}
},
"description": "Part of the employee planning",
"example": {
"startsAt": "2023-11-24T13:29:00.000+01:00",
"duration": 1234,
"client": {
"externalId": 123,
"identificationNo": "abc123",
"name": "Koning, F.C.",
"address": "Groeneweg 25, Groenlo",
"gender": "M"
},
"notes": [
"sleutel onder de mat"
],
"planCards": [
{
"startsAt": "2023-11-24T16:39:00.000+01:00",
"duration": 1337,
"description": "(O4) Ochtenddienst 4"
}
]
}
},
"moves.EmployeePlanningClient": {
"type": "object",
"properties": {
"externalId": {
"type": "integer",
"format": "int64"
},
"identificationNo": {
"type": "string"
},
"name": {
"type": "string"
},
"address": {
"type": "string"
},
"gender": {
"type": "string"
}
},
"description": "Part of the employee planning",
"example": {
"externalId": 123,
"identificationNo": "abc123",
"name": "Koning, F.C.",
"address": "Groeneweg 25, Groenlo",
"gender": "M"
}
},
"moves.EmployeePlanningPlanCard": {
"type": "object",
"properties": {
"startsAt": {
"type": "string",
"format": "date-time"
},
"duration": {
"type": "integer",
"format": "int64"
},
"description": {
"type": "string"
}
},
"description": "Part of the employee planning",
"example": {
"startsAt": "2023-11-24T16:39:00.000+01:00",
"duration": 1337,
"description": "(O4) Ochtenddienst 4"
}
},
"moves.list.EmployeeRosterDayList": {
"type": "object",
"properties": {
"employeeRosterDays": {
"type": "array",
"items": {
"$ref": "#/definitions/moves.EmployeeRosterDay"
}
}
},
"description": "Employee roster day list",
"example": {
"employeeRosterDays": [
{
"date": "2023-11-25",
"availabilities": [
{
"startTime": "2023-11-25T07:00:00.000+01:00",
"stopTime": "2023-11-25T11:00:00.000+01:00",
"name": "Hallo"
}
],
"shiftAssignments": [
{
"startTime": "2023-11-25T07:00:00.000+01:00",
"stopTime": "2023-11-25T11:00:00.000+01:00",
"name": "Ochtenddienst 4"
}
]
}
]
}
},
"moves.EmployeeRosterDay": {
"type": "object",
"properties": {
"date": {
"type": "string",
"format": "date"
},
"availabilities": {
"type": "array",
"items": {
"$ref": "#/definitions/moves.EmployeeRosterDayAvailability"
}
},
"shiftAssignments": {
"type": "array",
"items": {
"$ref": "#/definitions/moves.EmployeeRosterDayShiftAssignment"
}
}
},
"description": "Employee roster",
"example": {
"date": "2023-11-25",
"availabilities": [
{
"startTime": "2023-11-25T07:00:00.000+01:00",
"stopTime": "2023-11-25T11:00:00.000+01:00",
"name": "Hallo"
}
],
"shiftAssignments": [
{
"startTime": "2023-11-25T07:00:00.000+01:00",
"stopTime": "2023-11-25T11:00:00.000+01:00",
"name": "Ochtenddienst 4"
}
]
}
},
"moves.EmployeeRosterDayAvailability": {
"type": "object",
"properties": {
"startTime": {
"type": "string",
"format": "date-time"
},
"stopTime": {
"type": "string",
"format": "date-time"
},
"name": {
"type": "string"
}
},
"description": "Employee roster availability",
"example": {
"startTime": "2023-11-25T07:00:00.000+01:00",
"stopTime": "2023-11-25T11:00:00.000+01:00",
"name": "Hallo"
}
},
"moves.EmployeeRosterDayShiftAssignment": {
"type": "object",
"properties": {
"startTime": {
"type": "string",
"format": "date-time"
},
"stopTime": {
"type": "string",
"format": "date-time"
},
"name": {
"type": "string"
}
},
"description": "Employee roster shift assignment",
"example": {
"startTime": "2023-11-25T07:00:00.000+01:00",
"stopTime": "2023-11-25T11:00:00.000+01:00",
"name": "Ochtenddienst 4"
}
},
"moves.list.ShiftAssignmentList": {
"title": "ShiftAssignmentList",
"type": "object",
"properties": {
"shiftAssignments": {
"type": "array",
"items": {
"$ref": "#/definitions/moves.ShiftAssignment"
},
"xml": {
"name": "shiftAssignment"
},
"x-nullable": true
}
},
"description": "ShiftAssignmentList model (no description)",
"example": {
"shiftAssignments": [
{
"id": 1,
"date": "1999-12-31",
"beginTime": "1999-12-31T22:00:00.000+01:00",
"endTime": "1999-12-31T23:00:00.000+01:00",
"shiftId": "1@2014-03-28",
"employeeId": 1,
"employeeLeadingName": "Jan Henk",
"employeeName": "Jan Henk Heilersig",
"onCall": true,
"timelineShiftId": 1654,
"unitId": 5,
"breakDuration": 15,
"incidental": true,
"order": 0,
"startBreakTime": "1999-12-31T22:15:00.000+01:00",
"stopBreakTime": "1999-12-31T23:29:00.000+01:00",
"discardedAt": "2000-12-31T23:29:00.000+01:00"
},
{
"id": 2,
"date": "1999-12-31",
"beginTime": "1999-12-31T22:00:00.000+01:00",
"endTime": "1999-12-31T23:00:00.000+01:00",
"shiftId": "2@2014-03-28",
"employeeId": 2,
"employeeLeadingName": "Jan Hendrik",
"employeeName": "Jan Hendrik Croockewit",
"onCall": false,
"timelineShiftId": 1754,
"unitId": 6,
"breakDuration": 16,
"incidental": true,
"order": 0,
"startBreakTime": "1999-12-31T22:15:00.000+01:00",
"stopBreakTime": "1999-12-31T23:29:00.000+01:00",
"discardedAt": "2000-12-31T23:29:00.000+01:00"
}
]
},
"xml": {
"name": "shiftAssignments"
}
},
"moves.list.PlannedVisitList": {
"type": "object",
"properties": {
"plannedVisits": {
"type": "array",
"items": {
"$ref": "#/definitions/moves.PlannedVisit"
}
}
},
"description": "PlannedVisitList model (no description)",
"example": {
"plannedVisits": [
{
"calculatedStart": "2013-12-06T08:00:00.000+01:00",
"totalDuration": 14400,
"travelTimeBefore": 0,
"gapTimeBefore": 0,
"notes": [
"sleutelcode 1234",
"contactpers: kleindochter 06123456789"
],
"plancards": [
{
"hourTypeId": 39,
"hourTypeName": "HH2 hulp bij huishouden",
"hourTypeCode": "0",
"duration": 14400,
"note": "Some note",
"promisedStart": "2013-12-05T08:00:00.000+01:00",
"kind": "arrangement"
}
],
"plannedAddress": {
"latitude": 52.038398,
"longitude": 6.624163,
"zipcode": "7141DC",
"number": "31"
},
"teamId": 301,
"teamUuid": "8978eec1-55c8-4c2f-bf63-4d9ae599263c",
"teamName": "HV OOST",
"teamCode": "121",
"teamBlockplanned": false,
"authorizesForLocationId": 12,
"clientId": 14947,
"clientUuid": "3c18790a-145a-4281-b5bd-0d7e0013ce5d",
"clientCode": "05645",
"clientName": "A Radstaak - de Doring",
"clientGender": "F",
"clientIsDummy": false,
"clientBirthDate": "1932-05-23",
"employeeId": 9197,
"employeeUuid": "91f118c2-cd22-4105-a5ee-a05758288b68",
"employeeCode": "9197-02",
"employeeName": "Gerrie Nijenhuis",
"employeeGender": "M",
"employeeIsDummy": false
},
{
"calculatedStart": "2013-12-06T08:37:00.000+01:00",
"totalDuration": -1386315420,
"travelTimeBefore": 0,
"gapTimeBefore": 0,
"notes": [],
"plancards": [
{
"hourTypeId": 29,
"hourTypeName": "VP overige handelingen",
"hourTypeCode": "41",
"duration": 600,
"note": "Some note",
"kind": "arrangement"
},
{
"hourTypeId": 30,
"hourTypeName": "VP controle lichaamsfuncties",
"hourTypeCode": "41",
"duration": 600,
"note": "Some note",
"kind": "arrangement"
}
],
"plannedAddress": {
"latitude": 52.038398,
"longitude": 6.624163,
"zipcode": "7141DC",
"number": "31"
},
"shiftTimelineId": 33,
"shiftName": "Ochtend 2 VP Oost",
"shiftCode": "O2VP",
"teamId": 328,
"teamUuid": "ef538153-f686-4ef7-b5aa-f6f2d363d9f6",
"teamName": "V&V De Terp",
"teamCode": "1410",
"teamBlockplanned": false,
"authorizesForLocationId": 12,
"clientId": 14947,
"clientUuid": "3c18790a-145a-4281-b5bd-0d7e0013ce5d",
"clientCode": "05645",
"clientName": "A Radstaak - de Doring",
"clientGender": "F",
"clientIsDummy": false,
"clientBirthDate": "1932-05-23",
"employeeId": 8996,
"employeeUuid": "ae3a0b12-88a1-4fde-8ce0-30f5f7b83b3b",
"employeeCode": "8996-02",
"employeeName": "Dorien Arentsen - Arentsen",
"employeeGender": "M",
"employeeIsDummy": false
},
{
"totalDuration": 0,
"travelTimeBefore": 0,
"gapTimeBefore": 0,
"notes": [],
"plancards": [
{
"hourTypeId": 33,
"hourTypeName": "PV medicijnen",
"hourTypeCode": "31",
"duration": 600,
"note": "Some note",
"kind": "arrangement"
}
],
"plannedAddress": {
"latitude": 52.038398,
"longitude": 6.624163,
"zipcode": "7141DC",
"number": "31"
},
"teamId": 328,
"teamUuid": "ef538153-f686-4ef7-b5aa-f6f2d363d9f6",
"teamName": "V&V De Terp",
"teamCode": "1410",
"teamBlockplanned": false,
"authorizesForLocationId": 12,
"clientId": 14947,
"clientUuid": "3c18790a-145a-4281-b5bd-0d7e0013ce5d",
"clientCode": "05645",
"clientName": "A Radstaak - de Doring",
"clientGender": "F",
"clientIsDummy": false,
"clientBirthDate": "1932-05-23"
},
{
"calculatedStart": "2013-12-06T12:03:00.000+01:00",
"totalDuration": 900,
"travelTimeBefore": 3600,
"gapTimeBefore": 0,
"notes": [],
"plancards": [
{
"hourTypeId": 24,
"hourTypeName": "PV hulp toilet/stoma",
"hourTypeCode": "31",
"duration": 900,
"note": "Some note",
"kind": "arrangement"
}
],
"plannedAddress": {
"latitude": 52.038398,
"longitude": 6.624163,
"zipcode": "7141DC",
"number": "31"
},
"shiftTimelineId": 6,
"shiftName": "Middag De Terp PV",
"shiftCode": "MDT",
"teamId": 328,
"teamUuid": "ef538153-f686-4ef7-b5aa-f6f2d363d9f6",
"teamName": "V&V De Terp",
"teamCode": "1410",
"teamBlockplanned": false,
"authorizesForLocationId": 12,
"clientId": 14947,
"clientUuid": "3c18790a-145a-4281-b5bd-0d7e0013ce5d",
"clientCode": "05645",
"clientName": "A Radstaak - de Doring",
"clientGender": "F",
"clientIsDummy": false,
"clientBirthDate": "1932-05-23"
},
{
"calculatedStart": "2013-12-06T12:51:00.000+01:00",
"totalDuration": -1386330660,
"travelTimeBefore": 3600,
"gapTimeBefore": 0,
"notes": [],
"plancards": [
{
"hourTypeId": 25,
"hourTypeName": "PV eten en drinken",
"hourTypeCode": "31",
"duration": 600,
"note": "Les naïfs ægithales hâtifs pondant à Noël où il gèle sont sûrs d'être déçus en voyant leurs drôles d'œufs abîmés.",
"kind": "arrangement"
},
{
"hourTypeId": 35252,
"hourTypeName": "PV-wassen/douchen",
"hourTypeCode": "31",
"duration": 1500,
"note": "Some note",
"kind": "arrangement"
},
{
"hourTypeId": 29,
"hourTypeName": "VP overige handelingen",
"hourTypeCode": "41",
"duration": 1200,
"note": "Some note",
"kind": "arrangement"
}
],
"plannedAddress": {
"latitude": 52.038398,
"longitude": 6.624163,
"zipcode": "7141DC",
"number": "31"
},
"shiftTimelineId": 6,
"shiftName": "Middag De Terp PV",
"shiftCode": "MDT",
"teamId": 328,
"teamUuid": "ef538153-f686-4ef7-b5aa-f6f2d363d9f6",
"teamName": "V&V De Terp",
"teamCode": "1410",
"teamBlockplanned": false,
"authorizesForLocationId": 12,
"clientId": 14947,
"clientUuid": "3c18790a-145a-4281-b5bd-0d7e0013ce5d",
"clientCode": "05645",
"clientName": "A Radstaak - de Doring",
"clientGender": "F",
"clientIsDummy": false,
"clientBirthDate": "1932-05-23"
},
{
"calculatedStart": "2013-12-06T16:30:00.000+01:00",
"totalDuration": 900,
"travelTimeBefore": 0,
"gapTimeBefore": 0,
"notes": [],
"plancards": [
{
"hourTypeId": 24,
"hourTypeName": "PV hulp toilet/stoma",
"hourTypeCode": "31",
"duration": 900,
"note": "Some note",
"kind": "arrangement"
}
],
"plannedAddress": {
"latitude": 52.038398,
"longitude": 6.624163,
"zipcode": "7141DC",
"number": "31"
},
"shiftTimelineId": 34,
"shiftName": "Avond VP",
"shiftCode": "AV",
"teamId": 328,
"teamUuid": "ef538153-f686-4ef7-b5aa-f6f2d363d9f6",
"teamName": "V&V De Terp",
"teamCode": "1410",
"teamBlockplanned": false,
"authorizesForLocationId": 12,
"clientId": 14947,
"clientUuid": "3c18790a-145a-4281-b5bd-0d7e0013ce5d",
"clientCode": "05645",
"clientName": "A Radstaak - de Doring",
"clientGender": "F",
"clientIsDummy": false,
"clientBirthDate": "1932-05-23",
"employeeId": 36223,
"employeeUuid": "e2bbd4c3-8b6c-4823-b9dc-b4ab1e478bfc",
"employeeCode": "36223-02",
"employeeName": "Anita Abbink - Overkamp",
"employeeGender": "M",
"employeeIsDummy": false
},
{
"calculatedStart": "2013-12-06T18:45:00.000+01:00",
"totalDuration": 1800,
"travelTimeBefore": 0,
"gapTimeBefore": 0,
"notes": [],
"plancards": [
{
"hourTypeId": 25,
"hourTypeName": "PV eten en drinken",
"hourTypeCode": "31",
"duration": 900,
"note": "Some note",
"kind": "arrangement"
},
{
"hourTypeId": 24,
"hourTypeName": "PV hulp toilet/stoma",
"hourTypeCode": "31",
"duration": 900,
"note": "Some note",
"kind": "arrangement"
}
],
"plannedAddress": {
"latitude": 52.038398,
"longitude": 6.624163,
"zipcode": "7141DC",
"number": "31"
},
"shiftTimelineId": 9,
"shiftName": "Avond 3 PV",
"shiftCode": "A3",
"teamId": 328,
"teamUuid": "ef538153-f686-4ef7-b5aa-f6f2d363d9f6",
"teamName": "V&V De Terp",
"teamCode": "1410",
"teamBlockplanned": false,
"authorizesForLocationId": 12,
"clientId": 14947,
"clientUuid": "3c18790a-145a-4281-b5bd-0d7e0013ce5d",
"clientCode": "05645",
"clientName": "A Radstaak - de Doring",
"clientGender": "F",
"clientIsDummy": false,
"clientBirthDate": "1932-05-23"
},
{
"calculatedStart": "2013-12-06T21:19:00.000+01:00",
"totalDuration": 600,
"travelTimeBefore": 3600,
"gapTimeBefore": 0,
"notes": [],
"plancards": [
{
"hourTypeId": 24,
"hourTypeName": "PV hulp toilet/stoma",
"hourTypeCode": "31",
"duration": 600,
"note": "Some note",
"kind": "arrangement"
}
],
"plannedAddress": {
"latitude": 52.038398,
"longitude": 6.624163,
"zipcode": "7141DC",
"number": "31"
},
"shiftTimelineId": 9,
"shiftName": "Avond 3 PV",
"shiftCode": "A3",
"teamId": 328,
"teamUuid": "ef538153-f686-4ef7-b5aa-f6f2d363d9f6",
"teamName": "V&V De Terp",
"teamCode": "1410",
"teamBlockplanned": false,
"authorizesForLocationId": 12,
"clientId": 14947,
"clientUuid": "3c18790a-145a-4281-b5bd-0d7e0013ce5d",
"clientCode": "05645",
"clientName": "A Radstaak - de Doring",
"clientGender": "F",
"clientIsDummy": false,
"clientBirthDate": "1932-05-23"
}
]
}
},
"moves.Shift": {
"title": "Shift",
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Composite id with id and date",
"x-cupido-id": true,
"x-nullable": true
},
"code": {
"type": "string",
"description": "Shift code",
"x-nullable": true
},
"description": {
"type": "string",
"description": "Shift description",
"x-nullable": true
},
"expertiseProfileId": {
"type": "integer",
"description": "Which expertise profile is needed for this shift",
"format": "int64",
"x-nullable": true
},
"teamId": {
"type": "integer",
"description": "To which team does this shift belong",
"format": "int64",
"x-nullable": true
},
"createdById": {
"type": "integer",
"description": "Deprecated since 01-04-2021 (no-joke): Its an internal property",
"format": "int64",
"x-deprecated": true,
"x-deprecated-since": "01-04-2021",
"x-nullable": true
},
"updatedById": {
"type": "integer",
"description": "Deprecated since 01-04-2021 (no-joke): Its an internal property",
"format": "int64",
"x-deprecated": true,
"x-nullable": true
},
"deletedById": {
"type": "integer",
"description": "Deprecated since 01-04-2021 (no-joke): Its an internal property",
"format": "int64",
"x-deprecated": true,
"x-deprecated-since": "01-04-2021",
"x-nullable": true
},
"validFrom": {
"type": "string",
"description": "When is the shift valid",
"format": "date",
"x-nullable": true
},
"validTo": {
"type": "string",
"format": "date",
"x-nullable": true
},
"transportationMethodId": {
"type": "integer",
"description": "Which transportation method is used for the shift?\nDeprecated since 01-04-2021 (no-joke): Its an internal property",
"format": "int64",
"x-deprecated": true,
"x-deprecated-since": "01-04-2021",
"x-nullable": true
},
"monday": {
"type": "boolean",
"description": "Is the shift 'active' on monday?",
"x-nullable": true
},
"tuesday": {
"type": "boolean",
"description": "Is the shift 'active' on tuesday?",
"x-nullable": true
},
"wednesday": {
"type": "boolean",
"description": "Is the shift 'active' on wednesday?",
"x-nullable": true
},
"thursday": {
"type": "boolean",
"description": "Is the shift 'active' on thursday?",
"x-nullable": true
},
"friday": {
"type": "boolean",
"description": "Is the shift 'active' on friday?",
"x-nullable": true
},
"saturday": {
"type": "boolean",
"description": "Is the shift 'active' on saturday?",
"x-nullable": true
},
"sunday": {
"type": "boolean",
"description": "Is the shift 'active' on sunday?",
"x-nullable": true
},
"startTimes": {
"type": "string",
"description": "Array of all the start times of the shift",
"x-nullable": true
},
"stopTimes": {
"type": "string",
"description": "Array of all the stop times of the shift",
"x-nullable": true
},
"breakType": {
"enum": [
0,
1,
2
],
"type": "integer",
"description": "\nbreakType: Possible values:\n0: no break\n1: use breakLength\n2: use startBreakTimes and stopBreakTimes\n
",
"format": "int64",
"x-nullable": true
},
"breakLength": {
"type": "integer",
"description": "Break length in minutes",
"format": "int64",
"x-nullable": true
},
"startBreakTimes": {
"type": "string",
"description": "Array of all the break start times",
"x-nullable": true
},
"stopBreakTimes": {
"type": "string",
"description": "Array of all the break stop times",
"x-nullable": true
},
"dayPart": {
"type": "integer",
"description": "In which day part is this shift operating in",
"format": "int64",
"x-nullable": true
},
"number": {
"type": "integer",
"description": "Is used by guess_description_number\nDeprecated since 01-04-2021 (no-joke): Its an internal property",
"format": "int64",
"x-deprecated": true,
"x-deprecated-since": "01-04-2021",
"x-nullable": true
},
"timelineId": {
"type": "integer",
"description": "Is used by the ActsAsPlacedOnTimeline plugin",
"format": "int64",
"x-nullable": true
},
"exportAssignments": {
"type": "boolean",
"description": "Export shiftassignments as indirect time",
"x-nullable": true
},
"exportHourTypeId": {
"type": "integer",
"description": "Which hourtype needs to be exported",
"format": "int64",
"x-nullable": true
},
"exportGroupCare": {
"type": "boolean",
"description": "Do we need to export the hours as GroupCare hours?",
"x-nullable": true
}
},
"description": "Updated by Jurriën Gosselink on 09-07-18.",
"example": {
"id": "200@2014-04-11",
"code": "O1",
"description": "Ochtend 1",
"expertiseProfileId": 1,
"teamId": 1,
"createdById": 1,
"updatedById": 1,
"deletedById": 1,
"validFrom": "2014-01-01",
"validTo": "2014-12-31",
"transportationMethodId": 1,
"monday": true,
"tuesday": true,
"wednesday": false,
"thursday": true,
"friday": true,
"saturday": false,
"sunday": false,
"startTimes": "--- - 2000-01-01 08:00:00.000000000 +01:00 - 2000-01-01 08:00:00.000000000 +01:00 - 2000-01-01 08:00:00.000000000 +01:00 - 2000-01-01 08:00:00.000000000 +01:00 - 2000-01-01 08:00:00.000000000 +01:00 - 2000-01-01 08:00:00.000000000 +01:00 - 2000-01-01 08:00:00.000000000 +01:00",
"stopTimes": "--- - 2000-01-01 12:00:00.000000000 +01:00 - 2000-01-01 12:00:00.000000000 +01:00 - 2000-01-01 12:00:00.000000000 +01:00 - 2000-01-01 12:00:00.000000000 +01:00 - 2000-01-01 12:00:00.000000000 +01:00 - 2000-01-01 12:00:00.000000000 +01:00 - 2000-01-01 12:00:00.000000000 +01:00",
"breakType": 0,
"breakLength": 15,
"startBreakTimes": "[null,null,null,null,null,null,null]",
"stopBreakTimes": "[null,null,null,null,null,null,null]",
"dayPart": 1,
"number": 2,
"timelineId": 1,
"exportAssignments": false,
"exportHourTypeId": 1,
"exportGroupCare": false
},
"xml": {
"name": "shift"
}
},
"moves.list.RosterSlotList": {
"type": "object",
"properties": {
"rosterSlots": {
"type": "array",
"items": {
"$ref": "#/definitions/moves.RosterSlot"
}
}
},
"description": "RosterSlotList model (no description)",
"example": {
"rosterSlots": [
{
"id": "21@2014-04-11",
"date": "2013-12-31",
"beginTime": "2013-12-31T22:00:00.000+01:00",
"endTime": "2013-12-31T23:00:00.000+01:00",
"note": "Some note",
"shiftId": "1@2014-03-28",
"externalExpertiseProfileId": 1,
"externalTeamId": 1,
"authorizesForLocationId": 12,
"shiftAssignments": [
{
"id": 1,
"date": "1999-12-31",
"beginTime": "1999-12-31T22:00:00.000+01:00",
"endTime": "1999-12-31T23:00:00.000+01:00",
"shiftId": "1@2014-03-28",
"employeeId": 1,
"employeeLeadingName": "Jan Henk",
"employeeName": "Jan Henk Heilersig",
"onCall": true
},
{
"id": 2,
"date": "1999-12-31",
"beginTime": "1999-12-31T22:00:00.000+01:00",
"endTime": "1999-12-31T23:00:00.000+01:00",
"shiftId": "1@2014-03-28",
"employeeId": 2,
"employeeLeadingName": "Selvi",
"employeeName": "Selvi Ratnasingam",
"onCall": false
}
],
"flexSignups": [
{
"id": 1,
"date": "1999-12-31",
"shiftId": "1@2014-03-28",
"employeeId": 1,
"employeeLeadingName": "Pieter",
"employeeName": "Pieter Bos"
}
],
"plannedVisits": [
{
"date": "2013-12-06",
"calculatedStart": "2013-12-06T12:51:00.000+01:00",
"totalDuration": -1386330660,
"travelTimeBefore": 3600,
"gapTimeBefore": 0,
"notes": [],
"plancards": [],
"shiftTimelineId": 6,
"shiftName": "Middag De Terp PV",
"shiftCode": "MDT",
"teamId": 328,
"teamUuid": "8978eec1-55c8-4c2f-bf63-4d9ae599263c",
"teamName": "V&V De Terp",
"teamCode": "1410",
"teamBlockplanned": false,
"authorizesForLocationId": 12,
"clientId": 14947,
"clientUuid": "3c18790a-145a-4281-b5bd-0d7e0013ce5d",
"clientCode": "05645",
"clientName": "A Radstaak - de Doring",
"clientGender": "F",
"clientIsDummy": false,
"clientBirthDate": "1932-05-23",
"employeeId": 1,
"employeeUuid": "1234567890",
"employeeCode": "code",
"employeeName": "employee",
"employeeGender": "m",
"employeeIsDummy": true
}
]
}
]
}
},
"moves.WorkingEmployeeReport": {
"title": "WorkingEmployeeReport",
"type": "object",
"properties": {
"employeeIds": {
"type": "array",
"items": {
"type": "integer",
"format": "int64"
},
"x-nullable": true
}
},
"description": "WorkingEmployeeReport model (no description)",
"example": {
"employeeIds": [
1,
2,
3
]
}
},
"openehr.list.ArchetypeWrapperList": {
"type": "object",
"properties": {
"archetypeWrappers": {
"type": "array",
"items": {
"$ref": "#/definitions/openehr.ArchetypeWrapper"
},
"x-nullable": true
}
},
"description": "ArchetypeWrapperList model (no description)",
"example": {
"archetypeWrappers": [
{
"updatedAt": "2018-06-28T00:00:00.000+02:00",
"createdAt": "2018-06-28T00:00:00.000+02:00",
"createdBy": "Dummy",
"id": 1,
"archetypeId": "openEHR-EHR-OBSERVATION.barthel.v2.0.0",
"archetypeClass": "Dummy",
"rootNodeRmTypeName": "Dummy",
"rootNodeText": "Dummy",
"rootNodeDescription": "Dummy",
"purpose": "Dummy",
"use": "Dummy",
"misuse": "Dummy",
"copyright": "Dummy",
"keywords": [],
"creatable": true,
"enabled": true,
"archetypeCategories": [
{
"id": 1,
"name": "GGZ"
}
],
"authorizedEmployeeGroupsForCreate": [
{
"id": 1,
"employeeGroupType": "EXPERTISE_GROUP",
"name": "TestGroup",
"deleted": false
}
],
"authorizedEmployeeGroupsForRead": [],
"authorizedEmployeeGroupsForUpdate": [
{
"id": 1,
"employeeGroupType": "EXPERTISE_GROUP",
"name": "TestGroup",
"deleted": false
},
{
"id": 2,
"employeeGroupType": "EXPERTISE_GROUP",
"name": "TestGroup",
"deleted": false
}
],
"authorizedForCreate": true,
"archetype": "Dummy",
"form": "OPERATIONAL_TEMPLATE"
},
{
"updatedAt": "2018-06-28T00:00:00.000+02:00",
"createdAt": "2018-06-28T00:00:00.000+02:00",
"createdBy": "Dummy",
"id": 2,
"archetypeId": "openEHR-EHR-OBSERVATION.laboratory_test_result.v1.1.2",
"archetypeClass": "Dummy",
"rootNodeRmTypeName": "Dummy",
"rootNodeText": "Dummy",
"rootNodeDescription": "Dummy",
"purpose": "Dummy",
"use": "Dummy",
"misuse": "Dummy",
"copyright": "Dummy",
"keywords": [],
"creatable": true,
"enabled": true,
"archetypeCategories": [
{
"id": 2,
"name": "VVT"
}
],
"authorizedEmployeeGroupsForCreate": [],
"authorizedEmployeeGroupsForRead": [],
"authorizedEmployeeGroupsForUpdate": [],
"archetype": "Dummy",
"form": "OPERATIONAL_TEMPLATE"
}
]
}
},
"openehr.ArchetypeWrapper": {
"type": "object",
"allOf": [
{
"$ref": "#/definitions/ArchetypeWrapperBase"
}
],
"description": "ArchetypeWrapper model (no description)",
"example": {
"updatedAt": "2018-06-28T00:00:00.000+02:00",
"createdAt": "2018-06-28T00:00:00.000+02:00",
"createdBy": "Dummy",
"id": 1,
"archetypeId": "Dummy",
"archetypeClass": "Dummy",
"rootNodeRmTypeName": "Dummy",
"rootNodeText": "Dummy",
"rootNodeDescription": "Dummy",
"purpose": "Dummy",
"use": "Dummy",
"misuse": "Dummy",
"copyright": "Dummy",
"keywords": [],
"creatable": true,
"enabled": true,
"enabledInUi": true,
"archetypeCategories": [
{
"id": 1,
"name": "GGZ"
}
],
"authorizedEmployeeGroupsForCreate": [
{
"id": 1,
"employeeGroupType": "EXPERTISE_GROUP",
"name": "TestGroup",
"deleted": false
}
],
"authorizedEmployeeGroupsForRead": [],
"authorizedEmployeeGroupsForUpdate": [
{
"id": 1,
"employeeGroupType": "EXPERTISE_GROUP",
"name": "TestGroup",
"deleted": false
},
{
"id": 2,
"employeeGroupType": "EXPERTISE_GROUP",
"name": "TestGroup",
"deleted": false
}
],
"authorizedForCreate": true,
"archetype": "Dummy",
"form": "OPERATIONAL_TEMPLATE"
}
},
"ArchetypeWrapperBase": {
"title": "ArchetypeWrapper",
"type": "object",
"allOf": [
{
"$ref": "#/definitions/AuditedBase"
}
],
"properties": {
"id": {
"type": "integer",
"format": "int64",
"x-cupido-id": true,
"x-nullable": true
},
"archetypeId": {
"type": "string",
"description": "String containing the archetypeId\nExample: \"openEHR-EHR-CLUSTER.symptom_sign.v1.0.0\"",
"x-nullable": true
},
"archetypeClass": {
"type": "string",
"description": "String containing the archetypeClass\nExample: \"AuthoredArchetype\"",
"x-nullable": true
},
"rootNodeRmTypeName": {
"type": "string",
"description": "String containing the rootNodeRmTypeName (a.k.a. rootNodeRmTypeName)\nExample: \"CLUSTER\"",
"example": "CLUSTER",
"x-nullable": true
},
"rootNodeText": {
"type": "string",
"description": "String containing the rootNodeText\nExample: \"Symptoom/signaal\"",
"example": "Symptoom/signaal",
"x-nullable": true
},
"rootNodeDescription": {
"type": "string",
"description": "String containing the rootNodeDescription\nExample: \"Een klacht van een patient of objectief waargenomen kernmerk van een ziekte.\"",
"example": "Een klacht van een patiënt of objectief waargenomen kenmerk van een ziekte.",
"x-nullable": true
},
"purpose": {
"type": "string",
"description": "String containing the purpose\nExample: \"To record details about a single episode of a reported symptom or sign including context, but not details, of previous episodes if appropriate.\"",
"example": "To record details about a single episode of a reported symptom or sign including context, but not details, of previous episodes if appropriate.",
"x-nullable": true
},
"use": {
"type": "string",
"description": "String containing the use\nExample: \"Use to record details about a single episode of a symptom or reported sign in an individual, as reported by the individual, parent, care-giver or other party. It may be recorded by a clinician as part of a clinical history record as reported to them, observed by the clinician or self-recorded as part of a clinical questionnaire or personal health record. A complete clinical history or patient story may include varying level of details about multiple episodes of an identified symptom or reported sign, as well as multiple symptoms/signs.\\n\\nIn the purest sense, symptoms are subjective observations of a physical or mental disturbance and signs are objective observations of the same, as experienced by an individual and reported to the history taker by the same individual or another party. From this logic it follows that we will need two archetypes to record clinical history - one for reported symptoms and another for reported signs. In reality this is impractical as it will require clinical data entry into either one of these models which adds signficant overheads to modellers and those entering data. In addition, there is often overlap in clinical concepts - for example, is previous vomiting or bleeding to be categorised as a symptom or reported sign? In response, this archetype has been specifically designed to proved a single information model that allows for recording of the entire continuum between clearly identifable symptoms and reported signs when recording a clinical history.\\n\\nThis archetype has been intended to be used as a generic pattern for all symptoms and reported signs. The 'Specific details' SLOT can be used to extend the archetype to include additional, specific data elements for more complex symptoms or signs.\\n\\nThis archetype has been specifically designed to be used in the 'Structured detail' SLOT within the OBSERVATION.story archetype, but can also be used within other OBSERVATION or CLUSTER archetypes and in the 'Associated symptom/sign' or 'Previous episode' SLOT within other instances of this CLUSTER.symptom_sign archetype.\\n\\nClinicians frequently record the phrase 'nil significant' against specific symptoms or reported signs as an efficient method to indicate that they asked the individual and it was not reported as causing any discomfort or disturbance - effectively used more like a 'normal statement' rather than an explicit exclusion. The 'Nil significant' data element has been deliberately included in this archetype to allow clinicians to record this same information in a simple and effective way in a clinical system. It can be used to drive a user interface, for example if 'Nil significant' is recorded as true then the remaining data elements can be hidden on a data entry screen. This pragmatic approach supports the majority of simple clinical recording requirements around reported symptoms and signs.\\n\\nHowever if there is a clinical imperative to explicitly record that a Symptom or Sign was reported as not present, for example if it will be used to drive clinical decision support, then it would be preferable to use the CLUSTER.exclusion_symptom_sign archetype. The use of CLUSTER.exclusion_symptom_sign will increase the complexity of template modelling, implementation and querying. It is recommended that the CLUSTER.exclusion_symptom_sign archetype only be considered for use if clear benefit can be identified in specific situations, but should not be used for routine symptom/sign recording.\"",
"x-nullable": true
},
"misuse": {
"type": "string",
"description": "String containing the misuse\nExample: \"Not to be used to record that a symptom or sign was explicitly reported as not present - use CLUSTER.exclusion_symptom_sign carefully for specific purposes where the overheads of recording in this way warrant the additional complexity, and only if the 'Nil significant' in this archetype is not specific enough for recording purposes.\\n\\nNot to be used for recording objective findings as part of a physical examination - use OBSERVATION.exam and related examination CLUSTER archetypes for this purpose.\\n\\nNot to be used for diagnoses and problems that form part of a persisting Problem List - use EVALUATION.problem_diagnosis.\"",
"x-nullable": true
},
"copyright": {
"type": "string",
"description": "String containing the copyright\nExample: \"© openEHR Foundation\"",
"example": "© openEHR Foundation",
"x-nullable": true
},
"keywords": {
"type": "array",
"items": {
"type": "string"
},
"description": "Array of keywords, which are Strings\nExample: [ \"complaint\", \"symptom\" ]",
"x-nullable": true
},
"creatable": {
"type": "boolean",
"description": "Boolean containing value if corresponding archetype is creatable",
"x-nullable": true
},
"enabled": {
"type": "boolean",
"description": "Deprecated due to functional change. Replaced with enabledInUi",
"x-deprecated-since": "19-03-2024",
"x-nullable": true,
"x-deprecated": true
},
"enabledInUi": {
"type": "boolean",
"description": "Boolean containing value if corresponding archetype is enabled in the ui",
"x-nullable": true
},
"archetypeCategories": {
"type": "array",
"items": {
"$ref": "#/definitions/openehr.ArchetypeCategory"
},
"description": "List of {@link ArchetypeCategory}s of this archetype.",
"x-nullable": true
},
"authorizedEmployeeGroupsForCreate": {
"type": "array",
"items": {
"xml": {
"name": "employeeGroup"
},
"$ref": "#/definitions/openehr.EmployeeGroup"
},
"description": "List of {@link EmployeeGroup}s who are allowed to create compositions of\nthis archetype.\n\nAn empty list means all employees are allowed to create compositions of\nthis archetype.",
"x-nullable": true
},
"authorizedEmployeeGroupsForRead": {
"type": "array",
"items": {
"xml": {
"name": "employeeGroup"
},
"$ref": "#/definitions/openehr.EmployeeGroup"
},
"description": "List of {@link EmployeeGroup}s who are by default allowed to read\ncompositions of this archetype.\n\nAn empty list means all employees by default are allowed to read\ncompositions of this archetype.",
"x-nullable": true
},
"authorizedEmployeeGroupsForUpdate": {
"type": "array",
"items": {
"xml": {
"name": "employeeGroup"
},
"$ref": "#/definitions/openehr.EmployeeGroup"
},
"description": "List of {@link EmployeeGroup}s who are by default allowed to update\ncompositions of this archetype.\n\nAn empty list means all employees by default are allowed to update\ncompositions of this archetype.",
"x-nullable": true
},
"authorizedForCreate": {
"type": "boolean",
"description": "Boolean to indicate that the current user is authorized to create\ncompositions of this archetype.\n\nTrue if authorizedEmployeeGroupsForCreate is empty or the current user\nis a member of one of the authorizedEmployeeGroupsForCreate.\n\nFalse if the user not a member of one of the\nauthorizedEmployeeGroupsForCreate.\n\nNull if no user information is available.",
"x-nullable": true
},
"archetype": {
"type": "string",
"description": "String containing the JSON-blob with the OpenEHR archetype\nThis is the actual data stored in Chiron, the openEHR database",
"x-nullable": true
},
"form": {
"type": "string",
"description": "String containing the archetype form, e.g 'OPERATIONAL_TEMPLATE', 'FLAT', 'DIFFERENTIAL' or 'METADATA'",
"x-nullable": true
}
},
"description": "OpenEHR ArchetypeWrapper model.\nObject to return an ArchetypeWrapper. The wrapper contains the actual archetype as a String and relevant metadata.\n\nBased on the OperationalTemplate, see https://www.openehr.org/releases/AM/latest/docs/AOM2/AOM2.html#_overview_2\n\nCreated on 22/06/2018.",
"example": {
"updatedAt": "2018-06-28T00:00:00.000+02:00",
"createdAt": "2018-06-28T00:00:00.000+02:00",
"createdBy": "Dummy",
"id": 1,
"archetypeId": "Dummy",
"archetypeClass": "Dummy",
"rootNodeRmTypeName": "Dummy",
"rootNodeText": "Dummy",
"rootNodeDescription": "Dummy",
"purpose": "Dummy",
"use": "Dummy",
"misuse": "Dummy",
"copyright": "Dummy",
"keywords": [],
"creatable": true,
"enabled": true,
"enabledInUi": true,
"archetypeCategories": [
{
"id": 1,
"name": "GGZ"
}
],
"authorizedEmployeeGroupsForCreate": [
{
"id": 1,
"employeeGroupType": "EXPERTISE_GROUP",
"name": "TestGroup",
"deleted": false
}
],
"authorizedEmployeeGroupsForRead": [],
"authorizedEmployeeGroupsForUpdate": [
{
"id": 1,
"employeeGroupType": "EXPERTISE_GROUP",
"name": "TestGroup",
"deleted": false
},
{
"id": 2,
"employeeGroupType": "EXPERTISE_GROUP",
"name": "TestGroup",
"deleted": false
}
],
"authorizedForCreate": true,
"archetype": "Dummy",
"form": "OPERATIONAL_TEMPLATE"
}
},
"openehr.ArchetypeCategory": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int64",
"x-cupido-id": true
},
"name": {
"type": "string",
"description": "Name of the archetype category.\nExample: \"GGZ\"."
}
},
"description": "OpenEHR Archetype Category model.\nObject to return an ArchetypeCategory.\n\nThis object includes additional information about Archetype Categories.\n\nCreated on 30/01/2022.",
"example": {
"id": 1,
"name": "GGZ"
}
},
"openehr.EmployeeGroup": {
"title": "EmployeeGroup",
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int64",
"x-cupido-id": true,
"x-nullable": true
},
"employeeGroupType": {
"type": "string",
"description": "Type of employee group, e.g. EXPERTISE_PROFILE or EXPERTISE_GROUP.",
"x-nullable": true
},
"originatingSystemId": {
"type": "string",
"description": "Originating system of the employee group, e.g. Administratie.",
"x-nullable": true
},
"originatingSystemItemId": {
"type": "string",
"description": "Id of the employee group in the originating system."
},
"parentGroups": {
"type": "array",
"items": {
"$ref": "#/definitions/openehr.EmployeeGroup"
},
"description": "List of direct parents of the employee group."
},
"childGroups": {
"type": "array",
"items": {
"$ref": "#/definitions/openehr.EmployeeGroup"
},
"description": "List of direct children of the employee group."
},
"name": {
"type": "string",
"description": "Name of the employee group.",
"x-nullable": true
},
"beginDate": {
"type": "string",
"description": "Begin date of the employee group.",
"format": "date",
"x-nullable": true
},
"endDate": {
"type": "string",
"description": "End date of the employee group.",
"format": "date",
"x-nullable": true
},
"deleted": {
"type": "boolean",
"description": "Boolean to indicate that this employee group is deleted.",
"x-nullable": true
}
},
"description": "Employee group used for authorizations in {@link ArchetypeWrapper} and\n{@link CompositionWrapper}.\n\nEmployee groups can be based on {@link com.nedap.healthcare.domain.ExpertiseProfile}\nand {@link com.nedap.healthcare.domain.ExpertiseGroup}.",
"example": {
"id": 132,
"employeeGroupType": "EXPERTISE_GROUP",
"originatingSystemId": "Administratie",
"originatingSystemItemId": "11",
"parentGroups": [
{
"id": 57,
"employeeGroupType": "EXPERTISE_GROUP",
"name": "TestGroup",
"deleted": false
}
],
"childGroups": [
{
"id": 134,
"employeeGroupType": "EXPERTISE_PROFILE",
"name": "Profile1",
"deleted": false
}
],
"name": "Group1",
"beginDate": "2020-05-11",
"endDate": "2020-05-25",
"deleted": false
}
},
"openehr.list.CompositionVersionWrapperList": {
"type": "object",
"properties": {
"compositionVersionWrappers": {
"type": "array",
"items": {
"$ref": "#/definitions/openehr.CompositionVersionWrapper"
},
"x-nullable": true
}
},
"description": "CompositionVersionWrapperList model (no description)",
"example": {
"compositionVersionWrappers": [
{
"id": 1,
"uid": "e3d332a0-27bf-42f8-8d7c-0997a9b74ae9::nl.ons-ehr-db.NE0001::1",
"versionedCompositionId": 1,
"objectVersion": "1",
"timeCommitted": "2021-06-16T11:18:30.000+02:00",
"committerName": "Dhr. Mike Wazowski",
"committerEmployeeId": 1,
"lifecycleState": "CREATED",
"composerName": "Dhr. Mike Wazowski",
"composerEmployeeId": 1,
"archetypeId": "openEHR-EHR-COMPOSITION.dummy_archetype.v1.0.0",
"referenceModelObject": "{\"@type\":\"COMPOSITION\",\"archetype_details\":{\"@type\":\"ARCHETYPED\",\"archetype_id\":{\"@type\":\"ARCHETYPE_ID\",\"domain_concept\":\"dummy_archetype\",\"qualified_rm_entity\":\"openEHR-EHR-COMPOSITION\",\"rm_entity\":\"COMPOSITION\",\"rm_name\":\"EHR\",\"rm_originator\":\"openEHR\",\"value\":\"openEHR-EHR-COMPOSITION.dummy_archetype.v1.0.0\",\"versionId\":\"1.0.0\",\"full_id\":\"openEHR-EHR-COMPOSITION.dummy_archetype.v1.0.0\",\"semantic_id\":\"openEHR-EHR-COMPOSITION.dummy_archetype.v1\"},\"rm_version\":\"1.0.4\"},\"archetype_node_id\":\"id1.1\",\"category\":{\"@type\":\"DV_CODED_TEXT\",\"defining_code\":{\"@type\":\"CODE_PHRASE\",\"code_string\":\"at1\"},\"mappings\":[],\"value\":\"event\"},\"composer\":{\"@type\":\"PARTY_IDENTIFIED\",\"external_ref\":{\"@type\":\"PARTY_REF\",\"id\":{\"@type\":\"HIER_OBJECT_ID\",\"value\":\"com.nedap.NE0001.employee::7\"},\"namespace\":\"demographic\",\"type\":\"PERSON\"},\"identifiers\":[],\"name\":\"TestEmployee\"},\"content\":[{\"@type\":\"OBSERVATION\",\"archetype_details\":{\"@type\":\"ARCHETYPED\",\"archetype_id\":{\"@type\":\"ARCHETYPE_ID\",\"domain_concept\":\"ovl-text_report-story-001\",\"qualified_rm_entity\":\"openEHR-EHR-OBSERVATION\",\"rm_entity\":\"OBSERVATION\",\"rm_name\":\"EHR\",\"rm_originator\":\"openEHR\",\"value\":\"openEHR-EHR-OBSERVATION.ovl-text_report-story-001.v1.0.0\",\"versionId\":\"1.0.0\",\"full_id\":\"openEHR-EHR-OBSERVATION.ovl-text_report-story-001.v1.0.0\",\"semantic_id\":\"openEHR-EHR-OBSERVATION.ovl-text_report-story-001.v1\"},\"rm_version\":\"1.0.4\"},\"archetype_node_id\":\"id0.2\",\"data\":{\"@type\":\"HISTORY\",\"archetype_node_id\":\"id2\",\"events\":[{\"@type\":\"POINT_EVENT\",\"archetype_node_id\":\"id3\",\"data\":{\"@type\":\"ITEM_TREE\",\"archetype_node_id\":\"id4\",\"items\":[{\"@type\":\"ELEMENT\",\"archetype_node_id\":\"id5.1\",\"links\":[],\"name\":{\"@type\":\"DV_TEXT\",\"mappings\":[],\"value\":\"Story\"},\"path\":\"/content[id0.2]/data[id2]/events[id3]/data[id4]/items[id5.1]\",\"value\":{\"@type\":\"DV_TEXT\",\"mappings\":[],\"value\":\"This is an initial dummy value\"}}],\"links\":[],\"name\":{\"@type\":\"DV_TEXT\",\"mappings\":[],\"value\":\"\"},\"path\":\"/content[id0.2]/data[id2]/events[id3]/data[id4]\"},\"links\":[],\"name\":{\"@type\":\"DV_TEXT\",\"mappings\":[],\"value\":\"Any event\"},\"path\":\"/content[id0.2]/data[id2]/events[id3]\",\"time\":{\"@type\":\"DV_DATE_TIME\",\"other_reference_ranges\":[],\"value\":\"2021-06-16T11:18:30+0100\"}}],\"links\":[],\"name\":{\"@type\":\"DV_TEXT\",\"mappings\":[],\"value\":\"\"},\"origin\":{\"@type\":\"DV_DATE_TIME\",\"other_reference_ranges\":[],\"value\":\"2021-06-16T11:18:30+0100\"},\"path\":\"/content[id0.2]/data[id2]\"},\"encoding\":{\"@type\":\"CODE_PHRASE\",\"code_string\":\"UTF-8\",\"terminology_id\":{\"@type\":\"TERMINOLOGY_ID\",\"value\":\"IANA_character-sets\"}},\"language\":{\"@type\":\"CODE_PHRASE\",\"code_string\":\"en\",\"terminology_id\":{\"@type\":\"TERMINOLOGY_ID\",\"value\":\"ISO_639-1\"}},\"links\":[],\"name\":{\"@type\":\"DV_TEXT\",\"mappings\":[],\"value\":\"Story/History\"},\"other_participations\":[],\"path\":\"/content[id0.2]\",\"subject\":{\"@type\":\"PARTY_SELF\"}}],\"language\":{\"@type\":\"CODE_PHRASE\",\"code_string\":\"en\",\"terminology_id\":{\"@type\":\"TERMINOLOGY_ID\",\"value\":\"ISO_639-1\"}},\"links\":[],\"name\":{\"@type\":\"DV_TEXT\",\"mappings\":[],\"value\":\"Text report\"},\"path\":\"/\",\"territory\":{\"@type\":\"CODE_PHRASE\",\"code_string\":\"NL\",\"terminology_id\":{\"@type\":\"TERMINOLOGY_ID\",\"value\":\"ISO_3166-1\"}}}",
"pathsAndValues": "{\"/content[id0.2]/data[id2]/events[id3]/time/value\": \"2021-06-16T11:18:30+0100\", \"/content[id0.2]/data[id2]/events[id3]/data[id4]/items[id5.1]/value[id10.1]/value\": \"This is an initial dummy value\"}",
"signature": "Dummy",
"attestationPending": false
},
{
"id": 2,
"uid": "e3d332a0-27bf-42f8-8d7c-0997a9b74ae9::nl.ons-ehr-db.NE0001::2",
"versionedCompositionId": 1,
"objectVersion": "2",
"precedingVersionId": 1,
"timeCommitted": "2021-06-16T11:19:00.000+02:00",
"committerName": "Dhr. Mike Wazowski",
"committerEmployeeId": 1,
"lifecycleState": "CREATED",
"composerName": "Dhr. Mike Wazowski",
"composerEmployeeId": 1,
"archetypeId": "openEHR-EHR-COMPOSITION.dummy_archetype.v1.0.0",
"referenceModelObject": "{\"@type\":\"COMPOSITION\",\"archetype_details\":{\"@type\":\"ARCHETYPED\",\"archetype_id\":{\"@type\":\"ARCHETYPE_ID\",\"domain_concept\":\"dummy_archetype\",\"qualified_rm_entity\":\"openEHR-EHR-COMPOSITION\",\"rm_entity\":\"COMPOSITION\",\"rm_name\":\"EHR\",\"rm_originator\":\"openEHR\",\"value\":\"openEHR-EHR-COMPOSITION.dummy_archetype.v1.0.0\",\"versionId\":\"1.0.0\",\"full_id\":\"openEHR-EHR-COMPOSITION.dummy_archetype.v1.0.0\",\"semantic_id\":\"openEHR-EHR-COMPOSITION.dummy_archetype.v1\"},\"rm_version\":\"1.0.4\"},\"archetype_node_id\":\"id1.1\",\"category\":{\"@type\":\"DV_CODED_TEXT\",\"defining_code\":{\"@type\":\"CODE_PHRASE\",\"code_string\":\"at1\"},\"mappings\":[],\"value\":\"event\"},\"composer\":{\"@type\":\"PARTY_IDENTIFIED\",\"external_ref\":{\"@type\":\"PARTY_REF\",\"id\":{\"@type\":\"HIER_OBJECT_ID\",\"value\":\"com.nedap.NE0001.employee::7\"},\"namespace\":\"demographic\",\"type\":\"PERSON\"},\"identifiers\":[],\"name\":\"TestEmployee\"},\"content\":[{\"@type\":\"OBSERVATION\",\"archetype_details\":{\"@type\":\"ARCHETYPED\",\"archetype_id\":{\"@type\":\"ARCHETYPE_ID\",\"domain_concept\":\"ovl-text_report-story-001\",\"qualified_rm_entity\":\"openEHR-EHR-OBSERVATION\",\"rm_entity\":\"OBSERVATION\",\"rm_name\":\"EHR\",\"rm_originator\":\"openEHR\",\"value\":\"openEHR-EHR-OBSERVATION.ovl-text_report-story-001.v1.0.0\",\"versionId\":\"1.0.0\",\"full_id\":\"openEHR-EHR-OBSERVATION.ovl-text_report-story-001.v1.0.0\",\"semantic_id\":\"openEHR-EHR-OBSERVATION.ovl-text_report-story-001.v1\"},\"rm_version\":\"1.0.4\"},\"archetype_node_id\":\"id0.2\",\"data\":{\"@type\":\"HISTORY\",\"archetype_node_id\":\"id2\",\"events\":[{\"@type\":\"POINT_EVENT\",\"archetype_node_id\":\"id3\",\"data\":{\"@type\":\"ITEM_TREE\",\"archetype_node_id\":\"id4\",\"items\":[{\"@type\":\"ELEMENT\",\"archetype_node_id\":\"id5.1\",\"links\":[],\"name\":{\"@type\":\"DV_TEXT\",\"mappings\":[],\"value\":\"Story\"},\"path\":\"/content[id0.2]/data[id2]/events[id3]/data[id4]/items[id5.1]\",\"value\":{\"@type\":\"DV_TEXT\",\"mappings\":[],\"value\":\"This is an updated dummy value\"}}],\"links\":[],\"name\":{\"@type\":\"DV_TEXT\",\"mappings\":[],\"value\":\"\"},\"path\":\"/content[id0.2]/data[id2]/events[id3]/data[id4]\"},\"links\":[],\"name\":{\"@type\":\"DV_TEXT\",\"mappings\":[],\"value\":\"Any event\"},\"path\":\"/content[id0.2]/data[id2]/events[id3]\",\"time\":{\"@type\":\"DV_DATE_TIME\",\"other_reference_ranges\":[],\"value\":\"2021-06-16T11:18:30+0100\"}}],\"links\":[],\"name\":{\"@type\":\"DV_TEXT\",\"mappings\":[],\"value\":\"\"},\"origin\":{\"@type\":\"DV_DATE_TIME\",\"other_reference_ranges\":[],\"value\":\"2021-06-16T11:18:30+0100\"},\"path\":\"/content[id0.2]/data[id2]\"},\"encoding\":{\"@type\":\"CODE_PHRASE\",\"code_string\":\"UTF-8\",\"terminology_id\":{\"@type\":\"TERMINOLOGY_ID\",\"value\":\"IANA_character-sets\"}},\"language\":{\"@type\":\"CODE_PHRASE\",\"code_string\":\"en\",\"terminology_id\":{\"@type\":\"TERMINOLOGY_ID\",\"value\":\"ISO_639-1\"}},\"links\":[],\"name\":{\"@type\":\"DV_TEXT\",\"mappings\":[],\"value\":\"Story/History\"},\"other_participations\":[],\"path\":\"/content[id0.2]\",\"subject\":{\"@type\":\"PARTY_SELF\"}}],\"language\":{\"@type\":\"CODE_PHRASE\",\"code_string\":\"en\",\"terminology_id\":{\"@type\":\"TERMINOLOGY_ID\",\"value\":\"ISO_639-1\"}},\"links\":[],\"name\":{\"@type\":\"DV_TEXT\",\"mappings\":[],\"value\":\"Text report\"},\"path\":\"/\",\"territory\":{\"@type\":\"CODE_PHRASE\",\"code_string\":\"NL\",\"terminology_id\":{\"@type\":\"TERMINOLOGY_ID\",\"value\":\"ISO_3166-1\"}}}",
"pathsAndValues": "{\"/content[id0.2]/data[id2]/events[id3]/time/value\": \"2021-06-16T11:18:30+0100\", \"/content[id0.2]/data[id2]/events[id3]/data[id4]/items[id5.1]/value[id10.1]/value\": \"This is an updated dummy value\"}",
"signature": "Dummy",
"attestationPending": false
}
]
}
},
"openehr.CompositionVersionWrapper": {
"required": [
"id",
"objectVersion",
"timeCommitted",
"lifecycleState",
"archetypeId"
],
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int64",
"x-cupido-id": true
},
"uid": {
"type": "string",
"description": "The UID of the composition version with lexical form: 'object_id::creating_system_id::version_tree_id'"
},
"versionedCompositionId": {
"type": "integer",
"description": "The id of the versionedComposition",
"format": "int64"
},
"objectVersion": {
"type": "string",
"description": "The Composition version number as specified by openEHR. 1, 2, 3 for main versions, 1.1, 1.2, 1.3 for different branches, etc"
},
"precedingVersionId": {
"type": "integer",
"description": "The composition version that precedes this composition version",
"format": "int64"
},
"timeCommitted": {
"type": "string",
"description": "Fetched from the contribution. Time that the composition was committed",
"format": "date-time"
},
"committerName": {
"type": "string",
"description": "Fetched from the contribution. Name of the committer of the composition",
"x-nullable": true
},
"committerEmployeeId": {
"type": "integer",
"description": "Fetched from contribution. Administratie employee id of the committer of the composition",
"format": "int64"
},
"lifecycleState": {
"type": "string",
"description": "State of this particular composition version with possible values: COMPLETE, INCOMPLETE, DELETED",
"x-nullable": true
},
"composerName": {
"type": "string",
"description": "Name of the composer of this composition version",
"x-nullable": true
},
"composerEmployeeId": {
"type": "integer",
"description": "Administration employee id of the composer of the composition",
"format": "int64"
},
"archetypeId": {
"type": "string",
"description": "The id of the archetype version contained in this composition version"
},
"referenceModelObject": {
"type": "string",
"description": "The json RM object",
"x-nullable": true
},
"pathsAndValues": {
"type": "string",
"description": "Contents of this composition version in JSON format",
"x-nullable": true
},
"signature": {
"type": "string",
"description": "Digital signature of the committer",
"x-nullable": true
},
"attestationPending": {
"type": "boolean",
"description": "True if this stored composition version is awaiting an attestation",
"x-nullable": true
}
},
"description": "CompositionVersionWrapper model (no description)",
"example": {
"id": 2,
"uid": "e3d332a0-27bf-42f8-8d7c-0997a9b74ae9::nl.ons-ehr-db.NE0001::2",
"versionedCompositionId": 1,
"objectVersion": "2",
"precedingVersionId": 1,
"timeCommitted": "2021-06-16T11:18:30.000+02:00",
"committerName": "Dhr. Mike Wazowski",
"committerEmployeeId": 1,
"lifecycleState": "CREATED",
"composerName": "Dhr. Mike Wazowski",
"composerEmployeeId": 1,
"archetypeId": "openEHR-EHR-COMPOSITION.dummy_archetype.v1.0.0",
"referenceModelObject": "{\"@type\":\"COMPOSITION\",\"archetype_details\":{\"@type\":\"ARCHETYPED\",\"archetype_id\":{\"@type\":\"ARCHETYPE_ID\",\"domain_concept\":\"dummy_archetype\",\"qualified_rm_entity\":\"openEHR-EHR-COMPOSITION\",\"rm_entity\":\"COMPOSITION\",\"rm_name\":\"EHR\",\"rm_originator\":\"openEHR\",\"value\":\"openEHR-EHR-COMPOSITION.dummy_archetype.v1.0.0\",\"versionId\":\"1.0.0\",\"full_id\":\"openEHR-EHR-COMPOSITION.dummy_archetype.v1.0.0\",\"semantic_id\":\"openEHR-EHR-COMPOSITION.dummy_archetype.v1\"},\"rm_version\":\"1.0.4\"},\"archetype_node_id\":\"id1.1\",\"category\":{\"@type\":\"DV_CODED_TEXT\",\"defining_code\":{\"@type\":\"CODE_PHRASE\",\"code_string\":\"at1\"},\"mappings\":[],\"value\":\"event\"},\"composer\":{\"@type\":\"PARTY_IDENTIFIED\",\"external_ref\":{\"@type\":\"PARTY_REF\",\"id\":{\"@type\":\"HIER_OBJECT_ID\",\"value\":\"com.nedap.NE0001.employee::7\"},\"namespace\":\"demographic\",\"type\":\"PERSON\"},\"identifiers\":[],\"name\":\"TestEmployee\"},\"content\":[{\"@type\":\"OBSERVATION\",\"archetype_details\":{\"@type\":\"ARCHETYPED\",\"archetype_id\":{\"@type\":\"ARCHETYPE_ID\",\"domain_concept\":\"ovl-text_report-story-001\",\"qualified_rm_entity\":\"openEHR-EHR-OBSERVATION\",\"rm_entity\":\"OBSERVATION\",\"rm_name\":\"EHR\",\"rm_originator\":\"openEHR\",\"value\":\"openEHR-EHR-OBSERVATION.ovl-text_report-story-001.v1.0.0\",\"versionId\":\"1.0.0\",\"full_id\":\"openEHR-EHR-OBSERVATION.ovl-text_report-story-001.v1.0.0\",\"semantic_id\":\"openEHR-EHR-OBSERVATION.ovl-text_report-story-001.v1\"},\"rm_version\":\"1.0.4\"},\"archetype_node_id\":\"id0.2\",\"data\":{\"@type\":\"HISTORY\",\"archetype_node_id\":\"id2\",\"events\":[{\"@type\":\"POINT_EVENT\",\"archetype_node_id\":\"id3\",\"data\":{\"@type\":\"ITEM_TREE\",\"archetype_node_id\":\"id4\",\"items\":[{\"@type\":\"ELEMENT\",\"archetype_node_id\":\"id5.1\",\"links\":[],\"name\":{\"@type\":\"DV_TEXT\",\"mappings\":[],\"value\":\"Story\"},\"path\":\"/content[id0.2]/data[id2]/events[id3]/data[id4]/items[id5.1]\",\"value\":{\"@type\":\"DV_TEXT\",\"mappings\":[],\"value\":\"This is a dummy value\"}}],\"links\":[],\"name\":{\"@type\":\"DV_TEXT\",\"mappings\":[],\"value\":\"\"},\"path\":\"/content[id0.2]/data[id2]/events[id3]/data[id4]\"},\"links\":[],\"name\":{\"@type\":\"DV_TEXT\",\"mappings\":[],\"value\":\"Any event\"},\"path\":\"/content[id0.2]/data[id2]/events[id3]\",\"time\":{\"@type\":\"DV_DATE_TIME\",\"other_reference_ranges\":[],\"value\":\"2021-06-16T11:18:30+0100\"}}],\"links\":[],\"name\":{\"@type\":\"DV_TEXT\",\"mappings\":[],\"value\":\"\"},\"origin\":{\"@type\":\"DV_DATE_TIME\",\"other_reference_ranges\":[],\"value\":\"2021-06-16T11:18:30+0100\"},\"path\":\"/content[id0.2]/data[id2]\"},\"encoding\":{\"@type\":\"CODE_PHRASE\",\"code_string\":\"UTF-8\",\"terminology_id\":{\"@type\":\"TERMINOLOGY_ID\",\"value\":\"IANA_character-sets\"}},\"language\":{\"@type\":\"CODE_PHRASE\",\"code_string\":\"en\",\"terminology_id\":{\"@type\":\"TERMINOLOGY_ID\",\"value\":\"ISO_639-1\"}},\"links\":[],\"name\":{\"@type\":\"DV_TEXT\",\"mappings\":[],\"value\":\"Story/History\"},\"other_participations\":[],\"path\":\"/content[id0.2]\",\"subject\":{\"@type\":\"PARTY_SELF\"}}],\"language\":{\"@type\":\"CODE_PHRASE\",\"code_string\":\"en\",\"terminology_id\":{\"@type\":\"TERMINOLOGY_ID\",\"value\":\"ISO_639-1\"}},\"links\":[],\"name\":{\"@type\":\"DV_TEXT\",\"mappings\":[],\"value\":\"Text report\"},\"path\":\"/\",\"territory\":{\"@type\":\"CODE_PHRASE\",\"code_string\":\"NL\",\"terminology_id\":{\"@type\":\"TERMINOLOGY_ID\",\"value\":\"ISO_3166-1\"}}}",
"pathsAndValues": "{\"/content[id0.2]/data[id2]/events[id3]/time/value\": \"2021-06-16T11:18:30+0100\", \"/content[id0.2]/data[id2]/events[id3]/data[id4]/items[id5.1]/value[id10.1]/value\": \"This is a dummy value\"}",
"signature": "Dummy",
"attestationPending": false
}
},
"openehr.list.CompositionWrapperList": {
"type": "object",
"properties": {
"compositionWrappers": {
"type": "array",
"items": {
"$ref": "#/definitions/openehr.CompositionWrapper"
}
}
},
"description": "CompositionWrapperList model (no description)",
"example": {
"compositionWrappers": [
{
"id": 1,
"ehrId": 1,
"clientId": 1,
"archetypeId": "Dummy",
"storedCompositionId": 1,
"versionedCompositionUuid": "e3d332a0-27bf-42f8-8d7c-0997a9b74ae8",
"type": "Dummy",
"firstEventTime": "2018-06-08T00:00:00.000+02:00",
"composerId": 1,
"composerName": "Dummy",
"composerEmployeeId": 1,
"timeCommitted": "2018-06-08T00:00:00.000+02:00",
"committerName": "Dummy",
"committerEmployeeId": 1,
"authorizedForUpdate": true,
"lifecycleState": "Dummy",
"referenceModelObject": "Dummy",
"pathsAndValues": "Dummy",
"authorizedEmployeeGroupsForRead": [],
"authorizedEmployeeGroupsForUpdate": [
{
"id": 57,
"employeeGroupType": "EXPERTISE_GROUP",
"name": "TestGroup",
"deleted": false
},
{
"id": 58,
"employeeGroupType": "EXPERTISE_GROUP",
"name": "TestGroup",
"deleted": false
}
],
"updatedAt": "2018-06-08T00:00:00.000+02:00",
"createdAt": "2018-06-08T00:00:00.000+02:00",
"createdBy": "Dummy",
"uuid": "e3d332a0-27bf-42f8-8d7c-0997a9b74ae8"
},
{
"id": 2,
"ehrId": 1,
"clientId": 1,
"archetypeId": "Dummy",
"storedCompositionId": 1,
"versionedCompositionUuid": "e3d332a0-27bf-42f8-8d7c-0997a9b74ae9",
"type": "Dummy",
"firstEventTime": "2018-06-08T00:00:00.000+02:00",
"composerId": 1,
"composerName": "Dummy",
"composerEmployeeId": 1,
"timeCommitted": "2018-06-08T00:00:00.000+02:00",
"committerName": "Dummy",
"committerEmployeeId": 1,
"lifecycleState": "Dummy",
"referenceModelObject": "Dummy",
"pathsAndValues": "Dummy",
"authorizedEmployeeGroupsForRead": [],
"authorizedEmployeeGroupsForUpdate": [],
"updatedAt": "2018-06-08T00:00:00.000+02:00",
"createdAt": "2018-06-08T00:00:00.000+02:00",
"createdBy": "Dummy",
"uuid": "e3d332a0-27bf-42f8-8d7c-0997a9b74ae9"
}
]
}
},
"openehr.CompositionWrapper": {
"type": "object",
"allOf": [
{
"$ref": "#/definitions/openehr.ReferenceModelObjectWrapper"
}
],
"properties": {
"uuid": {
"type": "string",
"description": "UUID of the composition, referring to the UUID of the object in Chiron."
}
},
"description": "OpenEHR CompositionWrapper model, including relevant metadata.\nObject to return an CompositionWrapper, which extends from the ReferenceModelObjectWrapper\n\nSee also https://www.openehr.org/releases/BASE/latest/docs/resource/resource.html\n\nCreated on 08/06/2018.",
"example": {
"id": 1,
"ehrId": 1,
"clientId": 1,
"archetypeId": "Dummy",
"storedCompositionId": 1,
"versionedCompositionUuid": "e3d332a0-27bf-42f8-8d7c-0997a9b74ae8",
"type": "Dummy",
"firstEventTime": "2018-06-08T00:00:00.000+02:00",
"composerId": 1,
"composerName": "Dummy",
"composerEmployeeId": 1,
"timeCommitted": "2018-06-08T00:00:00.000+02:00",
"committerName": "Dummy",
"committerEmployeeId": 1,
"authorizedForUpdate": true,
"lifecycleState": "Dummy",
"referenceModelObject": "Dummy",
"pathsAndValues": "Dummy",
"authorizedEmployeeGroupsForRead": [],
"authorizedEmployeeGroupsForUpdate": [
{
"id": 57,
"employeeGroupType": "EXPERTISE_GROUP",
"name": "TestGroup",
"deleted": false
},
{
"id": 58,
"employeeGroupType": "EXPERTISE_GROUP",
"name": "TestGroup",
"deleted": false
}
],
"updatedAt": "2018-06-08T00:00:00.000+02:00",
"createdAt": "2018-06-08T00:00:00.000+02:00",
"createdBy": "Dummy",
"uuid": "e3d332a0-27bf-42f8-8d7c-0997a9b74ae8"
}
},
"openehr.ReferenceModelObjectWrapper": {
"type": "object",
"allOf": [
{
"$ref": "#/definitions/AuditedBase"
}
],
"properties": {
"id": {
"type": "integer",
"format": "int64",
"x-cupido-id": true,
"x-nullable": true
},
"ehrId": {
"type": "integer",
"description": "Integer containing the ehrId.",
"format": "int64",
"x-nullable": true
},
"clientId": {
"type": "integer",
"description": "Integer containing the clientId. This might be empty, since a reference model object is primarily linked to an\nehr. An EHR might not have a link to a cupido client, for example if a client is not known in Ons Administratie.",
"format": "int64",
"x-nullable": true
},
"archetypeId": {
"type": "string",
"description": "String containing the archetypeId of the archetype used.\nExample: \"openEHR-EHR-CLUSTER.symptom_sign.v1.0.0\"",
"x-nullable": true
},
"storedCompositionId": {
"type": "integer",
"description": "Long containing the storedCompositionId, referring to the id of the object in Chiron.\nInteger containing the storedCompositionId, referring to the id of the object in Chiron.",
"format": "int64",
"x-nullable": true
},
"versionedCompositionUuid": {
"type": "string",
"description": "UUID containing the versionedCompositionUuid, referring to the UUID of the object in Chiron."
},
"type": {
"type": "string",
"description": "String containing the type of object stored.\nExample: \"composition\", \"archetyped_object\" or \"temporary_composition\"",
"x-nullable": true
},
"firstEventTime": {
"type": "string",
"description": "DateTime of the first event that took place when the reference model was created.",
"format": "date-time",
"x-nullable": true
},
"composerId": {
"type": "integer",
"description": "Long containing the composerId, referring to the composer of the object.\nInteger containing the composerId, referring to the composer of the object.\nNote: The composer is not always the same person as the person who commits the object.",
"format": "int64",
"x-nullable": true
},
"composerName": {
"type": "string",
"description": "String containing the composerName, referring to the composer of the object.\nNote: The composer is not always the same person as the person who commits the object.",
"x-nullable": true
},
"composerEmployeeId": {
"type": "integer",
"description": "Integer containing the employeeId in Ons Administratie of the composer. This can be empty when the composer\nis not known in Ons Administratie, or when just the name was recorded.\nNote: The composer is not always the same person as the person who commits the object.",
"format": "int64",
"x-nullable": true
},
"timeCommitted": {
"type": "string",
"description": "Fetched from the contribution. Time that the composition was committed",
"format": "date-time",
"x-nullable": true
},
"committerName": {
"type": "string",
"description": "String containing the name of the committer.\nNote: The committer is not always the same person as the person who composes the object."
},
"committerEmployeeId": {
"type": "integer",
"description": "Integer containing the employeeId in Ons Administratie of the committer. This can be empty when the committer\nis not known in Ons Administratie. The name of the committer is recorded in the committerName field.\nNote: The committer is not always the same person as the person who composes the object.",
"format": "int64",
"x-nullable": true
},
"authorizedForUpdate": {
"type": "boolean",
"description": "Boolean to indicate that the current user is authorized to update this\ncomposition.\n\nTrue if authorizedEmployeeGroupsForUpdate is empty or the current user\nis a member of one of the authorizedEmployeeGroupsForUpdate.\n\nFalse if the user not a member of one of the\nauthorizedEmployeeGroupsForUpdate.\n\nNull if no user information is available.",
"x-nullable": true
},
"lifecycleState": {
"type": "string",
"description": "String containing the state of the ReferenceModelObject.\nExample: \"COMPLETE\", \"INCOMPLETE\" or \"DELETED\"",
"x-nullable": true
},
"referenceModelObject": {
"type": "string",
"description": "String containing the JSON-blob with the actual OpenEHR Reference Object\nThis is the actual referenceModelObject stored in Chiron, the openEHR database",
"x-nullable": true
},
"pathsAndValues": {
"type": "string",
"description": "String containing the summarized structure of the paths and values of an stored object.\nThis contains the same information as a fully fledged ReferenceModelObject, but combined in one data-structure.\nExample: {\n\"/content[id3]/data[id4]/items[id7]/value/defining_code\": \"at2\",\n\"/category/defining_code\": \"at1\",\n\"/content[id3]/data[id4]/items[id9]/value/value\": \"2017-11-05T13:15:30Z\",\n}",
"x-nullable": true
},
"authorizedEmployeeGroupsForRead": {
"type": "array",
"items": {
"xml": {
"name": "employeeGroup"
},
"$ref": "#/definitions/openehr.EmployeeGroup"
},
"description": "List of {@link EmployeeGroup}s who are by allowed to read this\ncomposition.\n\nAn empty list means all employees are allowed to read this composition.",
"x-nullable": true
},
"authorizedEmployeeGroupsForUpdate": {
"type": "array",
"items": {
"xml": {
"name": "employeeGroup"
},
"$ref": "#/definitions/openehr.EmployeeGroup"
},
"description": "List of {@link EmployeeGroup}s who are allowed to update this\ncomposition.\n\n\nAn empty list means all employees are allowed to update this\ncomposition.",
"x-nullable": true
}
},
"description": "OpenEHR Reference Model Object Wrapper model.\nObject to return an ReferenceModelObjectWrapper.\nThis is the superclass of every object in an EHR, such as StoredComposition, ArchetypedObject or Observation.\nIt also includes relevant metadata.\n\nSee also https://www.openehr.org/releases/BASE/latest/docs/resource/resource.html\n\nCreated on 08/06/2018.",
"example": {
"updatedAt": "2018-06-08T00:00:00.000+02:00",
"createdAt": "2018-06-08T00:00:00.000+02:00",
"createdBy": "Dummy",
"id": 1,
"ehrId": 1,
"clientId": 1,
"archetypeId": "Dummy",
"storedCompositionId": 1,
"versionedCompositionUuid": "e3d332a0-27bf-42f8-8d7c-0997a9b74ae8",
"type": "Dummy",
"firstEventTime": "2018-06-08T00:00:00.000+02:00",
"composerId": 1,
"composerName": "Dummy",
"composerEmployeeId": 1,
"timeCommitted": "2018-06-08T00:00:00.000+02:00",
"committerName": "Dummy",
"committerEmployeeId": 1,
"authorizedForUpdate": true,
"lifecycleState": "Dummy",
"referenceModelObject": "Dummy",
"pathsAndValues": "Dummy",
"authorizedEmployeeGroupsForRead": [],
"authorizedEmployeeGroupsForUpdate": [
{
"id": 57,
"employeeGroupType": "EXPERTISE_GROUP",
"name": "TestGroup",
"deleted": false
},
{
"id": 58,
"employeeGroupType": "EXPERTISE_GROUP",
"name": "TestGroup",
"deleted": false
}
]
}
},
"openehr.list.LinkedReferenceModelObjectWrapperList": {
"type": "object",
"properties": {
"linkedReferenceModelObjectWrappers": {
"type": "array",
"items": {
"$ref": "#/definitions/openehr.LinkedReferenceModelObjectWrapper"
},
"x-nullable": true
}
},
"description": "LinkedReferenceModelObjectWrapperList model (no description)",
"example": {
"linkedReferenceModelObjectWrappers": [
{
"id": 1,
"ehrId": 1,
"clientId": 1,
"archetypeId": "openEHR-EHR-COMPOSITION.wound.v0.0.0",
"storedCompositionId": 5,
"versionedCompositionUuid": "e3d332a0-27bf-42f8-8d7c-0997a9b74ae8",
"type": "COMPOSITION",
"firstEventTime": "2018-06-08T00:00:00.000+02:00",
"composerId": 9,
"composerName": "R den Doorn",
"composerEmployeeId": 5,
"timeCommitted": "2018-06-08T00:00:00.000+02:00",
"committerName": "R den Doorn",
"committerEmployeeId": 5,
"authorizedForUpdate": true,
"lifecycleState": "COMPLETE",
"referenceModelObject": "{\"@type\":\"COMPOSITION\",\"links\":[{\"target\":{\"@type\":\"DV_EHR_URI\",\"value\":\"ehr:compositions/1\"}}]}",
"pathsAndValues": "{\"/links/target/value\":\"ehr:compositions/1\"}",
"updatedAt": "2018-06-08T00:00:00.000+02:00",
"createdAt": "2018-06-08T00:00:00.000+02:00",
"createdBy": "R den Doorn",
"sourcePath": "/",
"targetEhrUri": "ehr:compositions/1"
},
{
"id": 2,
"ehrId": 1,
"clientId": 1,
"archetypeId": "openEHR-EHR-COMPOSITION.wound.v0.0.0",
"storedCompositionId": 6,
"versionedCompositionUuid": "e3d332a0-27bf-42f8-8d7c-0997a9b74ae9",
"type": "COMPOSITION",
"firstEventTime": "2018-06-08T00:00:00.000+02:00",
"composerId": 9,
"composerName": "R den Doorn",
"composerEmployeeId": 5,
"timeCommitted": "2018-06-08T00:00:00.000+02:00",
"committerName": "R den Doorn",
"committerEmployeeId": 5,
"authorizedForUpdate": true,
"lifecycleState": "COMPLETE",
"referenceModelObject": "{\"@type\":\"COMPOSITION\",\"content\":[{\"@type\":\"OBSERVATION\",\"archetype_node_id\":\"id0.0.100.1\",\"links\":[{\"target\":{\"@type\":\"DV_EHR_URI\",\"value\":\"ehr:compositions/97/content%5Bid0.2%5D/data%5Bid2%5D/events%5Bid3%5D\"}}]}]}",
"pathsAndValues": "{\"/content[id0.0.100.1,1]/links/target/value\":\"ehr:compositions/1/content%5Bid0.2%5D/data%5Bid2%5D/events%5Bid3%5D\"}",
"updatedAt": "2018-06-08T00:00:00.000+02:00",
"createdAt": "2018-06-08T00:00:00.000+02:00",
"createdBy": "R den Doorn",
"sourcePath": "/content[id0.0.100.1,1]",
"targetEhrUri": "ehr:compositions/1/content%5Bid0.2%5D/data%5Bid2%5D/events%5Bid3%5D",
"targetPathInsideTopLevelStructure": "/content[id0.2]/data[id2]/events[id3]",
"linkMeaningValue": "Meaning",
"linkTypeValue": "Type"
}
]
}
},
"openehr.LinkedReferenceModelObjectWrapper": {
"type": "object",
"allOf": [
{
"$ref": "#/definitions/openehr.ReferenceModelObjectWrapper"
}
],
"properties": {
"sourcePath": {
"type": "string",
"description": "String containing the path from where the link is made.\nExample: \"/\" or \"/content[id0.2]/data[id2]/events[id3]\".",
"x-nullable": true
},
"targetEhrUri": {
"type": "string",
"description": "String containing the full target EHR URI of the link.\nNote: Some characters might be escaped, e.g. square brackets can be %5B and %5D and spaces can be %20.\nExample: \"ehr:/32/compositions/42\" or\n\"ehr:compositions/20/content[id0.2]/data[id2]/events[id3]/data[id4]/items[id5.1]\" or\n\"ehr:compositions/20/content%5Bid0.2%5D/data%5Bid2%5D/events%5Bid3%5D/data%5Bid4%5D/items%5Bid5.1%5D\".",
"x-nullable": true
},
"targetPathInsideTopLevelStructure": {
"type": "string",
"description": "String containing target path inside the top level structure (composition).\nNull when linked to the composition root.\nNote: This will not contain escaped characters.\nExample: \"/content[id0.2]/data[id2]/events[id3]/data[id4]/items[id5.1]\".",
"x-nullable": true
},
"linkMeaningValue": {
"type": "string",
"description": "String containing meaning value of the link.\nExample: \"related information\".",
"x-nullable": true
},
"linkTypeValue": {
"type": "string",
"description": "String containing type value of the link.\nExample: \"intake\".",
"x-nullable": true
}
},
"description": "OpenEHR Linked Reference Model Object Wrapper model.\nObject to return an LinkedReferenceModelObjectWrapper.\n\nThis object includes additional information about linked Reference Model Objects.\n\nCreated on 19/02/2019.",
"example": {
"id": 1,
"ehrId": 1,
"clientId": 1,
"archetypeId": "openEHR-EHR-COMPOSITION.wound.v0.0.0",
"storedCompositionId": 5,
"versionedCompositionUuid": "e3d332a0-27bf-42f8-8d7c-0997a9b74ae8",
"type": "COMPOSITION",
"firstEventTime": "2019-02-18T00:00:00.000+01:00",
"composerId": 9,
"composerName": "R den Doorn",
"composerEmployeeId": 5,
"timeCommitted": "2019-02-18T00:00:00.000+01:00",
"committerName": "R den Doorn",
"committerEmployeeId": 5,
"authorizedForUpdate": true,
"lifecycleState": "COMPLETE",
"referenceModelObject": "{\"@type\":\"COMPOSITION\",\"content\":[{\"@type\":\"OBSERVATION\",\"archetype_node_id\":\"id0.0.100.1\",\"links\":[{\"target\":{\"@type\":\"DV_EHR_URI\",\"value\":\"ehr:compositions/97/content%5Bid0.2%5D/data%5Bid2%5D/events%5Bid3%5D\"}}]}]}",
"pathsAndValues": "{\"/content[id0.0.100.1,1]/links/target/value\":\"ehr:compositions/1/content%5Bid0.2%5D/data%5Bid2%5D/events%5Bid3%5D\"}",
"authorizedEmployeeGroupsForRead": [],
"authorizedEmployeeGroupsForUpdate": [
{
"id": 57,
"employeeGroupType": "EXPERTISE_GROUP",
"name": "TestGroup",
"deleted": false
},
{
"id": 58,
"employeeGroupType": "EXPERTISE_GROUP",
"name": "TestGroup",
"deleted": false
}
],
"updatedAt": "2019-02-18T00:00:00.000+01:00",
"createdAt": "2019-02-18T00:00:00.000+01:00",
"createdBy": "R den Doorn",
"sourcePath": "/content[id0.0.100.1,1]",
"targetEhrUri": "ehr:compositions/1/content%5Bid0.2%5D/data%5Bid2%5D/events%5Bid3%5D",
"targetPathInsideTopLevelStructure": "/content[id0.2]/data[id2]/events[id3]",
"linkMeaningValue": "Meaning",
"linkTypeValue": "Type"
}
},
"openehr.RuleEvaluationResult": {
"type": "object",
"properties": {
"evaluationResult": {
"type": "string",
"description": "String containing the evaluationResult\nExample:\n\"evaluation_result\": {\n\"assertion_results\": [],\n\"paths_that_must_not_exist\": [],\n\"set_path_values\": {},\n\"paths_that_must_exist\": []\n}",
"example": "\"evaluation_result\": {\n \"assertion_results\": [],\n \"paths_that_must_not_exist\": [],\n \"set_path_values\": {},\n \"paths_that_must_exist\": []\n}",
"x-nullable": true
},
"validationMessages": {
"type": "string",
"description": "String containing the validationMessages\nExample: \"validation_messages\":\n\"validation_messages\": [\n{\n\"archetype_path\": \"/category\",\n\"path\": \"/category\",\n\"human_readable_archetype_path\": \"/category\",\n\"message\": \"Attribute category of class COMPOSITION does not match existence 1..1\",\n\"type\": \"REQUIRED\"\n}\n]",
"example": "\"validation_messages\": [\n {\n \"archetype_path\": \"/category\",\n \"path\": \"/category\",\n \"human_readable_archetype_path\": \"/category\",\n \"message\": \"Attribute category of class COMPOSITION does not match existence 1..1\",\n \"type\": \"REQUIRED\"\n }\n]",
"x-nullable": true
}
},
"description": "OpenEHR RuleEvaluationResult model.\nObject to return an RuleEvaluationResult, which checks the rules of an archetype.\n\nCreated on 18/06/2018.",
"example": {
"evaluationResult": "{\"assertion_results\":[\"raw result in json format per rule in the archetype\"],\"paths_that_must_exist\":[\"/content[id0.0.100.1]/data[id3]/events[id4]/data[id2]/items[id12]/items[id1201]/value[id1211]/magnitude\"],\"paths_that_must_not_exist\":[\"/content[id0.0.100.1]/data[id3]/events[id4]/data[id2]/items[id12]/items[id1201]/value[id124]/magnitude\"],\"set_path_values\":{\"/content[id0.0.100.1]/data[id3]/events[id4]/data[id2]/items[id5]/items[id508]/value/magnitude\":{\"paths\":[],\"null\":true},\"/content[id0.0.100.1]/data[id3]/events[id4]/data[id2]/items[id6]/items[id608]/value/magnitude\":{\"paths\":[],\"null\":true}}}",
"validationMessages": "[{\"archetype_path\":\"/content[id0.0.100.1]/data[id3]/events[id4]/data[id2]/items[id12]/items[id1201]/value[id1211]/magnitude\",\"path\":\"/content[id0.0.100.1, 1]/data[id3]/events[id4, 1]/data[id2]/items[id12, 1]/items[id1201, 1]/value/magnitude[id9999]\",\"human_readable_archetype_path\":\"/content[id0.0.100.1]/data[id3]/events[id4]/data[id2]/items[id12]/items[id1201]/value[id1211]/magnitude\",\"message\":\"De waarde 101 moet minimaal 0 en maximaal 100 zijn\",\"type\":\"DEFAULT\"},{\"archetype_path\":\"/content[id0.0.100.1]/data[id3]/events[id4]/data[id2]/items[id12]/items[id1202]\",\"path\":\"/content[id0.0.100.1, 1]/data[id3]/events[id4, 1]/data[id2]/items[id12, 1]/items[id1202]\",\"human_readable_archetype_path\":\"/content[id0.0.100.1]/data[id3]/events[id4]/data[id2]/items[id12]/items[id1202]\",\"message\":\"Attribuut komt 0 keer voor, maar dit moet 1..1 zijn\",\"type\":\"REQUIRED\"}]"
}
},
"openehr.list.ArchetypeSelectionList": {
"type": "object",
"properties": {
"archetypeSelections": {
"type": "array",
"items": {
"$ref": "#/definitions/openehr.ArchetypeSelection"
}
}
},
"description": "List of archetypes and paths to request the values of",
"example": {
"archetypeSelections": [
{
"archetypeId": "openEHR-EHR-OBSERVATION.bem.v1",
"requestedPaths": [
"/data[id2]/events[id3]/time/value",
"/data[id2]/events[id3]/data[id4]/items[id31]/items[id77]/value/value"
],
"startDateTime": "2022-09-07T01:00:00.000+02:00",
"endDateTime": "2023-09-14T23:59:59.000+02:00"
},
{
"archetypeId": "openEHR-EHR-OBSERVATION.six_minute_walking_test.v1.0.0",
"requestedPaths": [
"/data[id2]/events[id3]/time/value",
"/data[id2]/events[id3]/data[id4]/items[id30]/value/magnitude"
],
"startDateTime": "2022-08-03T00:00:00.000+02:00",
"endDateTime": "2023-06-01T00:00:00.000+02:00"
}
]
}
},
"openehr.ArchetypeSelection": {
"type": "object",
"properties": {
"archetypeId": {
"type": "string",
"description": "Archetype id. Can be a archetype concept id without version number, or an archetype id with a major, minor or patch version number."
},
"requestedPaths": {
"type": "array",
"items": {
"type": "string"
},
"description": "List of paths to request the values of. Paths will also match specializations, e.g. '/content[id4]' will also match '/content[id4.2]'."
},
"startDateTime": {
"type": "string",
"description": "When provided, only data from compositions with a first event time after the provided start date/time will be included.",
"format": "date-time"
},
"endDateTime": {
"type": "string",
"description": "When provided, only data from compositions with a first event time before the provided end date/time will be included.",
"format": "date-time"
}
},
"description": "Requested archetype id and the paths to get the values for, optionally limited by a start and/or end date/time.",
"example": {
"archetypeId": "openEHR-EHR-OBSERVATION.bem.v1",
"requestedPaths": [
"/data[id2]/events[id3]/time/value",
"/data[id2]/events[id3]/data[id4]/items[id31]/items[id77]/value/value"
],
"startDateTime": "2022-09-07T01:00:00.000+02:00",
"endDateTime": "2023-09-14T23:59:59.000+02:00"
}
},
"openehr.list.CompositionValuesForArchetypeList": {
"type": "object",
"properties": {
"compositionValuesForArchetypes": {
"type": "array",
"items": {
"$ref": "#/definitions/openehr.CompositionValuesForArchetype"
}
}
},
"description": "List of the requested archetype ids and the values for the matching compositions. Will contain one entry for each of the requested archetype ids.",
"example": {
"compositionValuesForArchetypes": [
{
"archetypeId": "openEHR-EHR-OBSERVATION.bem.v1",
"compositionValues": [
{
"archetypeId": "openEHR-EHR-COMPOSITION.bem_ggz_report.v0.0.2",
"versionedCompositionId": 5,
"versionedCompositionUuid": "e3d332a0-27bf-42f8-8d7c-0997a9b74ae9",
"ehrId": 1,
"clientId": 3,
"composerId": 1,
"composerName": "Dhr. Mike Wazowski",
"composerEmployeeId": 10,
"firstEventTime": "2023-05-03T10:43:45.000+02:00",
"lifecycleState": "COMPLETE",
"authorizedEmployeeGroupsForRead": [
{
"id": 57,
"employeeGroupType": "EXPERTISE_GROUP",
"name": "TestGroup",
"deleted": false
}
],
"authorizedEmployeeGroupsForUpdate": [
{
"id": 57,
"employeeGroupType": "EXPERTISE_GROUP",
"name": "TestGroup",
"deleted": false
}
],
"valuesForPath": [
{
"path": "/data[id2]/events[id3]/time/value",
"values": [
"\"2021-06-16T11:18:30+0100\""
]
},
{
"path": "/data[id2]/events[id3]/data[id4]/items[id31]/items[id77.1]/value/value",
"values": [
"\"Categorie 1: cliënt bestelt en gebruikt medicatie zelf\""
]
}
]
}
]
}
]
}
},
"openehr.CompositionValuesForArchetype": {
"type": "object",
"properties": {
"archetypeId": {
"type": "string",
"description": "The requested archetype id"
},
"compositionValues": {
"type": "array",
"items": {
"$ref": "#/definitions/openehr.CompositionValues"
},
"description": "List of compositions with the values for the requested paths"
}
},
"description": "The requested archetype id and returned composition data including values for requested paths",
"example": {
"archetypeId": "openEHR-EHR-OBSERVATION.bem.v1",
"compositionValues": [
{
"archetypeId": "openEHR-EHR-COMPOSITION.bem_ggz_report.v0.0.2",
"versionedCompositionId": 5,
"versionedCompositionUuid": "e3d332a0-27bf-42f8-8d7c-0997a9b74ae9",
"ehrId": 1,
"clientId": 3,
"composerId": 1,
"composerName": "Dhr. Mike Wazowski",
"composerEmployeeId": 10,
"firstEventTime": "2023-05-03T10:43:45.000+02:00",
"lifecycleState": "COMPLETE",
"authorizedEmployeeGroupsForRead": [
{
"id": 57,
"employeeGroupType": "EXPERTISE_GROUP",
"name": "TestGroup",
"deleted": false
}
],
"authorizedEmployeeGroupsForUpdate": [
{
"id": 57,
"employeeGroupType": "EXPERTISE_GROUP",
"name": "TestGroup",
"deleted": false
}
],
"valuesForPath": [
{
"path": "/data[id2]/events[id3]/time/value",
"values": [
"\"2021-06-16T11:18:30+0100\""
]
},
{
"path": "/data[id2]/events[id3]/data[id4]/items[id31]/items[id77.1]/value/value",
"values": [
"\"Categorie 1: cliënt bestelt en gebruikt medicatie zelf\""
]
}
]
}
]
}
},
"openehr.CompositionValues": {
"type": "object",
"properties": {
"archetypeId": {
"type": "string",
"description": "The archetype id of the actual archetype of the composition"
},
"versionedCompositionId": {
"type": "integer",
"description": "The numberic id of the versioned composition",
"format": "int64"
},
"versionedCompositionUuid": {
"type": "string",
"description": "The UUID of the versioned composition"
},
"ehrId": {
"type": "integer",
"description": "The numberic id of the EHR containing the versioned composition",
"format": "int64"
},
"clientId": {
"type": "integer",
"description": "The id of the client in Ons Administratie to who this versioned composition belongs",
"format": "int64"
},
"composerId": {
"type": "integer",
"description": "The numberic id of the person in Chiron who composed this composition",
"format": "int64"
},
"composerName": {
"type": "string",
"description": "The name of the composer of this composition"
},
"composerEmployeeId": {
"type": "integer",
"description": "The id of the employee in Ons Administratie who composed this composition",
"format": "int64"
},
"firstEventTime": {
"type": "string",
"description": "The date/time of the chronological first event in this composition",
"format": "date-time"
},
"lifecycleState": {
"type": "string",
"description": "State of this particular composition version with possible values: COMPLETE, INCOMPLETE, ABANDONED, INACTIVE, DELETED"
},
"authorizedEmployeeGroupsForRead": {
"type": "array",
"items": {
"$ref": "#/definitions/openehr.EmployeeGroup"
},
"description": "List of EmployeeGroups who are by allowed to read this composition. An empty list means all employees are allowed to read this composition."
},
"authorizedEmployeeGroupsForUpdate": {
"type": "array",
"items": {
"$ref": "#/definitions/openehr.EmployeeGroup"
},
"description": "List of EmployeeGroups who are allowed to update this composition. An empty list means all employees are allowed to update this composition."
},
"valuesForPath": {
"type": "array",
"items": {
"$ref": "#/definitions/openehr.CompositionValuesForPath"
},
"description": "List of requested paths with their values from the composition."
}
},
"description": "Values of a specific Composition, including the values for the requested path",
"example": {
"archetypeId": "openEHR-EHR-COMPOSITION.bem_ggz_report.v0.0.2",
"versionedCompositionId": 5,
"versionedCompositionUuid": "e3d332a0-27bf-42f8-8d7c-0997a9b74ae9",
"ehrId": 1,
"clientId": 3,
"composerId": 1,
"composerName": "Dhr. Mike Wazowski",
"composerEmployeeId": 10,
"firstEventTime": "2023-05-03T10:43:45.000+02:00",
"lifecycleState": "COMPLETE",
"authorizedEmployeeGroupsForRead": [
{
"id": 1,
"employeeGroupType": "EXPERTISE_GROUP",
"name": "TestGroup",
"deleted": false
}
],
"authorizedEmployeeGroupsForUpdate": [
{
"id": 1,
"employeeGroupType": "EXPERTISE_GROUP",
"name": "TestGroup",
"deleted": false
}
],
"valuesForPath": [
{
"path": "/data[id2]/events[id3]/time/value",
"values": [
"\"2021-06-16T11:18:30+0100\""
]
},
{
"path": "/data[id2]/events[id3]/data[id4]/items[id31]/items[id77.1]/value/value",
"values": [
"\"Categorie 1: cliënt bestelt en gebruikt medicatie zelf\""
]
}
]
}
},
"openehr.CompositionValuesForPath": {
"type": "object",
"properties": {
"path": {
"type": "string",
"description": "The requested path"
},
"values": {
"type": "array",
"items": {
"type": "string"
},
"description": "List of JSON-encoded values for the requested path in this composition"
}
},
"description": "Combination of requested path and its values in this composition",
"example": {
"path": "/data[id2]/events[id3]/time/value",
"values": [
"\"2021-06-16T11:18:30+0100\""
]
}
},
"openehr.list.EmployeeGroupList": {
"type": "object",
"properties": {
"employeeGroups": {
"type": "array",
"items": {
"$ref": "#/definitions/openehr.EmployeeGroup"
}
}
},
"description": "EmployeeGroupList model (no description)",
"example": {
"employeeGroups": [
{
"id": 132,
"employeeGroupType": "EXPERTISE_GROUP",
"originatingSystemId": "Administratie",
"originatingSystemItemId": "11",
"parentGroups": [
{
"id": 57,
"employeeGroupType": "EXPERTISE_GROUP",
"name": "TestGroup",
"deleted": false
}
],
"childGroups": [
{
"id": 134,
"employeeGroupType": "EXPERTISE_PROFILE",
"name": "Profile1",
"deleted": false
}
],
"name": "Group1",
"beginDate": "2020-05-11",
"endDate": "2020-05-25",
"deleted": false
},
{
"id": 133,
"employeeGroupType": "EXPERTISE_GROUP",
"name": "Group2",
"deleted": false
},
{
"id": 134,
"employeeGroupType": "EXPERTISE_PROFILE",
"originatingSystemId": "Administratie",
"originatingSystemItemId": "13",
"name": "Profile1",
"parentGroups": [
{
"id": 132,
"employeeGroupType": "EXPERTISE_GROUP",
"originatingSystemId": "Administratie",
"originatingSystemItemId": "11",
"name": "Group1",
"beginDate": "2020-05-11",
"endDate": "2020-05-25",
"deleted": false
}
],
"beginDate": "2020-05-17",
"deleted": false
},
{
"id": 135,
"employeeGroupType": "EXPERTISE_PROFILE",
"name": "Profile2",
"endDate": "2020-05-19",
"deleted": true
}
]
}
},
"ons_ehr.LastVisitedPlan": {
"type": "object",
"properties": {
"planType": {
"$ref": "#/definitions/ons_ehr.LastVisitedPlanType",
"description": "The type of plan last visited"
},
"employeeId": {
"type": "integer",
"description": "The employee id",
"format": "int64",
"x-cupido-id": true
}
},
"description": "Last visited plan",
"example": {
"planType": "care_plan",
"employeeId": 123
}
},
"ons_ehr.LastVisitedPlanType": {
"enum": [
"ggz_plan",
"sfmpc_plan",
"care_plan"
],
"type": "string",
"description": "Unique code that identifies the visited plan type",
"example": "sfmpc_plan"
},
"openehr.MultimediaFile": {
"type": "object",
"allOf": [
{
"$ref": "#/definitions/AuditedBase"
}
],
"properties": {
"id": {
"type": "integer",
"format": "int64",
"x-cupido-id": true,
"x-nullable": true
},
"ehrId": {
"type": "integer",
"description": "Integer containing the ehrId.",
"format": "int64",
"x-nullable": true
},
"clientId": {
"type": "integer",
"description": "Integer containing the clientId. This might be empty, since a multimedia file is primarily linked to an\nEHR. An EHR might not have a link to a Cupido client, for example if a client is not known in Ons Administratie.",
"format": "int64",
"x-nullable": true
},
"committerEmployeeId": {
"type": "integer",
"description": "Integer containing the employeeId in Ons Administratie of the committer. This can be empty when the committer\nis not known in Ons Administratie. The name of the committer is recorded in the createdBy field.\nNote: The committer is not always the same person as the person who composes the object.",
"format": "int64",
"x-nullable": true
},
"mediaType": {
"type": "string",
"description": "The IANA Media Type of the file associated with this MultimediaFile",
"x-nullable": true
}
},
"description": "A JSON object with metadata of the multimedia file",
"example": {
"updatedAt": "2019-06-17T00:00:00.000+02:00",
"createdAt": "2019-06-17T00:00:00.000+02:00",
"createdBy": "Henk",
"id": 1,
"ehrId": 2,
"clientId": 3,
"committerEmployeeId": 4,
"mediaType": "image/jpeg"
}
},
"ons_ehr.GgzPlanStatistics": {
"type": "object",
"properties": {
"customerCode": {
"type": "string"
},
"pilotEnabled": {
"type": "boolean"
},
"plans": {
"type": "array",
"items": {
"$ref": "#/definitions/ons_ehr.GgzPlanStatistic"
}
}
},
"description": "GgzPlanStatistics model",
"example": {
"customerCode": "NE0001",
"pilotEnabled": true,
"plans": [
{
"planId": 1,
"clientId": "2",
"createdAt": "2023-10-12T10:00:00.000+02:00",
"employeeId": "3"
}
]
}
},
"ons_ehr.GgzPlanStatistic": {
"type": "object",
"properties": {
"planId": {
"type": "integer",
"description": "The plan composition id",
"format": "int64"
},
"clientId": {
"type": "string",
"description": "The client id"
},
"createdAt": {
"type": "string",
"description": "When the plan was created",
"format": "date-time"
},
"employeeId": {
"type": "string",
"description": "The employee id"
}
},
"description": "GgzPlanStatistic model",
"example": {
"planId": 1,
"clientId": "2",
"createdAt": "2023-10-12T10:00:00.000+02:00",
"employeeId": "3"
}
},
"ons_ehr.list.SettingList": {
"type": "object",
"properties": {
"settings": {
"type": "array",
"items": {
"$ref": "#/definitions/ons_ehr.Setting"
}
}
},
"description": "SettingList model (no description)",
"example": {
"settings": [
{
"name": "Setting1",
"value": "Abc"
},
{
"name": "Setting2",
"value": "true"
}
]
}
},
"ons_ehr.Setting": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "The name of the setting"
},
"value": {
"type": "string",
"description": "The value of the setting"
}
},
"description": "A setting from OnsEhr",
"example": {
"name": "XPilot",
"value": "true"
}
},
"openehr.list.CarePlanVvtCareProfileLinkList": {
"type": "object",
"properties": {
"carePlanVvtCareProfileLinks": {
"type": "array",
"items": {
"$ref": "#/definitions/openehr.CarePlanVvtCareProfileLink"
}
}
},
"description": "CarePlanVvtCareProfileLinkList model (no description)",
"example": {
"carePlanVvtCareProfileLinks": [
{
"carePlanId": 1189,
"compositionId": 2077
},
{
"carePlanId": 8119,
"compositionId": 7022
}
]
}
},
"openehr.CarePlanVvtCareProfileLink": {
"type": "object",
"properties": {
"carePlanId": {
"type": "integer",
"format": "int64"
},
"compositionId": {
"type": "integer",
"format": "int64"
}
},
"description": "CarePlanVvtCareProfileLink model (no description)",
"example": {
"carePlanId": 1189,
"compositionId": 2077
}
},
"openehr.CompositionIdList": {
"type": "object",
"properties": {
"ids": {
"type": "array",
"items": {
"type": "integer",
"format": "int64"
}
}
},
"description": "CompositionIdList model (no description)",
"example": {
"ids": [
101,
102,
103
]
}
},
"hermes.CareProviderSettings": {
"type": "object",
"properties": {
"enabled": {
"type": "boolean",
"x-nullable": true
},
"defaultTemplateSet": {
"type": "string",
"x-nullable": true
},
"defaultContactMethod": {
"type": "string",
"x-nullable": true
}
},
"description": "CareProviderSettings model (no description)",
"example": {
"enabled": true,
"defaultTemplateSet": "junior",
"defaultContactMethod": "Email"
}
},
"hermes.ContactMethod": {
"type": "object",
"properties": {
"recipient": {
"$ref": "#/definitions/hermes.Recipient",
"description": "The method belongs to a recipient"
},
"careProviderSettings": {
"$ref": "#/definitions/hermes.CareProviderSettings"
},
"enabled": {
"type": "boolean"
},
"subscribed": {
"type": "boolean"
},
"type": {
"type": "string"
},
"value": {
"type": "string"
},
"status": {
"type": "string"
},
"templateSet": {
"type": "string"
}
},
"description": "ContactMethod model (no description)",
"example": {
"recipient": {
"clientId": 1,
"clientUuid": "abca58ed-0138-4aec-87c6-5d391e98161b",
"employeeId": 1
},
"careProviderSettings": {
"enabled": true,
"defaultTemplateSet": "junior",
"defaultContactMethod": "Email"
},
"enabled": true,
"subscribed": false,
"type": "SMS",
"value": "0600123456",
"status": "validated",
"templateSet": "adult"
}
},
"hermes.Recipient": {
"type": "object",
"properties": {
"clientId": {
"type": "integer",
"format": "int64",
"x-nullable": true
},
"clientUuid": {
"type": "string",
"x-nullable": true
},
"employeeId": {
"type": "integer",
"format": "int64",
"x-nullable": true
}
},
"description": "The method belongs to a recipient",
"example": {
"clientId": 1,
"clientUuid": "abca58ed-0138-4aec-87c6-5d391e98161b",
"employeeId": 1
},
"x-nullable": true
},
"hermes.ContactMethodConfig": {
"required": [
"type",
"allowNotifications"
],
"type": "object",
"properties": {
"type": {
"type": "string",
"description": "Type of contact method, e.g. email or sms\n\n\nPossible values:\nSMS\nEmail\n
"
},
"allowNotifications": {
"type": "boolean",
"description": "Allows Ons Notificaties to send notifications for this type of contact method"
}
},
"description": "This class is used to update notification settings for Clients.",
"example": {
"type": "SMS",
"allowNotifications": true
}
},
"hermes.list.NotificationList": {
"type": "object",
"properties": {
"hermesNotifications": {
"type": "array",
"items": {
"xml": {
"name": "hermesNotification"
},
"$ref": "#/definitions/hermes.Notification"
}
}
},
"description": "NotificationList model (no description)",
"example": {
"hermesNotifications": [
{
"id": 1,
"title": "spam",
"message": "You have new spam",
"path": "/spam",
"deploymentType": "PortalDeployment",
"collapseKey": "blik",
"collapseMethod": "replace",
"collapseTitle": "%{count} spam",
"collapseMessage": "You have %{count} new spam",
"createdAt": "2015-01-01T12:00:00.000+01:00",
"updatedAt": "2015-01-01T12:00:00.000+01:00",
"iconId": "default",
"silent": false,
"recipient": {
"clientId": 1,
"clientUuid": "abca58ed-0138-4aec-87c6-5d391e98161b",
"employeeId": 1
},
"read": true
}
]
},
"xml": {
"name": "hermesNotifications"
}
},
"hermes.Notification": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int64",
"x-cupido-id": true,
"x-nullable": true
},
"uuid": {
"type": "string",
"description": "The universal unique id for this notification\nThis can be filled by the sending application, if not Hermes will generate one",
"x-nullable": true
},
"title": {
"type": "string",
"description": "The title displayed of this notification",
"x-nullable": true
},
"message": {
"type": "string",
"description": "The contents of the notification",
"x-nullable": true
},
"path": {
"type": "string",
"description": "The path for a given deployment where to go to when this notification is clicked",
"x-nullable": true
},
"deploymentType": {
"type": "string",
"description": "The deployment type where this notification refers to",
"x-nullable": true
},
"collapseKey": {
"type": "string",
"description": "The key used to merge notification for the same recipient and they have not been read yet",
"x-nullable": true
},
"collapseMethod": {
"type": "string",
"description": "The method of collapsing the notification, currently supported: collapse, replace and everything else defaults to collapse",
"x-nullable": true
},
"collapseTitle": {
"type": "string",
"description": "The title given to notification when more then one message with given collapse key is found\n%{count} : can be used in the String to indicate the number of messages",
"x-nullable": true
},
"collapseMessage": {
"type": "string",
"description": "The message given to notification when more then one message with given collapse key is found\n%{count} : can be used in the String to indicate the number of messages",
"x-nullable": true
},
"createdAt": {
"type": "string",
"format": "date-time",
"x-nullable": true
},
"updatedAt": {
"type": "string",
"format": "date-time",
"x-nullable": true
},
"iconId": {
"type": "string",
"description": "The icon that should be showed with the notification, currently supported: \"facebook, agenda, mailbounce, password, dossier, default\"",
"x-nullable": true
},
"validTo": {
"type": "string",
"description": "Date and time until which the notification should be shown",
"format": "date-time",
"x-nullable": true
},
"priority": {
"type": "integer",
"description": "Deprecated since: 8-11-2019 - please use silent instead",
"format": "int32",
"x-deprecated": true,
"x-deprecated-since": "08-11-2019",
"x-nullable": true
},
"silent": {
"type": "boolean",
"description": "Indicates whether the notifications should be shown in the web-interface",
"x-nullable": true
},
"recipient": {
"$ref": "#/definitions/hermes.Recipient",
"description": "The entity (client, employee) where this notification is for"
},
"read": {
"type": "boolean",
"x-nullable": true
}
},
"description": "Notification model (no description)",
"example": {
"id": 1,
"uuid": "DuMMy",
"title": "spam",
"message": "You have new spam",
"path": "/spam",
"deploymentType": "PortalDeployment",
"collapseKey": "blik",
"collapseMethod": "replace",
"collapseTitle": "%{count} spam",
"collapseMessage": "You have %{count} new spam",
"createdAt": "2015-01-01T12:00:00.000+01:00",
"updatedAt": "2015-01-01T12:00:00.000+01:00",
"iconId": "default",
"validTo": "2016-01-01T12:00:00.000+01:00",
"priority": 0,
"silent": false,
"recipient": {
"clientId": 1,
"clientUuid": "abca58ed-0138-4aec-87c6-5d391e98161b",
"employeeId": 1
},
"read": true
},
"xml": {
"name": "hermesNotification"
}
},
"medication.list.MedicationPlanList": {
"type": "object",
"properties": {
"medicationPlans": {
"type": "array",
"items": {
"$ref": "#/definitions/medication.MedicationPlan"
}
}
},
"description": "MedicationPlanList model (no description)",
"example": {
"medicationPlans": [
{
"documentUrl": "https://api.ons.io/t/medication_plans/clients/12457/weeks/2023-W12"
}
]
}
},
"medication.MedicationPlan": {
"required": [
"documentUrl"
],
"type": "object",
"properties": {
"documentUrl": {
"type": "string",
"description": "Complete and working URL where the medication plan can be retrieved from."
}
},
"description": "A medication plan holds the document URL required to download a weekly overview of medication information for a given client.",
"example": {
"documentUrl": "https://api.ons.io/t/medication_plans/clients/12457/weeks/2023-W12"
}
},
"nexus.list.ClientContactRelationTypeList": {
"type": "object",
"properties": {
"clientContactRelationTypes": {
"type": "array",
"items": {
"$ref": "#/definitions/nexus.ClientContactRelationType"
}
}
},
"description": "ClientContactRelationTypeList model (no description)",
"example": {
"clientContactRelationTypes": [
{
"id": 6,
"name": "Curator",
"primary": true,
"exclusive": true,
"negative": false,
"active": true,
"vektisCode": 1,
"reference": 1,
"relationCategory": {
"updatedAt": "2013-09-24T11:49:58.000+02:00",
"createdAt": "2013-09-24T11:49:58.000+02:00",
"id": 7,
"name": "Standard"
},
"updatedAt": "2013-09-24T11:49:58.000+02:00",
"createdAt": "2013-09-24T11:49:58.000+02:00"
}
]
}
},
"nexus.list.ClientEmployeeRelationTypeList": {
"type": "object",
"properties": {
"clientEmployeeRelationTypes": {
"type": "array",
"items": {
"$ref": "#/definitions/nexus.ClientEmployeeRelationType"
}
}
},
"description": "ClientEmployeeRelationTypeList model (no description)",
"example": {
"clientEmployeeRelationTypes": [
{
"id": 6,
"name": "Coach",
"primary": true,
"exclusive": true,
"negative": false,
"active": true,
"vektisCode": 1,
"reference": 1,
"relationCategory": {
"updatedAt": "2013-09-24T11:49:58.000+02:00",
"createdAt": "2013-09-24T11:49:58.000+02:00",
"id": 7,
"name": "Standard"
},
"updatedAt": "2013-09-24T11:49:58.000+02:00",
"createdAt": "2013-09-24T11:49:58.000+02:00"
}
]
}
},
"nexus.ClientEmployeeRelationType": {
"type": "object",
"allOf": [
{
"$ref": "#/definitions/nexus.RelationType"
}
],
"description": "ClientEmployeeRelationType model (no description)",
"example": {
"id": 6,
"name": "Coach",
"tag": "tag",
"primary": true,
"exclusive": true,
"relevant": true,
"negative": false,
"active": true,
"legal": false,
"vbmResponsible": false,
"vektisCode": 1,
"reference": 1,
"relationCategory": {
"updatedAt": "2013-09-24T11:49:58.000+02:00",
"createdAt": "2013-09-24T11:49:58.000+02:00",
"createdBy": "user",
"id": 7,
"name": "Standard"
},
"updatedAt": "2013-09-24T11:49:58.000+02:00",
"createdAt": "2013-09-24T11:49:58.000+02:00",
"createdBy": "user"
}
},
"nexus.ClientEmployeeRelation": {
"type": "object",
"allOf": [
{
"$ref": "#/definitions/AuditedBase"
}
],
"properties": {
"id": {
"type": "integer",
"format": "int64",
"x-cupido-id": true
},
"relationName": {
"type": "string",
"description": "Please use 'relation_type.name' instead.",
"x-deprecated": true
},
"validFrom": {
"type": "string",
"format": "date-time"
},
"validTo": {
"type": "string",
"format": "date-time"
},
"relationType": {
"$ref": "#/definitions/nexus.ClientEmployeeRelationType"
},
"relationTypeId": {
"type": "integer",
"format": "int64"
},
"clientId": {
"type": "integer",
"format": "int64"
},
"employeeId": {
"type": "integer",
"format": "int64"
}
},
"description": "ClientEmployeeRelation model (no description)",
"example": {
"updatedAt": "2013-09-24T11:49:58.000+02:00",
"createdAt": "2013-09-24T11:49:58.000+02:00",
"createdBy": "user",
"id": 5,
"relationName": "Cøach",
"validFrom": "2013-11-28T00:00:00.000+01:00",
"validTo": "2013-11-30T00:00:00.000+01:00",
"relationType": {
"id": 6,
"name": "Cøach",
"primary": true,
"exclusive": true,
"relevant": true,
"negative": false,
"active": true,
"legal": false,
"vbmResponsible": false,
"vektisCode": 1,
"reference": 1,
"relationCategory": {
"updatedAt": "2013-09-24T11:49:58.000+02:00",
"createdAt": "2013-09-24T11:49:58.000+02:00",
"createdBy": "user",
"id": 7,
"name": "Standard"
},
"updatedAt": "2013-09-24T11:49:58.000+02:00",
"createdAt": "2013-09-24T11:49:58.000+02:00",
"createdBy": "user"
},
"relationTypeId": 6,
"clientId": 3,
"employeeId": 12
},
"xml": {
"name": "clientEmployeeRelation"
}
},
"nexus.list.ClientEmployeeRelationList": {
"type": "object",
"properties": {
"clientEmployeeRelations": {
"type": "array",
"items": {
"$ref": "#/definitions/nexus.ClientEmployeeRelation"
},
"xml": {
"name": "clientEmployeeRelation"
}
}
},
"description": "ClientEmployeeRelationList model (no description)",
"example": {
"clientEmployeeRelations": [
{
"updatedAt": "2013-09-24T11:49:58.000+02:00",
"createdAt": "2013-09-24T11:49:58.000+02:00",
"id": 17,
"relationName": "Cøach",
"validFrom": "2013-11-28T11:49:58.000+01:00",
"validTo": "2013-11-30T11:49:58.000+01:00",
"relationType": {
"id": 6,
"name": "Cøach",
"primary": true,
"exclusive": true,
"negative": false,
"active": true,
"vektisCode": 1,
"reference": 1,
"relationCategory": {
"updatedAt": "2013-09-24T11:49:58.000+02:00",
"createdAt": "2013-09-24T11:49:58.000+02:00",
"id": 7,
"name": "Standard"
},
"updatedAt": "2013-09-24T11:49:58.000+02:00",
"createdAt": "2013-09-24T11:49:58.000+02:00"
},
"relationTypeId": 6,
"clientId": 3,
"employeeId": 12
},
{
"updatedAt": "2013-09-24T11:49:58.000+02:00",
"createdAt": "2013-09-24T11:49:58.000+02:00",
"id": 18,
"relationName": "Cøach",
"validFrom": "2013-11-28T11:49:58.000+01:00",
"validTo": "2013-11-30T11:49:58.000+01:00",
"relationType": {
"id": 6,
"name": "Cøach",
"primary": true,
"exclusive": true,
"negative": false,
"active": true,
"vektisCode": 1,
"reference": 1,
"relationCategory": {
"updatedAt": "2013-09-24T11:49:58.000+02:00",
"createdAt": "2013-09-24T11:49:58.000+02:00",
"id": 7,
"name": "Standard"
},
"updatedAt": "2013-09-24T11:49:58.000+02:00",
"createdAt": "2013-09-24T11:49:58.000+02:00"
},
"relationTypeId": 6,
"clientId": 3,
"employeeId": 13
},
{
"updatedAt": "2013-09-24T11:49:58.000+02:00",
"createdAt": "2013-09-24T11:49:58.000+02:00",
"id": 19,
"relationName": "Cøach",
"validFrom": "2013-11-28T11:49:58.000+01:00",
"validTo": "2013-11-30T11:49:58.000+01:00",
"relationType": {
"id": 6,
"name": "Cøach",
"primary": true,
"exclusive": true,
"negative": false,
"active": true,
"vektisCode": 1,
"reference": 1,
"relationCategory": {
"updatedAt": "2013-09-24T11:49:58.000+02:00",
"createdAt": "2013-09-24T11:49:58.000+02:00",
"id": 7,
"name": "Standard"
},
"updatedAt": "2013-09-24T11:49:58.000+02:00",
"createdAt": "2013-09-24T11:49:58.000+02:00"
},
"relationTypeId": 6,
"clientId": 3,
"employeeId": 14
},
{
"updatedAt": "2013-09-24T11:49:58.000+02:00",
"createdAt": "2013-09-24T11:49:58.000+02:00",
"id": 20,
"relationName": "Cøach",
"validFrom": "2013-11-28T11:49:58.000+01:00",
"validTo": "2013-11-30T11:49:58.000+01:00",
"relationType": {
"id": 6,
"name": "Cøach",
"primary": true,
"exclusive": true,
"negative": false,
"active": true,
"vektisCode": 1,
"reference": 1,
"relationCategory": {
"updatedAt": "2013-09-24T11:49:58.000+02:00",
"createdAt": "2013-09-24T11:49:58.000+02:00",
"id": 7,
"name": "Standard"
},
"updatedAt": "2013-09-24T11:49:58.000+02:00",
"createdAt": "2013-09-24T11:49:58.000+02:00"
},
"relationTypeId": 6,
"clientId": 3,
"employeeId": 15
},
{
"updatedAt": "2013-09-24T11:49:58.000+02:00",
"createdAt": "2013-09-24T11:49:58.000+02:00",
"id": 21,
"relationName": "Cøach",
"validFrom": "2013-11-28T11:49:58.000+01:00",
"validTo": "2013-11-30T11:49:58.000+01:00",
"relationType": {
"id": 6,
"name": "Cøach",
"primary": true,
"exclusive": true,
"negative": false,
"active": true,
"vektisCode": 1,
"reference": 1,
"relationCategory": {
"updatedAt": "2013-09-24T11:49:58.000+02:00",
"createdAt": "2013-09-24T11:49:58.000+02:00",
"id": 7,
"name": "Standard"
},
"updatedAt": "2013-09-24T11:49:58.000+02:00",
"createdAt": "2013-09-24T11:49:58.000+02:00"
},
"relationTypeId": 6,
"clientId": 3,
"employeeId": 16
}
]
},
"xml": {
"name": "clientEmployeeRelations"
}
},
"nexus.list.OrganisationCategoryList": {
"type": "object",
"properties": {
"organisationCategories": {
"type": "array",
"items": {
"$ref": "#/definitions/nexus.OrganisationCategory"
}
}
},
"description": "OrganisationCategoryList model (no description)",
"example": {
"organisationCategories": [
{
"updatedAt": "2013-09-24T11:49:58.000+02:00",
"createdAt": "2013-09-24T11:49:58.000+02:00",
"id": 7,
"name": "Dentists",
"azr": false,
"reference": 1
}
]
}
},
"nexus.OrganisationCategory": {
"type": "object",
"allOf": [
{
"$ref": "#/definitions/AuditedBase"
}
],
"properties": {
"id": {
"type": "integer",
"format": "int64",
"x-cupido-id": true
},
"name": {
"type": "string"
},
"azr": {
"type": "boolean"
},
"active": {
"type": "boolean"
},
"vektisCode": {
"type": "integer",
"format": "int64"
},
"reference": {
"type": "integer",
"description": "Only available during transitional period.",
"format": "int64",
"x-deprecated": true
}
},
"description": "OrganisationCategory model (no description)",
"example": {
"updatedAt": "2013-09-24T11:49:58.000+02:00",
"createdAt": "2013-09-24T11:49:58.000+02:00",
"createdBy": "user",
"id": 7,
"name": "Dentists",
"azr": false,
"active": false,
"vektisCode": 2,
"reference": 1
}
},
"nexus.list.PersonalRelationTypeList": {
"type": "object",
"properties": {
"personalRelationTypes": {
"type": "array",
"items": {
"$ref": "#/definitions/nexus.PersonalRelationType"
}
}
},
"description": "PersonalRelationTypeList model (no description)",
"example": {
"personalRelationTypes": [
{
"id": 6,
"name": "Father",
"primary": true,
"exclusive": true,
"negative": false,
"active": true,
"vektisCode": 1,
"reference": 1,
"relationCategory": {
"updatedAt": "2013-09-24T11:49:58.000+02:00",
"createdAt": "2013-09-24T11:49:58.000+02:00",
"createdBy": "user",
"id": 7,
"name": "Standard"
},
"updatedAt": "2013-09-24T11:49:58.000+02:00",
"createdAt": "2013-09-24T11:49:58.000+02:00"
}
]
}
},
"tasque.list.CareTaskGroupStatusList": {
"type": "object",
"properties": {
"careTaskGroupStatuses": {
"type": "array",
"items": {
"$ref": "#/definitions/tasque.CareTaskGroupStatus"
}
}
},
"description": "CareTaskGroupStatusList model (no description)",
"example": {
"careTaskGroupStatuses": [
{
"name": "Care plan",
"overdue": 12,
"upcoming": 20
}
]
}
},
"tasque.CareTaskGroupStatus": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Name of the task group"
},
"filterParam": {
"type": "string",
"description": "Query parameters for task group when linking to Kwaliteitsmonitor"
},
"overdue": {
"type": "integer",
"description": "Count of overdue tasks",
"format": "int32",
"default": 0
},
"upcoming": {
"type": "integer",
"description": "Count of upcoming tasks",
"format": "int32",
"default": 0
}
},
"description": "CareTaskGroupStatus model (no description)",
"example": {
"name": "Care plan",
"filterParam": "group_ids[]=12",
"overdue": 12,
"upcoming": 20
}
},
"tasque.CareTaskGroup": {
"required": [
"namedPath"
],
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "ID of task group provided by source",
"readOnly": true,
"x-cupido-id": true
},
"namedPath": {
"type": "string",
"description": "Name of the task group including hierarchy when nesting via '/'"
},
"active": {
"type": "boolean",
"description": "True if task group is active globally",
"x-nullable": true
},
"qualityTask": {
"type": "boolean",
"description": "True if task group is active and tasks are visible in Kwaliteitsmonitor"
},
"rights": {
"type": "array",
"items": {
"type": "string"
},
"description": "A list of rights"
}
},
"description": "Group of tasks with the same subtype",
"example": {
"id": "care_plan_renew",
"namedPath": "Dossier/Care plan/renewal",
"active": true,
"qualityTask": true,
"rights": [
"client_overview"
]
},
"x-nullable": true
},
"tasque.CareTaskOccurrence": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Occurrence ID, the combination of date and task id in hexidecimal format",
"x-cupido-id": true
},
"uuid": {
"type": "string",
"description": "UUID from source or autogenerated to enforce uniqueness"
},
"occurrenceDate": {
"type": "string",
"description": "Date on which the task occurs",
"format": "date"
},
"timelineId": {
"type": "integer",
"description": "Internal reference to the original task ID, mostly used for exceptions",
"format": "int64"
},
"type": {
"type": "string",
"description": "The type of the task\n\nPossible values:\nBeforeTask\nDuringTask\n
"
},
"subType": {
"type": "string",
"description": "Type of task to group multiple tasks.\nFor example care_plan_base_renew, survey_base_review, profile etc."
},
"subTypeId": {
"type": "string",
"description": "ID to uniquely identify the task in the subType.\nFor example in care_plan_base_renew the client id and for survey_base_review the survey id, etc."
},
"manual": {
"type": "boolean",
"description": "Manual tasks are allowed to mark as finished manually"
},
"limitView": {
"type": "boolean",
"description": "True if the task should only be visible to the executors"
},
"name": {
"type": "string",
"description": "The title of the task"
},
"comment": {
"type": "string",
"description": "A comment added to a task"
},
"url": {
"type": "string",
"description": "URL to where the task can be executed"
},
"validFrom": {
"type": "string",
"description": "Begin date of the task",
"format": "date"
},
"validTo": {
"type": "string",
"description": "End date of the task",
"format": "date"
},
"recurrenceType": {
"$ref": "#/definitions/RecurrenceType",
"description": "If and when the task should reoccure\n\nsingle\ndaily\nweekly\nmonthly_on_day\nmonthly_on_week\nyearly\n
"
},
"startAfter": {
"type": "string",
"description": "The time on the validFrom date the task should be started to be executed",
"format": "time"
},
"finishBefore": {
"type": "string",
"description": "The time on the validTo date the task should be finished before",
"format": "time"
},
"expectedDuration": {
"type": "integer",
"description": "Expected duration of task in seconds",
"format": "int32"
},
"monday": {
"type": "boolean",
"description": "True if task happens on Monday"
},
"tuesday": {
"type": "boolean",
"description": "True if task happens on Tuesday"
},
"wednesday": {
"type": "boolean",
"description": "True if task happens on Wednesday"
},
"thursday": {
"type": "boolean",
"description": "True if task happens on Thursday"
},
"friday": {
"type": "boolean",
"description": "True if task happens on Friday"
},
"saturday": {
"type": "boolean",
"description": "True if task happens on Saturday"
},
"sunday": {
"type": "boolean",
"description": "True if task happens on Sunday"
},
"cycleInterval": {
"type": "integer",
"description": "The interval of the cycle based on the recurrence type",
"format": "int32",
"default": 0
},
"cycleBase": {
"type": "string",
"description": "Date on which the task cycle starts",
"format": "date"
},
"subject": {
"$ref": "#/definitions/tasque.Subject",
"description": "A client, employee, location or team"
},
"executors": {
"type": "array",
"items": {
"$ref": "#/definitions/tasque.Executor"
},
"description": "A list of employees, locations, teams or expertise profiles"
},
"creatorId": {
"type": "integer",
"description": "ID of the person who created the task",
"format": "int64"
},
"finishDate": {
"type": "string",
"description": "The date on which the task was finished",
"format": "date"
},
"finisherId": {
"type": "integer",
"description": "ID of the person who finished the task",
"format": "int64"
},
"careTaskGroup": {
"$ref": "#/definitions/tasque.CareTaskGroup",
"description": "Group of tasks with the same subtype"
},
"autoExpireAfter": {
"type": "integer",
"format": "int64"
},
"expiredDate": {
"type": "string",
"format": "date"
},
"morning": {
"type": "boolean",
"description": "True if task should happen in the morning"
},
"afternoon": {
"type": "boolean",
"description": "True is task should happen in the afternoon"
},
"evening": {
"type": "boolean",
"description": "True is task should happen in the evening"
},
"night": {
"type": "boolean",
"description": "True is task should happen in the night"
},
"userAuthorized": {
"type": "boolean",
"description": "True if the user is authorized to see the content of the task"
},
"rights": {
"type": "array",
"items": {
"type": "string"
},
"description": "A list of rights"
},
"hideExpiredSubject": {
"type": "boolean"
}
},
"description": "Care Task occurrence domain model used by Cupido system. Only used for read, update and deleting existing care tasks",
"example": {
"id": "123f3e3",
"uuid": "abca58ed-0138-4aec-87c6-5d391e98161b",
"occurrenceDate": "2012-08-02",
"timelineId": 1,
"type": "during",
"subType": "CarePlan",
"subTypeId": "12",
"manual": true,
"limitView": true,
"name": "Renew care plan",
"comment": "no comment",
"url": "/client/view/13/careplan",
"validFrom": "2012-08-02",
"validTo": "2012-09-02",
"recurrenceType": "single",
"startAfter": "12:00:00.000",
"finishBefore": "16:00:00.000",
"expectedDuration": 120,
"monday": true,
"tuesday": true,
"wednesday": true,
"thursday": true,
"friday": true,
"saturday": true,
"sunday": true,
"cycleInterval": 1,
"cycleBase": "2010-01-01",
"subject": {
"clientId": 13
},
"executors": [
{
"employeeId": 23
}
],
"creatorId": 12,
"finishDate": "2012-08-03",
"finisherId": 12,
"careTaskGroup": {
"id": "care_plan_renew",
"namedPath": "Dossier/Care plan/renewal",
"qualityTask": true
},
"autoExpireAfter": 5,
"expiredDate": "2016-09-06",
"morning": true,
"afternoon": true,
"evening": true,
"night": true,
"userAuthorized": true,
"rights": [
"client_overview"
],
"hideExpiredSubject": true
}
},
"tasque.Subject": {
"type": "object",
"properties": {
"clientId": {
"type": "integer",
"format": "int64"
},
"employeeId": {
"type": "integer",
"format": "int64"
},
"locationId": {
"type": "integer",
"format": "int64"
},
"teamId": {
"type": "integer",
"format": "int64"
}
},
"description": "A client, employee, location or team",
"example": {
"clientId": 1,
"employeeId": 1,
"locationId": 1,
"teamId": 1
}
},
"tasque.Executor": {
"type": "object",
"properties": {
"employeeId": {
"type": "integer",
"format": "int64"
},
"locationId": {
"type": "integer",
"format": "int64"
},
"teamId": {
"type": "integer",
"format": "int64"
},
"expertiseProfileId": {
"type": "integer",
"format": "int64"
}
},
"description": "Executor model (no description)",
"example": {
"employeeId": 1,
"locationId": 1,
"teamId": 1,
"expertiseProfileId": 1
}
},
"tasque.list.CareTaskOccurrenceList": {
"type": "object",
"properties": {
"careTaskOccurrences": {
"type": "array",
"items": {
"$ref": "#/definitions/tasque.CareTaskOccurrence"
}
}
},
"description": "CareTaskOccurrenceList model (no description)",
"example": {
"careTaskOccurrences": [
{
"id": "123f3e3",
"uuid": "abca58ed-0138-4aec-87c6-5d391e98161b",
"occurrenceDate": "2012-08-02",
"timelineId": 1,
"type": "during",
"subType": "CarePlan",
"subTypeId": "12",
"limitView": true,
"name": "Renew care plan",
"comment": "no comment",
"validFrom": "2012-08-02",
"validTo": "2012-09-02",
"recurrenceType": "single",
"monday": true,
"tuesday": true,
"wednesday": true,
"thursday": true,
"friday": true,
"saturday": true,
"sunday": true,
"cycleInterval": 1,
"subject": {
"clientId": 1,
"employeeId": 1,
"locationId": 1,
"teamId": 1
},
"executors": [
{
"employeeId": 1,
"locationId": 1,
"teamId": 1,
"expertiseProfileId": 1
}
],
"creatorId": 12,
"finishDate": "2012-08-03",
"finisherId": 12
}
]
}
},
"tasque.list.ClientIdBySubTypeList": {
"type": "object",
"properties": {
"clientIdsBySubType": {
"type": "array",
"items": {
"xml": {
"name": "clientIdBySubType"
},
"$ref": "#/definitions/tasque.ClientIdBySubType"
}
}
},
"description": "ClientIdBySubTypeList model (no description)",
"example": {
"clientIdsBySubType": [
{
"subType": "test_task_group_16",
"subTypeId": "1",
"clientId": 2
},
{
"subType": "test_task_group_16",
"subTypeId": "1",
"clientId": 4
}
]
}
},
"tasque.ClientIdBySubType": {
"type": "object",
"properties": {
"subType": {
"type": "string",
"description": "sub type of task"
},
"subTypeId": {
"type": "string",
"description": "id of sub type of task"
},
"clientId": {
"type": "integer",
"description": "client id"
}
},
"description": "ClientIdBySubType model (no description)",
"example": {
"subType": "test_task_group_16",
"subTypeId": "1",
"clientId": 2
}
},
"tasque.CareTaskSeries": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int64",
"x-cupido-id": true
},
"uuid": {
"type": "string",
"description": "UUID from source or autogenerated to enforce uniqueness",
"format": "uuid",
"x-nullable": true
},
"type": {
"type": "string",
"description": "The type of the task\n\nPossible values:\nBeforeTask\nDuringTask\n
"
},
"subType": {
"type": "string",
"description": "Type of task to group multiple tasks. For example care_plan_base_renew, survey_base_review, profile etc."
},
"subTypeId": {
"type": "string",
"description": "ID to uniquely identify the task in the subType.\nFor example in care_plan_base_renew the client id and for survey_base_review the survey id, etc.",
"x-nullable": true
},
"manual": {
"type": "boolean",
"description": "Manual tasks are allowed to mark as finished manually"
},
"limitView": {
"type": "boolean",
"description": "True if the task should only be visible to the executors"
},
"groupName": {
"type": "string"
},
"name": {
"type": "string",
"description": "The title of the task"
},
"comment": {
"type": "string",
"description": "A comment added to a task",
"x-nullable": true
},
"url": {
"type": "string",
"description": "URL to where the task can be executed",
"x-nullable": true
},
"validFrom": {
"type": "string",
"description": "Begin date of the task",
"format": "date"
},
"validTo": {
"type": "string",
"description": "End date of the task",
"format": "date"
},
"recurrenceType": {
"$ref": "#/definitions/RecurrenceType",
"description": "If and when the task should reoccure\n\nsingle\ndaily\nweekly\nmonthly_on_day\nmonthly_on_week\nyearly\n
"
},
"startAfter": {
"type": "string",
"description": "The time on the validFrom date the task should be started to be executed",
"format": "time",
"x-nullable": true
},
"finishBefore": {
"type": "string",
"description": "The time on the validTo date the task should be finished before",
"format": "time",
"x-nullable": true
},
"expectedDuration": {
"type": "integer",
"description": "Expected duration of task in seconds",
"format": "int32",
"default": 0,
"x-nullable": true
},
"monday": {
"type": "boolean",
"description": "True if task happens on Monday"
},
"tuesday": {
"type": "boolean",
"description": "True if task happens on Tuesday"
},
"wednesday": {
"type": "boolean",
"description": "True if task happens on Wednesday"
},
"thursday": {
"type": "boolean",
"description": "True if task happens on Thursday"
},
"friday": {
"type": "boolean",
"description": "True if task happens on Friday"
},
"saturday": {
"type": "boolean",
"description": "True if task happens on Saturday"
},
"sunday": {
"type": "boolean",
"description": "True if task happens on Sunday"
},
"cycleInterval": {
"type": "integer",
"description": "The interval of the cycle based on the recurrence type",
"format": "int32",
"default": 0
},
"cycleBase": {
"type": "string",
"description": "Date on which the task cycle starts",
"format": "date",
"readOnly": true
},
"subject": {
"$ref": "#/definitions/tasque.Subject",
"description": "A client, employee, location or team"
},
"executors": {
"type": "array",
"items": {
"$ref": "#/definitions/tasque.Executor"
},
"description": "A list of employees, locations, teams or expertise profiles"
},
"creatorId": {
"type": "integer",
"description": "ID of the person who created the task",
"format": "int64",
"x-nullable": true
},
"careTaskGroup": {
"$ref": "#/definitions/tasque.CareTaskGroup",
"description": "Group of tasks with the same subtype"
},
"autoExpireAfter": {
"type": "integer",
"description": "Amount of days after which the task should automatically expire",
"format": "int64",
"x-nullable": true
},
"morning": {
"type": "boolean",
"description": "True if task should happen in the morning"
},
"afternoon": {
"type": "boolean",
"description": "True is task should happen in the afternoon"
},
"evening": {
"type": "boolean",
"description": "True is task should happen in the evening"
},
"night": {
"type": "boolean",
"description": "True is task should happen in the night"
},
"rights": {
"type": "array",
"items": {
"type": "string"
},
"description": "A list of rights"
},
"hideExpiredSubject": {
"type": "boolean"
}
},
"description": "Care Task series domain model used by Cupido system. Only used for creating new care tasks",
"example": {
"id": 1,
"uuid": "abca58ed-0138-4aec-87c6-5d391e98161b",
"type": "before",
"subType": "CarePlan",
"subTypeId": "12",
"manual": true,
"limitView": true,
"groupName": "groep",
"name": "Renew care plan",
"comment": "no comment",
"url": "/client/view/13/careplan",
"validFrom": "2012-08-02",
"validTo": "2012-09-02",
"recurrenceType": "single",
"startAfter": "12:00:00.000",
"finishBefore": "16:00:00.000",
"expectedDuration": 120,
"monday": true,
"tuesday": true,
"wednesday": true,
"thursday": true,
"friday": true,
"saturday": true,
"sunday": true,
"cycleInterval": 1,
"cycleBase": "2012-08-02",
"subject": {
"clientId": 13
},
"executors": [
{
"employeeId": 23
}
],
"creatorId": 12,
"careTaskGroup": {
"id": "care_plan_renew",
"namedPath": "Dossier/Care plan/renewal",
"qualityTask": true
},
"autoExpireAfter": 5,
"morning": true,
"afternoon": true,
"evening": true,
"night": true,
"rights": [
"client_overview"
],
"hideExpiredSubject": true
}
},
"ons_client.list.SharedResourceList": {
"type": "object",
"properties": {
"sharedResources": {
"type": "array",
"items": {
"$ref": "#/definitions/ons_client.SharedResource"
}
}
},
"description": "SharedResourceList model (no description)",
"example": {
"sharedResources": [
{
"id": 1,
"resourceName": "Dossier.CarePlan",
"resourceId": "13",
"clientId": 1,
"recipientGroup": "client",
"shareReason": "Beste Henk, bij deze een nieuw zorgplan nav ons vorige gesprek. Ik heb nu ook als doel je slikprobleem meegenomen.",
"sharedAt": "2016-10-10T00:00:00.000+02:00",
"sharedByEmployeeId": 2,
"unshareReason": "Deze versie bevatte een spelfout. Ik heb dit in de nieuwe versie aangepast.",
"unsharedAt": "2016-10-12T00:00:00.000+02:00",
"unsharedByEmployeeId": 2,
"writable": true
},
{
"id": 2,
"resourceName": "Survey.SurveyResult",
"resourceId": "13",
"clientId": 1,
"recipientGroup": "client",
"shareReason": "Dit is de ingevulde MIC-melding van afgelopen woensdg.",
"sharedAt": "2016-10-14T13:16:00.000+02:00",
"sharedByEmployeeId": 2,
"writable": false
}
]
}
},
"ons_client.SharedResource": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int64",
"x-cupido-id": true
},
"resourceId": {
"type": "string"
},
"clientId": {
"type": "integer",
"format": "int64"
},
"recipientGroup": {
"type": "string"
},
"shareReason": {
"type": "string"
},
"sharedAt": {
"type": "string",
"format": "date-time"
},
"sharedByEmployeeId": {
"type": "integer",
"format": "int64"
},
"unshareReason": {
"type": "string"
},
"unsharedAt": {
"type": "string",
"format": "date-time"
},
"unsharedByEmployeeId": {
"type": "integer",
"format": "int64"
},
"writable": {
"type": "boolean"
},
"resourceName": {
"type": "string"
}
},
"description": "Cupido resources shared with the client environment.",
"example": {
"id": 1,
"resourceName": "Dossier.CarePlan",
"resourceId": "13",
"clientId": 1,
"recipientGroup": "client",
"shareReason": "Beste Henk, bij deze een nieuw zorgplan nav ons vorige gesprek. Ik heb nu ook als doel je slikprobleem meegenomen.",
"sharedAt": "2016-10-10T00:00:00.000+02:00",
"sharedByEmployeeId": 2,
"unshareReason": "Deze versie bevatte een spelfout. Ik heb dit in de nieuwe versie aangepast.",
"unsharedAt": "2016-10-12T00:00:00.000+02:00",
"unsharedByEmployeeId": 2,
"writable": true
}
},
"dbc.ggz.fz.list.SubtrajectList": {
"type": "object",
"properties": {
"subtrajecten": {
"type": "array",
"items": {
"xml": {
"name": "subtraject"
},
"$ref": "#/definitions/dbc.ggz.fz.Subtraject"
},
"xml": {
"name": "subtraject"
}
}
},
"description": "SubtrajectList model (no description)",
"example": {
"subtrajecten": [
{
"id": 1,
"externalId": 1,
"externalProductToewijzingId": 2,
"identificatienummer": "997881",
"openingsdatum": "2016-08-18",
"sluitdatum": "2016-08-18",
"regiebehandelaar": "12345678",
"regiebehandelaarId": 1,
"medebehandelaar": "87654321",
"medebehandelaarId": 2,
"debiteurType": "CUSTOM",
"customDebtorId": 1,
"excludeInvoicing": false,
"latestGrouperResultaat": {
"updatedAt": "2016-08-16T00:00:00.000+02:00",
"createdAt": "2016-08-16T00:00:00.000+02:00",
"createdBy": "Administrator",
"id": 1,
"prestatiecode": "101010001230",
"declaratiecode": "25B019",
"productgroep": "00230",
"productGroep": {
"id": 5,
"code": "00230",
"codeBehandeling": "123123",
"omschrijvingBehandeling": "Behandeling",
"setting": "setting",
"categorie": "GEEN",
"lekenvertaling": "Behandeling voor problemen",
"diagnoseBlinderen": false,
"brancheIndicatie": "GGZ"
},
"timestamp": "2016-03-15T00:00:00.000+01:00"
},
"numberOfDirectMinutes": 30,
"numberOfIndirectMinutes": 40,
"numberOfTravelMinutes": 50,
"lastRegistrationDate": "2010-10-10T00:00:00.000+02:00",
"excludeInvoicingReason": "we do not want it anymore",
"updatedAt": "2016-08-18T00:00:00.000+02:00",
"createdAt": "2016-08-18T00:00:00.000+02:00",
"createdBy": "Administrator",
"aardDelict": {
"id": 1,
"code": "1",
"begindatum": "2000-01-01",
"einddatum": "9999-12-31",
"omschrijving": "Test aardDelict!"
},
"vluchtGevaar": {
"id": 1,
"code": "1",
"begindatum": "2000-01-01",
"einddatum": "9999-12-31",
"omschrijving": "Test vluchtGevaar!"
},
"recidiveGevaar": {
"id": 1,
"code": "1",
"begindatum": "2000-01-01",
"einddatum": "9999-12-31",
"omschrijving": "Test recidiveGevaar!"
},
"fysiekGevaar": {
"id": 1,
"code": "1",
"begindatum": "2000-01-01",
"einddatum": "9999-12-31",
"omschrijving": "Test fysiekGevaar!"
},
"plaatsingsbesluitnummer": "123",
"strafrechtketennummer": "789789",
"forensischeZorgtitel": {
"id": 1,
"code": "1",
"omschrijving": "Test zorgtitel!",
"begindatum": "2000-01-01",
"einddatum": "9999-12-31"
}
}
]
},
"xml": {
"name": "subtrajecten"
}
},
"dbc.ggz.fz.Subtraject": {
"type": "object",
"allOf": [
{
"$ref": "#/definitions/dbc.ggz.Subtraject"
}
],
"properties": {
"aardDelict": {
"$ref": "#/definitions/dbc.ggz.fz.AardDelict",
"description": "The type of delinquency"
},
"vluchtGevaar": {
"$ref": "#/definitions/dbc.ggz.fz.Gevaar",
"description": "The measure of danger the client may flee"
},
"recidiveGevaar": {
"$ref": "#/definitions/dbc.ggz.fz.Gevaar",
"description": "The measure of danger the client may relapse"
},
"fysiekGevaar": {
"$ref": "#/definitions/dbc.ggz.fz.Gevaar",
"description": "The measure of danger the client may perform physical harm"
},
"plaatsingsbesluitnummer": {
"type": "string",
"description": "The identifier for the placement of the client in a facility."
},
"strafrechtketennummer": {
"type": "string",
"description": "SKN identifier that identifies a person in a forensic delict"
},
"forensischeZorgtitel": {
"$ref": "#/definitions/dbc.ggz.fz.ForensischeZorgtitel"
}
},
"description": "A Forensic DBBC.\nCauses the creation of a ForensicCareOrder.",
"example": {
"id": 1,
"externalId": 1,
"externalProductToewijzingId": 2,
"zorgtraject": {
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"externalId": 1,
"beschikkingExternalId": 1,
"clientId": 1,
"verwijzingId": 1,
"jeugd": true,
"privacyBezwaar": true,
"identificatienummer": "example",
"begindatum": "2014-12-29",
"einddatum": "2014-12-29",
"soortVerwijzer": {
"id": 1,
"code": "example",
"begindatum": "2014-12-29",
"einddatum": "2014-12-29",
"omschrijving": "example"
},
"verwijzerAgb": "example",
"zorgdomein": {
"id": 1,
"code": "example",
"begindatum": "2014-12-29",
"einddatum": "2014-12-29",
"omschrijving": "example"
},
"uitvoerendeInstellingAgb": "example",
"primaireDiagnose": {
"id": 1,
"externalId": 1,
"primair": true,
"trekkenVan": true,
"datum": "2014-12-29",
"diagnoseAs": 1,
"diagnoseCode": {
"id": 1,
"code": "example",
"begindatum": "2014-12-29",
"einddatum": "2014-12-29",
"omschrijving": "example",
"groepcode": "example",
"element": "example",
"zvzSubscore": 1,
"aanspraakType": "example",
"hierarchieniveau": 1,
"selecteerbaar": "example",
"sorteervolgorde": 1,
"diagnoseAs": 1,
"icd9cm": "example",
"icd10": "example",
"prestatieniveau": "example",
"prestatiecodeNaamgevingGGZ": "example",
"prestatiecodeNaamgevingFZ": "example",
"prestatiecodedeelGGZ": "example",
"prestatiecodedeelFZ": "example",
"parallelliteitscodeGGZ": "example",
"parallelliteitscodeFZ": "example",
"brancheIndicatie": "example"
},
"zorgtrajectId": 1
},
"subtrajecten": [
{
"id": 1,
"openingsdatum": "2014-12-29",
"debiteurType": "example",
"excludeInvoicing": false
},
{
"id": 1,
"openingsdatum": "2014-12-29",
"debiteurType": "example",
"excludeInvoicing": false
}
]
},
"identificatienummer": "997881",
"openingsdatum": "2016-08-18",
"sluitdatum": "2016-08-18",
"redenSluiten": {
"id": 1,
"code": "example",
"begindatum": "2014-12-29",
"einddatum": "2014-12-29",
"omschrijving": "example",
"sorteervolgorde": 1,
"brancheIndicatie": "example"
},
"zorgtype": {
"id": 1,
"code": "example",
"begindatum": "2014-12-29",
"einddatum": "2014-12-29",
"omschrijving": "example",
"groepcode": "example",
"element": "example",
"hierarchieniveau": 1,
"selecteerbaar": "example",
"sorteervolgorde": 1,
"prestatiecodedeel": "example",
"brancheIndicatie": "example"
},
"regiebehandelaar": "12345678",
"regiebehandelaarId": 1,
"medebehandelaar": "87654321",
"medebehandelaarId": 2,
"circuitcode": {
"id": 1,
"code": "example",
"begindatum": "2014-12-29",
"einddatum": "2014-12-29",
"omschrijving": "example",
"sorteervolgorde": 1,
"brancheIndicatie": "example"
},
"soortVerwijzer": {
"id": 1,
"code": "01",
"begindatum": "2016-08-18",
"einddatum": "2016-08-18",
"omschrijving": "huisarts"
},
"verwijzerAgb": "12345678",
"debiteurType": "CUSTOM",
"customDebtorId": 1,
"tijdschrijvenRegistraties": [
{
"id": 1,
"identificatienummer": 1,
"activiteit": {
"id": 1,
"code": "example",
"begindatum": "2014-12-29",
"einddatum": "2014-12-29",
"omschrijving": "example",
"groepcode": "example",
"element": "example",
"aanspraakType": "example",
"hierarchieniveau": 1,
"selecteerbaar": "example",
"sorteervolgorde": 1,
"soort": "example",
"magDirect": true,
"magIndirect": true,
"magReistijd": true,
"magGroep": true,
"brancheIndicatie": "example"
},
"datum": "2014-12-29",
"subtraject": {
"id": 1,
"openingsdatum": "2014-12-29",
"debiteurType": "example",
"excludeInvoicing": false
},
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"directeMinuten": 1,
"indirecteAlgemeneMinuten": 1,
"indirecteReistijdminuten": 1,
"behandelaar": "example",
"afleidbaar": true
},
{
"id": 1,
"identificatienummer": 1,
"activiteit": {
"id": 1,
"code": "example",
"begindatum": "2014-12-29",
"einddatum": "2014-12-29",
"omschrijving": "example",
"groepcode": "example",
"element": "example",
"aanspraakType": "example",
"hierarchieniveau": 1,
"selecteerbaar": "example",
"sorteervolgorde": 1,
"soort": "example",
"magDirect": true,
"magIndirect": true,
"magReistijd": true,
"magGroep": true,
"brancheIndicatie": "example"
},
"datum": "2014-12-29",
"subtraject": {
"id": 1,
"openingsdatum": "2014-12-29",
"debiteurType": "example",
"excludeInvoicing": false
},
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"directeMinuten": 1,
"indirecteAlgemeneMinuten": 1,
"indirecteReistijdminuten": 1,
"behandelaar": "example",
"afleidbaar": true
}
],
"dagbestedingRegistraties": [
{
"id": 1,
"identificatienummer": 1,
"activiteit": {
"id": 1,
"code": "example",
"begindatum": "2014-12-29",
"einddatum": "2014-12-29",
"omschrijving": "example",
"groepcode": "example",
"element": "example",
"aanspraakType": "example",
"hierarchieniveau": 1,
"selecteerbaar": "example",
"sorteervolgorde": 1,
"soort": "example",
"magDirect": true,
"magIndirect": true,
"magReistijd": true,
"magGroep": true,
"brancheIndicatie": "example"
},
"datum": "2014-12-29",
"subtraject": {
"id": 1,
"openingsdatum": "2014-12-29",
"debiteurType": "example",
"excludeInvoicing": false
},
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"aantalUren": 1,
"declaratiecode": "example"
},
{
"id": 1,
"identificatienummer": 1,
"activiteit": {
"id": 1,
"code": "example",
"begindatum": "2014-12-29",
"einddatum": "2014-12-29",
"omschrijving": "example",
"groepcode": "example",
"element": "example",
"aanspraakType": "example",
"hierarchieniveau": 1,
"selecteerbaar": "example",
"sorteervolgorde": 1,
"soort": "example",
"magDirect": true,
"magIndirect": true,
"magReistijd": true,
"magGroep": true,
"brancheIndicatie": "example"
},
"datum": "2014-12-29",
"subtraject": {
"id": 1,
"openingsdatum": "2014-12-29",
"debiteurType": "example",
"excludeInvoicing": false
},
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"aantalUren": 1,
"declaratiecode": "example"
}
],
"verblijfsdagRegistraties": [
{
"id": 1,
"identificatienummer": 1,
"activiteit": {
"id": 1,
"code": "example",
"begindatum": "2014-12-29",
"einddatum": "2014-12-29",
"omschrijving": "example",
"groepcode": "example",
"element": "example",
"aanspraakType": "example",
"hierarchieniveau": 1,
"selecteerbaar": "example",
"sorteervolgorde": 1,
"soort": "example",
"magDirect": true,
"magIndirect": true,
"magReistijd": true,
"magGroep": true,
"brancheIndicatie": "example"
},
"datum": "2014-12-29",
"subtraject": {
"id": 1,
"openingsdatum": "2014-12-29",
"debiteurType": "example",
"excludeInvoicing": false
},
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"aantalDagen": 1,
"declaratiecode": "example"
},
{
"id": 1,
"identificatienummer": 1,
"activiteit": {
"id": 1,
"code": "example",
"begindatum": "2014-12-29",
"einddatum": "2014-12-29",
"omschrijving": "example",
"groepcode": "example",
"element": "example",
"aanspraakType": "example",
"hierarchieniveau": 1,
"selecteerbaar": "example",
"sorteervolgorde": 1,
"soort": "example",
"magDirect": true,
"magIndirect": true,
"magReistijd": true,
"magGroep": true,
"brancheIndicatie": "example"
},
"datum": "2014-12-29",
"subtraject": {
"id": 1,
"openingsdatum": "2014-12-29",
"debiteurType": "example",
"excludeInvoicing": false
},
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"aantalDagen": 1,
"declaratiecode": "example"
}
],
"verrichtingRegistraties": [
{
"id": 1,
"identificatienummer": 1,
"activiteit": {
"id": 1,
"code": "example",
"begindatum": "2014-12-29",
"einddatum": "2014-12-29",
"omschrijving": "example",
"groepcode": "example",
"element": "example",
"aanspraakType": "example",
"hierarchieniveau": 1,
"selecteerbaar": "example",
"sorteervolgorde": 1,
"soort": "example",
"magDirect": true,
"magIndirect": true,
"magReistijd": true,
"magGroep": true,
"brancheIndicatie": "example"
},
"datum": "2014-12-29",
"subtraject": {
"id": 1,
"openingsdatum": "2014-12-29",
"debiteurType": "example",
"excludeInvoicing": false
},
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"aantalBehandelingen": 1,
"declaratiecode": "example"
},
{
"id": 1,
"identificatienummer": 1,
"activiteit": {
"id": 1,
"code": "example",
"begindatum": "2014-12-29",
"einddatum": "2014-12-29",
"omschrijving": "example",
"groepcode": "example",
"element": "example",
"aanspraakType": "example",
"hierarchieniveau": 1,
"selecteerbaar": "example",
"sorteervolgorde": 1,
"soort": "example",
"magDirect": true,
"magIndirect": true,
"magReistijd": true,
"magGroep": true,
"brancheIndicatie": "example"
},
"datum": "2014-12-29",
"subtraject": {
"id": 1,
"openingsdatum": "2014-12-29",
"debiteurType": "example",
"excludeInvoicing": false
},
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"aantalBehandelingen": 1,
"declaratiecode": "example"
}
],
"nevenDiagnosen": [
{
"id": 1,
"externalId": 1,
"primair": true,
"trekkenVan": true,
"datum": "2014-12-29",
"diagnoseAs": 1,
"diagnoseCode": {
"id": 1,
"code": "example",
"begindatum": "2014-12-29",
"einddatum": "2014-12-29",
"omschrijving": "example",
"groepcode": "example",
"element": "example",
"zvzSubscore": 1,
"aanspraakType": "example",
"hierarchieniveau": 1,
"selecteerbaar": "example",
"sorteervolgorde": 1,
"diagnoseAs": 1,
"icd9cm": "example",
"icd10": "example",
"prestatieniveau": "example",
"prestatiecodeNaamgevingGGZ": "example",
"prestatiecodeNaamgevingFZ": "example",
"prestatiecodedeelGGZ": "example",
"prestatiecodedeelFZ": "example",
"parallelliteitscodeGGZ": "example",
"parallelliteitscodeFZ": "example",
"brancheIndicatie": "example"
},
"zorgtrajectId": 1
},
{
"id": 1,
"externalId": 1,
"primair": true,
"trekkenVan": true,
"datum": "2014-12-29",
"diagnoseAs": 1,
"diagnoseCode": {
"id": 1,
"code": "example",
"begindatum": "2014-12-29",
"einddatum": "2014-12-29",
"omschrijving": "example",
"groepcode": "example",
"element": "example",
"zvzSubscore": 1,
"aanspraakType": "example",
"hierarchieniveau": 1,
"selecteerbaar": "example",
"sorteervolgorde": 1,
"diagnoseAs": 1,
"icd9cm": "example",
"icd10": "example",
"prestatieniveau": "example",
"prestatiecodeNaamgevingGGZ": "example",
"prestatiecodeNaamgevingFZ": "example",
"prestatiecodedeelGGZ": "example",
"prestatiecodedeelFZ": "example",
"parallelliteitscodeGGZ": "example",
"parallelliteitscodeFZ": "example",
"brancheIndicatie": "example"
},
"zorgtrajectId": 1
}
],
"grouperResultaten": [
{
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"prestatiecode": "example",
"declaratiecode": "example",
"productgroep": "example",
"productGroep": {
"id": 1,
"code": "example",
"begindatum": "2014-12-29",
"einddatum": "2014-12-29",
"omschrijving": "example",
"codeBehandeling": "example",
"omschrijvingBehandeling": "example",
"setting": "example",
"categorie": "example",
"lekenvertaling": "example",
"diagnoseBlinderen": true,
"brancheIndicatie": "example"
},
"timestamp": "2014-12-29T00:00:00.000+01:00"
},
{
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"prestatiecode": "example",
"declaratiecode": "example",
"productgroep": "example",
"productGroep": {
"id": 1,
"code": "example",
"begindatum": "2014-12-29",
"einddatum": "2014-12-29",
"omschrijving": "example",
"codeBehandeling": "example",
"omschrijvingBehandeling": "example",
"setting": "example",
"categorie": "example",
"lekenvertaling": "example",
"diagnoseBlinderen": true,
"brancheIndicatie": "example"
},
"timestamp": "2014-12-29T00:00:00.000+01:00"
}
],
"excludeInvoicing": false,
"latestGrouperResultaat": {
"updatedAt": "2016-08-16T00:00:00.000+02:00",
"createdAt": "2016-08-16T00:00:00.000+02:00",
"createdBy": "Administrator",
"id": 1,
"prestatiecode": "101010001230",
"declaratiecode": "25B019",
"productgroep": "00230",
"productGroep": {
"id": 5,
"code": "00230",
"codeBehandeling": "123123",
"omschrijvingBehandeling": "Behandeling",
"setting": "setting",
"categorie": "GEEN",
"lekenvertaling": "Behandeling voor problemen",
"diagnoseBlinderen": false,
"brancheIndicatie": "GGZ"
},
"timestamp": "2016-03-15T00:00:00.000+01:00"
},
"numberOfDirectMinutes": 30,
"numberOfIndirectMinutes": 40,
"numberOfTravelMinutes": 50,
"lastRegistrationDate": "2010-10-10T00:00:00.000+02:00",
"excludeInvoicingReason": "we do not want it anymore",
"invoiced": false,
"updatedAt": "2016-08-18T00:00:00.000+02:00",
"createdAt": "2016-08-18T00:00:00.000+02:00",
"createdBy": "Administrator",
"aardDelict": {
"id": 1,
"code": "1",
"begindatum": "2000-01-01",
"einddatum": "9999-12-31",
"omschrijving": "Test aardDelict!"
},
"vluchtGevaar": {
"id": 1,
"code": "1",
"begindatum": "2000-01-01",
"einddatum": "9999-12-31",
"omschrijving": "Test vluchtGevaar!"
},
"recidiveGevaar": {
"id": 1,
"code": "1",
"begindatum": "2000-01-01",
"einddatum": "9999-12-31",
"omschrijving": "Test recidiveGevaar!"
},
"fysiekGevaar": {
"id": 1,
"code": "1",
"begindatum": "2000-01-01",
"einddatum": "9999-12-31",
"omschrijving": "Test fysiekGevaar!"
},
"plaatsingsbesluitnummer": "123",
"strafrechtketennummer": "789789",
"forensischeZorgtitel": {
"id": 1,
"code": "1",
"omschrijving": "Test zorgtitel!",
"begindatum": "2000-01-01",
"einddatum": "9999-12-31"
}
},
"xml": {
"name": "fzSubtraject"
}
},
"dbc.ggz.Subtraject": {
"required": [
"openingsdatum",
"debiteurType"
],
"type": "object",
"allOf": [
{
"$ref": "#/definitions/AuditedBase"
}
],
"properties": {
"id": {
"type": "integer",
"description": "Object identifier",
"format": "int64",
"x-cupido-id": true
},
"externalId": {
"type": "integer",
"description": "References Administration's CareOrderProduct",
"format": "int64"
},
"externalProductToewijzingId": {
"type": "integer",
"description": "References beschikking (assigned CareOrderProduct)",
"format": "int64"
},
"zorgtraject": {
"$ref": "#/definitions/dbc.ggz.Zorgtraject",
"description": "The parent zorgtraject containing client and diagnosis information"
},
"identificatienummer": {
"type": "string",
"description": "Optional user-supplied reference id for this DBC\nby default, an automatically generated unused Long as string"
},
"openingsdatum": {
"type": "string",
"description": "Start date of this DBC",
"format": "date"
},
"sluitdatum": {
"type": "string",
"description": "End date of this DBC.\nIf null, this DBC is 'open'. If non-null, this DBC is 'closed'.",
"format": "date"
},
"redenSluiten": {
"$ref": "#/definitions/dbc.ggz.RedenSluiten",
"description": "Reason for ending this DBC, subject to validation in ons-dbc.\nPart of a code list of the NZA"
},
"zorgtype": {
"$ref": "#/definitions/dbc.ggz.Zorgtype",
"description": "Type of care provided in this DBC"
},
"regiebehandelaar": {
"type": "string",
"description": "use regiebehandelaar_id",
"x-deprecated": true,
"x-deprecated-since": "23-09-2022"
},
"regiebehandelaarId": {
"type": "integer",
"description": "Object identifier of Employee which is the regiebehandelaar",
"format": "int64"
},
"medebehandelaar": {
"type": "string",
"description": "use medebehandelaar_id",
"x-deprecated": true,
"x-deprecated-since": "23-09-2022"
},
"medebehandelaarId": {
"type": "integer",
"description": "Object identifier of Employee which is the tweede regiebehandelaar",
"format": "int64"
},
"circuitcode": {
"$ref": "#/definitions/dbc.ggz.Circuit",
"description": "The care circuit, dealing with youth, adult or forensic types of care\nPart of a code list of the NZA"
},
"soortVerwijzer": {
"$ref": "#/definitions/dbc.ggz.SoortVerwijzer",
"description": "The type of practitioner of this DBC\nPart of a code list of the NZA"
},
"verwijzerAgb": {
"type": "string",
"description": "The AGB code of the referrer for the client."
},
"debiteurType": {
"type": "string",
"description": "Debtor type for this subtraject\npossible values:\n- 'CLIENT', indicating a manually invoiced DBC\n- 'ZORGVERZEKERAAR', indicating an automatically invoiced DBC\n- 'CUSTOM', indicating a custom Debtor can be set (`customDebtor`)",
"default": "ZORGVERZEKERAAR"
},
"customDebtorId": {
"type": "integer",
"description": "Object identifier of Administration's Debtor that can be set as a custom debtor\nShould only be set when `debiteurType` equals `CUSTOM`",
"format": "int64"
},
"tijdschrijvenRegistraties": {
"type": "array",
"items": {
"xml": {
"name": "tijdschrijvenRegistratie"
},
"$ref": "#/definitions/dbc.ggz.Tijdschrijven"
},
"description": "List of administrative time registrations",
"xml": {
"wrapped": true
}
},
"dagbestedingRegistraties": {
"type": "array",
"items": {
"xml": {
"name": "dagbestedingRegistratie"
},
"$ref": "#/definitions/dbc.ggz.Dagbesteding"
},
"description": "List of day care activity registrations",
"xml": {
"wrapped": true
}
},
"verblijfsdagRegistraties": {
"type": "array",
"items": {
"xml": {
"name": "verblijfsdagRegistratie"
},
"$ref": "#/definitions/dbc.ggz.Verblijfsdag"
},
"description": "List of residencies",
"xml": {
"wrapped": true
}
},
"verrichtingRegistraties": {
"type": "array",
"items": {
"xml": {
"name": "verrichtingRegistratie"
},
"$ref": "#/definitions/dbc.ggz.Verrichting"
},
"description": "List of treatments",
"xml": {
"wrapped": true
}
},
"nevenDiagnosen": {
"type": "array",
"items": {
"xml": {
"name": "nevenDiagnose"
},
"$ref": "#/definitions/dbc.ggz.DiagnoseToekenning"
},
"description": "List of evaluative diagnoses",
"xml": {
"wrapped": true
}
},
"grouperResultaten": {
"type": "array",
"items": {
"xml": {
"name": "grouperResultaat"
},
"$ref": "#/definitions/dbc.ggz.grouper.GrouperResultaat"
},
"description": "List of derived declarable products based on registered time",
"xml": {
"wrapped": true
}
},
"excludeInvoicing": {
"type": "boolean",
"description": "When true: do not create invoices / declarations for this Subtraject",
"default": false,
"x-deprecated-since": "20-11-2023",
"x-deprecated": true
},
"latestGrouperResultaat": {
"xml": {
"name": "latestGrouperResultaat"
},
"$ref": "#/definitions/dbc.ggz.grouper.GrouperResultaat",
"description": "The latest grouper resultaat for this DBC, ordered in time.\nCan be null if there is none."
},
"numberOfDirectMinutes": {
"type": "integer",
"description": "The number of direct registered minutes",
"format": "int32"
},
"numberOfIndirectMinutes": {
"type": "integer",
"description": "The number of direct registered minutes",
"format": "int32"
},
"numberOfTravelMinutes": {
"type": "integer",
"description": "The number of direct registered minutes",
"format": "int32"
},
"lastRegistrationDate": {
"type": "string",
"description": "The last registration date.\nNull if there are no registrations.",
"format": "date-time"
},
"excludeInvoicingReason": {
"type": "string",
"description": "When excludeInvoicing is true: this string contains the reason why in free text"
},
"invoiced": {
"type": "boolean",
"description": "Value that tracks if the subtraject has been invoiced",
"x-deprecated-since": "20-11-2023",
"x-deprecated": true
}
},
"description": "The corresponding dbc.ggz.Subtraject,\nOnly filled in when possible, can be null",
"example": {
"updatedAt": "2016-08-18T00:00:00.000+02:00",
"createdAt": "2016-08-18T00:00:00.000+02:00",
"createdBy": "Administrator",
"id": 1,
"externalId": 1,
"externalProductToewijzingId": 2,
"zorgtraject": {
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"externalId": 1,
"beschikkingExternalId": 1,
"clientId": 1,
"verwijzingId": 1,
"jeugd": true,
"privacyBezwaar": true,
"identificatienummer": "example",
"begindatum": "2014-12-29",
"einddatum": "2014-12-29",
"soortVerwijzer": {
"id": 1,
"code": "example",
"begindatum": "2014-12-29",
"einddatum": "2014-12-29",
"omschrijving": "example"
},
"verwijzerAgb": "example",
"zorgdomein": {
"id": 1,
"code": "example",
"begindatum": "2014-12-29",
"einddatum": "2014-12-29",
"omschrijving": "example"
},
"uitvoerendeInstellingAgb": "example",
"primaireDiagnose": {
"id": 1,
"externalId": 1,
"primair": true,
"trekkenVan": true,
"datum": "2014-12-29",
"diagnoseAs": 1,
"diagnoseCode": {
"id": 1,
"code": "example",
"begindatum": "2014-12-29",
"einddatum": "2014-12-29",
"omschrijving": "example",
"groepcode": "example",
"element": "example",
"zvzSubscore": 1,
"aanspraakType": "example",
"hierarchieniveau": 1,
"selecteerbaar": "example",
"sorteervolgorde": 1,
"diagnoseAs": 1,
"icd9cm": "example",
"icd10": "example",
"prestatieniveau": "example",
"prestatiecodeNaamgevingGGZ": "example",
"prestatiecodeNaamgevingFZ": "example",
"prestatiecodedeelGGZ": "example",
"prestatiecodedeelFZ": "example",
"parallelliteitscodeGGZ": "example",
"parallelliteitscodeFZ": "example",
"brancheIndicatie": "example"
},
"zorgtrajectId": 1
},
"fzSubtrajecten": [
{
"id": 1,
"openingsdatum": "2014-12-29",
"debiteurType": "example",
"excludeInvoicing": false
},
{
"id": 1,
"openingsdatum": "2014-12-29",
"debiteurType": "example",
"excludeInvoicing": false
}
]
},
"identificatienummer": "997881",
"openingsdatum": "2016-08-18",
"sluitdatum": "2016-08-18",
"redenSluiten": {
"id": 1,
"code": "example",
"begindatum": "2014-12-29",
"einddatum": "2014-12-29",
"omschrijving": "example",
"sorteervolgorde": 1,
"brancheIndicatie": "example"
},
"zorgtype": {
"id": 1,
"code": "example",
"begindatum": "2014-12-29",
"einddatum": "2014-12-29",
"omschrijving": "example",
"groepcode": "example",
"element": "example",
"hierarchieniveau": 1,
"selecteerbaar": "example",
"sorteervolgorde": 1,
"prestatiecodedeel": "example",
"brancheIndicatie": "example"
},
"regiebehandelaar": "12345678",
"regiebehandelaarId": 1,
"medebehandelaar": "87654321",
"medebehandelaarId": 2,
"circuitcode": {
"id": 1,
"code": "example",
"begindatum": "2014-12-29",
"einddatum": "2014-12-29",
"omschrijving": "example",
"sorteervolgorde": 1,
"brancheIndicatie": "example"
},
"soortVerwijzer": {
"id": 1,
"code": "01",
"begindatum": "2016-08-18",
"einddatum": "2016-08-18",
"omschrijving": "huisarts"
},
"verwijzerAgb": "12345678",
"debiteurType": "CUSTOM",
"customDebtorId": 1,
"tijdschrijvenRegistraties": [
{
"id": 1,
"identificatienummer": 1,
"activiteit": {
"id": 1,
"code": "example",
"begindatum": "2014-12-29",
"einddatum": "2014-12-29",
"omschrijving": "example",
"groepcode": "example",
"element": "example",
"aanspraakType": "example",
"hierarchieniveau": 1,
"selecteerbaar": "example",
"sorteervolgorde": 1,
"soort": "example",
"magDirect": true,
"magIndirect": true,
"magReistijd": true,
"magGroep": true,
"brancheIndicatie": "example"
},
"datum": "2014-12-29",
"subtraject": {
"id": 1,
"openingsdatum": "2014-12-29",
"debiteurType": "example",
"excludeInvoicing": false
},
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"directeMinuten": 1,
"indirecteAlgemeneMinuten": 1,
"indirecteReistijdminuten": 1,
"behandelaar": "example",
"afleidbaar": true
},
{
"id": 1,
"identificatienummer": 1,
"activiteit": {
"id": 1,
"code": "example",
"begindatum": "2014-12-29",
"einddatum": "2014-12-29",
"omschrijving": "example",
"groepcode": "example",
"element": "example",
"aanspraakType": "example",
"hierarchieniveau": 1,
"selecteerbaar": "example",
"sorteervolgorde": 1,
"soort": "example",
"magDirect": true,
"magIndirect": true,
"magReistijd": true,
"magGroep": true,
"brancheIndicatie": "example"
},
"datum": "2014-12-29",
"subtraject": {
"id": 1,
"openingsdatum": "2014-12-29",
"debiteurType": "example",
"excludeInvoicing": false
},
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"directeMinuten": 1,
"indirecteAlgemeneMinuten": 1,
"indirecteReistijdminuten": 1,
"behandelaar": "example",
"afleidbaar": true
}
],
"dagbestedingRegistraties": [
{
"id": 1,
"identificatienummer": 1,
"activiteit": {
"id": 1,
"code": "example",
"begindatum": "2014-12-29",
"einddatum": "2014-12-29",
"omschrijving": "example",
"groepcode": "example",
"element": "example",
"aanspraakType": "example",
"hierarchieniveau": 1,
"selecteerbaar": "example",
"sorteervolgorde": 1,
"soort": "example",
"magDirect": true,
"magIndirect": true,
"magReistijd": true,
"magGroep": true,
"brancheIndicatie": "example"
},
"datum": "2014-12-29",
"subtraject": {
"id": 1,
"openingsdatum": "2014-12-29",
"debiteurType": "example",
"excludeInvoicing": false
},
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"aantalUren": 1,
"declaratiecode": "example"
},
{
"id": 1,
"identificatienummer": 1,
"activiteit": {
"id": 1,
"code": "example",
"begindatum": "2014-12-29",
"einddatum": "2014-12-29",
"omschrijving": "example",
"groepcode": "example",
"element": "example",
"aanspraakType": "example",
"hierarchieniveau": 1,
"selecteerbaar": "example",
"sorteervolgorde": 1,
"soort": "example",
"magDirect": true,
"magIndirect": true,
"magReistijd": true,
"magGroep": true,
"brancheIndicatie": "example"
},
"datum": "2014-12-29",
"subtraject": {
"id": 1,
"openingsdatum": "2014-12-29",
"debiteurType": "example",
"excludeInvoicing": false
},
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"aantalUren": 1,
"declaratiecode": "example"
}
],
"verblijfsdagRegistraties": [
{
"id": 1,
"identificatienummer": 1,
"activiteit": {
"id": 1,
"code": "example",
"begindatum": "2014-12-29",
"einddatum": "2014-12-29",
"omschrijving": "example",
"groepcode": "example",
"element": "example",
"aanspraakType": "example",
"hierarchieniveau": 1,
"selecteerbaar": "example",
"sorteervolgorde": 1,
"soort": "example",
"magDirect": true,
"magIndirect": true,
"magReistijd": true,
"magGroep": true,
"brancheIndicatie": "example"
},
"datum": "2014-12-29",
"subtraject": {
"id": 1,
"openingsdatum": "2014-12-29",
"debiteurType": "example",
"excludeInvoicing": false
},
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"aantalDagen": 1,
"declaratiecode": "example"
},
{
"id": 1,
"identificatienummer": 1,
"activiteit": {
"id": 1,
"code": "example",
"begindatum": "2014-12-29",
"einddatum": "2014-12-29",
"omschrijving": "example",
"groepcode": "example",
"element": "example",
"aanspraakType": "example",
"hierarchieniveau": 1,
"selecteerbaar": "example",
"sorteervolgorde": 1,
"soort": "example",
"magDirect": true,
"magIndirect": true,
"magReistijd": true,
"magGroep": true,
"brancheIndicatie": "example"
},
"datum": "2014-12-29",
"subtraject": {
"id": 1,
"openingsdatum": "2014-12-29",
"debiteurType": "example",
"excludeInvoicing": false
},
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"aantalDagen": 1,
"declaratiecode": "example"
}
],
"verrichtingRegistraties": [
{
"id": 1,
"identificatienummer": 1,
"activiteit": {
"id": 1,
"code": "example",
"begindatum": "2014-12-29",
"einddatum": "2014-12-29",
"omschrijving": "example",
"groepcode": "example",
"element": "example",
"aanspraakType": "example",
"hierarchieniveau": 1,
"selecteerbaar": "example",
"sorteervolgorde": 1,
"soort": "example",
"magDirect": true,
"magIndirect": true,
"magReistijd": true,
"magGroep": true,
"brancheIndicatie": "example"
},
"datum": "2014-12-29",
"subtraject": {
"id": 1,
"openingsdatum": "2014-12-29",
"debiteurType": "example",
"excludeInvoicing": false
},
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"aantalBehandelingen": 1,
"declaratiecode": "example"
},
{
"id": 1,
"identificatienummer": 1,
"activiteit": {
"id": 1,
"code": "example",
"begindatum": "2014-12-29",
"einddatum": "2014-12-29",
"omschrijving": "example",
"groepcode": "example",
"element": "example",
"aanspraakType": "example",
"hierarchieniveau": 1,
"selecteerbaar": "example",
"sorteervolgorde": 1,
"soort": "example",
"magDirect": true,
"magIndirect": true,
"magReistijd": true,
"magGroep": true,
"brancheIndicatie": "example"
},
"datum": "2014-12-29",
"subtraject": {
"id": 1,
"openingsdatum": "2014-12-29",
"debiteurType": "example",
"excludeInvoicing": false
},
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"aantalBehandelingen": 1,
"declaratiecode": "example"
}
],
"nevenDiagnosen": [
{
"id": 1,
"externalId": 1,
"primair": true,
"trekkenVan": true,
"datum": "2014-12-29",
"diagnoseAs": 1,
"diagnoseCode": {
"id": 1,
"code": "example",
"begindatum": "2014-12-29",
"einddatum": "2014-12-29",
"omschrijving": "example",
"groepcode": "example",
"element": "example",
"zvzSubscore": 1,
"aanspraakType": "example",
"hierarchieniveau": 1,
"selecteerbaar": "example",
"sorteervolgorde": 1,
"diagnoseAs": 1,
"icd9cm": "example",
"icd10": "example",
"prestatieniveau": "example",
"prestatiecodeNaamgevingGGZ": "example",
"prestatiecodeNaamgevingFZ": "example",
"prestatiecodedeelGGZ": "example",
"prestatiecodedeelFZ": "example",
"parallelliteitscodeGGZ": "example",
"parallelliteitscodeFZ": "example",
"brancheIndicatie": "example"
},
"zorgtrajectId": 1
},
{
"id": 1,
"externalId": 1,
"primair": true,
"trekkenVan": true,
"datum": "2014-12-29",
"diagnoseAs": 1,
"diagnoseCode": {
"id": 1,
"code": "example",
"begindatum": "2014-12-29",
"einddatum": "2014-12-29",
"omschrijving": "example",
"groepcode": "example",
"element": "example",
"zvzSubscore": 1,
"aanspraakType": "example",
"hierarchieniveau": 1,
"selecteerbaar": "example",
"sorteervolgorde": 1,
"diagnoseAs": 1,
"icd9cm": "example",
"icd10": "example",
"prestatieniveau": "example",
"prestatiecodeNaamgevingGGZ": "example",
"prestatiecodeNaamgevingFZ": "example",
"prestatiecodedeelGGZ": "example",
"prestatiecodedeelFZ": "example",
"parallelliteitscodeGGZ": "example",
"parallelliteitscodeFZ": "example",
"brancheIndicatie": "example"
},
"zorgtrajectId": 1
}
],
"grouperResultaten": [
{
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"prestatiecode": "example",
"declaratiecode": "example",
"productgroep": "example",
"productGroep": {
"id": 1,
"code": "example",
"begindatum": "2014-12-29",
"einddatum": "2014-12-29",
"omschrijving": "example",
"codeBehandeling": "example",
"omschrijvingBehandeling": "example",
"setting": "example",
"categorie": "example",
"lekenvertaling": "example",
"diagnoseBlinderen": true,
"brancheIndicatie": "example"
},
"timestamp": "2014-12-29T00:00:00.000+01:00"
},
{
"updatedAt": "2014-12-29T00:00:00.000+01:00",
"createdAt": "2014-12-29T00:00:00.000+01:00",
"createdBy": "example",
"id": 1,
"prestatiecode": "example",
"declaratiecode": "example",
"productgroep": "example",
"productGroep": {
"id": 1,
"code": "example",
"begindatum": "2014-12-29",
"einddatum": "2014-12-29",
"omschrijving": "example",
"codeBehandeling": "example",
"omschrijvingBehandeling": "example",
"setting": "example",
"categorie": "example",
"lekenvertaling": "example",
"diagnoseBlinderen": true,
"brancheIndicatie": "example"
},
"timestamp": "2014-12-29T00:00:00.000+01:00"
}
],
"excludeInvoicing": false,
"latestGrouperResultaat": {
"updatedAt": "2016-08-16T00:00:00.000+02:00",
"createdAt": "2016-08-16T00:00:00.000+02:00",
"createdBy": "Administrator",
"id": 1,
"prestatiecode": "101010001230",
"declaratiecode": "25B019",
"productgroep": "00230",
"productGroep": {
"id": 5,
"code": "00230",
"codeBehandeling": "123123",
"omschrijvingBehandeling": "Behandeling",
"setting": "setting",
"categorie": "GEEN",
"lekenvertaling": "Behandeling voor problemen",
"diagnoseBlinderen": false,
"brancheIndicatie": "GGZ"
},
"timestamp": "2016-03-15T00:00:00.000+01:00"
},
"numberOfDirectMinutes": 30,
"numberOfIndirectMinutes": 40,
"numberOfTravelMinutes": 50,
"lastRegistrationDate": "2010-10-10T00:00:00.000+02:00",
"excludeInvoicingReason": "we do not want it anymore",
"invoiced": false
}
},
"dbc.ggz.Zorgtraject": {
"required": [
"clientId",
"begindatum"
],
"type": "object",
"allOf": [
{
"$ref": "#/definitions/AuditedBase"
}
],
"properties": {
"id": {
"type": "integer",
"description": "Object identifier",
"format": "int64",
"x-cupido-id": true
},
"externalId": {
"type": "integer",
"description": "Identifier of care order",
"format": "int64"
},
"beschikkingExternalId": {
"type": "integer",
"description": "Only used for jeugd zorgtrajecten. Object identifier for the beschikking.",
"format": "int64"
},
"clientId": {
"type": "integer",
"description": "The object identifier of the Client.",
"format": "int64"
},
"verwijzingId": {
"type": "integer",
"description": "Unused",
"format": "int64"
},
"jeugd": {
"type": "boolean",
"description": "Whether this Zorgtraject concerns a jeugd (youth) traject.\nNew Zorgtrajecten may not set this to true.",
"x-deprecated-since": "20-11-2023",
"x-deprecated": true
},
"privacyBezwaar": {
"type": "boolean",
"description": "Whether the client has signed a document which says for privacy reasons the client\ndata may not be exposed to external parties.",
"x-deprecated-since": "20-11-2023",
"x-deprecated": true
},
"identificatienummer": {
"type": "string",
"description": "Filled automatically with a random identifier if left empty."
},
"begindatum": {
"type": "string",
"description": "Start date",
"format": "date"
},
"einddatum": {
"type": "string",
"description": "End date. Set automatically based on the state of the DBCs (Subtraject) contained in this zorgtraject.\nIf this value is null, the Zorgtraject is open. If non-null, it is closed.",
"format": "date"
},
"soortVerwijzer": {
"x-deprecated": true,
"description": "Soort verwijzer moved to subtraject",
"$ref": "#/definitions/dbc.ggz.SoortVerwijzer"
},
"verwijzerAgb": {
"type": "string",
"description": "Verwijzer moved to subtraject",
"x-deprecated": true,
"x-deprecated-since": "23-09-2022"
},
"zorgdomein": {
"$ref": "#/definitions/dbc.ggz.Zorgdomein",
"description": "The zorgdomein as specified by the NZA code lists."
},
"uitvoerendeInstellingAgb": {
"type": "string",
"description": "Unused"
},
"primaireDiagnose": {
"$ref": "#/definitions/dbc.ggz.DiagnoseToekenning",
"description": "The primary diagnosis for the client"
},
"subtrajecten": {
"type": "array",
"items": {
"xml": {
"name": "subtraject"
},
"$ref": "#/definitions/dbc.ggz.Subtraject"
},
"description": "Subtrajecten (DBCs or DBBCs) contained in this Zorgtraject.",
"xml": {
"wrapped": true
}
},
"fzSubtrajecten": {
"type": "array",
"items": {
"xml": {
"name": "fzSubtraject"
},
"$ref": "#/definitions/dbc.ggz.fz.Subtraject"
},
"description": "Fz-Subtrajecten (DBBCs) contained in this Zorgtraject.",
"xml": {
"wrapped": true
}
}
},
"description": "The corresponding dbc.ggz.Zorgtraject,\nOnly filled in when possible, can be null",
"example": {
"updatedAt": "2016-08-18T00:00:00.000+02:00",
"createdAt": "2016-08-18T00:00:00.000+02:00",
"createdBy": "Administrator",
"id": 1,
"externalId": 1,
"beschikkingExternalId": 2,
"clientId": 1,
"verwijzingId": 1,
"jeugd": false,
"privacyBezwaar": true,
"identificatienummer": "1",
"begindatum": "2016-08-18",
"einddatum": "2016-08-18",
"soortVerwijzer": {
"id": 1,
"code": "01",
"begindatum": "2016-08-18",
"einddatum": "2016-08-18",
"omschrijving": "huisarts"
},
"verwijzerAgb": "12345678",
"zorgdomein": {
"id": 1,
"code": "example",
"begindatum": "2014-12-29",
"einddatum": "2014-12-29",
"omschrijving": "example"
},
"uitvoerendeInstellingAgb": "04122827",
"primaireDiagnose": {
"id": 1,
"externalId": 1,
"primair": true,
"trekkenVan": true,
"datum": "2014-12-29",
"diagnoseAs": 1,
"diagnoseCode": {
"id": 1,
"code": "example",
"begindatum": "2014-12-29",
"einddatum": "2014-12-29",
"omschrijving": "example",
"groepcode": "example",
"element": "example",
"zvzSubscore": 1,
"aanspraakType": "example",
"hierarchieniveau": 1,
"selecteerbaar": "example",
"sorteervolgorde": 1,
"diagnoseAs": 1,
"icd9cm": "example",
"icd10": "example",
"prestatieniveau": "example",
"prestatiecodeNaamgevingGGZ": "example",
"prestatiecodeNaamgevingFZ": "example",
"prestatiecodedeelGGZ": "example",
"prestatiecodedeelFZ": "example",
"parallelliteitscodeGGZ": "example",
"parallelliteitscodeFZ": "example",
"brancheIndicatie": "example"
},
"zorgtrajectId": 1
},
"subtrajecten": [
{
"updatedAt": "2016-08-18T00:00:00.000+02:00",
"createdAt": "2016-08-18T00:00:00.000+02:00",
"createdBy": "Administrator",
"id": 1,
"externalId": 1,
"externalProductToewijzingId": 2,
"identificatienummer": "997881",
"openingsdatum": "2016-08-18",
"sluitdatum": "2016-08-18",
"regiebehandelaar": "12345678",
"regiebehandelaarId": 1,
"medebehandelaar": "87654321",
"medebehandelaarId": 2,
"soortVerwijzer": {
"id": 1,
"code": "01",
"begindatum": "2016-08-18",
"einddatum": "2016-08-18",
"omschrijving": "huisarts"
},
"verwijzerAgb": "12345678",
"debiteurType": "CUSTOM",
"customDebtorId": 1,
"excludeInvoicing": false,
"latestGrouperResultaat": {
"updatedAt": "2016-08-16T00:00:00.000+02:00",
"createdAt": "2016-08-16T00:00:00.000+02:00",
"createdBy": "Administrator",
"id": 1,
"prestatiecode": "101010001230",
"declaratiecode": "25B019",
"productgroep": "00230",
"productGroep": {
"id": 5,
"code": "00230",
"codeBehandeling": "123123",
"omschrijvingBehandeling": "Behandeling",
"setting": "setting",
"categorie": "GEEN",
"lekenvertaling": "Behandeling voor problemen",
"diagnoseBlinderen": false,
"brancheIndicatie": "GGZ"
},
"timestamp": "2016-03-15T00:00:00.000+01:00"
},
"numberOfDirectMinutes": 30,
"numberOfIndirectMinutes": 40,
"numberOfTravelMinutes": 50,
"lastRegistrationDate": "2010-10-10T00:00:00.000+02:00",
"excludeInvoicingReason": "we do not want it anymore",
"invoiced": false
}
],
"fzSubtrajecten": [
{
"id": 1,
"externalId": 1,
"externalProductToewijzingId": 2,
"identificatienummer": "997881",
"openingsdatum": "2016-08-18",
"sluitdatum": "2016-08-18",
"regiebehandelaar": "12345678",
"regiebehandelaarId": 1,
"medebehandelaar": "87654321",
"medebehandelaarId": 2,
"soortVerwijzer": {
"id": 1,
"code": "01",
"begindatum": "2016-08-18",
"einddatum": "2016-08-18",
"omschrijving": "huisarts"
},
"verwijzerAgb": "12345678",
"debiteurType": "CUSTOM",
"customDebtorId": 1,
"excludeInvoicing": false,
"latestGrouperResultaat": {
"updatedAt": "2016-08-16T00:00:00.000+02:00",
"createdAt": "2016-08-16T00:00:00.000+02:00",
"createdBy": "Administrator",
"id": 1,
"prestatiecode": "101010001230",
"declaratiecode": "25B019",
"productgroep": "00230",
"productGroep": {
"id": 5,
"code": "00230",
"codeBehandeling": "123123",
"omschrijvingBehandeling": "Behandeling",
"setting": "setting",
"categorie": "GEEN",
"lekenvertaling": "Behandeling voor problemen",
"diagnoseBlinderen": false,
"brancheIndicatie": "GGZ"
},
"timestamp": "2016-03-15T00:00:00.000+01:00"
},
"numberOfDirectMinutes": 30,
"numberOfIndirectMinutes": 40,
"numberOfTravelMinutes": 50,
"lastRegistrationDate": "2010-10-10T00:00:00.000+02:00",
"excludeInvoicingReason": "we do not want it anymore",
"invoiced": false,
"updatedAt": "2016-08-18T00:00:00.000+02:00",
"createdAt": "2016-08-18T00:00:00.000+02:00",
"createdBy": "Administrator",
"plaatsingsbesluitnummer": "1234",
"strafrechtketennummer": "789789"
}
]
},
"xml": {
"name": "zorgtraject"
}
},
"dbc.ggz.SoortVerwijzer": {
"type": "object",
"allOf": [
{
"$ref": "#/definitions/dbc.StamData"
}
],
"description": "The type of practitioner of this DBC\nPart of a code list of the NZA",
"example": {
"id": 1,
"code": "01",
"begindatum": "2016-08-18",
"einddatum": "2016-08-18",
"omschrijving": "huisarts"
}
},
"dbc.ggz.Zorgdomein": {
"type": "object",
"allOf": [
{
"$ref": "#/definitions/dbc.StamData"
}
],
"description": "The zorgdomein as specified by the NZA code lists.",
"example": {
"id": 1,
"code": "01",
"begindatum": "2000-01-01",
"einddatum": "9999-12-31",
"omschrijving": "Volwassenen EPA"
}
},
"dbc.ggz.RedenSluiten": {
"type": "object",
"allOf": [
{
"$ref": "#/definitions/dbc.StamData"
}
],
"properties": {
"sorteervolgorde": {
"type": "integer",
"description": "The order these values need to be sorted with",
"format": "int32"
},
"brancheIndicatie": {
"type": "string",
"description": "Possible values:\nBEIDE(0)\nGGZ(1)\nFZ(2)"
}
},
"description": "The reason for closing a DBC or DBBC (Subtraject)",
"example": {
"id": 1,
"code": "1",
"begindatum": "2000-01-01",
"einddatum": "9999-12-31",
"omschrijving": "Reden voor afsluiting bij patiënt niet bij behandelaar",
"sorteervolgorde": 10,
"brancheIndicatie": "0"
},
"xml": {
"name": "redenSluiten"
}
},
"dbc.ggz.Zorgtype": {
"type": "object",
"allOf": [
{
"$ref": "#/definitions/dbc.StamData"
}
],
"properties": {
"groepcode": {
"type": "string",
"description": "Group for this type"
},
"element": {
"type": "string",
"description": "Element in group"
},
"hierarchieniveau": {
"type": "integer",
"description": "Nesting level",
"format": "int32"
},
"selecteerbaar": {
"type": "string",
"description": "Can this value be selected\n\nPossible values:\nNIET_SELECTEERBAAR(0)\nSELECTEERBAAR_DIEPSTE_NIVEAU(1)\nSELECTEERBAAR_DIEPER_NIVEAU_MOGELIJK(2)"
},
"sorteervolgorde": {
"type": "integer",
"description": "The sorting order",
"format": "int32"
},
"prestatiecodedeel": {
"type": "string",
"description": "Part of the declaration code"
},
"brancheIndicatie": {
"type": "string",
"description": "Possible values:\nBEIDE(0)\nGGZ(1)\nFZ(2)"
}
},
"description": "Type of care provided in this DBC",
"example": {
"id": 1,
"code": "100",
"begindatum": "2016-08-18",
"einddatum": "2016-08-18",
"omschrijving": "Initieel zorgtype",
"groepcode": "",
"element": "Initieel zorgtype",
"hierarchieniveau": 0,
"selecteerbaar": "0",
"sorteervolgorde": 30,
"prestatiecodedeel": "100",
"brancheIndicatie": "0"
},
"xml": {
"name": "zorgtype"
}
},
"dbc.ggz.Circuit": {
"type": "object",
"allOf": [
{
"$ref": "#/definitions/dbc.StamData"
}
],
"properties": {
"sorteervolgorde": {
"type": "integer",
"description": "The order the values need to be sorted",
"format": "int32"
},
"brancheIndicatie": {
"type": "string",
"description": "Possible values:\nBEIDE(0)\nGGZ(1)\nFZ(2)"
}
},
"description": "The care circuit, dealing with youth, adult or forensic types of care\nPart of a code list of the NZA",
"example": {
"id": 1,
"code": "1",
"begindatum": "2000-01-01",
"einddatum": "9999-12-31",
"omschrijving": "Volwassenen lang",
"sorteervolgorde": 20,
"brancheIndicatie": "1"
}
},
"dbc.ggz.grouper.GrouperResultaat": {
"required": [
"prestatiecode",
"declaratiecode",
"productgroep",
"productGroep",
"timestamp"
],
"type": "object",
"allOf": [
{
"$ref": "#/definitions/AuditedBase"
}
],
"properties": {
"id": {
"type": "integer",
"description": "Object identifier",
"format": "int64",
"x-cupido-id": true
},
"prestatiecode": {
"type": "string",
"description": "The calculated code of the prestatie."
},
"declaratiecode": {
"type": "string",
"description": "Code used for declaring the product."
},
"productgroep": {
"type": "string",
"description": "The product group which was calculated.\n\nWill be deleted after 2020-08-01",
"x-deprecated": true,
"x-deprecated-since": "01-08-2020"
},
"productGroep": {
"$ref": "#/definitions/dbc.ggz.ProductGroep",
"description": "The product group which was calculated."
},
"timestamp": {
"type": "string",
"description": "The time at which the result was calculated.",
"format": "date-time"
}
},
"description": "A 'grouping' result of a DBC or DBBC. This result is recalculated every time changes are made to the DBC/DBBC (Subtraject),\nZorgtraject or activities. Contains the necessary information for decalring the DBC/DBBC.",
"example": {
"updatedAt": "2016-08-16T00:00:00.000+02:00",
"createdAt": "2016-08-16T00:00:00.000+02:00",
"createdBy": "Administrator",
"id": 1,
"prestatiecode": "101010001230",
"declaratiecode": "25B019",
"productgroep": "00230",
"productGroep": {
"id": 5,
"code": "00230",
"codeBehandeling": "123123",
"omschrijvingBehandeling": "Behandeling",
"setting": "setting",
"categorie": "GEEN",
"lekenvertaling": "Behandeling voor problemen",
"diagnoseBlinderen": false,
"brancheIndicatie": "GGZ"
},
"timestamp": "2016-03-15T00:00:00.000+01:00"
},
"xml": {
"name": "grouperResultaat"
}
},
"dbc.ggz.ProductGroep": {
"type": "object",
"allOf": [
{
"$ref": "#/definitions/dbc.StamData"
}
],
"properties": {
"codeBehandeling": {
"type": "string"
},
"omschrijvingBehandeling": {
"type": "string"
},
"setting": {
"type": "string"
},
"categorie": {
"type": "string"
},
"lekenvertaling": {
"type": "string"
},
"diagnoseBlinderen": {
"type": "boolean",
"x-deprecated-since": "20-11-2023",
"x-deprecated": true
},
"brancheIndicatie": {
"type": "string"
}
},
"description": "The product group which was calculated.",
"example": {
"id": 1,
"code": "00230",
"begindatum": "2007-01-01",
"einddatum": "9999-12-31",
"omschrijving": "Psychodiagnostisch onderzoek",
"codeBehandeling": "123123",
"omschrijvingBehandeling": "Behandeling",
"setting": "setting",
"categorie": "GEEN",
"lekenvertaling": "Behandeling voor problemen",
"diagnoseBlinderen": false,
"brancheIndicatie": "GGZ"
},
"xml": {
"name": "productGroep"
}
},
"dbc.ggz.Tijdschrijven": {
"required": [
"directeMinuten",
"indirecteAlgemeneMinuten",
"indirecteReistijdminuten"
],
"type": "object",
"allOf": [
{
"$ref": "#/definitions/dbc.ggz.Zorgactiviteit"
}
],
"properties": {
"directeMinuten": {
"type": "integer",
"description": "Number of minutes of activity with direct client contact",
"format": "int32",
"default": 0
},
"indirecteAlgemeneMinuten": {
"type": "integer",
"description": "Number of minutes of activity without direct client contact",
"format": "int32",
"default": 0
},
"indirecteReistijdminuten": {
"type": "integer",
"description": "Number of minutes of travel time",
"format": "int32",
"default": 0
},
"behandelaar": {
"type": "string",
"description": "The Practitioner's reference id in administration"
},
"afleidbaar": {
"type": "boolean",
"description": "True by default, ons-dbc determines the value of this attribute using\nthe behandelaar's profession and the definitions provided by Vektis below",
"default": true,
"x-deprecated-since": "20-11-2023",
"x-deprecated": true
}
},
"description": "Tijdschrijven model (no description)",
"example": {
"id": 1,
"identificatienummer": 1,
"activiteit": {
"id": 1,
"code": "act_2.6",
"begindatum": "2007-01-01",
"einddatum": "9999-12-31",
"omschrijving": "Psychodiagnostisch onderzoek",
"groepcode": "act_2",
"element": "Psychodiagnostisch onderzoek",
"aanspraakType": "B",
"hierarchieniveau": 2,
"selecteerbaar": "0",
"sorteervolgorde": 90,
"soort": "Tijdschrijven",
"magDirect": false,
"magIndirect": false,
"magReistijd": false,
"magGroep": false,
"brancheIndicatie": "0"
},
"datum": "2016-08-18",
"subtraject": {
"updatedAt": "2016-08-18T00:00:00.000+02:00",
"createdAt": "2016-08-18T00:00:00.000+02:00",
"createdBy": "Administrator",
"id": 1,
"externalId": 1,
"externalProductToewijzingId": 2,
"identificatienummer": "997881",
"openingsdatum": "2016-08-18",
"sluitdatum": "2016-08-18",
"regiebehandelaar": "12345678",
"regiebehandelaarId": 1,
"medebehandelaar": "87654321",
"medebehandelaarId": 2,
"soortVerwijzer": {
"id": 1,
"code": "01",
"begindatum": "2016-08-18",
"einddatum": "2016-08-18",
"omschrijving": "huisarts"
},
"verwijzerAgb": "12345678",
"debiteurType": "CUSTOM",
"customDebtorId": 1,
"excludeInvoicing": false,
"latestGrouperResultaat": {
"updatedAt": "2016-08-16T00:00:00.000+02:00",
"createdAt": "2016-08-16T00:00:00.000+02:00",
"createdBy": "Administrator",
"id": 1,
"prestatiecode": "101010001230",
"declaratiecode": "25B019",
"productgroep": "00230",
"productGroep": {
"id": 5,
"code": "00230",
"codeBehandeling": "123123",
"omschrijvingBehandeling": "Behandeling",
"setting": "setting",
"categorie": "GEEN",
"lekenvertaling": "Behandeling voor problemen",
"diagnoseBlinderen": false,
"brancheIndicatie": "GGZ"
},
"timestamp": "2016-03-15T00:00:00.000+01:00"
},
"numberOfDirectMinutes": 30,
"numberOfIndirectMinutes": 40,
"numberOfTravelMinutes": 50,
"lastRegistrationDate": "2010-10-10T00:00:00.000+02:00",
"excludeInvoicingReason": "we do not want it anymore",
"invoiced": false
},
"updatedAt": "2016-08-18T00:00:00.000+02:00",
"createdAt": "2016-08-18T00:00:00.000+02:00",
"createdBy": "Administrator",
"directeMinuten": 1,
"indirecteAlgemeneMinuten": 1,
"indirecteReistijdminuten": 1,
"behandelaar": "Sjaak Knaak",
"afleidbaar": true
},
"xml": {
"name": "tijdschrijven"
}
},
"dbc.ggz.Zorgactiviteit": {
"required": [
"activiteit",
"datum",
"subtraject"
],
"type": "object",
"allOf": [
{
"$ref": "#/definitions/AuditedBase"
}
],
"properties": {
"id": {
"type": "integer",
"description": "Object identifier",
"format": "int64",
"x-cupido-id": true
},
"identificatienummer": {
"type": "integer",
"description": "The object identifier of a Presence Log",
"format": "int64"
},
"activiteit": {
"$ref": "#/definitions/dbc.ggz.Activiteit",
"description": "The activity that the client performed"
},
"datum": {
"type": "string",
"description": "The date at which the activity occurred",
"format": "date"
},
"subtraject": {
"$ref": "#/definitions/dbc.ggz.Subtraject",
"description": "The DBC or DBBC (Subtraject) this activity belongs to."
}
},
"description": "A base class for an Activity which a client performs",
"example": {
"updatedAt": "2016-08-18T00:00:00.000+02:00",
"createdAt": "2016-08-18T00:00:00.000+02:00",
"createdBy": "Administrator",
"id": 1,
"identificatienummer": 3231,
"activiteit": {
"id": 1,
"code": "act_2.6"
},
"datum": "2016-08-18",
"subtraject": {
"id": 1,
"openingsdatum": "2016-08-18",
"debiteurType": "ZORGVERZEKERAAR",
"excludeInvoicing": false
}
}
},
"dbc.ggz.Activiteit": {
"type": "object",
"allOf": [
{
"$ref": "#/definitions/dbc.StamData"
}
],
"properties": {
"groepcode": {
"type": "string",
"description": "Grouping of activity"
},
"element": {
"type": "string",
"description": "Element in group"
},
"aanspraakType": {
"type": "string",
"description": "Possible values:\nNIET_VERZEKERD(\"A\")\nVERZEKERD(\"B\")\nVERZEKERD_INDIEN_DIAGNOSE_ZONDER_AANSPRAAKBEPERKING(\"C\")\nVERZEKERD_INDIEN_DIAGNOSE_ZONDER_AANSPRAAKBEPERKING_MET_AFHANKELIJKHEDEN(\"D\")\nNIET_VERZEKERD_TENZIJ(\"E\")"
},
"hierarchieniveau": {
"type": "integer",
"description": "Nesting level",
"format": "int32"
},
"selecteerbaar": {
"type": "string",
"description": "NIET_SELECTEERBAAR(0)\nSELECTEERBAAR_DIEPSTE_NIVEAU(1)\nSELECTEERBAAR_DIEPER_NIVEAU_MOGELIJK(2)"
},
"sorteervolgorde": {
"type": "integer",
"description": "The order the activities need to be sorted",
"format": "int32"
},
"soort": {
"type": "string",
"description": "Possible values:\nTijdschrijven\nVerblijfsdag\nDagbesteding\nVerrichting"
},
"magDirect": {
"type": "boolean",
"description": "May there be direct time declared for this activity",
"x-deprecated-since": "20-11-2023",
"x-deprecated": true
},
"magIndirect": {
"type": "boolean",
"description": "May there be indirect time declared for this activity",
"x-deprecated-since": "20-11-2023",
"x-deprecated": true
},
"magReistijd": {
"type": "boolean",
"description": "May there be travel time declared for this activity",
"x-deprecated-since": "20-11-2023",
"x-deprecated": true
},
"magGroep": {
"type": "boolean",
"description": "May this activity be performed by a group.",
"x-deprecated-since": "20-11-2023",
"x-deprecated": true
},
"brancheIndicatie": {
"type": "string",
"description": "Possible values:\nBEIDE(0)\nGGZ(1)\nFZ(2)"
}
},
"description": "The activity that the client performed",
"example": {
"id": 1,
"code": "act_2.6",
"begindatum": "2007-01-01",
"einddatum": "9999-12-31",
"omschrijving": "Psychodiagnostisch onderzoek",
"groepcode": "act_2",
"element": "Psychodiagnostisch onderzoek",
"aanspraakType": "B",
"hierarchieniveau": 2,
"selecteerbaar": "0",
"sorteervolgorde": 90,
"soort": "Tijdschrijven",
"magDirect": false,
"magIndirect": false,
"magReistijd": false,
"magGroep": false,
"brancheIndicatie": "0"
},
"xml": {
"name": "activiteit"
}
},
"dbc.ggz.Dagbesteding": {
"required": [
"aantalUren"
],
"type": "object",
"allOf": [
{
"$ref": "#/definitions/dbc.ggz.Zorgactiviteit"
}
],
"properties": {
"aantalUren": {
"type": "integer",
"description": "The number of hours of the duration of this Dagbesteding",
"format": "int32",
"default": 0
},
"declaratiecode": {
"type": "string",
"description": "The declaration code which will be used to declare this activity"
}
},
"description": "An activity which the client performs during the day",
"example": {
"id": 1,
"identificatienummer": 1,
"activiteit": {
"id": 1,
"code": "act_2.6",
"begindatum": "2007-01-01",
"einddatum": "9999-12-31",
"omschrijving": "Psychodiagnostisch onderzoek",
"groepcode": "act_2",
"element": "Psychodiagnostisch onderzoek",
"aanspraakType": "B",
"hierarchieniveau": 2,
"selecteerbaar": "0",
"sorteervolgorde": 90,
"soort": "Tijdschrijven",
"magDirect": false,
"magIndirect": false,
"magReistijd": false,
"magGroep": false,
"brancheIndicatie": "0"
},
"datum": "2016-08-18",
"subtraject": {
"updatedAt": "2016-08-18T00:00:00.000+02:00",
"createdAt": "2016-08-18T00:00:00.000+02:00",
"createdBy": "Administrator",
"id": 1,
"externalId": 1,
"externalProductToewijzingId": 2,
"identificatienummer": "997881",
"openingsdatum": "2016-08-18",
"sluitdatum": "2016-08-18",
"regiebehandelaar": "12345678",
"regiebehandelaarId": 1,
"medebehandelaar": "87654321",
"medebehandelaarId": 2,
"soortVerwijzer": {
"id": 1,
"code": "01",
"begindatum": "2016-08-18",
"einddatum": "2016-08-18",
"omschrijving": "huisarts"
},
"verwijzerAgb": "12345678",
"debiteurType": "CUSTOM",
"customDebtorId": 1,
"excludeInvoicing": false,
"latestGrouperResultaat": {
"updatedAt": "2016-08-16T00:00:00.000+02:00",
"createdAt": "2016-08-16T00:00:00.000+02:00",
"createdBy": "Administrator",
"id": 1,
"prestatiecode": "101010001230",
"declaratiecode": "25B019",
"productgroep": "00230",
"productGroep": {
"id": 5,
"code": "00230",
"codeBehandeling": "123123",
"omschrijvingBehandeling": "Behandeling",
"setting": "setting",
"categorie": "GEEN",
"lekenvertaling": "Behandeling voor problemen",
"diagnoseBlinderen": false,
"brancheIndicatie": "GGZ"
},
"timestamp": "2016-03-15T00:00:00.000+01:00"
},
"numberOfDirectMinutes": 30,
"numberOfIndirectMinutes": 40,
"numberOfTravelMinutes": 50,
"lastRegistrationDate": "2010-10-10T00:00:00.000+02:00",
"excludeInvoicingReason": "we do not want it anymore",
"invoiced": false
},
"updatedAt": "2016-08-18T00:00:00.000+02:00",
"createdAt": "2016-08-18T00:00:00.000+02:00",
"createdBy": "Administrator",
"aantalUren": 1,
"declaratiecode": "123AA"
}
},
"dbc.ggz.Verblijfsdag": {
"required": [
"aantalDagen"
],
"type": "object",
"allOf": [
{
"$ref": "#/definitions/dbc.ggz.Zorgactiviteit"
}
],
"properties": {
"aantalDagen": {
"type": "integer",
"description": "Larger or equal to 0.\nThe number of days the client stayed at a location.",
"format": "int32",
"default": 0
},
"declaratiecode": {
"type": "string",
"description": "Code used for declaring this activity"
}
},
"description": "A period of time that a client has stayed at a location.",
"example": {
"id": 1,
"identificatienummer": 1,
"activiteit": {
"id": 1,
"code": "act_2.6",
"begindatum": "2007-01-01",
"einddatum": "9999-12-31",
"omschrijving": "Psychodiagnostisch onderzoek",
"groepcode": "act_2",
"element": "Psychodiagnostisch onderzoek",
"aanspraakType": "B",
"hierarchieniveau": 2,
"selecteerbaar": "0",
"sorteervolgorde": 90,
"soort": "Tijdschrijven",
"magDirect": false,
"magIndirect": false,
"magReistijd": false,
"magGroep": false,
"brancheIndicatie": "0"
},
"datum": "2016-08-18",
"subtraject": {
"updatedAt": "2016-08-18T00:00:00.000+02:00",
"createdAt": "2016-08-18T00:00:00.000+02:00",
"createdBy": "Administrator",
"id": 1,
"externalId": 1,
"externalProductToewijzingId": 2,
"identificatienummer": "997881",
"openingsdatum": "2016-08-18",
"sluitdatum": "2016-08-18",
"regiebehandelaar": "12345678",
"regiebehandelaarId": 1,
"medebehandelaar": "87654321",
"medebehandelaarId": 2,
"soortVerwijzer": {
"id": 1,
"code": "01",
"begindatum": "2016-08-18",
"einddatum": "2016-08-18",
"omschrijving": "huisarts"
},
"verwijzerAgb": "12345678",
"debiteurType": "CUSTOM",
"customDebtorId": 1,
"excludeInvoicing": false,
"latestGrouperResultaat": {
"updatedAt": "2016-08-16T00:00:00.000+02:00",
"createdAt": "2016-08-16T00:00:00.000+02:00",
"createdBy": "Administrator",
"id": 1,
"prestatiecode": "101010001230",
"declaratiecode": "25B019",
"productgroep": "00230",
"productGroep": {
"id": 5,
"code": "00230",
"codeBehandeling": "123123",
"omschrijvingBehandeling": "Behandeling",
"setting": "setting",
"categorie": "GEEN",
"lekenvertaling": "Behandeling voor problemen",
"diagnoseBlinderen": false,
"brancheIndicatie": "GGZ"
},
"timestamp": "2016-03-15T00:00:00.000+01:00"
},
"numberOfDirectMinutes": 30,
"numberOfIndirectMinutes": 40,
"numberOfTravelMinutes": 50,
"lastRegistrationDate": "2010-10-10T00:00:00.000+02:00",
"excludeInvoicingReason": "we do not want it anymore",
"invoiced": false
},
"updatedAt": "2016-08-18T00:00:00.000+02:00",
"createdAt": "2016-08-18T00:00:00.000+02:00",
"createdBy": "Administrator",
"aantalDagen": 1,
"declaratiecode": "123AA"
},
"xml": {
"name": "verblijfsdag"
}
},
"dbc.ggz.Verrichting": {
"required": [
"aantalBehandelingen"
],
"type": "object",
"allOf": [
{
"$ref": "#/definitions/dbc.ggz.Zorgactiviteit"
}
],
"properties": {
"aantalBehandelingen": {
"type": "integer",
"description": "Number of treatments",
"format": "int32"
},
"declaratiecode": {
"type": "string",
"description": "Declaration code"
}
},
"description": "Some operation/treatment that has been performed on/with the client, such as Electroconvulsive therapy (ECT)",
"example": {
"id": 1,
"identificatienummer": 1,
"activiteit": {
"id": 1,
"code": "act_2.6",
"begindatum": "2007-01-01",
"einddatum": "9999-12-31",
"omschrijving": "Psychodiagnostisch onderzoek",
"groepcode": "act_2",
"element": "Psychodiagnostisch onderzoek",
"aanspraakType": "B",
"hierarchieniveau": 2,
"selecteerbaar": "0",
"sorteervolgorde": 90,
"soort": "Tijdschrijven",
"magDirect": false,
"magIndirect": false,
"magReistijd": false,
"magGroep": false,
"brancheIndicatie": "0"
},
"datum": "2016-08-18",
"subtraject": {
"updatedAt": "2016-08-18T00:00:00.000+02:00",
"createdAt": "2016-08-18T00:00:00.000+02:00",
"createdBy": "Administrator",
"id": 1,
"externalId": 1,
"externalProductToewijzingId": 2,
"identificatienummer": "997881",
"openingsdatum": "2016-08-18",
"sluitdatum": "2016-08-18",
"regiebehandelaar": "12345678",
"regiebehandelaarId": 1,
"medebehandelaar": "87654321",
"medebehandelaarId": 2,
"soortVerwijzer": {
"id": 1,
"code": "01",
"begindatum": "2016-08-18",
"einddatum": "2016-08-18",
"omschrijving": "huisarts"
},
"verwijzerAgb": "12345678",
"debiteurType": "CUSTOM",
"customDebtorId": 1,
"excludeInvoicing": false,
"latestGrouperResultaat": {
"updatedAt": "2016-08-16T00:00:00.000+02:00",
"createdAt": "2016-08-16T00:00:00.000+02:00",
"createdBy": "Administrator",
"id": 1,
"prestatiecode": "101010001230",
"declaratiecode": "25B019",
"productgroep": "00230",
"productGroep": {
"id": 5,
"code": "00230",
"codeBehandeling": "123123",
"omschrijvingBehandeling": "Behandeling",
"setting": "setting",
"categorie": "GEEN",
"lekenvertaling": "Behandeling voor problemen",
"diagnoseBlinderen": false,
"brancheIndicatie": "GGZ"
},
"timestamp": "2016-03-15T00:00:00.000+01:00"
},
"numberOfDirectMinutes": 30,
"numberOfIndirectMinutes": 40,
"numberOfTravelMinutes": 50,
"lastRegistrationDate": "2010-10-10T00:00:00.000+02:00",
"excludeInvoicingReason": "we do not want it anymore",
"invoiced": false
},
"updatedAt": "2016-08-18T00:00:00.000+02:00",
"createdAt": "2016-08-18T00:00:00.000+02:00",
"createdBy": "Administrator",
"aantalBehandelingen": 1,
"declaratiecode": "123AA"
},
"xml": {
"name": "verrichting"
}
},
"dbc.ggz.fz.AardDelict": {
"type": "object",
"allOf": [
{
"$ref": "#/definitions/dbc.StamData"
}
],
"description": "The type of delinquency the client performed",
"example": {
"id": 1,
"code": "1",
"begindatum": "2000-01-01",
"einddatum": "9999-12-31",
"omschrijving": "Test aard delict!"
}
},
"dbc.ggz.fz.Gevaar": {
"type": "object",
"allOf": [
{
"$ref": "#/definitions/dbc.StamData"
}
],
"description": "The measure of danger this client imposes",
"example": {
"id": 1,
"code": "1",
"begindatum": "2000-01-01",
"einddatum": "9999-12-31",
"omschrijving": "Test gevaar!"
}
},
"dbc.ggz.fz.ForensischeZorgtitel": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"description": "Object identifier",
"format": "int64",
"x-cupido-id": true
},
"code": {
"type": "string",
"description": "Zorgtitle code from stamdata"
},
"omschrijving": {
"type": "string",
"description": "The caretitle description, as given in the stamdata"
},
"begindatum": {
"type": "string",
"description": "The startdate of the caretitle",
"format": "date"
},
"einddatum": {
"type": "string",
"description": "The enddate eof the caretitle",
"format": "date"
}
},
"description": "Forensic care title which defines the funding basis for compensation with DJI",
"example": {
"id": 1,
"code": "1",
"omschrijving": "Test zorgtitel!",
"begindatum": "2000-01-01",
"einddatum": "9999-12-31"
}
},
"dbc.ggz.list.ZorgtrajectList": {
"type": "object",
"properties": {
"zorgtrajecten": {
"type": "array",
"items": {
"xml": {
"name": "zorgtraject"
},
"$ref": "#/definitions/dbc.ggz.Zorgtraject"
}
}
},
"description": "ZorgtrajectList model (no description)",
"example": {
"zorgtrajecten": [
{
"id": 1,
"externalId": 1,
"beschikkingExternalId": 2,
"clientId": 1,
"verwijzingId": 1,
"jeugd": false,
"privacyBezwaar": true,
"identificatienummer": "1",
"begindatum": "2016-08-18",
"einddatum": "2016-08-18",
"verwijzerAgb": "12345678"
}
]
},
"xml": {
"name": "zorgtrajecten"
}
},
"dbc.ggz.list.SubtrajectList": {
"type": "object",
"properties": {
"subtrajecten": {
"type": "array",
"items": {
"xml": {
"name": "subtraject"
},
"$ref": "#/definitions/dbc.ggz.Subtraject"
}
}
},
"description": "SubtrajectList model (no description)",
"example": {
"subtrajecten": [
{
"updatedAt": "2016-08-18T00:00:00.000+02:00",
"createdAt": "2016-08-18T00:00:00.000+02:00",
"createdBy": "Administrator",
"id": 1,
"identificatienummer": "997881",
"openingsdatum": "2016-08-18",
"sluitdatum": "2016-08-18",
"regiebehandelaar": "12345678",
"medebehandelaar": "87654321",
"debiteurType": "CUSTOM",
"customDebtorId": 1,
"excludeInvoicing": false
}
]
},
"xml": {
"name": "subtrajecten"
}
},
"dbc.ggz.list.ValidationErrorList": {
"type": "object",
"properties": {
"validationErrors": {
"type": "array",
"items": {
"$ref": "#/definitions/dbc.ggz.ValidationError"
},
"xml": {
"name": "validationError"
}
}
},
"description": "ValidationErrorList model (no description)",
"example": {
"validationErrors": [
{
"updatedAt": "2018-01-08T00:00:00.000+01:00",
"createdAt": "2018-01-08T00:00:00.000+01:00",
"createdBy": "Administrator",
"id": 1,
"subtrajectId": 1,
"type": "DBC_SPELREGEL",
"severity": "ERROR",
"message": "DBC niet gesloten binnen 365 dagen"
}
]
},
"xml": {
"name": "validationErrors"
}
},
"dbc.ggz.ValidationError": {
"required": [
"subtrajectId",
"type"
],
"type": "object",
"allOf": [
{
"$ref": "#/definitions/AuditedBase"
}
],
"properties": {
"id": {
"type": "integer",
"description": "Object identifier",
"format": "int64",
"x-cupido-id": true
},
"subtrajectId": {
"type": "integer",
"description": "The object identifier of the DBC/DBBC (Subtraject) this validation error belongs to.",
"format": "int64"
},
"type": {
"type": "string",
"description": "Possible values:\nDBC_SPELREGEL (Validation error for NZA spelregels)\nSYNC_CAREORDERPRODUCT (Synchronization of general DBC/DBBC financial information)\nSYNC_FORENSIC_CAREORDER (Synchronization of FZ DBBC)\nSYNC_BEHANDELAAR (The employee information could not be synced)"
},
"severity": {
"type": "string",
"description": "Possible values:\nERROR\nWARNING"
},
"message": {
"type": "string",
"description": "The message (in Dutch)"
}
},
"description": "ValidationError model (no description)",
"example": {
"updatedAt": "2018-01-08T00:00:00.000+01:00",
"createdAt": "2018-01-08T00:00:00.000+01:00",
"createdBy": "Administrator",
"id": 1,
"subtrajectId": 1,
"type": "DBC_SPELREGEL",
"severity": "ERROR",
"message": "DBC niet gesloten binnen 365 dagen"
},
"xml": {
"name": "validationError"
}
},
"dbc.ggz.PresenceLogSynchronisationError": {
"required": [
"clientId"
],
"type": "object",
"allOf": [
{
"$ref": "#/definitions/AuditedBase"
}
],
"properties": {
"id": {
"type": "integer",
"description": "Object identifier",
"format": "int64",
"x-cupido-id": true
},
"clientId": {
"type": "integer",
"description": "Technical identification of the corresponding Client",
"format": "int64"
},
"presencelogId": {
"type": "integer",
"description": "Technical identification of the corresponding PresenceLog",
"format": "int64"
},
"zorgtraject": {
"$ref": "#/definitions/dbc.ggz.Zorgtraject",
"description": "The corresponding dbc.ggz.Zorgtraject,\nOnly filled in when possible, can be null"
},
"subtraject": {
"$ref": "#/definitions/dbc.ggz.Subtraject",
"description": "The corresponding dbc.ggz.Subtraject,\nOnly filled in when possible, can be null"
},
"message": {
"type": "string",
"description": "The (dutch) error message indicating what information is missing that is\ncausing the presencelog synchronisation to fail for this PresenceLog"
}
},
"description": "PresenceLogSynchronisationError:\nReflects a log entry in ons-dbc generated when the scheduled PresenceLogSynchronizer job resulted in an error",
"example": {
"updatedAt": "2018-05-04T00:00:00.000+02:00",
"createdAt": "2018-05-04T00:00:00.000+02:00",
"createdBy": "Administrator",
"id": 1,
"clientId": 1,
"presencelogId": 1,
"zorgtraject": {
"updatedAt": "2018-02-01T00:00:00.000+01:00",
"createdAt": "2018-02-01T00:00:00.000+01:00",
"createdBy": "Administrator",
"id": 1,
"externalId": 1,
"beschikkingExternalId": 2,
"clientId": 1,
"verwijzingId": 1,
"jeugd": false,
"privacyBezwaar": false,
"identificatienummer": "1",
"begindatum": "2018-02-01",
"einddatum": "2018-05-30",
"soortVerwijzer": {
"id": 1,
"code": "01",
"begindatum": "2016-08-18",
"einddatum": "2016-08-18",
"omschrijving": "huisarts"
},
"verwijzerAgb": "12345678",
"uitvoerendeInstellingAgb": "04122827"
},
"subtraject": {
"updatedAt": "2018-02-01T00:00:00.000+01:00",
"createdAt": "2018-02-01T00:00:00.000+01:00",
"createdBy": "Administrator",
"id": 1,
"externalId": 1,
"externalProductToewijzingId": 2,
"identificatienummer": "997881",
"openingsdatum": "2018-02-01",
"sluitdatum": "2018-05-30",
"regiebehandelaar": "12345678",
"medebehandelaar": "87654321",
"soortVerwijzer": {
"id": 1,
"code": "01",
"begindatum": "2016-08-18",
"einddatum": "2016-08-18",
"omschrijving": "huisarts"
},
"verwijzerAgb": "12345678",
"debiteurType": "CUSTOM",
"excludeInvoicing": false
},
"message": "Geen activiteit gevonden voor registratie met id 1."
},
"xml": {
"name": "presenceLogSynchronisationError"
}
},
"dbc.ggz.list.PresenceLogSynchronisationErrorList": {
"type": "object",
"properties": {
"presenceLogSynchronisationErrors": {
"type": "array",
"items": {
"$ref": "#/definitions/dbc.ggz.PresenceLogSynchronisationError"
},
"xml": {
"name": "presenceLogSynchronisationError"
}
}
},
"description": "PresenceLogSynchronisationErrorList model (no description)",
"example": {
"presenceLogSynchronisationErrors": [
{
"updatedAt": "2018-05-04T00:00:00.000+02:00",
"createdAt": "2018-05-04T00:00:00.000+02:00",
"createdBy": "Administrator",
"id": 1,
"clientId": 1,
"presencelogId": 1,
"zorgtraject": {
"updatedAt": "2018-02-01T00:00:00.000+01:00",
"createdAt": "2018-02-01T00:00:00.000+01:00",
"createdBy": "Administrator",
"id": 1,
"externalId": 1,
"beschikkingExternalId": 2,
"clientId": 1,
"verwijzingId": 1,
"jeugd": false,
"privacyBezwaar": false,
"identificatienummer": "1",
"begindatum": "2018-02-01",
"einddatum": "2018-05-30",
"soortVerwijzer": {
"id": 1,
"code": "01",
"begindatum": "2016-08-18",
"einddatum": "2016-08-18",
"omschrijving": "huisarts"
},
"verwijzerAgb": "12345678",
"uitvoerendeInstellingAgb": "04122827"
},
"subtraject": {
"updatedAt": "2018-02-01T00:00:00.000+01:00",
"createdAt": "2018-02-01T00:00:00.000+01:00",
"createdBy": "Administrator",
"id": 1,
"externalId": 1,
"externalProductToewijzingId": 2,
"identificatienummer": "997881",
"openingsdatum": "2018-02-01",
"sluitdatum": "2018-05-30",
"regiebehandelaar": "12345678",
"medebehandelaar": "87654321",
"soortVerwijzer": {
"id": 1,
"code": "01",
"begindatum": "2016-08-18",
"einddatum": "2016-08-18",
"omschrijving": "huisarts"
},
"verwijzerAgb": "12345678",
"debiteurType": "CUSTOM",
"excludeInvoicing": false
},
"message": "Geen activiteit gevonden voor registratie met id 1."
}
]
},
"xml": {
"name": "presenceLogSynchronisationErrors"
}
},
"carepath.CarePath": {
"required": [
"uuid",
"clientId",
"name",
"startDate",
"endDate"
],
"type": "object",
"properties": {
"uuid": {
"type": "string",
"description": "The UUID of this template",
"x-cupido-id": true
},
"clientId": {
"type": "integer",
"description": "The client object identifier",
"format": "int64"
},
"name": {
"type": "string",
"description": "The name of the first template used for creating this care path"
},
"startDate": {
"type": "string",
"description": "The start date of this care path",
"format": "date"
},
"endDate": {
"type": "string",
"description": "The end date of this care path",
"format": "date"
},
"templates": {
"type": "array",
"items": {
"type": "string",
"description": "The templates that have been used to create this care path",
"xml": {
"name": "template"
}
},
"description": "The templates that have been used to create this care path",
"xml": {
"wrapped": true
}
},
"activeModules": {
"type": "array",
"items": {
"type": "string",
"description": "Modules that are active in this care path",
"xml": {
"name": "activeModule"
}
},
"description": "Modules that are active in this care path",
"xml": {
"wrapped": true
}
}
},
"description": "A 'Zorgpad' of a client",
"example": {
"uuid": "a96d1820-bf15-4797-961b-735407ee7230",
"clientId": 123,
"name": "Dummy",
"startDate": "2010-10-10",
"endDate": "2011-01-01",
"templates": [
"Template"
],
"activeModules": [
"Module"
]
},
"xml": {
"name": "carePath"
}
},
"carepath.Template": {
"required": [
"uuid",
"name",
"modules"
],
"type": "object",
"properties": {
"uuid": {
"type": "string",
"description": "The UUID of this template",
"x-cupido-id": true
},
"name": {
"type": "string",
"description": "The name of this template"
},
"description": {
"type": "string",
"description": "A description of this template"
},
"modules": {
"type": "array",
"items": {
"xml": {
"name": "moduleTemplate"
},
"$ref": "#/definitions/carepath.ModuleTemplate"
},
"description": "The modules in this template",
"xml": {
"wrapped": true
}
}
},
"description": "A template which may be used for creating care paths for clients using the web interface",
"example": {
"uuid": "46ff9856-a645-4764-be01-9c64668bf93b",
"name": "Dummy",
"description": "Dummy description",
"modules": [
{
"uuid": "Dummy",
"name": "Dummy",
"duration": 0,
"precededBy": "Dummy2",
"offset": 0,
"intents": [
{
"uuid": "4dc4ee6a-6b09-4245-8dd1-7aa192178280",
"timelineUuid": "1c7acb14-6d31-4b67-a999-3ed68fcbbf14",
"duration": 7,
"offset": 0,
"hourTypeId": 1,
"frequency": 3,
"quantityAmount": 4,
"quantityUnit": "HOUR",
"recurrenceInterval": 1,
"recurrenceType": "WEEK"
}
],
"templateRoot": true
}
]
},
"xml": {
"name": "template"
}
},
"carepath.ModuleTemplate": {
"required": [
"uuid",
"name",
"duration"
],
"type": "object",
"properties": {
"uuid": {
"type": "string",
"description": "The UUID of this module. May be used to reference an existing module if this module template\nis already part of another care path template",
"x-cupido-id": true
},
"name": {
"type": "string",
"description": "The name of the module"
},
"duration": {
"type": "integer",
"description": "Duration in days",
"format": "int64"
},
"precededBy": {
"type": "string",
"description": "UUID of care path module which precedes this module."
},
"offset": {
"type": "integer",
"description": "The offset in days",
"format": "int64"
},
"intents": {
"type": "array",
"items": {
"xml": {
"name": "intentTemplate"
},
"$ref": "#/definitions/carepath.IntentTemplate"
},
"description": "The templates of intents contained in this module template",
"xml": {
"wrapped": true
}
},
"templateRoot": {
"type": "boolean",
"description": "This signifies that this module template may also be used without being embedded\nin a care path template.",
"default": false,
"x-deprecated": true,
"x-deprecated-since": "23-09-2022"
}
},
"description": "ModuleTemplate model (no description)",
"example": {
"uuid": "Dummy",
"name": "Dummy",
"duration": 0,
"precededBy": "Dummy2",
"offset": 0,
"intents": [
{
"uuid": "4dc4ee6a-6b09-4245-8dd1-7aa192178280",
"timelineUuid": "1c7acb14-6d31-4b67-a999-3ed68fcbbf14",
"duration": 7,
"offset": 0,
"hourTypeId": 1,
"frequency": 3,
"quantityAmount": 4,
"quantityUnit": "HOUR",
"recurrenceInterval": 1,
"recurrenceType": "WEEK"
}
],
"templateRoot": true
},
"xml": {
"name": "moduleTemplate"
}
},
"carepath.IntentTemplate": {
"required": [
"timelineUuid",
"duration",
"offset",
"hourTypeId",
"frequency",
"quantityAmount",
"quantityUnit",
"recurrenceInterval",
"recurrenceType"
],
"type": "object",
"properties": {
"uuid": {
"type": "string",
"description": "Object identifier",
"x-cupido-id": true
},
"timelineUuid": {
"type": "string",
"description": "UUID for the timeline that groups this Intent with other Intents."
},
"duration": {
"type": "integer",
"description": "Duration in days",
"format": "int64"
},
"offset": {
"type": "integer",
"description": "Offset in days",
"format": "int64"
},
"hourTypeId": {
"type": "integer",
"description": "The HourType of the Intent",
"format": "int64"
},
"frequency": {
"type": "integer",
"description": "The number of times this intent is present within the recurrence interval. It can be seen as the multiplier of the\nquantity. For example in '3 times 4 hours every week', 3 is the frequency.",
"format": "int32"
},
"quantityAmount": {
"type": "integer",
"description": "The amount matching the quantity",
"format": "int32"
},
"quantityUnit": {
"type": "string",
"description": "The Intent's quantity unit, for example MINUTE or HOUR. In combination with the quantity amount, it determines the\nquantity of th the care that is intended. For example:\n- 2, HOUR means '2 hours'\n- 120, MINUTE means '120 minutes'"
},
"recurrenceInterval": {
"type": "integer",
"description": "The recurrence interval",
"format": "int32"
},
"recurrenceType": {
"type": "string",
"description": "Together with the recurrence interval, the recurrence type determines how the intent is repeated over time.\nExamples:\n- 1, WEEK corresponds to 'every week'\n- 2, DAY corresponds to 'every 2 days' or 'every other day'"
},
"sourceDescription": {
"type": "string",
"description": "Free text description."
}
},
"description": "Mostly copied from Intent, but without client information and using relative offsets.\n\n@see com.nedap.healthcare.domain.arrangement.Intent",
"example": {
"uuid": "12345",
"timelineUuid": "12344",
"duration": 0,
"offset": 0,
"hourTypeId": 12,
"frequency": 3,
"quantityAmount": 1,
"quantityUnit": "DAY_PART",
"recurrenceInterval": 1,
"recurrenceType": "WEEK",
"sourceDescription": "for someone"
},
"xml": {
"name": "intentTemplate"
}
},
"moves.list.AvailabilityList": {
"type": "object",
"properties": {
"availabilities": {
"type": "array",
"items": {
"$ref": "#/definitions/moves.Availability"
},
"xml": {
"name": "availability"
}
}
},
"description": "AvailabilityList model (no description)",
"example": {
"availabilities": [
{
"id": 1,
"containerId": 2891,
"start": "00:00:00.000",
"stop": "00:00:00.000",
"duration": 86400,
"validFrom": "2018-07-09",
"validTo": "2018-07-09",
"recurrenceType": "incidental",
"cycleBase": "2018-07-23",
"cycleInterval": 7,
"cycleOffset": 4,
"unitId": 1,
"availabilityTypeId": 2,
"dayPart": 2,
"comment": "Comment",
"peopleType": "Employee",
"peopleExternalId": 100
}
]
},
"xml": {
"name": "availabilities"
}
},
"moves.Availability": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int64",
"x-cupido-id": true
},
"containerId": {
"type": "integer",
"format": "int64"
},
"start": {
"type": "string",
"format": "time"
},
"stop": {
"type": "string",
"format": "time"
},
"duration": {
"type": "integer",
"format": "int64"
},
"validFrom": {
"type": "string",
"format": "date"
},
"validTo": {
"type": "string",
"format": "date"
},
"recurrenceType": {
"type": "string",
"description": "\nrecurrenceType: Possible values\nincidental\nwhole_period\nrecurring\n
"
},
"cycleBase": {
"type": "string",
"format": "date"
},
"cycleInterval": {
"type": "integer",
"description": "\ncycleInterval: Every\n1 = day\n7 = week\n14 = 2 weeks\n...\n
",
"format": "int64"
},
"cycleOffset": {
"type": "integer",
"description": "\ncycleOffset: Which day\n0 = Sunday\n1 = Monday\n2 = Tuesday\n...\n
",
"format": "int64"
},
"unitId": {
"type": "integer",
"format": "int64"
},
"availabilityTypeId": {
"type": "integer",
"format": "int64"
},
"dayPart": {
"type": "integer",
"description": "\nDaypart\n0 = Night\n1 = Morning\n2 = Evening\n...\n
",
"format": "int64"
},
"comment": {
"type": "string"
},
"peopleType": {
"type": "string",
"description": "\nPossible values:\nEmployee\nClient\n
"
},
"peopleExternalId": {
"type": "integer",
"format": "int64"
}
},
"description": "An availability is a period of time in which an employee or client has 'something'.\n\nSome examples of availabilities:\n- Employee A is sick in a period\n- Employee B has training every friday in a period\n- Employee C is on holiday for a period",
"example": {
"id": 1,
"containerId": 2891,
"start": "00:00:00.000",
"stop": "00:00:00.000",
"duration": 86400,
"validFrom": "2018-07-09",
"validTo": "2018-07-09",
"recurrenceType": "incidental",
"cycleBase": "2018-07-23",
"cycleInterval": 7,
"cycleOffset": 4,
"unitId": 1,
"availabilityTypeId": 2,
"dayPart": 2,
"comment": "Comment",
"peopleType": "Employee",
"peopleExternalId": 100
},
"xml": {
"name": "availability"
}
},
"moves.list.AvailabilityTypeList": {
"type": "object",
"properties": {
"availabilityTypes": {
"type": "array",
"items": {
"$ref": "#/definitions/moves.AvailabilityType"
},
"xml": {
"name": "availabilityType"
}
}
},
"description": "AvailabilityTypeList model (no description)",
"example": {
"availabilityTypes": [
{
"id": 1,
"name": "Ziek",
"abbreviation": "Z",
"key": "sick",
"available": false,
"forEmployees": true,
"forClients": true,
"hourTypeId": 198,
"externalHourTypeId": 298,
"movesHourTypeId": 398,
"defaultPayrollingType": "SickLeave",
"isPublic": true,
"isSynthetic": false
}
]
},
"xml": {
"name": "availabilityTypes"
}
},
"moves.AvailabilityType": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int64",
"x-cupido-id": true
},
"name": {
"type": "string"
},
"abbreviation": {
"type": "string"
},
"key": {
"type": "string"
},
"available": {
"type": "boolean",
"description": "\nIs person available\nfalse: unavailable (unavailability)\ntrue: available (availability)\n
"
},
"forEmployees": {
"type": "boolean"
},
"forClients": {
"type": "boolean"
},
"hourTypeId": {
"type": "integer",
"description": "Use moves_hour_type_id instead.",
"format": "int64",
"x-deprecated": true
},
"externalHourTypeId": {
"type": "integer",
"format": "int64"
},
"movesHourTypeId": {
"type": "integer",
"format": "int64"
},
"defaultPayrollingType": {
"type": "string"
},
"isPublic": {
"type": "boolean"
},
"isSynthetic": {
"type": "boolean"
}
},
"description": "An availability types are for example: Sick, Holiday, Meeting, Training\nAvailabilityTypes are linked to an employee of client via an Availability",
"example": {
"id": 1,
"name": "Ziek",
"abbreviation": "Z",
"key": "sick",
"available": false,
"forEmployees": true,
"forClients": true,
"hourTypeId": 198,
"externalHourTypeId": 298,
"movesHourTypeId": 398,
"defaultPayrollingType": "SickLeave",
"isPublic": true,
"isSynthetic": false
},
"xml": {
"name": "availabilityType"
}
},
"list.BankAccountList": {
"type": "object",
"properties": {
"bankAccounts": {
"type": "array",
"items": {
"$ref": "#/definitions/BankAccount"
},
"xml": {
"name": "bankAccount"
}
}
},
"description": "BankAccountList model (no description)",
"example": {
"bankAccounts": [
{
"id": 1,
"number": "NL27TRIO0207182531",
"nameOfOwner": "Pietje puk",
"cityOfOwner": "Lutjebroek",
"iban": "Dummy",
"bic": "Dummy",
"creditBankAccount": false,
"authorizationDate": "2016-01-01",
"createdAt": "2016-01-01T12:00:00.000+01:00",
"updatedAt": "2016-01-01T12:00:00.000+01:00"
},
{
"id": 2,
"number": "NL27TRIO0207182532",
"nameOfOwner": "Pietje pok",
"cityOfOwner": "Lutjebroek",
"iban": "Dummy",
"bic": "Dummy",
"creditBankAccount": false,
"authorizationDate": "2016-01-01",
"createdAt": "2016-01-01T12:00:00.000+01:00",
"updatedAt": "2016-01-01T12:00:00.000+01:00"
}
]
},
"xml": {
"name": "bankAccounts"
}
},
"list.ClientAddressList": {
"type": "object",
"properties": {
"clientAddresses": {
"type": "array",
"items": {
"$ref": "#/definitions/ClientAddress"
},
"xml": {
"name": "clientAddress"
}
}
},
"description": "ClientAddressList model (no description)",
"example": {
"clientAddresses": [
{
"id": 1,
"beginDate": "2010-02-16",
"endDate": "2010-02-17",
"homeNumber": 4,
"homeNumberExtension": "a",
"poBoxNumber": "123a",
"street": "Parallelweg",
"city": "Enschede",
"zipcode": "7513KC",
"municipality": "Enschede",
"country": "Netherlands",
"telephoneNumber": "053-1234567",
"telephoneCountryCode": "+31",
"telephoneNumber2": "053-1234567",
"telephoneCountryCode2": "+31",
"faxNumber": "053-1234567",
"email": "mike.wazowski@nedap.com",
"type": "residence address",
"typeString": "local",
"residentType": "0",
"personType": "1",
"personTypeString": "client",
"roomNumber": "1",
"locationDescription": "Afdeling noord",
"updatedAt": "2016-01-01T12:00:00.000+01:00",
"createdAt": "2016-01-01T12:00:00.000+01:00",
"latitude": 52.1,
"longitude": 6.9,
"clientId": 2,
"situationDescription": "Test"
}
]
},
"xml": {
"name": "clientAddresses"
}
},
"list.ClientContactRelationAddressList": {
"type": "object",
"properties": {
"clientContactRelationAddresses": {
"type": "array",
"items": {
"$ref": "#/definitions/ClientContactRelationAddress"
},
"xml": {
"name": "clientContactRelationAddress"
}
}
},
"description": "ClientContactRelationAddressList model (no description)",
"example": {
"clientContactRelationAddresses": [
{
"id": 1,
"beginDate": "2010-02-16",
"endDate": "2010-02-17",
"homeNumber": 4,
"homeNumberExtension": "a",
"street": "Parallelweg",
"city": "Enschede",
"zipcode": "7513KC",
"municipality": "Enschede",
"country": "Netherlands",
"telephoneNumber": "053-1234567",
"telephoneCountryCode": "+31",
"telephoneNumber2": "053-1234567",
"telephoneCountryCode2": "+31",
"faxNumber": "053-1234567",
"email": "mike.wazowski@nedap.com",
"type": "residence address",
"typeString": "local",
"residentType": "0",
"personType": "client",
"personTypeString": "birthname",
"roomNumber": "1",
"locationDescription": "Afdeling noord",
"updatedAt": "2016-01-01T12:00:00.000+01:00",
"createdAt": "2016-01-01T12:00:00.000+01:00",
"latitude": 52.1,
"longitude": 6.9,
"clientContactRelationId": 1,
"situationDescription": "Test"
}
]
},
"xml": {
"name": "clientContactRelationAddresses"
}
},
"payroll.list.ContractTypeList": {
"type": "object",
"properties": {
"contractTypes": {
"type": "array",
"items": {
"$ref": "#/definitions/payroll.ContractType"
},
"xml": {
"name": "contractType"
}
}
},
"description": "ContractTypeList model (no description)",
"example": {
"contractTypes": [
{
"id": 1,
"name": "Dummy",
"importCode": "Dummy",
"payHoursDirectly": true,
"removed": true
}
]
},
"xml": {
"name": "contractTypes"
}
},
"list.EmployeeAddressList": {
"type": "object",
"properties": {
"employeeAddresses": {
"type": "array",
"items": {
"$ref": "#/definitions/EmployeeAddress"
},
"xml": {
"name": "employeeAddress"
}
}
},
"description": "EmployeeAddressList model (no description)",
"example": {
"employeeAddresses": [
{
"id": 1,
"beginDate": "2010-02-16",
"endDate": "2010-02-17",
"homeNumber": 4,
"homeNumberExtension": "a",
"poBoxNumber": "123a",
"street": "Parallelweg",
"city": "Enschede",
"zipcode": "7513KC",
"municipality": "Enschede",
"country": "Netherlands",
"telephoneNumber": "053-1234567",
"telephoneCountryCode": "+31",
"telephoneNumber2": "053-1234567",
"telephoneCountryCode2": "+31",
"faxNumber": "053-1234567",
"email": "mike.wazowski@nedap.com",
"type": "residence address",
"typeString": "temporary",
"residentType": "0",
"personType": "client",
"personTypeString": "birthname",
"roomNumber": "1",
"locationDescription": "Afdeling noord",
"updatedAt": "2016-01-01T12:00:00.000+01:00",
"createdAt": "2016-01-01T12:00:00.000+01:00",
"latitude": 52.1,
"longitude": 6.9,
"employeeId": 2,
"situationDescription": "Test"
}
]
},
"xml": {
"name": "employeeAddresses"
}
},
"moves.list.ExpertiseProfileList": {
"type": "object",
"properties": {
"expertiseProfiles": {
"type": "array",
"items": {
"$ref": "#/definitions/moves.ExpertiseProfile"
}
}
},
"description": "ExpertiseProfileList model (no description)",
"example": {
"expertiseProfiles": [
{
"id": 1,
"externalId": 2,
"name": "Verpleegkundige",
"hidden": false,
"parent": 10
}
]
}
},
"moves.ExpertiseProfile": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int64",
"x-cupido-id": true
},
"externalId": {
"type": "integer",
"format": "int64"
},
"name": {
"type": "string"
},
"hidden": {
"type": "boolean"
},
"parent": {
"type": "integer",
"format": "int64"
}
},
"description": "ExpertiseProfile model (no description)",
"example": {
"id": 1,
"externalId": 2,
"name": "Verpleegkundige",
"hidden": false,
"parent": 10
}
},
"finance.list.ExportProfileList": {
"type": "object",
"properties": {
"exportProfiles": {
"type": "array",
"items": {
"$ref": "#/definitions/finance.ExportProfile"
},
"xml": {
"name": "exportProfile"
}
}
},
"description": "ExportProfileList model (no description)",
"example": {
"exportProfiles": [
{
"id": 1,
"beginDate": "2016-01-28T00:00:00.000+01:00",
"name": "exportProfile1",
"type": "exportProfileType1",
"filterId": 123,
"invoiceProfileId": 23,
"active": true,
"exportJournaling": true,
"exportRetourJournaling": true,
"createdAt": "2016-02-01T00:00:00.000+01:00",
"updatedAt": "2016-02-07T00:00:00.000+01:00"
},
{
"id": 2,
"beginDate": "2016-01-28T00:00:00.000+01:00",
"name": "exportProfile2",
"type": "exportProfileType2",
"filterId": 124,
"invoiceProfileId": 24,
"active": false,
"exportJournaling": true,
"exportRetourJournaling": true,
"createdAt": "2016-02-02T00:00:00.000+01:00",
"updatedAt": "2016-02-07T00:00:00.000+01:00"
}
]
},
"xml": {
"name": "exportProfiles"
}
},
"finance.ExportProfile": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int64",
"x-cupido-id": true
},
"beginDate": {
"type": "string",
"format": "date-time"
},
"name": {
"type": "string"
},
"type": {
"type": "string"
},
"filterId": {
"type": "integer",
"format": "int64"
},
"invoiceProfileId": {
"type": "integer",
"format": "int64"
},
"active": {
"type": "boolean",
"default": false
},
"exportJournaling": {
"type": "boolean",
"default": false
},
"exportRetourJournaling": {
"type": "boolean",
"default": false
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"updatedAt": {
"type": "string",
"format": "date-time"
}
},
"description": "ExportProfile model (no description)",
"example": {
"id": 1,
"beginDate": "2016-01-28T00:00:00.000+01:00",
"name": "exportProfile1",
"type": "exportProfileType1",
"filterId": 123,
"invoiceProfileId": 23,
"active": true,
"exportJournaling": true,
"exportRetourJournaling": true,
"createdAt": "2016-02-01T00:00:00.000+01:00",
"updatedAt": "2016-02-07T00:00:00.000+01:00"
},
"xml": {
"name": "exportProfile"
}
},
"finance.list.FinanceLogList": {
"type": "object",
"properties": {
"financeLogs": {
"type": "array",
"items": {
"$ref": "#/definitions/finance.FinanceLog"
},
"xml": {
"name": "financeLog"
}
}
},
"description": "FinanceLogList model (no description)",
"example": {
"financeLogs": [
{
"id": 1,
"clientId": 1,
"employeeId": 1,
"teamId": 1,
"careOrderProductId": 1,
"locationId": 1,
"date": "2015-01-28T00:00:00.000+01:00",
"productId": 1,
"unit": 1,
"tarief": 1,
"amount": 1,
"issue": 1,
"tariefUnit": 1,
"provider": "Dummy",
"vat": 1.234,
"debtorId": 1,
"source": "ExportPresenceLog",
"costCenter": "12345678",
"originalProductId": 1
},
{
"id": 1,
"clientId": 1,
"employeeId": 1,
"teamId": 1,
"careOrderProductId": 1,
"locationId": 1,
"date": "2015-01-28T00:00:00.000+01:00",
"productId": 1,
"unit": 1,
"tarief": 1,
"amount": 1,
"issue": 1,
"tariefUnit": 1,
"provider": "Dummy",
"vat": 1.234,
"debtorId": 1,
"source": "ExportPresenceLog",
"costCenter": "12345678",
"originalProductId": 1
}
]
},
"xml": {
"name": "financeLogs"
}
},
"finance.FinanceLog": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int64",
"x-cupido-id": true
},
"clientId": {
"type": "integer",
"format": "int64"
},
"employeeId": {
"type": "integer",
"format": "int64"
},
"teamId": {
"type": "integer",
"format": "int64"
},
"careOrderProductId": {
"type": "integer",
"format": "int64"
},
"locationId": {
"type": "integer",
"format": "int64"
},
"date": {
"type": "string",
"format": "date-time"
},
"productId": {
"type": "integer",
"format": "int64"
},
"unit": {
"type": "integer",
"format": "int32"
},
"tarief": {
"type": "integer",
"format": "int32"
},
"amount": {
"type": "integer",
"format": "int32"
},
"issue": {
"type": "integer",
"format": "int32"
},
"tariefUnit": {
"type": "integer",
"format": "int32"
},
"provider": {
"type": "string"
},
"vat": {
"type": "number",
"format": "double"
},
"debtorId": {
"type": "integer",
"format": "int64"
},
"source": {
"type": "string"
},
"costCenter": {
"type": "string"
},
"originalProductId": {
"type": "integer",
"format": "int64"
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"updatedAt": {
"type": "string",
"format": "date-time"
}
},
"description": "Finance log model.",
"example": {
"id": 1,
"clientId": 1,
"employeeId": 1,
"teamId": 1,
"careOrderProductId": 1,
"locationId": 1,
"date": "2015-01-28T00:00:00.000+01:00",
"productId": 1,
"unit": 1,
"tarief": 1,
"amount": 1,
"issue": 1,
"tariefUnit": 1,
"provider": "Dummy",
"vat": 1.234,
"debtorId": 1,
"source": "ExportPresenceLog",
"costCenter": "12345678",
"originalProductId": 1,
"createdAt": "2015-01-28T00:00:00.000+01:00",
"updatedAt": "2015-01-28T00:00:00.000+01:00"
},
"xml": {
"name": "financeLog"
}
},
"finance.list.FinanceTypeList": {
"type": "object",
"properties": {
"financeTypes": {
"type": "array",
"items": {
"$ref": "#/definitions/finance.FinanceType"
},
"xml": {
"name": "financeType"
}
}
},
"description": "FinanceTypeList model (no description)",
"example": {
"financeTypes": [
{
"id": 1,
"externalCode": "Dummy",
"description": "Dummy",
"userIdentifier": "Dummy",
"beginDate": "2015-01-01",
"endDate": "2019-01-01",
"systemDefined": true,
"covRequired": true,
"agbSelectionEnabled": true,
"cakDelivery": false,
"useWmoNumbering": false,
"zzpAllowed": false
}
]
},
"xml": {
"name": "financeTypes"
}
},
"finance.list.InvoiceRowFinanceLogList": {
"type": "object",
"properties": {
"invoiceRowFinanceLogs": {
"type": "array",
"items": {
"$ref": "#/definitions/finance.InvoiceRowFinanceLog"
},
"xml": {
"name": "invoiceRowFinanceLog"
}
}
},
"description": "InvoiceRowFinanceLogList model (no description)",
"example": {
"invoiceRowFinanceLogs": [
{
"invoiceRowId": 1,
"financeLogId": 1
},
{
"invoiceRowId": 1,
"financeLogId": 2
},
{
"invoiceRowId": 2,
"financeLogId": 3
},
{
"invoiceRowId": 2,
"financeLogId": 4
}
]
},
"xml": {
"name": "invoiceRowFinanceLogs"
}
},
"finance.InvoiceRowFinanceLog": {
"type": "object",
"properties": {
"invoiceRowId": {
"type": "integer",
"format": "int64"
},
"financeLogId": {
"type": "integer",
"format": "int64"
}
},
"description": "Relations between InoviceRow and FinanceLog",
"example": {
"invoiceRowId": 1,
"financeLogId": 1
},
"xml": {
"name": "invoiceRowFinanceLog"
}
},
"finance.list.InvoiceRowList": {
"type": "object",
"properties": {
"invoiceRows": {
"type": "array",
"items": {
"$ref": "#/definitions/finance.InvoiceRow"
},
"xml": {
"name": "invoiceRow"
}
}
},
"description": "InvoiceRowList model (no description)",
"example": {
"invoiceRows": [
{
"id": 1,
"invoiceId": 1,
"clientId": 1,
"previousInvoiceRowId": -1,
"productId": 1,
"beginDate": "2016-01-28T00:00:00.000+01:00",
"endDate": "2016-01-29T00:00:00.000+01:00",
"careOrderProductType": 0,
"careOrderProductId": 4,
"amount": 1,
"rate": 3204,
"unit": 12,
"provider": "12345678",
"debtorId": 44,
"vat": 6.5,
"vatAmount": 192,
"rateUnit": 12,
"accepted": true,
"acceptedAmount": 3396,
"calculatedAmount": 3396,
"totalCostAmount": 3396,
"createdAt": "2016-02-01T00:00:00.000+01:00",
"updatedAt": "2016-02-07T00:00:00.000+01:00"
},
{
"id": 2,
"invoiceId": 1,
"clientId": 1,
"previousInvoiceRowId": -1,
"productId": 1,
"beginDate": "2016-01-30T00:00:00.000+01:00",
"endDate": "2016-01-31T00:00:00.000+01:00",
"careOrderProductType": 0,
"careOrderProductId": 4,
"amount": 1,
"rate": 3204,
"unit": 12,
"provider": "12345678",
"debtorId": 44,
"vat": 6.5,
"vatAmount": 192,
"rateUnit": 12,
"accepted": true,
"acceptedAmount": 3396,
"calculatedAmount": 3396,
"totalCostAmount": 3396,
"createdAt": "2016-02-01T00:00:00.000+01:00",
"updatedAt": "2016-02-07T00:00:00.000+01:00"
}
]
},
"xml": {
"name": "invoiceRows"
}
},
"finance.InvoiceRow": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int64",
"x-cupido-id": true
},
"invoiceId": {
"type": "integer",
"format": "int64"
},
"clientId": {
"type": "integer",
"format": "int64"
},
"previousInvoiceRowId": {
"type": "integer",
"format": "int64"
},
"productId": {
"type": "integer",
"format": "int64"
},
"beginDate": {
"type": "string",
"format": "date-time"
},
"endDate": {
"type": "string",
"format": "date-time"
},
"careOrderProductType": {
"type": "integer",
"format": "int32"
},
"careOrderProductId": {
"type": "integer",
"format": "int64"
},
"amount": {
"type": "integer",
"format": "int32"
},
"rate": {
"type": "integer",
"format": "int32"
},
"unit": {
"type": "integer",
"format": "int32"
},
"provider": {
"type": "string"
},
"debtorId": {
"type": "integer",
"format": "int64"
},
"vat": {
"type": "number",
"format": "double"
},
"vatAmount": {
"type": "integer",
"format": "int32"
},
"rateUnit": {
"type": "integer",
"format": "int32"
},
"accepted": {
"type": "boolean",
"default": false
},
"acceptedAmount": {
"type": "integer",
"format": "int32"
},
"calculatedAmount": {
"type": "integer",
"format": "int32"
},
"reasonRejected": {
"type": "string"
},
"totalCostAmount": {
"type": "integer",
"format": "int64"
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"updatedAt": {
"type": "string",
"format": "date-time"
}
},
"description": "InvoiceRow model (no description)",
"example": {
"id": 1,
"invoiceId": 1,
"clientId": 1,
"previousInvoiceRowId": -1,
"productId": 1,
"beginDate": "2016-01-28T00:00:00.000+01:00",
"endDate": "2016-01-29T00:00:00.000+01:00",
"careOrderProductType": 0,
"careOrderProductId": 4,
"amount": 1,
"rate": 3204,
"unit": 12,
"provider": "12345678",
"debtorId": 44,
"vat": 6.5,
"vatAmount": 192,
"rateUnit": 12,
"accepted": true,
"acceptedAmount": 3396,
"calculatedAmount": 3396,
"reasonRejected": "",
"totalCostAmount": 3396,
"createdAt": "2016-02-01T00:00:00.000+01:00",
"updatedAt": "2016-02-07T00:00:00.000+01:00"
},
"xml": {
"name": "invoiceRow"
}
},
"finance.list.InvoiceList": {
"type": "object",
"properties": {
"invoices": {
"type": "array",
"items": {
"$ref": "#/definitions/finance.Invoice"
},
"xml": {
"name": "invoice"
}
}
},
"description": "InvoiceList model (no description)",
"example": {
"invoices": [
{
"id": 1,
"invoiceCreationDate": "2016-02-01T00:00:00.000+01:00",
"exportBeginDate": "2016-01-28T00:00:00.000+01:00",
"beginDate": "2016-01-28T00:00:00.000+01:00",
"endDate": "2016-01-31T00:00:00.000+01:00",
"provider": "12345678",
"debtorId": 44,
"invoiceType": 0,
"exportProfileId": 1,
"description": "desc1",
"invoiceNumber": "ONS1234",
"completed": true,
"returnProcessedAt": "2016-02-07T00:00:00.000+01:00",
"rejected": false,
"bookDate": "2016-02-01T00:00:00.000+01:00",
"numericInvoiceNumber": 1234,
"createdAt": "2016-02-01T00:00:00.000+01:00",
"updatedAt": "2016-02-07T00:00:00.000+01:00"
},
{
"id": 2,
"invoiceCreationDate": "2016-02-02T00:00:00.000+01:00",
"exportBeginDate": "2016-01-28T00:00:00.000+01:00",
"beginDate": "2016-01-28T00:00:00.000+01:00",
"endDate": "2016-01-31T00:00:00.000+01:00",
"provider": "87654321",
"debtorId": 47,
"invoiceType": 0,
"exportProfileId": 1,
"description": "desc2",
"invoiceNumber": "ONS1235",
"completed": true,
"returnProcessedAt": "2016-02-07T00:00:00.000+01:00",
"rejected": false,
"bookDate": "2016-02-01T00:00:00.000+01:00",
"numericInvoiceNumber": 1235,
"createdAt": "2016-02-02T00:00:00.000+01:00",
"updatedAt": "2016-02-07T00:00:00.000+01:00"
}
]
},
"xml": {
"name": "invoices"
}
},
"finance.Invoice": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int64",
"x-cupido-id": true
},
"invoiceCreationDate": {
"type": "string",
"format": "date-time"
},
"exportBeginDate": {
"type": "string",
"format": "date-time"
},
"beginDate": {
"type": "string",
"format": "date-time"
},
"endDate": {
"type": "string",
"format": "date-time"
},
"provider": {
"type": "string"
},
"debtorId": {
"type": "integer",
"format": "int64"
},
"invoiceType": {
"type": "integer",
"format": "int32"
},
"exportProfileId": {
"type": "integer",
"format": "int64"
},
"description": {
"type": "string"
},
"invoiceNumber": {
"type": "string"
},
"completed": {
"type": "boolean",
"default": false
},
"returnProcessedAt": {
"type": "string",
"format": "date-time"
},
"rejected": {
"type": "boolean",
"default": false
},
"returnMessage": {
"type": "string"
},
"bookDate": {
"type": "string",
"format": "date-time"
},
"numericInvoiceNumber": {
"type": "integer",
"format": "int64"
},
"retourEntryNumber": {
"type": "integer",
"format": "int64"
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"updatedAt": {
"type": "string",
"format": "date-time"
}
},
"description": "Invoice model (no description)",
"example": {
"id": 1,
"invoiceCreationDate": "2016-02-01T00:00:00.000+01:00",
"exportBeginDate": "2016-01-28T00:00:00.000+01:00",
"beginDate": "2016-01-28T00:00:00.000+01:00",
"endDate": "2016-01-31T00:00:00.000+01:00",
"provider": "12345678",
"debtorId": 44,
"invoiceType": 0,
"exportProfileId": 1,
"description": "desc1",
"invoiceNumber": "ONS1234",
"completed": true,
"returnProcessedAt": "2016-02-07T00:00:00.000+01:00",
"rejected": false,
"returnMessage": "json",
"bookDate": "2016-02-01T00:00:00.000+01:00",
"numericInvoiceNumber": 1234,
"retourEntryNumber": 1236,
"createdAt": "2016-02-01T00:00:00.000+01:00",
"updatedAt": "2016-02-07T00:00:00.000+01:00"
},
"xml": {
"name": "invoice"
}
},
"moves.list.MembershipList": {
"type": "object",
"properties": {
"memberships": {
"type": "array",
"items": {
"$ref": "#/definitions/moves.Membership"
},
"xml": {
"name": "membership"
}
}
},
"description": "MembershipList model (no description)",
"example": {
"memberships": [
{
"id": 1,
"unitId": 85,
"externalEmployeeId": 421,
"movesEmployeeId": 221,
"externalId": 24,
"validFrom": "1999-12-27",
"validTo": "2015-12-27",
"hidden": true
}
]
},
"xml": {
"name": "memberships"
}
},
"moves.Membership": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int64",
"x-cupido-id": true
},
"unitId": {
"type": "integer",
"format": "int64"
},
"externalEmployeeId": {
"type": "integer",
"format": "int64"
},
"movesEmployeeId": {
"type": "integer",
"format": "int64"
},
"externalId": {
"type": "integer",
"format": "int64"
},
"validFrom": {
"type": "string",
"format": "date"
},
"validTo": {
"type": "string",
"format": "date"
},
"hidden": {
"type": "boolean"
}
},
"description": "Membership model (no description)",
"example": {
"id": 1,
"unitId": 85,
"externalEmployeeId": 421,
"movesEmployeeId": 221,
"externalId": 24,
"validFrom": "1999-12-27",
"validTo": "2015-12-27",
"hidden": true
},
"xml": {
"name": "membership"
}
},
"finance.list.RestitutionList": {
"type": "object",
"properties": {
"restitutions": {
"type": "array",
"items": {
"$ref": "#/definitions/finance.Restitution"
},
"xml": {
"name": "restitution"
}
}
},
"description": "RestitutionList model (no description)",
"example": {
"restitutions": [
{
"id": 1,
"financeLogId": 123,
"invoiceRowId": 124,
"originalAmount": 1,
"originalAmountUnit": 2,
"originalRate": 1,
"originalRateUnit": 2,
"restitutionAmount": 4,
"createdAt": "2016-02-01T00:00:00.000+01:00",
"updatedAt": "2016-02-07T00:00:00.000+01:00"
},
{
"id": 2,
"financeLogId": 128,
"invoiceRowId": 129,
"originalAmount": 2,
"originalAmountUnit": 4,
"originalRate": 2,
"originalRateUnit": 4,
"restitutionAmount": 8,
"createdAt": "2016-02-01T00:00:00.000+01:00",
"updatedAt": "2016-02-07T00:00:00.000+01:00"
}
]
},
"xml": {
"name": "restitutions"
}
},
"finance.Restitution": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int64",
"x-cupido-id": true
},
"financeLogId": {
"type": "integer",
"format": "int64"
},
"invoiceRowId": {
"type": "integer",
"format": "int64"
},
"originalAmount": {
"type": "integer",
"format": "int64"
},
"originalAmountUnit": {
"type": "integer",
"format": "int32"
},
"originalRate": {
"type": "integer",
"format": "int64"
},
"originalRateUnit": {
"type": "integer",
"format": "int32"
},
"restitutionAmount": {
"type": "integer",
"format": "int64"
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"updatedAt": {
"type": "string",
"format": "date-time"
}
},
"description": "Restitution model (no description)",
"example": {
"id": 1,
"financeLogId": 123,
"invoiceRowId": 124,
"originalAmount": 1,
"originalAmountUnit": 2,
"originalRate": 1,
"originalRateUnit": 2,
"restitutionAmount": 4,
"createdAt": "2016-02-01T00:00:00.000+01:00",
"updatedAt": "2016-02-07T00:00:00.000+01:00"
},
"xml": {
"name": "restitution"
}
},
"moves.list.ShiftList": {
"type": "object",
"properties": {
"shifts": {
"type": "array",
"items": {
"$ref": "#/definitions/moves.Shift"
},
"xml": {
"name": "shift"
}
}
},
"description": "ShiftList model (no description)",
"example": {
"shifts": [
{
"id": "200@2014-04-11",
"code": "O1",
"description": "Ochtend 1",
"expertiseProfileId": 1,
"teamId": 1,
"createdById": 1,
"updatedById": 1,
"deletedById": 1,
"validFrom": "2014-01-01",
"validTo": "2014-01-01",
"transportationMethodId": 1,
"monday": true,
"tuesday": true,
"wednesday": false,
"thursday": true,
"friday": true,
"saturday": false,
"sunday": false,
"startTimes": "---\n- 2000-01-01 08:00:00.000000000 +01:00\n- 2000-01-01 08:00:00.000000000 +01:00\n- 2000-01-01 08:00:00.000000000 +01:00\n- 2000-01-01 08:00:00.000000000 +01:00\n- 2000-01-01 08:00:00.000000000 +01:00\n- 2000-01-01 08:00:00.000000000 +01:00\n- 2000-01-01 08:00:00.000000000 +01:00",
"stopTimes": "---\n- 2000-01-01 12:00:00.000000000 +01:00\n- 2000-01-01 12:00:00.000000000 +01:00\n- 2000-01-01 12:00:00.000000000 +01:00\n- 2000-01-01 12:00:00.000000000 +01:00\n- 2000-01-01 12:00:00.000000000 +01:00\n- 2000-01-01 12:00:00.000000000 +01:00\n- 2000-01-01 12:00:00.000000000 +01:00",
"breakType": 0,
"startBreakTimes": "[null,null,null,null,null,null,null]",
"stopBreakTimes": "[null,null,null,null,null,null,null]",
"dayPart": 1,
"number": 2,
"timelineId": 1,
"exportAssignments": false,
"exportHourTypeId": 1,
"exportGroupCare": false
}
]
},
"xml": {
"name": "shifts"
}
},
"moves.list.UnitList": {
"type": "object",
"properties": {
"units": {
"type": "array",
"items": {
"$ref": "#/definitions/moves.Unit"
},
"xml": {
"name": "unit"
}
}
},
"description": "UnitList model (no description)",
"example": {
"units": [
{
"id": 1,
"code": "ZTN",
"name": "Zorg Team Nedap",
"unitId": 1,
"externalId": 123,
"validFrom": "1999-12-27",
"validTo": "2015-12-27",
"block": false,
"flexUnitId": 1,
"nexusGroupUuid": "",
"cachedUsed": true,
"showCumulativeLedgersForecast": true,
"unitType": 2,
"allowSelfRostering": true,
"selfRosteringStartDate": "2015-07-13"
}
]
},
"xml": {
"name": "units"
}
},
"moves.Unit": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int64",
"x-cupido-id": true
},
"code": {
"type": "string"
},
"name": {
"type": "string"
},
"unitId": {
"type": "integer",
"description": "use :parent_unit_id instead",
"format": "int64",
"x-deprecated": true
},
"parentUnitId": {
"type": "integer",
"format": "int64"
},
"externalId": {
"type": "integer",
"format": "int64"
},
"validFrom": {
"type": "string",
"format": "date"
},
"validTo": {
"type": "string",
"format": "date"
},
"block": {
"type": "boolean"
},
"flexUnitId": {
"type": "integer",
"format": "int64"
},
"nexusGroupUuid": {
"type": "string"
},
"cachedUsed": {
"type": "boolean"
},
"showCumulativeLedgersForecast": {
"type": "boolean"
},
"unitType": {
"type": "integer",
"description": "\nunitType: Possible values:\n0: EXTRAMURAL\n1: INTRAMURAL\n2: WMO\n
",
"format": "int64"
},
"allowSelfRostering": {
"type": "boolean"
},
"selfRosteringStartDate": {
"type": "string",
"format": "date"
}
},
"description": "Unit model (no description)",
"example": {
"id": 1,
"code": "ZTN",
"name": "Zorg Team Nedap",
"unitId": 2,
"parentUnitId": 2,
"externalId": 123,
"validFrom": "1999-12-27",
"validTo": "2015-12-27",
"block": false,
"flexUnitId": 1,
"nexusGroupUuid": "",
"cachedUsed": true,
"showCumulativeLedgersForecast": true,
"unitType": 2,
"allowSelfRostering": true,
"selfRosteringStartDate": "2015-07-13"
},
"xml": {
"name": "unit"
}
},
"finance.list.VecozoInvoiceRelationList": {
"type": "object",
"properties": {
"vecozoInvoiceRelationList": {
"type": "array",
"items": {
"xml": {
"name": "vecozoInvoiceRelation"
},
"$ref": "#/definitions/finance.VecozoInvoiceRelation"
},
"xml": {
"name": "vecozoInvoiceRelation"
}
}
},
"description": "VecozoInvoiceRelationList model (no description)",
"example": {
"vecozoInvoiceRelationList": [
{
"id": 1,
"declarationId": "skywalker",
"invoiceId": 123,
"createdAt": "2018-02-01T00:00:00.000+01:00",
"updatedAt": "2018-02-07T00:00:00.000+01:00"
},
{
"id": 2,
"declarationId": "chewbacca",
"invoiceId": 321,
"createdAt": "2018-04-29T00:00:00.000+02:00",
"updatedAt": "2018-04-30T00:00:00.000+02:00"
}
]
},
"xml": {
"name": "vecozoInvoiceRelationList"
}
},
"finance.VecozoInvoiceRelation": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int64",
"x-cupido-id": true
},
"declarationId": {
"type": "string",
"description": "ID of vecozo declaration reference"
},
"invoiceId": {
"type": "integer",
"description": "ID of related invoice",
"format": "int64"
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"updatedAt": {
"type": "string",
"format": "date-time"
}
},
"description": "Model containing relation between vecozo and invoice",
"example": {
"id": 1,
"declarationId": "skywalker",
"invoiceId": 123,
"createdAt": "2016-02-01T00:00:00.000+01:00",
"updatedAt": "2016-02-07T00:00:00.000+01:00"
},
"xml": {
"name": "vecozoInvoiceRelation"
}
},
"wingull.DiagnosticProcedureSearchResult": {
"type": "object",
"properties": {
"hasMoreResults": {
"type": "boolean",
"x-deprecated-since": "20-11-2023",
"x-deprecated": true
},
"diagnosticProcedures": {
"type": "array",
"items": {
"$ref": "#/definitions/wingull.DiagnosticProcedure"
},
"xml": {
"wrapped": true
}
}
},
"description": "DiagnosticProcedureSearchResult model (no description)",
"example": {
"hasMoreResults": true,
"diagnosticProcedures": [
{
"id": 1,
"issued": "2017-11-15T00:00:00.000+01:00",
"diagnosticReports": [
{
"id": 1,
"observations": [
{
"id": 1,
"referenceValueIndication": true,
"code": "HT B",
"comment": "Some observation",
"name": "Hb",
"lowerLimit": "0.40",
"unit": "l/l",
"upperLimit": "0.52",
"value": "0.42",
"groupName": "Differentiatie"
}
],
"category": "HEAMATOLOGIE",
"comment": "Here is all the bloodwork"
}
],
"clientId": 1,
"identification": "0805-12345",
"requestComment": "I would like a full checkup for mister X",
"reportComment": "Here is all we could find and more",
"status": "finished"
}
]
},
"xml": {
"name": "diagnosticProcedureSearchResult"
}
},
"wingull.DiagnosticProcedure": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int64",
"x-cupido-id": true
},
"issued": {
"type": "string",
"description": "When was the report made",
"format": "date-time"
},
"diagnosticReports": {
"type": "array",
"items": {
"$ref": "#/definitions/wingull.DiagnosticReport"
},
"xml": {
"wrapped": true
}
},
"clientId": {
"type": "integer",
"description": "id of the client",
"format": "int64"
},
"identification": {
"type": "string",
"description": "unique identification for this procedure"
},
"requestComment": {
"type": "string",
"description": "comment made by requester"
},
"reportComment": {
"type": "string",
"description": "comment made by the lab"
},
"status": {
"type": "string",
"description": "one of: PARTIAL or FINAL"
}
},
"description": "DiagnosticProcedure model (no description)",
"example": {
"id": 1,
"issued": "2017-11-15T00:00:00.000+01:00",
"diagnosticReports": [
{
"id": 1,
"observations": [
{
"id": 1,
"referenceValueIndication": true,
"code": "HT B",
"comment": "Some observation",
"name": "Hb",
"lowerLimit": "0.40",
"unit": "l/l",
"upperLimit": "0.52",
"value": "0.42",
"groupName": "Differentiatie"
}
],
"category": "HEAMATOLOGIE",
"comment": "Here is all the bloodwork"
}
],
"clientId": 1,
"identification": "0805-12345",
"requestComment": "I would like a full checkup for mister X",
"reportComment": "Here is all we could find and more",
"status": "finished"
},
"xml": {
"name": "diagnosticProcedure"
}
},
"wingull.DiagnosticReport": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int64",
"x-cupido-id": true
},
"observations": {
"type": "array",
"items": {
"$ref": "#/definitions/wingull.Observation"
},
"xml": {
"wrapped": true
}
},
"category": {
"type": "string",
"description": "the type of diagnostics"
},
"comment": {
"type": "string",
"description": "comment for this report made by the lab"
}
},
"description": "DiagnosticReport model (no description)",
"example": {
"id": 1,
"observations": [
{
"id": 1,
"referenceValueIndication": true,
"code": "HT B",
"comment": "Some observation",
"name": "Hb",
"lowerLimit": "0.40",
"unit": "l/l",
"upperLimit": "0.52",
"value": "0.42",
"groupName": "Differentiatie"
}
],
"category": "HEAMATOLOGIE",
"comment": "Here is all the bloodwork"
},
"xml": {
"name": "diagnosticReport"
}
},
"wingull.Observation": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int64",
"x-cupido-id": true
},
"referenceValueIndication": {
"type": "boolean",
"description": "value outside of reference values?",
"x-deprecated-since": "20-11-2023",
"x-deprecated": true
},
"code": {
"type": "string",
"description": "official coding system"
},
"comment": {
"type": "string",
"description": "comment made by lab"
},
"name": {
"type": "string",
"description": "name of test"
},
"lowerLimit": {
"type": "string",
"description": "lower limit for reference values"
},
"unit": {
"type": "string",
"description": "unit of values"
},
"upperLimit": {
"type": "string",
"description": "upper limit for reference values"
},
"value": {
"type": "string",
"description": "test result"
},
"groupName": {
"type": "string",
"description": "optional name indicating a group of observations (SectieDeelBepaling)"
}
},
"description": "Observation model (no description)",
"example": {
"id": 1,
"referenceValueIndication": true,
"code": "HT B",
"comment": "Some observation",
"name": "Hb",
"lowerLimit": "0.40",
"unit": "l/l",
"upperLimit": "0.52",
"value": "0.42",
"groupName": "Differentiatie"
},
"xml": {
"name": "observation"
}
}
},
"tags": [
{
"name": "AccessRight"
},
{
"name": "Address"
},
{
"name": "admin.BackgroundImage"
},
{
"name": "admin.License"
},
{
"name": "admin.LogoImage"
},
{
"name": "admin.TimesheetConfig"
},
{
"name": "admin.Version"
},
{
"name": "Agbcode"
},
{
"name": "agenda.AgendaOccurrence"
},
{
"name": "agenda.AgendaSeries"
},
{
"name": "agenda.ClientAbsenceOccurrence"
},
{
"name": "agenda.Label"
},
{
"name": "agenda.RegistrationStatus"
},
{
"name": "agenda.Unavailability"
},
{
"name": "aloha.AlohaReport"
},
{
"name": "arrangement.Intent"
},
{
"name": "arrangement.IntentPreference"
},
{
"name": "arrangement.Stakeholder"
},
{
"name": "arrangement.TimeSlot"
},
{
"name": "authorization.AuthorizationProfile"
},
{
"name": "authorization.provisioning.DefaultScope"
},
{
"name": "authorization.provisioning.MyLocations"
},
{
"name": "authorization.provisioning.MyTeams"
},
{
"name": "authorization.provisioning.Role"
},
{
"name": "authorization.provisioning.User"
},
{
"name": "authorization.provisioning.UserDuties"
},
{
"name": "BankAccount"
},
{
"name": "Bsn"
},
{
"name": "capacity.CapacityProfile"
},
{
"name": "CareAllocation"
},
{
"name": "CareArrangement"
},
{
"name": "caren.Letter"
},
{
"name": "caren.Person"
},
{
"name": "carepath.CarePath"
},
{
"name": "carepath.Template"
},
{
"name": "CareProvider"
},
{
"name": "CareProviderAddress"
},
{
"name": "Client"
},
{
"name": "client_collab.SharedResource"
},
{
"name": "client_story.ChangeSet"
},
{
"name": "client_story.Story"
},
{
"name": "ClientAbsence"
},
{
"name": "ClientAbsenceReason"
},
{
"name": "ClientAddress"
},
{
"name": "ClientCard"
},
{
"name": "ClientContactRelation"
},
{
"name": "ClientContactRelationAddress"
},
{
"name": "ClientsInCare"
},
{
"name": "CostCenterSelectionOption"
},
{
"name": "DashboardProfile"
},
{
"name": "dbc.DBCSubTraject"
},
{
"name": "dbc.DBCTraject"
},
{
"name": "dbc.ggz.DiagnoseToekenning"
},
{
"name": "dbc.ggz.fz.Subtraject"
},
{
"name": "dbc.ggz.PresenceLogSynchronisationError"
},
{
"name": "dbc.ggz.Subtraject"
},
{
"name": "dbc.ggz.ValidationError"
},
{
"name": "dbc.ggz.Zorgtraject"
},
{
"name": "Debtor"
},
{
"name": "Document"
},
{
"name": "dossier.Action"
},
{
"name": "dossier.ActionEntry"
},
{
"name": "dossier.ActionEntrySummary"
},
{
"name": "dossier.admin.alerts.Topic"
},
{
"name": "dossier.Alert"
},
{
"name": "dossier.CarePlan"
},
{
"name": "dossier.CarePlanAgreement"
},
{
"name": "dossier.CarePlanEntry"
},
{
"name": "dossier.CarePlanReportRight"
},
{
"name": "dossier.CarePlanSignatureRequirement"
},
{
"name": "dossier.ClientNote"
},
{
"name": "dossier.Demand"
},
{
"name": "dossier.DemandEntry"
},
{
"name": "dossier.Domain"
},
{
"name": "dossier.episodes.Action"
},
{
"name": "dossier.episodes.Episode"
},
{
"name": "dossier.episodes.SubGoal"
},
{
"name": "dossier.Goal"
},
{
"name": "dossier.GoalEntry"
},
{
"name": "dossier.InvoluntaryCareExportEntry"
},
{
"name": "dossier.LastMedicalMoment"
},
{
"name": "dossier.medical.advance_directives.Context"
},
{
"name": "dossier.medical.dsm.Classification"
},
{
"name": "dossier.medical.dsm.ClassificationSeries"
},
{
"name": "dossier.medical.involuntary_care.Incompetence"
},
{
"name": "dossier.medical.involuntary_care.LegalStatus"
},
{
"name": "dossier.medical.MedicalSummary"
},
{
"name": "dossier.medical.Problem"
},
{
"name": "dossier.medical.PropensityToAdverseReaction"
},
{
"name": "dossier.medical.SimplifiedPropensityToAdverseReaction"
},
{
"name": "dossier.MedicalNote"
},
{
"name": "dossier.omaha.ClassifiedProblem"
},
{
"name": "dossier.omaha.InterventionCategory"
},
{
"name": "dossier.omaha.InterventionTarget"
},
{
"name": "dossier.omaha.OmahaClassification"
},
{
"name": "dossier.omaha.Problem"
},
{
"name": "dossier.Report"
},
{
"name": "dossier.ReportType"
},
{
"name": "dossier.RestrictiveMeasureCarePlanEntry"
},
{
"name": "dossier.RestrictiveMeasureRegistration"
},
{
"name": "dossier.SystemNote"
},
{
"name": "Employee"
},
{
"name": "EmployeeAddress"
},
{
"name": "EmployeePrivacySettings"
},
{
"name": "EmployeeWorkflow"
},
{
"name": "evs.EvsAbility"
},
{
"name": "evs.ResponseMessage"
},
{
"name": "expense.Expense"
},
{
"name": "expense.ExpenseType"
},
{
"name": "ExpertiseGroup"
},
{
"name": "ExpertiseProfile"
},
{
"name": "ExpertiseProfileAssignment"
},
{
"name": "export.ExportPresenceLog"
},
{
"name": "finance.CareOrder"
},
{
"name": "finance.CareOrderProduct"
},
{
"name": "finance.ClientFinancedProduct"
},
{
"name": "finance.DebtorGroup"
},
{
"name": "finance.DeclarationRule"
},
{
"name": "finance.ExportProfile"
},
{
"name": "finance.FinanceLog"
},
{
"name": "finance.FinanceType"
},
{
"name": "finance.ForensicCareOrder"
},
{
"name": "finance.Invoice"
},
{
"name": "finance.InvoiceProviderGroup"
},
{
"name": "finance.InvoiceRow"
},
{
"name": "finance.InvoiceRowFinanceLog"
},
{
"name": "finance.ParallelCareOrder"
},
{
"name": "finance.Product"
},
{
"name": "finance.Restitution"
},
{
"name": "finance.VecozoInvoiceRelation"
},
{
"name": "fvc.FvcMessage"
},
{
"name": "groupcare.Group"
},
{
"name": "groupcare.Occurrence"
},
{
"name": "harmony.ZorgdomeinFhirConnector"
},
{
"name": "herald.AnnouncementCount"
},
{
"name": "hermes.CareProviderSettings"
},
{
"name": "hermes.ContactMethod"
},
{
"name": "hermes.Notification"
},
{
"name": "HourType"
},
{
"name": "HourTypeCategory"
},
{
"name": "HourTypeProductAssignment"
},
{
"name": "Insurance"
},
{
"name": "jw.JwZorglegitimatie"
},
{
"name": "kamino.KaminoSetting"
},
{
"name": "Location"
},
{
"name": "LocationAssignment"
},
{
"name": "LocationAssignmentResidence"
},
{
"name": "LocationAssignmentWaitingList"
},
{
"name": "medication.MedicationPlan"
},
{
"name": "milo.Device"
},
{
"name": "moves.Availability"
},
{
"name": "moves.AvailabilityType"
},
{
"name": "moves.ClientPlannedSchedule"
},
{
"name": "moves.ClientPlanningFilter"
},
{
"name": "moves.EmployeeExportJob"
},
{
"name": "moves.EmployeeMovesProfile"
},
{
"name": "moves.EmployeePlanning"
},
{
"name": "moves.EmployeeSchedule"
},
{
"name": "moves.ExpertiseProfile"
},
{
"name": "moves.Membership"
},
{
"name": "moves.PlannedVisit"
},
{
"name": "moves.RosterSlot"
},
{
"name": "moves.Shift"
},
{
"name": "moves.ShiftAssignment"
},
{
"name": "moves.Unit"
},
{
"name": "moves.WorkingEmployeeReport"
},
{
"name": "nexus.ClientContactRelationType"
},
{
"name": "nexus.ClientEmployeeRelation"
},
{
"name": "nexus.ClientEmployeeRelationType"
},
{
"name": "nexus.OrganisationCategory"
},
{
"name": "nexus.PersonalRelationType"
},
{
"name": "nuts.Consent"
},
{
"name": "ons_client.SharedResource"
},
{
"name": "ons_ehr.GgzPlanStatistics"
},
{
"name": "ons_ehr.LastVisitedPlan"
},
{
"name": "ons_ehr.Setting"
},
{
"name": "onsimport.Run"
},
{
"name": "openehr.ArchetypeWrapper"
},
{
"name": "openehr.CarePlanVvtCareProfileLink"
},
{
"name": "openehr.CompositionWrapper"
},
{
"name": "openehr.EmployeeGroup"
},
{
"name": "openehr.MultimediaFile"
},
{
"name": "payroll.AccountEntry"
},
{
"name": "payroll.AccountType"
},
{
"name": "payroll.AccountTypeExpireStatistic"
},
{
"name": "payroll.CollectiveAgreement"
},
{
"name": "payroll.CollectiveAgreementAssignment"
},
{
"name": "payroll.CollectiveAgreementRule"
},
{
"name": "payroll.Contract"
},
{
"name": "payroll.ContractType"
},
{
"name": "payroll.holiday.Holiday"
},
{
"name": "payroll.HourlyWage"
},
{
"name": "payroll.PayableHoursAverage"
},
{
"name": "payroll.WorkHoursBalance"
},
{
"name": "payroll.WorkLoad"
},
{
"name": "portal.EmployeePortalProfile"
},
{
"name": "Practitioner"
},
{
"name": "PractitionerAgbCode"
},
{
"name": "PractitionerBigCode"
},
{
"name": "PractitionerProfession"
},
{
"name": "PresenceLog"
},
{
"name": "Referral"
},
{
"name": "status.ApplicationStatus"
},
{
"name": "survey.Answer"
},
{
"name": "survey.AnswerDefinitionGroup"
},
{
"name": "survey.GroupAnswer"
},
{
"name": "survey.Survey"
},
{
"name": "survey.SurveyResult"
},
{
"name": "tasque.CareTaskGroup"
},
{
"name": "tasque.CareTaskGroupStatus"
},
{
"name": "tasque.CareTaskOccurrence"
},
{
"name": "tasque.CareTaskSeries"
},
{
"name": "Team"
},
{
"name": "TeamAssignment"
},
{
"name": "transport.ClientTransport"
},
{
"name": "TreatmentLocation"
},
{
"name": "User"
},
{
"name": "WeeksheetProfile"
},
{
"name": "wingull.DiagnosticProcedure"
},
{
"name": "wlz.WlzZorglegitimatie"
},
{
"name": "wmo.WmoZorglegitimatie"
},
{
"name": "worksheet.Worksheet"
},
{
"name": "zpm.CareOrderZpmDetails"
},
{
"name": "zpm.ZpmGbggzProfiel"
},
{
"name": "zpm.ZpmSetting"
},
{
"name": "zpm.ZpmZorglabel"
}
]
}