Class FhirAuditStrategy<T extends FhirAuditDataset>
- 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<T>
-
- All Implemented Interfaces:
AuditStrategy<T>
- Direct Known Subclasses:
FhirQueryAuditStrategy
,GenericFhirAuditStrategy
,Iti65AuditStrategy
public abstract class FhirAuditStrategy<T extends FhirAuditDataset> extends AbstractFhirAuditStrategy<T,IBaseOperationOutcome>
- Author:
- Christian Ohr
-
-
Constructor Summary
Constructors Constructor Description FhirAuditStrategy(boolean serverSide, IBaseOperationOutcomeOperations operations)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EventOutcomeIndicator
getEventOutcomeCodeFromOperationOutcome(IBaseOperationOutcome response)
Operation Outcomes are sets of error, warning and information messages that provide detailed information about the outcome of some attempted system operation.String
getEventOutcomeDescriptionFromOperationOutcome(IBaseOperationOutcome response)
-
Methods inherited from class org.openehealth.ipf.commons.ihe.fhir.audit.AbstractFhirAuditStrategy
enrichAuditDatasetFromRequest, enrichAuditDatasetFromResponse, getEventOutcomeCodeFromResource, getEventOutcomeDescription, getEventOutcomeIndicator
-
Methods inherited from class org.openehealth.ipf.commons.ihe.core.atna.AuditStrategySupport
doAudit, isAuditableResponse, isServerSide, makeAuditMessage
-
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
createAuditDataset, enrichAuditDatasetFromResponse
-
-
-
-
Constructor Detail
-
FhirAuditStrategy
public FhirAuditStrategy(boolean serverSide, IBaseOperationOutcomeOperations operations)
-
-
Method Detail
-
getEventOutcomeCodeFromOperationOutcome
public EventOutcomeIndicator getEventOutcomeCodeFromOperationOutcome(IBaseOperationOutcome response)
Description copied from class:AbstractFhirAuditStrategy
Operation 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:
getEventOutcomeCodeFromOperationOutcome
in classAbstractFhirAuditStrategy<T extends FhirAuditDataset,IBaseOperationOutcome>
- Parameters:
response
-IBaseOperationOutcome
to be analyzed- Returns:
- ATNA outcome code
-
getEventOutcomeDescriptionFromOperationOutcome
public String getEventOutcomeDescriptionFromOperationOutcome(IBaseOperationOutcome response)
- Specified by:
getEventOutcomeDescriptionFromOperationOutcome
in classAbstractFhirAuditStrategy<T extends FhirAuditDataset,IBaseOperationOutcome>
-
-