public class Iti83AuditStrategy extends FhirQueryAuditStrategy
Constructor and Description |
---|
Iti83AuditStrategy(boolean serverSide) |
Modifier and Type | Method and Description |
---|---|
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).
|
boolean |
enrichAuditDatasetFromResponse(FhirQueryAuditDataset auditDataset,
Object response,
AuditContext auditContext)
Enriches the given audit dataset with transaction-specific
contents of the response message.
|
AuditMessage[] |
makeAuditMessage(AuditContext auditContext,
FhirQueryAuditDataset auditDataset)
Constructs an
AuditMessage from a provided AuditDataset |
createAuditDataset
getEventOutcomeCodeFromOperationOutcome, getEventOutcomeDescriptionFromOperationOutcome
getEventOutcomeCodeFromResource, getEventOutcomeDescription, getEventOutcomeIndicator
doAudit, isAuditableResponse, isServerSide
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
enrichAuditDatasetFromResponse
public AuditMessage[] makeAuditMessage(AuditContext auditContext, FhirQueryAuditDataset auditDataset)
AuditStrategySupport
AuditMessage
from a provided AuditDataset
makeAuditMessage
in class AuditStrategySupport<FhirQueryAuditDataset>
auditContext
- audit contextauditDataset
- audit datasetpublic FhirQueryAuditDataset enrichAuditDatasetFromRequest(FhirQueryAuditDataset auditDataset, Object request, Map<String,Object> parameters)
FhirQueryAuditStrategy
enrichAuditDatasetFromRequest
in interface AuditStrategy<FhirQueryAuditDataset>
enrichAuditDatasetFromRequest
in class FhirQueryAuditStrategy
auditDataset
- audit datasetrequest
- request objectparameters
- request parameterspublic boolean enrichAuditDatasetFromResponse(FhirQueryAuditDataset auditDataset, Object response, AuditContext auditContext)
AuditStrategy
enrichAuditDatasetFromResponse
in interface AuditStrategy<FhirQueryAuditDataset>
enrichAuditDatasetFromResponse
in class AbstractFhirAuditStrategy<FhirQueryAuditDataset,org.hl7.fhir.dstu3.model.OperationOutcome>
auditDataset
- audit dataset to be enriched.response
- Object
representing the responded resource.auditContext
- audit context, if relevantCopyright © 2018 Open eHealth Foundation. All rights reserved.