1 Package per_medical_assessment_api as
2 /* $Header: pemeaapi.pkh 120.2 2005/10/22 01:23:54 aroussel noship $ */
3 /*#
4 * This package contains APIs which create and maintain medical assessment
5 * records for a person.
6 * @rep:scope public
7 * @rep:product per
8 * @rep:displayname Medical Assessment
9 */
10 g_package varchar2(33) := 'per_medical_assessment_api.';
11 --
12 -- ----------------------------------------------------------------------------
13 -- |------------------------< create_medical_assessment >---------------------|
14 -- ----------------------------------------------------------------------------
15 --
16 -- {Start Of Comments}
17 /*#
18 * This API creates a medical assessment record for a person.
19 *
20 * A medical assessment collects information about the health and well-being of
21 * a person during an examination or consultation with a specific medical
22 * practitioner on a specific date. Typically they are carried out to assess
23 * the extent of an injury, disease or physical disability. One or more medical
24 * assessment can arise as a result of a work incident the person has suffered
25 * or a disability that they have.
26 *
27 * <p><b>Licensing</b><br>
28 * This API is licensed for use with Human Resources.
29 *
30 * <p><b>Prerequisites</b><br>
31 * The person for whom the medical assessment is to be created must exist.
32 *
33 * <p><b>Post Success</b><br>
34 * The medical assessment record is created.
35 *
36 * <p><b>Post Failure</b><br>
37 * The medical assessment record is not created and an error is raised.
38 * @param p_validate If true, then validation alone will be performed and the
39 * database will remain unchanged. If false and all validation checks pass,
40 * then the database will be modified.
41 * @param p_effective_date Reference date for validating lookup values are
42 * applicable during the start to end active date range. This date does not
43 * determine when the changes take effect.
44 * @param p_person_id Uniquely identifies the person for whom the medical
45 * assessment applies.
46 * @param p_consultation_date The date of medical assessment is carried out.
47 * @param p_consultation_type The type of medical assessment performed. Valid
48 * values are defined by the 'CONSULTATION_TYPE' lookup type.
49 * @param p_examiner_name The name of the examiner who performed the
50 * assessment.
51 * @param p_organization_id Uniquely identifies the organization where the
52 * medical assessment was performed.
53 * @param p_consultation_result The outcome or result of the assessment or
54 * consultation . Valid values are defined by the 'CONSULTATION_RESULT' lookup
55 * type.
56 * @param p_incident_id Uniquely identifies the work incident to which the
57 * medical assessment relates.
58 * @param p_disability_id Uniquely identifies the disability to which the
59 * medical assessment relates.
60 * @param p_next_consultation_date The date of the next consultation.
61 * @param p_description Description text.
62 * @param p_attribute_category This context value determines which flexfield
63 * structure to use with the descriptive flexfield segments.
64 * @param p_attribute1 Descriptive flexfield segment.
65 * @param p_attribute2 Descriptive flexfield segment.
66 * @param p_attribute3 Descriptive flexfield segment.
67 * @param p_attribute4 Descriptive flexfield segment.
68 * @param p_attribute5 Descriptive flexfield segment.
69 * @param p_attribute6 Descriptive flexfield segment.
70 * @param p_attribute7 Descriptive flexfield segment.
71 * @param p_attribute8 Descriptive flexfield segment.
72 * @param p_attribute9 Descriptive flexfield segment.
73 * @param p_attribute10 Descriptive flexfield segment.
74 * @param p_attribute11 Descriptive flexfield segment.
75 * @param p_attribute12 Descriptive flexfield segment.
76 * @param p_attribute13 Descriptive flexfield segment.
77 * @param p_attribute14 Descriptive flexfield segment.
78 * @param p_attribute15 Descriptive flexfield segment.
79 * @param p_attribute16 Descriptive flexfield segment.
80 * @param p_attribute17 Descriptive flexfield segment.
81 * @param p_attribute18 Descriptive flexfield segment.
82 * @param p_attribute19 Descriptive flexfield segment.
83 * @param p_attribute20 Descriptive flexfield segment.
84 * @param p_attribute21 Descriptive flexfield segment.
85 * @param p_attribute22 Descriptive flexfield segment.
86 * @param p_attribute23 Descriptive flexfield segment.
87 * @param p_attribute24 Descriptive flexfield segment.
88 * @param p_attribute25 Descriptive flexfield segment.
89 * @param p_attribute26 Descriptive flexfield segment.
90 * @param p_attribute27 Descriptive flexfield segment.
91 * @param p_attribute28 Descriptive flexfield segment.
92 * @param p_attribute29 Descriptive flexfield segment.
93 * @param p_attribute30 Descriptive flexfield segment.
94 * @param p_mea_information_category This context value determines which
95 * Flexfield Structure to use with the Developer Descriptive flexfield
96 * segments.
97 * @param p_mea_information1 Developer Descriptive flexfield segment.
98 * @param p_mea_information2 Developer Descriptive flexfield segment.
99 * @param p_mea_information3 Developer Descriptive flexfield segment.
100 * @param p_mea_information4 Developer Descriptive flexfield segment.
101 * @param p_mea_information5 Developer Descriptive flexfield segment.
102 * @param p_mea_information6 Developer Descriptive flexfield segment.
103 * @param p_mea_information7 Developer Descriptive flexfield segment.
104 * @param p_mea_information8 Developer Descriptive flexfield segment.
105 * @param p_mea_information9 Developer Descriptive flexfield segment.
106 * @param p_mea_information10 Developer Descriptive flexfield segment.
107 * @param p_mea_information11 Developer Descriptive flexfield segment.
108 * @param p_mea_information12 Developer Descriptive flexfield segment.
109 * @param p_mea_information13 Developer Descriptive flexfield segment.
110 * @param p_mea_information14 Developer Descriptive flexfield segment.
111 * @param p_mea_information15 Developer Descriptive flexfield segment.
112 * @param p_mea_information16 Developer Descriptive flexfield segment.
113 * @param p_mea_information17 Developer Descriptive flexfield segment.
114 * @param p_mea_information18 Developer Descriptive flexfield segment.
115 * @param p_mea_information19 Developer Descriptive flexfield segment.
116 * @param p_mea_information20 Developer Descriptive flexfield segment.
117 * @param p_mea_information21 Developer Descriptive flexfield segment.
118 * @param p_mea_information22 Developer Descriptive flexfield segment.
119 * @param p_mea_information23 Developer Descriptive flexfield segment.
120 * @param p_mea_information24 Developer Descriptive flexfield segment.
121 * @param p_mea_information25 Developer Descriptive flexfield segment.
122 * @param p_mea_information26 Developer Descriptive flexfield segment.
123 * @param p_mea_information27 Developer Descriptive flexfield segment.
124 * @param p_mea_information28 Developer Descriptive flexfield segment.
125 * @param p_mea_information29 Developer Descriptive flexfield segment.
126 * @param p_mea_information30 Developer Descriptive flexfield segment.
127 * @param p_medical_assessment_id If p_validate is false, uniquely identifies
128 * the medical assessment created. If p_validate is true, set to null.
129 * @param p_object_version_number If p_validate is false, then set to the
130 * version number of the created medical assessment. If p_validate is true,
131 * then the value will be null.
132 * @rep:displayname Create Medical Assessment
133 * @rep:category BUSINESS_ENTITY PER_MEDICAL_ASSESSMENT
134 * @rep:category MISC_EXTENSIONS HR_USER_HOOKS
135 * @rep:scope public
136 * @rep:lifecycle active
137 * @rep:ihelp PER/@scalapi APIs in Oracle HRMS
138 */
139 --
140 -- {End Of Comments}
141 --
142 PROCEDURE create_medical_assessment
143 (p_validate IN BOOLEAN DEFAULT FALSE
144 ,p_effective_date IN DATE
145 ,p_person_id IN NUMBER
146 ,p_consultation_date IN DATE
147 ,p_consultation_type IN VARCHAR2
148 ,p_examiner_name IN VARCHAR2 DEFAULT NULL
149 ,p_organization_id IN NUMBER DEFAULT NULL
150 ,p_consultation_result IN VARCHAR2 DEFAULT NULL
151 ,p_incident_id IN NUMBER DEFAULT NULL
152 ,p_disability_id IN NUMBER DEFAULT NULL
153 ,p_next_consultation_date IN DATE DEFAULT NULL
154 ,p_description IN VARCHAR2 DEFAULT NULL
155 ,p_attribute_category IN VARCHAR2 DEFAULT NULL
156 ,p_attribute1 IN VARCHAR2 DEFAULT NULL
157 ,p_attribute2 IN VARCHAR2 DEFAULT NULL
158 ,p_attribute3 IN VARCHAR2 DEFAULT NULL
159 ,p_attribute4 IN VARCHAR2 DEFAULT NULL
160 ,p_attribute5 IN VARCHAR2 DEFAULT NULL
161 ,p_attribute6 IN VARCHAR2 DEFAULT NULL
162 ,p_attribute7 IN VARCHAR2 DEFAULT NULL
163 ,p_attribute8 IN VARCHAR2 DEFAULT NULL
164 ,p_attribute9 IN VARCHAR2 DEFAULT NULL
165 ,p_attribute10 IN VARCHAR2 DEFAULT NULL
166 ,p_attribute11 IN VARCHAR2 DEFAULT NULL
167 ,p_attribute12 IN VARCHAR2 DEFAULT NULL
168 ,p_attribute13 IN VARCHAR2 DEFAULT NULL
169 ,p_attribute14 IN VARCHAR2 DEFAULT NULL
170 ,p_attribute15 IN VARCHAR2 DEFAULT NULL
171 ,p_attribute16 IN VARCHAR2 DEFAULT NULL
172 ,p_attribute17 IN VARCHAR2 DEFAULT NULL
173 ,p_attribute18 IN VARCHAR2 DEFAULT NULL
174 ,p_attribute19 IN VARCHAR2 DEFAULT NULL
175 ,p_attribute20 IN VARCHAR2 DEFAULT NULL
176 ,p_attribute21 IN VARCHAR2 DEFAULT NULL
177 ,p_attribute22 IN VARCHAR2 DEFAULT NULL
178 ,p_attribute23 IN VARCHAR2 DEFAULT NULL
179 ,p_attribute24 IN VARCHAR2 DEFAULT NULL
180 ,p_attribute25 IN VARCHAR2 DEFAULT NULL
181 ,p_attribute26 IN VARCHAR2 DEFAULT NULL
182 ,p_attribute27 IN VARCHAR2 DEFAULT NULL
183 ,p_attribute28 IN VARCHAR2 DEFAULT NULL
184 ,p_attribute29 IN VARCHAR2 DEFAULT NULL
185 ,p_attribute30 IN VARCHAR2 DEFAULT NULL
186 ,p_mea_information_category IN VARCHAR2 DEFAULT NULL
187 ,p_mea_information1 IN VARCHAR2 DEFAULT NULL
188 ,p_mea_information2 IN VARCHAR2 DEFAULT NULL
189 ,p_mea_information3 IN VARCHAR2 DEFAULT NULL
190 ,p_mea_information4 IN VARCHAR2 DEFAULT NULL
191 ,p_mea_information5 IN VARCHAR2 DEFAULT NULL
192 ,p_mea_information6 IN VARCHAR2 DEFAULT NULL
193 ,p_mea_information7 IN VARCHAR2 DEFAULT NULL
194 ,p_mea_information8 IN VARCHAR2 DEFAULT NULL
195 ,p_mea_information9 IN VARCHAR2 DEFAULT NULL
196 ,p_mea_information10 IN VARCHAR2 DEFAULT NULL
197 ,p_mea_information11 IN VARCHAR2 DEFAULT NULL
198 ,p_mea_information12 IN VARCHAR2 DEFAULT NULL
199 ,p_mea_information13 IN VARCHAR2 DEFAULT NULL
200 ,p_mea_information14 IN VARCHAR2 DEFAULT NULL
201 ,p_mea_information15 IN VARCHAR2 DEFAULT NULL
202 ,p_mea_information16 IN VARCHAR2 DEFAULT NULL
203 ,p_mea_information17 IN VARCHAR2 DEFAULT NULL
204 ,p_mea_information18 IN VARCHAR2 DEFAULT NULL
205 ,p_mea_information19 IN VARCHAR2 DEFAULT NULL
206 ,p_mea_information20 IN VARCHAR2 DEFAULT NULL
207 ,p_mea_information21 IN VARCHAR2 DEFAULT NULL
208 ,p_mea_information22 IN VARCHAR2 DEFAULT NULL
209 ,p_mea_information23 IN VARCHAR2 DEFAULT NULL
210 ,p_mea_information24 IN VARCHAR2 DEFAULT NULL
211 ,p_mea_information25 IN VARCHAR2 DEFAULT NULL
212 ,p_mea_information26 IN VARCHAR2 DEFAULT NULL
213 ,p_mea_information27 IN VARCHAR2 DEFAULT NULL
214 ,p_mea_information28 IN VARCHAR2 DEFAULT NULL
215 ,p_mea_information29 IN VARCHAR2 DEFAULT NULL
216 ,p_mea_information30 IN VARCHAR2 DEFAULT NULL
217 ,p_medical_assessment_id OUT NOCOPY NUMBER
218 ,p_object_version_number OUT NOCOPY NUMBER);
219 --
220 -- ----------------------------------------------------------------------------
221 -- |------------------------< update_medical_assessment >---------------------|
222 -- ----------------------------------------------------------------------------
223 --
224 -- {Start Of Comments}
225 /*#
226 * This API updates a medical assessment record for a person.
227 *
228 * A medical assessment collects information about the health and well-being of
229 * a person during an examination or consultation with a specific medical
230 * practitioner on a specific date. Typically they are carried out to assess
231 * the extent of an injury, disease or physical disability. One or more medical
232 * assessment can arise as a result of a work incident the person has suffered
233 * or a disability that they have.
234 *
235 * <p><b>Licensing</b><br>
236 * This API is licensed for use with Human Resources.
237 *
238 * <p><b>Prerequisites</b><br>
239 * The medical assessment to be updated must exist.
240 *
241 * <p><b>Post Success</b><br>
242 * The medical assessment is updated.
243 *
244 * <p><b>Post Failure</b><br>
245 * The medical assessment is not updated and an error is raised.
246 * @param p_validate If true, then validation alone will be performed and the
247 * database will remain unchanged. If false and all validation checks pass,
248 * then the database will be modified.
249 * @param p_medical_assessment_id Uniquely identifies the medical assessment to
250 * be updated.
251 * @param p_object_version_number Pass in the current version number of the
252 * medical assessment to be updated. When the API completes if p_validate is
253 * false, will be set to the new version number of the updated medical
254 * assessment. If p_validate is true will be set to the same value which was
255 * passed in.
256 * @param p_effective_date Reference date for validating lookup values are
257 * applicable during the start to end active date range. This date does not
258 * determine when the changes take effect.
259 * @param p_consultation_date The date of medical assessment is carried out.
260 * @param p_consultation_type The type of medical assessment performed. Valid
261 * values are defined by the 'CONSULTATION_TYPE' lookup type.
262 * @param p_examiner_name The name of the examiner who performed the
263 * assessment.
264 * @param p_organization_id Uniquely identifies the organization where the
265 * medical assessment was performed.
266 * @param p_consultation_result The outcome or result of the assessment or
267 * consultation . Valid values are defined by the 'CONSULTATION_RESULT' lookup
268 * type.
269 * @param p_incident_id Uniquely identifies the work incident to which the
270 * medical assessment relates.
271 * @param p_disability_id Uniquely identifies the disability to which the
272 * medical assessment relates.
273 * @param p_next_consultation_date The date of the next consultation.
274 * @param p_description Description text.
275 * @param p_attribute_category This context value determines which flexfield
276 * structure to use with the descriptive flexfield segments.
277 * @param p_attribute1 Descriptive flexfield segment.
278 * @param p_attribute2 Descriptive flexfield segment.
279 * @param p_attribute3 Descriptive flexfield segment.
280 * @param p_attribute4 Descriptive flexfield segment.
281 * @param p_attribute5 Descriptive flexfield segment.
282 * @param p_attribute6 Descriptive flexfield segment.
283 * @param p_attribute7 Descriptive flexfield segment.
284 * @param p_attribute8 Descriptive flexfield segment.
285 * @param p_attribute9 Descriptive flexfield segment.
286 * @param p_attribute10 Descriptive flexfield segment.
287 * @param p_attribute11 Descriptive flexfield segment.
288 * @param p_attribute12 Descriptive flexfield segment.
289 * @param p_attribute13 Descriptive flexfield segment.
290 * @param p_attribute14 Descriptive flexfield segment.
291 * @param p_attribute15 Descriptive flexfield segment.
292 * @param p_attribute16 Descriptive flexfield segment.
293 * @param p_attribute17 Descriptive flexfield segment.
294 * @param p_attribute18 Descriptive flexfield segment.
295 * @param p_attribute19 Descriptive flexfield segment.
299 * @param p_attribute23 Descriptive flexfield segment.
296 * @param p_attribute20 Descriptive flexfield segment.
297 * @param p_attribute21 Descriptive flexfield segment.
298 * @param p_attribute22 Descriptive flexfield segment.
300 * @param p_attribute24 Descriptive flexfield segment.
301 * @param p_attribute25 Descriptive flexfield segment.
302 * @param p_attribute26 Descriptive flexfield segment.
303 * @param p_attribute27 Descriptive flexfield segment.
304 * @param p_attribute28 Descriptive flexfield segment.
305 * @param p_attribute29 Descriptive flexfield segment.
306 * @param p_attribute30 Descriptive flexfield segment.
307 * @param p_mea_information_category This context value determines which
308 * Flexfield Structure to use with the Developer Descriptive flexfield
309 * segments.
310 * @param p_mea_information1 Developer Descriptive flexfield segment.
311 * @param p_mea_information2 Developer Descriptive flexfield segment.
312 * @param p_mea_information3 Developer Descriptive flexfield segment.
313 * @param p_mea_information4 Developer Descriptive flexfield segment.
314 * @param p_mea_information5 Developer Descriptive flexfield segment.
315 * @param p_mea_information6 Developer Descriptive flexfield segment.
316 * @param p_mea_information7 Developer Descriptive flexfield segment.
317 * @param p_mea_information8 Developer Descriptive flexfield segment.
318 * @param p_mea_information9 Developer Descriptive flexfield segment.
319 * @param p_mea_information10 Developer Descriptive flexfield segment.
320 * @param p_mea_information11 Developer Descriptive flexfield segment.
321 * @param p_mea_information12 Developer Descriptive flexfield segment.
322 * @param p_mea_information13 Developer Descriptive flexfield segment.
323 * @param p_mea_information14 Developer Descriptive flexfield segment.
324 * @param p_mea_information15 Developer Descriptive flexfield segment.
325 * @param p_mea_information16 Developer Descriptive flexfield segment.
326 * @param p_mea_information17 Developer Descriptive flexfield segment.
327 * @param p_mea_information18 Developer Descriptive flexfield segment.
328 * @param p_mea_information19 Developer Descriptive flexfield segment.
329 * @param p_mea_information20 Developer Descriptive flexfield segment.
330 * @param p_mea_information21 Developer Descriptive flexfield segment.
331 * @param p_mea_information22 Developer Descriptive flexfield segment.
332 * @param p_mea_information23 Developer Descriptive flexfield segment.
333 * @param p_mea_information24 Developer Descriptive flexfield segment.
334 * @param p_mea_information25 Developer Descriptive flexfield segment.
335 * @param p_mea_information26 Developer Descriptive flexfield segment.
336 * @param p_mea_information27 Developer Descriptive flexfield segment.
337 * @param p_mea_information28 Developer Descriptive flexfield segment.
338 * @param p_mea_information29 Developer Descriptive flexfield segment.
339 * @param p_mea_information30 Developer Descriptive flexfield segment.
340 * @rep:displayname Update Medical Assessment
341 * @rep:category BUSINESS_ENTITY PER_MEDICAL_ASSESSMENT
342 * @rep:category MISC_EXTENSIONS HR_USER_HOOKS
343 * @rep:scope public
344 * @rep:lifecycle active
345 * @rep:ihelp PER/@scalapi APIs in Oracle HRMS
346 */
347 --
348 -- {End Of Comments}
349 --
350 PROCEDURE update_medical_assessment
351 (p_validate IN BOOLEAN DEFAULT FALSE
352 ,p_medical_assessment_id IN NUMBER
353 ,p_object_version_number IN OUT NOCOPY NUMBER
354 ,p_effective_date IN DATE
355 ,p_consultation_date IN DATE DEFAULT hr_api.g_date
356 ,p_consultation_type IN VARCHAR2 DEFAULT hr_api.g_varchar2
357 ,p_examiner_name IN VARCHAR2 DEFAULT hr_api.g_varchar2
358 ,p_organization_id IN NUMBER DEFAULT hr_api.g_number
359 ,p_consultation_result IN VARCHAR2 DEFAULT hr_api.g_varchar2
360 ,p_incident_id IN NUMBER DEFAULT hr_api.g_number
361 ,p_disability_id IN NUMBER DEFAULT hr_api.g_number
362 ,p_next_consultation_date IN DATE DEFAULT hr_api.g_date
363 ,p_description IN VARCHAR2 DEFAULT hr_api.g_varchar2
364 ,p_attribute_category IN VARCHAR2 DEFAULT hr_api.g_varchar2
365 ,p_attribute1 IN VARCHAR2 DEFAULT hr_api.g_varchar2
366 ,p_attribute2 IN VARCHAR2 DEFAULT hr_api.g_varchar2
367 ,p_attribute3 IN VARCHAR2 DEFAULT hr_api.g_varchar2
368 ,p_attribute4 IN VARCHAR2 DEFAULT hr_api.g_varchar2
369 ,p_attribute5 IN VARCHAR2 DEFAULT hr_api.g_varchar2
370 ,p_attribute6 IN VARCHAR2 DEFAULT hr_api.g_varchar2
371 ,p_attribute7 IN VARCHAR2 DEFAULT hr_api.g_varchar2
372 ,p_attribute8 IN VARCHAR2 DEFAULT hr_api.g_varchar2
373 ,p_attribute9 IN VARCHAR2 DEFAULT hr_api.g_varchar2
374 ,p_attribute10 IN VARCHAR2 DEFAULT hr_api.g_varchar2
375 ,p_attribute11 IN VARCHAR2 DEFAULT hr_api.g_varchar2
376 ,p_attribute12 IN VARCHAR2 DEFAULT hr_api.g_varchar2
377 ,p_attribute13 IN VARCHAR2 DEFAULT hr_api.g_varchar2
378 ,p_attribute14 IN VARCHAR2 DEFAULT hr_api.g_varchar2
379 ,p_attribute15 IN VARCHAR2 DEFAULT hr_api.g_varchar2
380 ,p_attribute16 IN VARCHAR2 DEFAULT hr_api.g_varchar2
381 ,p_attribute17 IN VARCHAR2 DEFAULT hr_api.g_varchar2
382 ,p_attribute18 IN VARCHAR2 DEFAULT hr_api.g_varchar2
386 ,p_attribute22 IN VARCHAR2 DEFAULT hr_api.g_varchar2
383 ,p_attribute19 IN VARCHAR2 DEFAULT hr_api.g_varchar2
384 ,p_attribute20 IN VARCHAR2 DEFAULT hr_api.g_varchar2
385 ,p_attribute21 IN VARCHAR2 DEFAULT hr_api.g_varchar2
387 ,p_attribute23 IN VARCHAR2 DEFAULT hr_api.g_varchar2
388 ,p_attribute24 IN VARCHAR2 DEFAULT hr_api.g_varchar2
389 ,p_attribute25 IN VARCHAR2 DEFAULT hr_api.g_varchar2
390 ,p_attribute26 IN VARCHAR2 DEFAULT hr_api.g_varchar2
391 ,p_attribute27 IN VARCHAR2 DEFAULT hr_api.g_varchar2
392 ,p_attribute28 IN VARCHAR2 DEFAULT hr_api.g_varchar2
393 ,p_attribute29 IN VARCHAR2 DEFAULT hr_api.g_varchar2
394 ,p_attribute30 IN VARCHAR2 DEFAULT hr_api.g_varchar2
395 ,p_mea_information_category IN VARCHAR2 DEFAULT hr_api.g_varchar2
396 ,p_mea_information1 IN VARCHAR2 DEFAULT hr_api.g_varchar2
397 ,p_mea_information2 IN VARCHAR2 DEFAULT hr_api.g_varchar2
398 ,p_mea_information3 IN VARCHAR2 DEFAULT hr_api.g_varchar2
399 ,p_mea_information4 IN VARCHAR2 DEFAULT hr_api.g_varchar2
400 ,p_mea_information5 IN VARCHAR2 DEFAULT hr_api.g_varchar2
401 ,p_mea_information6 IN VARCHAR2 DEFAULT hr_api.g_varchar2
402 ,p_mea_information7 IN VARCHAR2 DEFAULT hr_api.g_varchar2
403 ,p_mea_information8 IN VARCHAR2 DEFAULT hr_api.g_varchar2
404 ,p_mea_information9 IN VARCHAR2 DEFAULT hr_api.g_varchar2
405 ,p_mea_information10 IN VARCHAR2 DEFAULT hr_api.g_varchar2
406 ,p_mea_information11 IN VARCHAR2 DEFAULT hr_api.g_varchar2
407 ,p_mea_information12 IN VARCHAR2 DEFAULT hr_api.g_varchar2
408 ,p_mea_information13 IN VARCHAR2 DEFAULT hr_api.g_varchar2
409 ,p_mea_information14 IN VARCHAR2 DEFAULT hr_api.g_varchar2
410 ,p_mea_information15 IN VARCHAR2 DEFAULT hr_api.g_varchar2
411 ,p_mea_information16 IN VARCHAR2 DEFAULT hr_api.g_varchar2
412 ,p_mea_information17 IN VARCHAR2 DEFAULT hr_api.g_varchar2
413 ,p_mea_information18 IN VARCHAR2 DEFAULT hr_api.g_varchar2
414 ,p_mea_information19 IN VARCHAR2 DEFAULT hr_api.g_varchar2
415 ,p_mea_information20 IN VARCHAR2 DEFAULT hr_api.g_varchar2
416 ,p_mea_information21 IN VARCHAR2 DEFAULT hr_api.g_varchar2
417 ,p_mea_information22 IN VARCHAR2 DEFAULT hr_api.g_varchar2
418 ,p_mea_information23 IN VARCHAR2 DEFAULT hr_api.g_varchar2
419 ,p_mea_information24 IN VARCHAR2 DEFAULT hr_api.g_varchar2
420 ,p_mea_information25 IN VARCHAR2 DEFAULT hr_api.g_varchar2
421 ,p_mea_information26 IN VARCHAR2 DEFAULT hr_api.g_varchar2
422 ,p_mea_information27 IN VARCHAR2 DEFAULT hr_api.g_varchar2
423 ,p_mea_information28 IN VARCHAR2 DEFAULT hr_api.g_varchar2
424 ,p_mea_information29 IN VARCHAR2 DEFAULT hr_api.g_varchar2
425 ,p_mea_information30 IN VARCHAR2 DEFAULT hr_api.g_varchar2 );
426 --
427 -- ----------------------------------------------------------------------------
428 -- |------------------------< delete_medical_assessment >---------------------|
429 -- ----------------------------------------------------------------------------
430 --
431 -- {Start Of Comments}
432 /*#
433 * This API deletes a medical assessment record for a person.
434 *
435 * A medical assessment collects information about the health and well-being of
436 * a person during an examination or consultation with a specific medical
437 * practitioner on a specific date. Typically they are carried out to assess
438 * the extent of an injury, disease or physical disability. One or more medical
439 * assessment can arise as a result of a work incident the person has suffered
440 * or a disability that they have.
441 *
442 * <p><b>Licensing</b><br>
443 * This API is licensed for use with Human Resources.
444 *
445 * <p><b>Prerequisites</b><br>
446 * The medical assessment to be deleted must exist.
447 *
448 * <p><b>Post Success</b><br>
449 * The medical assessment is deleted.
450 *
451 * <p><b>Post Failure</b><br>
452 * The medical assessment is not deleted and an error is raised.
453 * @param p_validate If true, then validation alone will be performed and the
454 * database will remain unchanged. If false and all validation checks pass,
455 * then the database will be modified.
456 * @param p_medical_assessment_id Uniquely identifies the medical assessment to
457 * be deleted.
458 * @param p_object_version_number Current version number of the medical
459 * assessment to be deleted.
460 * @rep:displayname Delete Medical Assessment
461 * @rep:category BUSINESS_ENTITY PER_MEDICAL_ASSESSMENT
462 * @rep:category MISC_EXTENSIONS HR_USER_HOOKS
463 * @rep:scope public
464 * @rep:lifecycle active
465 * @rep:ihelp PER/@scalapi APIs in Oracle HRMS
466 */
467 --
468 -- {End Of Comments}
469 --
470 PROCEDURE delete_medical_assessment
471 (p_validate IN BOOLEAN DEFAULT FALSE
472 ,p_medical_assessment_id IN NUMBER
473 ,p_object_version_number IN NUMBER
474 );
475 --
476 END per_medical_assessment_api;