Class GenericFhirAuditMessageBuilder
java.lang.Object
org.openehealth.ipf.commons.audit.event.DelegatingAuditMessageBuilder<T,D>
org.openehealth.ipf.commons.ihe.core.atna.event.IHEAuditMessageBuilder<GenericFhirAuditMessageBuilder,CustomAuditMessageBuilder>
org.openehealth.ipf.commons.ihe.fhir.audit.events.GenericFhirAuditMessageBuilder
- All Implemented Interfaces:
AuditMessageBuilder<GenericFhirAuditMessageBuilder>
,Validateable
public class GenericFhirAuditMessageBuilder
extends IHEAuditMessageBuilder<GenericFhirAuditMessageBuilder,CustomAuditMessageBuilder>
Builder for audit events related to generic FHIR transactions, using the resource type
and operation type for the participants. The audit messages follow the pattern shared
with audit messages of IHE transactions. Some exceptions:
- the Event ID is always EV("rest", "http://hl7.org/fhir/audit-event-type", "RESTful Operation") (as described in https://www.hl7.org/fhir/valueset-audit-event-type.html)
- and the Event Action corresponds with the FHIR operation (see https://www.hl7.org/fhir/valueset-audit-event-action.html)
- the query/resource participant object's ParticipantObjectIdType is the resource type
- Since:
- 3.5
- Author:
- Christian Ohr
-
Field Summary
Fields inherited from class org.openehealth.ipf.commons.ihe.core.atna.event.IHEAuditMessageBuilder
DOCUMENT_UNIQUE_ID, IHE_HOME_COMMUNITY_ID, QUERY_ENCODING, REPOSITORY_UNIQUE_ID, SERIES_INSTANCE_UNIQUE_ID, STUDY_INSTANCE_UNIQUE_ID, URN_IHE_ITI_XCA_2010_HOME_COMMUNITY_ID
Fields inherited from class org.openehealth.ipf.commons.audit.event.DelegatingAuditMessageBuilder
delegate
-
Constructor Summary
ConstructorDescriptionGenericFhirAuditMessageBuilder
(AuditContext auditContext, GenericFhirAuditDataset auditDataset) -
Method Summary
Modifier and TypeMethodDescriptionaddJwtParticipants
(GenericFhirAuditDataset auditDataset) addPatients
(GenericFhirAuditDataset auditDataset) addQueryParticipantObject
(GenericFhirAuditDataset auditDataset) addResourceParticipantObject
(GenericFhirAuditDataset auditDataset) Methods inherited from class org.openehealth.ipf.commons.ihe.core.atna.event.IHEAuditMessageBuilder
addHumanRequestor, addSecurityResourceParticipantObject, addSecurityResourceParticipantObjects, dicomDetails, documentDetails, getAuditContext, setLocalParticipant, setRemoteParticipant
Methods inherited from class org.openehealth.ipf.commons.audit.event.DelegatingAuditMessageBuilder
getMessage, validate
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.audit.event.AuditMessageBuilder
getMessages, getTypeValuePair, getTypeValuePair, getTypeValuePair, getTypeValuePair, self
-
Constructor Details
-
GenericFhirAuditMessageBuilder
public GenericFhirAuditMessageBuilder(AuditContext auditContext, GenericFhirAuditDataset auditDataset)
-
-
Method Details
-
addPatients
-
addQueryParticipantObject
public GenericFhirAuditMessageBuilder addQueryParticipantObject(GenericFhirAuditDataset auditDataset) - Parameters:
auditDataset
- Audit Dataset- Returns:
- this
-
addResourceParticipantObject
public GenericFhirAuditMessageBuilder addResourceParticipantObject(GenericFhirAuditDataset auditDataset) - Parameters:
auditDataset
- Audit Dataset- Returns:
- this
-
addJwtParticipants
-