public class EventIdentificationType extends Object implements Serializable, Validateable
Constructor and Description |
---|
EventIdentificationType(EventId eventID,
Instant eventDateTime,
EventOutcomeIndicator eventOutcomeIndicator) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
EventActionCode |
getEventActionCode() |
Instant |
getEventDateTime()
The EventDateTime is the date and time that the event being reported took place.
|
EventId |
getEventID() |
String |
getEventOutcomeDescription() |
EventOutcomeIndicator |
getEventOutcomeIndicator() |
List<EventType> |
getEventTypeCode() |
List<PurposeOfUse> |
getPurposesOfUse()
The Purpose of Use value indicates the expected ultimate use of the data, rather than a likely near term use
such as "send to X".
|
int |
hashCode() |
void |
setEventActionCode(EventActionCode eventActionCode) |
void |
setEventDateTime(Instant eventDateTime)
The EventDateTime is the date and time that the event being reported took place.
|
void |
setEventID(EventId eventID) |
void |
setEventOutcomeDescription(String eventOutcomeDescription) |
void |
setEventOutcomeIndicator(EventOutcomeIndicator eventOutcomeIndicator) |
void |
validate()
Validates the constructed audit message against the specification, because API does not completely
prevent constructing incomplete or inconsistent messages.
|
public EventIdentificationType(EventId eventID, Instant eventDateTime, EventOutcomeIndicator eventOutcomeIndicator)
public List<EventType> getEventTypeCode()
public List<PurposeOfUse> getPurposesOfUse()
The Purpose of Use value indicates the expected ultimate use of the data, rather than a likely near term use such as "send to X". As explained in the IHE Access Control White Paper, there are Access Control decisions that are based on the ultimate use of the data. For example a Patient may have provided a BPPC Consent/Authorization for treatment purposes, but explicitly disallowed any use for research regardless of de-identification methods used.
The Purpose Of Use is also included in the Audit Event message to enable some forms of reporting of Accounting of Disclosures and Breach Notification. One specific PurposeOfUse would be a BreakGlass/Emergency-Mode-Access.
The PurposeOfUse value will come from a Value Set. This Value Set should be derived from the codes found in ISO 14265, or XSPA (Cross-Enterprise Security and Privacy Authorization). Implementations should expect that the Value Set used may be using locally defined values
public void validate()
Validateable
validate
in interface Validateable
@Generated(value="lombok") public boolean equals(Object o)
@Generated(value="lombok") protected boolean canEqual(Object other)
@Generated(value="lombok") public int hashCode()
@NonNull @Generated(value="lombok") public EventId getEventID()
@Generated(value="lombok") public void setEventID(@NonNull EventId eventID)
@NonNull @Generated(value="lombok") public Instant getEventDateTime()
@Generated(value="lombok") public void setEventDateTime(@NonNull Instant eventDateTime)
@NonNull @Generated(value="lombok") public EventOutcomeIndicator getEventOutcomeIndicator()
@Generated(value="lombok") public void setEventOutcomeIndicator(@NonNull EventOutcomeIndicator eventOutcomeIndicator)
@Generated(value="lombok") public String getEventOutcomeDescription()
@Generated(value="lombok") public void setEventOutcomeDescription(String eventOutcomeDescription)
@Generated(value="lombok") public EventActionCode getEventActionCode()
@Generated(value="lombok") public void setEventActionCode(EventActionCode eventActionCode)
Copyright © 2018 Open eHealth Foundation. All rights reserved.