Package | Description |
---|---|
org.emau.icmvc.ganimed.ttp.cm2 |
Modifier and Type | Method and Description |
---|---|
void |
GICSService.addAlias(java.lang.String domainName,
SignerIdDTO originalSignerId,
SignerIdDTO aliasSignerId)
creates an alias between two existing signer ids; used for merges
|
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.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.addSignerIdToSignerId(java.lang.String domainName,
SignerIdDTO existentSignerIdDTO,
SignerIdDTO newSignerIdDTO)
adds newSignerId (e.g. case number) to one or more virtual persons (which are using the given
existentSignerId (e.g. pseudonym))
|
void |
GICSService.deactivateAlias(java.lang.String domainName,
SignerIdDTO originalSignerId,
SignerIdDTO aliasSignerId)
deactivates the given alias
|
void |
GICSService.deleteSignerIdType(java.lang.String domainName,
java.lang.String signerIdTypeName)
removes the given signer id type from the given domain
|
java.util.List<SignerIdDTO> |
GICSService.getAliasesForSignerId(java.lang.String domainName,
SignerIdDTO originalSignerId)
returns a list with all signer ids which are connected via an alias to the given signer id
|
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.getAllConsentsForPerson(java.lang.String domainName,
java.util.Set<SignerIdDTO> signerIdDTOs)
lists all consents for the person with the given id
|
java.util.List<java.lang.String> |
GICSService.getAllIdsForSignerIdType(java.lang.String domainName,
java.lang.String signerIdTypeName)
returns all id for the given signer id type and domain
|
ConsentDTO |
GICSService.getConsent(ConsentKeyDTO keyDTO)
get the complete dto for the given key - thought to be used in addition to the list functions
|
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" |
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 |
ConsentExpirationValuesDTO |
GICSService.getExpirationDates(ConsentKeyDTO consentKeyDTO)
returns the expiration dates for all policies for the given consent
|
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
|
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" |
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
|