Package ca.uhn.fhir.jpa.term.api
Interface ITermCodeSystemDeleteJobSvc
public interface ITermCodeSystemDeleteJobSvc
-
Method Summary
Modifier and TypeMethodDescriptionvoid
deleteCodeSystem
(long thePid) Deletes a code system.deleteCodeSystemConceptsByCodeSystemVersionPid
(long theVersionPid) Deletes all metadata associated with a code system version Specific metadata deleted: * concept links * concept properties * concept designations * conceptsvoid
deleteCodeSystemVersion
(long theVersionPid) Deletes a Code System Version NB: it is expected that any concepts related to the Code System Version are deleted first.getAllCodeSystemVersionForCodeSystemPid
(long thePid) Gets an iterator for all code system version PIDsvoid
notifyJobComplete
(String theJobId) Notifies that the job has completed (or errored out).
-
Method Details
-
getAllCodeSystemVersionForCodeSystemPid
Gets an iterator for all code system version PIDs- Parameters:
thePid
-- Returns:
-
deleteCodeSystemConceptsByCodeSystemVersionPid
Deletes all metadata associated with a code system version Specific metadata deleted: * concept links * concept properties * concept designations * concepts- Parameters:
theVersionPid
- - the version id of the code system to delete- Returns:
- - a wrapper for the delete results of each of the deletes (if desired)
-
deleteCodeSystemVersion
Deletes a Code System Version NB: it is expected that any concepts related to the Code System Version are deleted first.- Parameters:
theVersionPid
- - the code system version pid for the version to delete
-
deleteCodeSystem
Deletes a code system. NB: it is expected that all code system versions are deleted first.- Parameters:
thePid
- - the code system pid
-
notifyJobComplete
Notifies that the job has completed (or errored out).- Parameters:
theJobId
- - the job id
-