public abstract class Hl7v3AuditStrategy extends AuditStrategySupport<Hl7v3AuditDataset> implements groovy.lang.GroovyObject
Constructor and Description |
---|
Hl7v3AuditStrategy(boolean serverSide) |
Modifier and Type | Method and Description |
---|---|
static void |
addPatientIds(groovy.util.slurpersupport.GPathResult source,
Set<String> target) |
Hl7v3AuditDataset |
createAuditDataset()
Creates a new audit dataset instance.
|
boolean |
enrichAuditDatasetFromResponse(Hl7v3AuditDataset auditDataset,
Object response,
AuditContext auditContext)
Enriches the given audit dataset with transaction-specific
contents of the response message.
|
String |
getEventOutcomeDescription(Object gpath)
Determines which event outcome description corresponds with the provided response POJO
|
EventOutcomeIndicator |
getEventOutcomeIndicator(Object gpath)
Determines which event outcome corresponds with the provided response POJO
|
groovy.lang.MetaClass |
getMetaClass() |
Object |
getProperty(String property) |
Object |
invokeMethod(String method,
Object arguments) |
void |
setMetaClass(groovy.lang.MetaClass mc) |
void |
setProperty(String property,
Object value) |
static groovy.util.slurpersupport.GPathResult |
slurp(Object message) |
doAudit, enrichAuditDatasetFromRequest, isAuditableResponse, isServerSide, makeAuditMessage
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
enrichAuditDatasetFromResponse
public groovy.lang.MetaClass getMetaClass()
getMetaClass
in interface groovy.lang.GroovyObject
public void setMetaClass(groovy.lang.MetaClass mc)
setMetaClass
in interface groovy.lang.GroovyObject
public Object invokeMethod(String method, Object arguments)
invokeMethod
in interface groovy.lang.GroovyObject
public Object getProperty(String property)
getProperty
in interface groovy.lang.GroovyObject
public void setProperty(String property, Object value)
setProperty
in interface groovy.lang.GroovyObject
public Hl7v3AuditDataset createAuditDataset()
AuditStrategy
createAuditDataset
in interface AuditStrategy<Hl7v3AuditDataset>
public EventOutcomeIndicator getEventOutcomeIndicator(Object gpath)
AuditStrategy
getEventOutcomeIndicator
in interface AuditStrategy<Hl7v3AuditDataset>
getEventOutcomeIndicator
in class AuditStrategySupport<Hl7v3AuditDataset>
gpath
- POJOpublic String getEventOutcomeDescription(Object gpath)
AuditStrategy
getEventOutcomeDescription
in interface AuditStrategy<Hl7v3AuditDataset>
getEventOutcomeDescription
in class AuditStrategySupport<Hl7v3AuditDataset>
gpath
- POJOpublic boolean enrichAuditDatasetFromResponse(Hl7v3AuditDataset auditDataset, Object response, AuditContext auditContext)
AuditStrategy
enrichAuditDatasetFromResponse
in interface AuditStrategy<Hl7v3AuditDataset>
enrichAuditDatasetFromResponse
in class AuditStrategySupport<Hl7v3AuditDataset>
auditDataset
- audit dataset to be enriched.response
- Object
representing the responded resource.auditContext
- audit context, if relevantpublic static void addPatientIds(groovy.util.slurpersupport.GPathResult source, Set<String> target)
public static groovy.util.slurpersupport.GPathResult slurp(Object message)
Copyright © 2018 Open eHealth Foundation. All rights reserved.