Package | Description |
---|---|
org.emau.icmvc.ganimed.ttp.cm2 |
Modifier and Type | Method and Description |
---|---|
void |
GICSService.addConsent(ConsentDTO consentDTO)
stores the given consent
the policies within the modulDTOs are ignored and therefore doesn't need to be set |
void |
GICSService.addConsentTemplate(ConsentTemplateDTO consentTemplateDTO,
boolean finaliseRelatedEntities)
stores the given consent template
the policies within the modulDTOs are ignored and therefore doesn't need to be set |
void |
GICSService.addDomain(DomainDTO domainDTO)
creates a new domain
|
void |
GICSService.addModule(ModuleDTO moduleDTO,
boolean finaliseRelatedEntities)
stores the given module
|
void |
GICSService.addPolicy(PolicyDTO policyDTO)
stores the given policy
|
void |
GICSService.addScanToConsent(ConsentKeyDTO consentKeyDTO,
java.lang.String scanBase64,
java.lang.String fileType)
Deprecated.
since 2.5.0 - use
GICSService.updateConsent instead |
void |
GICSService.addSignerIdToConsent(ConsentKeyDTO consentKeyDTO,
SignerIdDTO signerIdDTO)
adds the given signerId to the given consent
|
void |
GICSService.deleteConsentTemplate(ConsentTemplateKeyDTO keyDTO)
deletes the given consent template (only if it's not in use, i.e. there's no consent
belonging to that consent template)
|
void |
GICSService.deleteModule(ModuleKeyDTO keyDTO)
deletes the given module (only if it's not in use, i.e. there's no consent template linked to
that module)
|
void |
GICSService.deletePolicy(PolicyKeyDTO keyDTO)
deletes the given policy (only if it's not in use, i.e. there's no module linked to that
policy)
|
java.util.List<java.lang.String> |
GICSService.getAllConsentedIdsFor(java.lang.String signerIdTypeName,
PolicyKeyDTO policyKeyDTO,
CheckConsentConfig config)
list all consented ids for the given policy and signerIdType
|
java.util.List<ConsentLightDTO> |
GICSService.getAllConsentsForConsentTemplate(ConsentTemplateKeyDTO ctKeyDTO)
lists all consents for the given consent template
|
java.util.List<ConsentLightDTO> |
GICSService.getAllConsentsForDomain(java.lang.String domainName)
lists all consents for the given domain
|
java.util.List<ConsentLightDTO> |
GICSService.getAllConsentsForDomainWithoutScan(java.lang.String domainName)
lists all consents for the given domain which doesn't have a scan attached
|
java.util.List<ConsentLightDTO> |
GICSService.getAllConsentsForPerson(java.lang.String domainName,
java.util.Set<SignerIdDTO> signerIdDTOs)
lists all consents for the person with the given id
|
ConsentDTO |
GICSService.getConsent(ConsentKeyDTO keyDTO)
get the complete dto for the given key - thought to be used in addition to the list functions
|
java.util.List<ConsentLightDTO> |
GICSService.getConsentsByOID(java.lang.String domainName,
java.util.List<StringPair> keyValueList,
java.lang.String operator)
Returns all consents containing the given question oids and answer oids.
|
java.util.List<ConsentLightDTO> |
GICSService.getConsentsForDomainPaginated(java.lang.String domainName,
PaginationConfig config)
lists all consents for the given domain paginated
|
ConsentStatusType |
GICSService.getConsentStatusType(java.util.Set<SignerIdDTO> signerIdDTOs,
PolicyKeyDTO policyKeyDTO,
CheckConsentConfig config)
checks whether there's a signed consent for the given patient and policy in the given
specific version
|
ConsentStatusType |
GICSService.getConsentStatusTypeFromExcludingToExcluding(java.util.Set<SignerIdDTO> signerIdDTOs,
java.lang.String domainName,
java.lang.String policyName,
java.lang.String versionFrom,
java.lang.String versionTo,
CheckConsentConfig config)
checks whether there's a signed consent for the given patient and policy in the given version
range: from < version < to
ignores the config parameter "ignoreVersionNumber" |
ConsentStatusType |
GICSService.getConsentStatusTypeFromExcludingToIncluding(java.util.Set<SignerIdDTO> signerIdDTOs,
java.lang.String domainName,
java.lang.String policyName,
java.lang.String versionFrom,
java.lang.String versionTo,
CheckConsentConfig config)
checks whether there's a signed consent for the given patient and policy in the given version
range: from < version <= to
ignores the config parameter "ignoreVersionNumber" |
ConsentStatusType |
GICSService.getConsentStatusTypeFromIncludingToExcluding(java.util.Set<SignerIdDTO> signerIdDTOs,
java.lang.String domainName,
java.lang.String policyName,
java.lang.String versionFrom,
java.lang.String versionTo,
CheckConsentConfig config)
checks whether there's a signed consent for the given patient and policy in the given version
range: from <= version < to
ignores the config parameter "ignoreVersionNumber" |
ConsentStatusType |
GICSService.getConsentStatusTypeFromIncludingToIncluding(java.util.Set<SignerIdDTO> signerIdDTOs,
java.lang.String domainName,
java.lang.String policyName,
java.lang.String versionFrom,
java.lang.String versionTo,
CheckConsentConfig config)
checks whether there's a signed consent for the given patient and policy in the given version
range: from <= version <= to
ignores the config parameter "ignoreVersionNumber" |
ConsentTemplateDTO |
GICSService.getConsentTemplate(ConsentTemplateKeyDTO keyDTO)
returns all attributes of the requested consent template
|
ConsentDTO |
GICSService.getCurrentConsentForPersonAndCT(ConsentTemplateKeyDTO ctKeyDTO,
java.util.Set<SignerIdDTO> signerIdDTOs,
boolean ignoreVersionNumber)
returns the current consent for the given signerIds
current means: the consent with the highest versionNumber of the associated ConsentTemplate; if there are more then one, the newest (ConsentDate) of them if "ignoreVersionNumber" is true, then the newest of all consents belonging to the signerIds, regardless of the VersionNumber of the associated ConsentTemplate |
ConsentTemplateDTO |
GICSService.getCurrentConsentTemplate(java.lang.String consentTemplateName,
java.lang.String domainName)
returns all attributes of the current (highest version) consent template with the given name
|
ConsentExpirationValuesDTO |
GICSService.getExpirationDates(ConsentKeyDTO consentKeyDTO)
returns the expiration dates for all policies for the given consent
|
ModuleDTO |
GICSService.getModule(ModuleKeyDTO keyDTO)
returns all attributes of the requested module
|
PolicyDTO |
GICSService.getPolicy(PolicyKeyDTO keyDTO)
returns all attributes of the requested policy
|
java.util.List<SignedPolicyDTO> |
GICSService.getPolicyStatesForPolicyAndSigner(PolicyKeyDTO policyKeyDTO,
java.util.Set<SignerIdDTO> signerIdDTOs)
returns all signed policies for the given policy which are signed by the person with the
given id
|
java.util.List<SignedPolicyDTO> |
GICSService.getPolicyStatesForPolicyNameAndSigner(java.lang.String domainName,
java.lang.String policyName,
java.util.Set<SignerIdDTO> signerIdDTOs)
returns all signed policies for the given policy name (thus ignoring the version number of
the policy) which are signed by the person with the given id
|
java.util.List<SignedPolicyDTO> |
GICSService.getPolicyStatesForSigner(java.lang.String domainName,
java.util.Set<SignerIdDTO> signerIdDTOs)
returns all signed policies which are signed by the person with the given id
|
java.util.List<QCHistoryDTO> |
GICSService.getQCHistoryForConsent(ConsentKeyDTO consentKeyDTO)
returns a list with all qc entries for the given consent
|
java.util.List<SignerIdDTO> |
GICSService.getSignerByOID(java.lang.String domainName,
java.util.List<StringPair> keyValueList,
java.lang.String operator)
Returns all consents containing the given question oids and answer oids.
|
boolean |
GICSService.isConsented(java.util.Set<SignerIdDTO> signerIdDTOs,
PolicyKeyDTO policyKeyDTO,
CheckConsentConfig config)
checks whether there's a signed consent for the given patient and policy in the given
specific version
|
boolean |
GICSService.isConsentedFromExcludingToExcluding(java.util.Set<SignerIdDTO> signerIdDTOs,
java.lang.String domainName,
java.lang.String policyName,
java.lang.String versionFrom,
java.lang.String versionTo,
CheckConsentConfig config)
checks whether there's a signed consent for the given patient and policy in the given version
range: from < version < to
ignores the config parameter "ignoreVersionNumber" |
boolean |
GICSService.isConsentedFromExcludingToIncluding(java.util.Set<SignerIdDTO> signerIdDTOs,
java.lang.String domainName,
java.lang.String policyName,
java.lang.String versionFrom,
java.lang.String versionTo,
CheckConsentConfig config)
checks whether there's a signed consent for the given patient and policy in the given version
range: from < version <= to
ignores the config parameter "ignoreVersionNumber" |
boolean |
GICSService.isConsentedFromIncludingToExcluding(java.util.Set<SignerIdDTO> signerIdDTOs,
java.lang.String domainName,
java.lang.String policyName,
java.lang.String versionFrom,
java.lang.String versionTo,
CheckConsentConfig config)
checks whether there's a signed consent for the given patient and policy in the given version
range: from <= version < to
ignores the config parameter "ignoreVersionNumber" |
boolean |
GICSService.isConsentedFromIncludingToIncluding(java.util.Set<SignerIdDTO> signerIdDTOs,
java.lang.String domainName,
java.lang.String policyName,
java.lang.String versionFrom,
java.lang.String versionTo,
CheckConsentConfig config)
checks whether there's a signed consent for the given patient and policy in the given version
range: from <= version <= to
ignores the config parameter "ignoreVersionNumber" |
java.util.List<ConsentTemplateDTO> |
GICSService.listConsentTemplates(java.lang.String domainName,
boolean onlyFinal)
lists all consent templates of the given domain
|
java.util.List<ConsentTemplateDTO> |
GICSService.listCurrentConsentTemplates(java.lang.String domainName)
lists the most recent version of all consent templates of the given domain
|
java.util.List<ModuleDTO> |
GICSService.listModules(java.lang.String domainName,
boolean onlyFinal)
lists all modules of the given domain
|
java.util.List<PolicyDTO> |
GICSService.listPolicies(java.lang.String domainName,
boolean onlyFinal)
lists all policies of the given domain
|
void |
GICSService.refuseConsent(ConsentTemplateKeyDTO ctKeyDTO,
java.util.Set<SignerIdDTO> signerIdDTOs)
stores a "refused" consent - the consent is not declined, the participant didn't want to fill
a consent
the date of the refused consent is set to the current date |
void |
GICSService.setQCForConsent(ConsentKeyDTO consentKeyDTO,
QCDTO qc)
updates the qc for the given consent
|
void |
GICSService.updateConsentInUse(ConsentKeyDTO consentKeyDTO,
java.lang.String externProperties,
java.lang.String comment,
java.lang.String scanBase64,
java.lang.String scanFileType)
updates the given consent
|
void |
GICSService.updateModuleInUse(ModuleKeyDTO moduleKeyDTO,
java.lang.String label,
java.lang.String shortText,
java.lang.String externProperties,
java.lang.String comment)
updates the given module with the given values
|
void |
GICSService.validateConsent(ConsentDTO consentDTO,
boolean allowRevoke)
validates the given consentDTO
checks the given domain, consent template and assures, that the given modules are part of the consent template all mandatory modules need to be either accepted or declined when there's at least one declined mandatory module, no module may be accepted no child module may be accepted if its parent is not when there's at least one accepted module, the two signatures have to be provided |