Class Pharm5AuditStrategy
java.lang.Object
org.openehealth.ipf.commons.ihe.core.atna.AuditStrategySupport<T>
org.openehealth.ipf.commons.ihe.fhir.audit.AbstractFhirAuditStrategy<T,IBaseOperationOutcome>
org.openehealth.ipf.commons.ihe.fhir.audit.FhirAuditStrategy<FhirQueryAuditDataset>
org.openehealth.ipf.commons.ihe.fhir.pharm5.Pharm5AuditStrategy
- All Implemented Interfaces:
AuditStrategy<FhirQueryAuditDataset>
Generic Audit Strategy for CMPD PHARM-5 query transactions.
- Since:
- 4.3
- Author:
- Quentin Ligier
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionCreates a new audit dataset instance.enrichAuditDatasetFromRequest
(FhirQueryAuditDataset auditDataset, Object request, Map<String, Object> parameters) Further enrich the audit dataset: add query string and patient IDs in the search parameter (if available).makeAuditMessage
(AuditContext auditContext, FhirQueryAuditDataset auditDataset) Constructs anAuditMessage
from a providedAuditDataset
Methods inherited from class org.openehealth.ipf.commons.ihe.fhir.audit.FhirAuditStrategy
getEventOutcomeCodeFromOperationOutcome, getEventOutcomeDescriptionFromOperationOutcome
Methods inherited from class org.openehealth.ipf.commons.ihe.fhir.audit.AbstractFhirAuditStrategy
enrichAuditDatasetFromResponse, getEventOutcomeCodeFromResource, getEventOutcomeDescription, getEventOutcomeIndicator
Methods inherited from class org.openehealth.ipf.commons.ihe.core.atna.AuditStrategySupport
doAudit, getEventOutcomeDescription, getEventOutcomeIndicator, isAuditableResponse, isServerSide
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.openehealth.ipf.commons.ihe.core.atna.AuditStrategy
enrichAuditDatasetFromResponse
-
Constructor Details
-
Pharm5AuditStrategy
public Pharm5AuditStrategy(boolean serverSide)
-
-
Method Details
-
makeAuditMessage
public AuditMessage[] makeAuditMessage(AuditContext auditContext, FhirQueryAuditDataset auditDataset) Description copied from class:AuditStrategySupport
Constructs anAuditMessage
from a providedAuditDataset
- Specified by:
makeAuditMessage
in classAuditStrategySupport<FhirQueryAuditDataset>
- Parameters:
auditContext
- audit contextauditDataset
- audit dataset- Returns:
- audit message
-
enrichAuditDatasetFromRequest
public FhirQueryAuditDataset enrichAuditDatasetFromRequest(FhirQueryAuditDataset auditDataset, Object request, Map<String, Object> parameters) Further enrich the audit dataset: add query string and patient IDs in the search parameter (if available).- Specified by:
enrichAuditDatasetFromRequest
in interfaceAuditStrategy<FhirQueryAuditDataset>
- Overrides:
enrichAuditDatasetFromRequest
in classAbstractFhirAuditStrategy<FhirQueryAuditDataset,
IBaseOperationOutcome> - Parameters:
auditDataset
- audit datasetrequest
- request objectparameters
- request parameters- Returns:
- enriched audit dataset
-
createAuditDataset
Description copied from interface:AuditStrategy
Creates a new audit dataset instance.
-