Class FhirAuditStrategy<AuditDatasetType extends FhirAuditDataset>
java.lang.Object
org.openehealth.ipf.commons.ihe.core.atna.AuditStrategySupport<AuditDatasetType>
org.openehealth.ipf.commons.ihe.fhir.audit.AbstractFhirAuditStrategy<AuditDatasetType, IBaseOperationOutcome>
org.openehealth.ipf.commons.ihe.fhir.audit.FhirAuditStrategy<AuditDatasetType>
- All Implemented Interfaces:
AuditStrategy<AuditDatasetType>
- Direct Known Subclasses:
ChPpq3AuditStrategy, ChPpq4AuditStrategy, FhirQueryAuditStrategy, GenericFhirAuditStrategy, Iti104AuditStrategy, Iti105AuditStrategy, Iti65AuditStrategy, Iti81AuditStrategy, Pharm5AuditStrategy
public abstract class FhirAuditStrategy<AuditDatasetType extends FhirAuditDataset>
extends AbstractFhirAuditStrategy<AuditDatasetType, IBaseOperationOutcome>
- Author:
- Christian Ohr
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetEventOutcomeCodeFromOperationOutcome(FhirContext fhirContext, IBaseOperationOutcome response) Operation Outcomes are sets of error, warning and information messages that provide detailed information about the outcome of some attempted system operation.getEventOutcomeDescriptionFromOperationOutcome(FhirContext fhirContext, IBaseOperationOutcome response) Methods inherited from class AbstractFhirAuditStrategy
doAudit, enrichAuditDatasetFromRequest, enrichAuditDatasetFromResponse, getEventOutcomeCodeFromResource, getEventOutcomeDescription, getEventOutcomeIndicatorMethods inherited from class AuditStrategySupport
isAuditableResponse, isServerSide, makeAuditMessageMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface AuditStrategy
createAuditDataset, enrichAuditDatasetFromResponse
-
Constructor Details
-
FhirAuditStrategy
public FhirAuditStrategy(boolean serverSide)
-
-
Method Details
-
getEventOutcomeCodeFromOperationOutcome
public EventOutcomeIndicator getEventOutcomeCodeFromOperationOutcome(FhirContext fhirContext, IBaseOperationOutcome response) Description copied from class:AbstractFhirAuditStrategyOperation Outcomes are sets of error, warning and information messages that provide detailed information about the outcome of some attempted system operation. They are provided as a direct system response, or component of one, where they provide information about the outcome of the operation.- Specified by:
getEventOutcomeCodeFromOperationOutcomein classAbstractFhirAuditStrategy<AuditDatasetType extends FhirAuditDataset, IBaseOperationOutcome>- Parameters:
response-IBaseOperationOutcometo be analyzed- Returns:
- ATNA outcome code
-
getEventOutcomeDescriptionFromOperationOutcome
public String getEventOutcomeDescriptionFromOperationOutcome(FhirContext fhirContext, IBaseOperationOutcome response) - Specified by:
getEventOutcomeDescriptionFromOperationOutcomein classAbstractFhirAuditStrategy<AuditDatasetType extends FhirAuditDataset, IBaseOperationOutcome>
-