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
,Iti105AuditStrategy
,Iti65AuditStrategy
,Iti81AuditStrategy
,Pharm5AuditStrategy
public abstract class FhirAuditStrategy<T extends FhirAuditDataset>
extends AbstractFhirAuditStrategy<T,IBaseOperationOutcome>
- Author:
- Christian Ohr
-
Constructor Summary
-
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 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, getEventOutcomeDescription, getEventOutcomeIndicator, 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 Details
-
FhirAuditStrategy
public FhirAuditStrategy(boolean serverSide)
-
-
Method Details
-
getEventOutcomeCodeFromOperationOutcome
public EventOutcomeIndicator getEventOutcomeCodeFromOperationOutcome(FhirContext fhirContext, 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> response
-IBaseOperationOutcome
to be analyzed- Returns:
- ATNA outcome code
-
getEventOutcomeDescriptionFromOperationOutcome
public String getEventOutcomeDescriptionFromOperationOutcome(FhirContext fhirContext, IBaseOperationOutcome response) - Specified by:
getEventOutcomeDescriptionFromOperationOutcome
in classAbstractFhirAuditStrategy<T extends FhirAuditDataset,
IBaseOperationOutcome>
-