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 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,
java.lang.String fileName)
add the given scan to the given consent
|
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.getAllConsentsForSignerIds(java.lang.String domainName,
java.util.Set<SignerIdDTO> signerIdDTOs,
boolean useAliases)
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
|
ConsentDateValuesDTO |
GICSService.getConsentDates(ConsentKeyDTO consentKeyDTO)
returns the important dates for the given consent
|
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.getCurrentConsentForSignerIdsAndCT(ConsentTemplateKeyDTO ctKeyDTO,
java.util.Set<SignerIdDTO> signerIdDTOs,
boolean ignoreVersionNumber,
boolean useAliases)
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 |
java.util.List<SignedPolicyDTO> |
GICSService.getPolicyStatesForPolicyAndSignerIds(PolicyKeyDTO policyKeyDTO,
java.util.Set<SignerIdDTO> signerIdDTOs,
boolean useAliases)
returns all signed policies for the given policy which are signed by any person with at least
one of the given ids
|
java.util.List<SignedPolicyDTO> |
GICSService.getPolicyStatesForPolicyNameAndSignerIds(java.lang.String domainName,
java.lang.String policyName,
java.util.Set<SignerIdDTO> signerIdDTOs,
boolean useAliases)
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.getPolicyStatesForSignerIds(java.lang.String domainName,
java.util.Set<SignerIdDTO> signerIdDTOs,
boolean useAliases)
returns all signed policies which are signed by any person with at least one of the given ids
|
java.util.List<QCHistoryDTO> |
GICSService.getQCHistoryForConsent(ConsentKeyDTO consentKeyDTO)
returns a list with all qc entries for the given consent
|
SignerIdTypeDTO |
GICSService.getSignerIdType(java.lang.String domainName,
java.lang.String signerIdTypeName)
returns all information for the given signerIdType
|
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.removeScanFromConsent(ConsentKeyDTO consentKeyDTO,
java.lang.String fhirId)
Remove a scan from the given consent
|
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,
ConsentScanDTO scan)
updates the given consent
|
void |
GICSService.updateSignerIdType(java.lang.String domainName,
java.lang.String signerIdTypeName,
java.lang.String label,
java.lang.String comment)
updates the given signerIdType with the given values
|