Package org.hl7.fhir
Class ProvenanceEntity
- java.lang.Object
-
- org.hl7.fhir.Element
-
- org.hl7.fhir.BackboneElement
-
- org.hl7.fhir.ProvenanceEntity
-
- All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2,org.jvnet.jaxb2_commons.lang.ToString2
public class ProvenanceEntity extends BackboneElement implements org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2
Provenance of a resource is a record that describes entities and processes involved in producing and delivering or otherwise influencing that resource. Provenance provides a critical foundation for assessing authenticity, enabling trust, and allowing reproducibility. Provenance assertions are a form of contextual metadata and can themselves become important records with their own provenance. Provenance statement indicates clinical significance in terms of confidence in authenticity, reliability, and trustworthiness, integrity, and stage in lifecycle (e.g. Document Completion - has the artifact been legally authenticated), all of which may impact security, privacy, and trust policies.Java class for Provenance.Entity complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Provenance.Entity"> <complexContent> <extension base="{http://hl7.org/fhir}BackboneElement"> <sequence> <element name="role" type="{http://hl7.org/fhir}ProvenanceEntityRole"/> <element name="type" type="{http://hl7.org/fhir}Coding"/> <element name="reference" type="{http://hl7.org/fhir}uri"/> <element name="display" type="{http://hl7.org/fhir}string" minOccurs="0"/> <element name="agent" type="{http://hl7.org/fhir}Provenance.Agent" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected ProvenanceAgentagentprotected Stringdisplayprotected Urireferenceprotected ProvenanceEntityRoleroleprotected Codingtype-
Fields inherited from class org.hl7.fhir.BackboneElement
modifierExtension
-
-
Constructor Summary
Constructors Constructor Description ProvenanceEntity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringBuilderappend(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)java.lang.StringBuilderappendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)booleanequals(java.lang.Object object)booleanequals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, java.lang.Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)ProvenanceAgentgetAgent()Gets the value of the agent property.StringgetDisplay()Gets the value of the display property.UrigetReference()Gets the value of the reference property.ProvenanceEntityRolegetRole()Gets the value of the role property.CodinggetType()Gets the value of the type property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)voidsetAgent(ProvenanceAgent value)Sets the value of the agent property.voidsetDisplay(String value)Sets the value of the display property.voidsetReference(Uri value)Sets the value of the reference property.voidsetRole(ProvenanceEntityRole value)Sets the value of the role property.voidsetType(Coding value)Sets the value of the type property.java.lang.StringtoString()ProvenanceEntitywithAgent(ProvenanceAgent value)ProvenanceEntitywithDisplay(String value)ProvenanceEntitywithExtension(java.util.Collection<Extension> values)ProvenanceEntitywithExtension(Extension... values)ProvenanceEntitywithId(java.lang.String value)ProvenanceEntitywithModifierExtension(java.util.Collection<Extension> values)ProvenanceEntitywithModifierExtension(Extension... values)ProvenanceEntitywithReference(Uri value)ProvenanceEntitywithRole(ProvenanceEntityRole value)ProvenanceEntitywithType(Coding value)-
Methods inherited from class org.hl7.fhir.BackboneElement
getModifierExtension
-
Methods inherited from class org.hl7.fhir.Element
getExtension, getId, setId
-
-
-
-
Field Detail
-
role
protected ProvenanceEntityRole role
-
type
protected Coding type
-
reference
protected Uri reference
-
display
protected String display
-
agent
protected ProvenanceAgent agent
-
-
Method Detail
-
getRole
public ProvenanceEntityRole getRole()
Gets the value of the role property.- Returns:
- possible object is
ProvenanceEntityRole
-
setRole
public void setRole(ProvenanceEntityRole value)
Sets the value of the role property.- Parameters:
value- allowed object isProvenanceEntityRole
-
getType
public Coding getType()
Gets the value of the type property.- Returns:
- possible object is
Coding
-
setType
public void setType(Coding value)
Sets the value of the type property.- Parameters:
value- allowed object isCoding
-
getReference
public Uri getReference()
Gets the value of the reference property.- Returns:
- possible object is
Uri
-
setReference
public void setReference(Uri value)
Sets the value of the reference property.- Parameters:
value- allowed object isUri
-
getDisplay
public String getDisplay()
Gets the value of the display property.- Returns:
- possible object is
String
-
setDisplay
public void setDisplay(String value)
Sets the value of the display property.- Parameters:
value- allowed object isString
-
getAgent
public ProvenanceAgent getAgent()
Gets the value of the agent property.- Returns:
- possible object is
ProvenanceAgent
-
setAgent
public void setAgent(ProvenanceAgent value)
Sets the value of the agent property.- Parameters:
value- allowed object isProvenanceAgent
-
withRole
public ProvenanceEntity withRole(ProvenanceEntityRole value)
-
withType
public ProvenanceEntity withType(Coding value)
-
withReference
public ProvenanceEntity withReference(Uri value)
-
withDisplay
public ProvenanceEntity withDisplay(String value)
-
withAgent
public ProvenanceEntity withAgent(ProvenanceAgent value)
-
withModifierExtension
public ProvenanceEntity withModifierExtension(Extension... values)
- Overrides:
withModifierExtensionin classBackboneElement
-
withModifierExtension
public ProvenanceEntity withModifierExtension(java.util.Collection<Extension> values)
- Overrides:
withModifierExtensionin classBackboneElement
-
withExtension
public ProvenanceEntity withExtension(Extension... values)
- Overrides:
withExtensionin classBackboneElement
-
withExtension
public ProvenanceEntity withExtension(java.util.Collection<Extension> values)
- Overrides:
withExtensionin classBackboneElement
-
withId
public ProvenanceEntity withId(java.lang.String value)
- Overrides:
withIdin classBackboneElement
-
equals
public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, java.lang.Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)- Specified by:
equalsin interfaceorg.jvnet.jaxb2_commons.lang.Equals2- Overrides:
equalsin classBackboneElement
-
equals
public boolean equals(java.lang.Object object)
- Overrides:
equalsin classBackboneElement
-
hashCode
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)- Specified by:
hashCodein interfaceorg.jvnet.jaxb2_commons.lang.HashCode2- Overrides:
hashCodein classBackboneElement
-
hashCode
public int hashCode()
- Overrides:
hashCodein classBackboneElement
-
toString
public java.lang.String toString()
- Overrides:
toStringin classBackboneElement
-
append
public java.lang.StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)- Specified by:
appendin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendin classBackboneElement
-
appendFields
public java.lang.StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)- Specified by:
appendFieldsin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendFieldsin classBackboneElement
-
-