Class ChExtEprDataEnterer

java.lang.Object
org.hl7.fhir.r4.model.Base
org.hl7.fhir.r4.model.Element
org.hl7.fhir.r4.model.BackboneElement
org.projecthusky.fhir.emed.ch.epr.resource.extension.ChExtEprDataEnterer
All Implemented Interfaces:
ca.uhn.fhir.model.api.IElement, Serializable, org.hl7.fhir.instance.model.api.IBase, org.hl7.fhir.instance.model.api.IBaseBackboneElement, org.hl7.fhir.instance.model.api.IBaseElement, org.hl7.fhir.instance.model.api.IBaseHasExtensions, org.hl7.fhir.instance.model.api.IBaseHasModifierExtensions

public class ChExtEprDataEnterer extends org.hl7.fhir.r4.model.BackboneElement
The HAPI custom structure for CH-EXT-EPR DataEnterer.

Extension to define the information about the person and organization that entered data and the time of the data input, equivalent to the dataEnterer from a CDA document.

URL : Extension: EPR Data Enterer

Author:
Ronaldo Loureiro
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected @Nullable org.hl7.fhir.r4.model.Reference
    Information about the person and organization that entered data
    protected @Nullable org.hl7.fhir.r4.model.DateType
    Timestamp of the authorship/data input

    Fields inherited from class org.hl7.fhir.r4.model.BackboneElement

    modifierExtension

    Fields inherited from class org.hl7.fhir.r4.model.Element

    extension, id
  • Constructor Summary

    Constructors
    Constructor
    Description
    Empty constructor
  • Method Summary

    Modifier and Type
    Method
    Description
     
    void
    copyValues(org.hl7.fhir.r4.model.BackboneElement dst)
     
    @Nullable Date
    Gets the timestamp of the authorship/data input.
    boolean
    Returns whether the entered data exists.
    boolean
    Returns whether the timestamp of the authorship/data input.
    Resolves the person and organization that entered data or throws.
    Sets the data entered resource.
    setTimestamp(Date timestamp)
    Sets the timestamp of the authorship/data input.

    Methods inherited from class org.hl7.fhir.r4.model.BackboneElement

    addChild, addModifierExtension, addModifierExtension, addModifierExtension, checkNoModifiers, copyExtensions, copyNewExtensions, equalsDeep, equalsShallow, fhirType, getExtensionByUrl, getExtensionsByUrl, getExtensionsByUrl, getModifierExtension, getModifierExtensionFirstRep, getNamedProperty, getProperty, getTypesForProperty, hasExtension, hasExtension, hasModifierExtension, isEmpty, listChildren, makeProperty, removeChild, removeExtension, setModifierExtension, setProperty, setProperty

    Methods inherited from class org.hl7.fhir.r4.model.Element

    addExtension, addExtension, addExtension, copyExtensions, copyNewExtensions, copyValues, getExtension, getExtensionFirstRep, getExtensionString, getId, getIdBase, getIdElement, hasExtension, hasExtension, hasId, hasIdElement, isDisallowExtensions, noExtensions, setDisallowExtensions, setExtension, setId, setIdBase, setIdElement

    Methods inherited from class org.hl7.fhir.r4.model.Base

    castToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCanonical, castToCode, castToCodeableConcept, castToCoding, castToContactDetail, castToContactPoint, castToContributor, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDosage, castToDuration, castToElementDefinition, castToExpression, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMarketingStatus, castToMeta, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPopulation, castToPositiveInt, castToProdCharacteristic, castToProductShelfLife, castToQuantity, castToRange, castToRatio, castToReference, castToRelatedArtifact, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToSubstanceAmount, castToTime, castToTiming, castToTriggerDefinition, castToType, castToUnsignedInt, castToUri, castToUrl, castToUsageContext, castToXhtml, castToXhtmlString, children, clearUserData, compareDeep, compareDeep, compareDeep, compareDeep, compareValues, compareValues, copyValues, dateTimeValue, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, getXhtml, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isBooleanPrimitive, isDateTime, isMetadataBased, isPrimitive, isResource, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINN

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.hl7.fhir.instance.model.api.IBase

    getFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserData

    Methods inherited from interface org.hl7.fhir.instance.model.api.IBaseElement

    getUserData, setUserData

    Methods inherited from interface org.hl7.fhir.instance.model.api.IBaseHasExtensions

    addExtension, getExtension, hasExtension
  • Field Details

    • enterer

      protected @Nullable org.hl7.fhir.r4.model.Reference enterer
      Information about the person and organization that entered data
    • timestamp

      protected @Nullable org.hl7.fhir.r4.model.DateType timestamp
      Timestamp of the authorship/data input
  • Constructor Details

    • ChExtEprDataEnterer

      public ChExtEprDataEnterer()
      Empty constructor
  • Method Details

    • resolveEnterer

      Resolves the person and organization that entered data or throws.
      Returns:
      the person and organization that entered data.
      Throws:
      InvalidEmedContentException - if the information is missing or isn't of a ChEmedEprPractitionerRole type.
    • getTimestamp

      public @Nullable Date getTimestamp()
      Gets the timestamp of the authorship/data input.
      Returns:
      the timestamp of the authorship/data input or null.
    • setEnterer

      public ChExtEprDataEnterer setEnterer(ChEmedEprPractitionerRole practitionerRole)
      Sets the data entered resource. If the data entered resource already exists, it is replaced.
      Parameters:
      practitionerRole - the person and organization that entered data.
      Returns:
      this.
    • setTimestamp

      public ChExtEprDataEnterer setTimestamp(Date timestamp)
      Sets the timestamp of the authorship/data input.
      Parameters:
      timestamp - the timestamp of the authorship/data input.
      Returns:
      this.
    • hasEnterer

      public boolean hasEnterer()
      Returns whether the entered data exists.
      Returns:
      true if the entered data exists, false otherwise.
    • hasTimestamp

      public boolean hasTimestamp()
      Returns whether the timestamp of the authorship/data input.
      Returns:
      true if the timestamp of the authorship/data input exists, false otherwise.
    • copy

      public ChExtEprDataEnterer copy()
      Specified by:
      copy in class org.hl7.fhir.r4.model.BackboneElement
    • copyValues

      public void copyValues(org.hl7.fhir.r4.model.BackboneElement dst)
      Overrides:
      copyValues in class org.hl7.fhir.r4.model.BackboneElement