Class ErxTask

java.lang.Object
org.hl7.fhir.r4.model.Base
org.hl7.fhir.r4.model.BaseResource
org.hl7.fhir.r4.model.Resource
org.hl7.fhir.r4.model.DomainResource
org.hl7.fhir.r4.model.Task
de.gematik.test.erezept.fhir.r4.erp.ErxTask
All Implemented Interfaces:
ca.uhn.fhir.model.api.IElement, Serializable, org.hl7.fhir.instance.model.api.IAnyResource, org.hl7.fhir.instance.model.api.IBase, org.hl7.fhir.instance.model.api.IBaseHasExtensions, org.hl7.fhir.instance.model.api.IBaseHasModifierExtensions, org.hl7.fhir.instance.model.api.IBaseResource, org.hl7.fhir.instance.model.api.IDomainResource

public class ErxTask extends org.hl7.fhir.r4.model.Task
See Also:
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.hl7.fhir.r4.model.Task

    org.hl7.fhir.r4.model.Task.ParameterComponent, org.hl7.fhir.r4.model.Task.TaskIntent, org.hl7.fhir.r4.model.Task.TaskIntentEnumFactory, org.hl7.fhir.r4.model.Task.TaskOutputComponent, org.hl7.fhir.r4.model.Task.TaskPriority, org.hl7.fhir.r4.model.Task.TaskPriorityEnumFactory, org.hl7.fhir.r4.model.Task.TaskRestrictionComponent, org.hl7.fhir.r4.model.Task.TaskStatus, org.hl7.fhir.r4.model.Task.TaskStatusEnumFactory
  • Field Summary

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

    AUTHORED_ON, authoredOn, BASED_ON, basedOn, basedOnTarget, BUSINESS_STATUS, businessStatus, code, CODE, description, encounter, ENCOUNTER, encounterTarget, executionPeriod, focus, FOCUS, focusTarget, for_, for_Target, GROUP_IDENTIFIER, groupIdentifier, identifier, IDENTIFIER, INCLUDE_BASED_ON, INCLUDE_ENCOUNTER, INCLUDE_FOCUS, INCLUDE_OWNER, INCLUDE_PART_OF, INCLUDE_PATIENT, INCLUDE_REQUESTER, INCLUDE_SUBJECT, input, instantiatesCanonical, instantiatesUri, insurance, insuranceTarget, intent, INTENT, lastModified, location, locationTarget, MODIFIED, note, output, owner, OWNER, ownerTarget, PART_OF, partOf, partOfTarget, PATIENT, PERFORMER, performerType, PERIOD, priority, PRIORITY, reasonCode, reasonReference, reasonReferenceTarget, relevantHistory, relevantHistoryTarget, requester, REQUESTER, requesterTarget, restriction, SP_AUTHORED_ON, SP_BASED_ON, SP_BUSINESS_STATUS, SP_CODE, SP_ENCOUNTER, SP_FOCUS, SP_GROUP_IDENTIFIER, SP_IDENTIFIER, SP_INTENT, SP_MODIFIED, SP_OWNER, SP_PART_OF, SP_PATIENT, SP_PERFORMER, SP_PERIOD, SP_PRIORITY, SP_REQUESTER, SP_STATUS, SP_SUBJECT, status, STATUS, statusReason, SUBJECT

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

    contained, extension, modifierExtension, text

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

    id, implicitRules, language, meta

    Fields inherited from interface org.hl7.fhir.instance.model.api.IAnyResource

    RES_ID, SP_RES_ID

    Fields inherited from interface org.hl7.fhir.instance.model.api.IBaseResource

    INCLUDE_ALL, WILDCARD_ALL_SET
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static ErxTask
    fromTask(org.hl7.fhir.r4.model.Resource adaptee)
     
    static ErxTask
    fromTask(org.hl7.fhir.r4.model.Task adaptee)
    This constructor translates a Task into a ErxTask.
     
     
     
     
    Optional<de.gematik.bbriccs.fhir.de.value.KVNR>
     
     
    Optional<org.hl7.fhir.r4.model.InstantType>
     
     
     
     
     
     
    boolean
     
    boolean
     
    boolean
     
     

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

    addBasedOn, addBasedOn, addChild, addIdentifier, addIdentifier, addInput, addInput, addInsurance, addInsurance, addNote, addNote, addOutput, addOutput, addPartOf, addPartOf, addPartOfTarget, addPerformerType, addPerformerType, addRelevantHistory, addRelevantHistory, addRelevantHistoryTarget, copy, copyValues, equalsDeep, equalsShallow, fhirType, getAuthoredOn, getAuthoredOnElement, getBasedOn, getBasedOnFirstRep, getBasedOnTarget, getBusinessStatus, getCode, getDescription, getDescriptionElement, getEncounter, getEncounterTarget, getExecutionPeriod, getFocus, getFocusTarget, getFor, getForTarget, getGroupIdentifier, getIdentifier, getIdentifierFirstRep, getInput, getInputFirstRep, getInstantiatesCanonical, getInstantiatesCanonicalElement, getInstantiatesUri, getInstantiatesUriElement, getInsurance, getInsuranceFirstRep, getInsuranceTarget, getIntent, getIntentElement, getLastModified, getLastModifiedElement, getLocation, getLocationTarget, getNamedProperty, getNote, getNoteFirstRep, getOutput, getOutputFirstRep, getOwner, getOwnerTarget, getPartOf, getPartOfFirstRep, getPartOfTarget, getPerformerType, getPerformerTypeFirstRep, getPriority, getPriorityElement, getProperty, getReasonCode, getReasonReference, getReasonReferenceTarget, getRelevantHistory, getRelevantHistoryFirstRep, getRelevantHistoryTarget, getRequester, getRequesterTarget, getResourceType, getRestriction, getStatus, getStatusElement, getStatusReason, getTypesForProperty, hasAuthoredOn, hasAuthoredOnElement, hasBasedOn, hasBusinessStatus, hasCode, hasDescription, hasDescriptionElement, hasEncounter, hasExecutionPeriod, hasFocus, hasFor, hasGroupIdentifier, hasIdentifier, hasInput, hasInstantiatesCanonical, hasInstantiatesCanonicalElement, hasInstantiatesUri, hasInstantiatesUriElement, hasInsurance, hasIntent, hasIntentElement, hasLastModified, hasLastModifiedElement, hasLocation, hasNote, hasOutput, hasOwner, hasPartOf, hasPerformerType, hasPriority, hasPriorityElement, hasReasonCode, hasReasonReference, hasRelevantHistory, hasRequester, hasRestriction, hasStatus, hasStatusElement, hasStatusReason, isEmpty, listChildren, makeProperty, setAuthoredOn, setAuthoredOnElement, setBasedOn, setBusinessStatus, setCode, setDescription, setDescriptionElement, setEncounter, setEncounterTarget, setExecutionPeriod, setFocus, setFocusTarget, setFor, setForTarget, setGroupIdentifier, setIdentifier, setInput, setInstantiatesCanonical, setInstantiatesCanonicalElement, setInstantiatesUri, setInstantiatesUriElement, setInsurance, setIntent, setIntentElement, setLastModified, setLastModifiedElement, setLocation, setLocationTarget, setNote, setOutput, setOwner, setOwnerTarget, setPartOf, setPerformerType, setPriority, setPriorityElement, setProperty, setProperty, setReasonCode, setReasonReference, setReasonReferenceTarget, setRelevantHistory, setRequester, setRequesterTarget, setRestriction, setStatus, setStatusElement, setStatusReason, typedCopy

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

    addContained, addExtension, addExtension, addExtension, addModifierExtension, addModifierExtension, checkNoModifiers, copyValues, getContained, getExtension, getExtensionByUrl, getExtensionsByUrl, getModifierExtension, getModifierExtensionsByUrl, getText, hasContained, hasExtension, hasExtension, hasModifierExtension, hasText, setContained, setExtension, setModifierExtension, setText

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

    copyValues, getId, getIdBase, getIdElement, getIdPart, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguage, getLanguageElement, getMeta, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, setId, setIdBase, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMeta

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

    getStructureFhirVersionEnum, isResource, setId

    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, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINN

    Methods inherited from class java.lang.Object

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

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

    getId, getIdElement, getLanguageElement, getUserData, setId, setUserData

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

    getFormatCommentsPost, getFormatCommentsPre, hasFormatComment

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

    getMeta, getStructureFhirVersionEnum, isDeleted, setId
  • Constructor Details

    • ErxTask

      public ErxTask()
  • Method Details

    • getTaskId

      public TaskId getTaskId()
    • getPrescriptionId

      public PrescriptionId getPrescriptionId()
    • getFlowType

      public PrescriptionFlowType getFlowType()
    • getOptionalAccessCode

      public Optional<AccessCode> getOptionalAccessCode()
    • getAccessCode

      public AccessCode getAccessCode()
    • hasAccessCode

      public boolean hasAccessCode()
    • getSecret

      public Optional<Secret> getSecret()
    • hasSecret

      public boolean hasSecret()
    • getPerformerFirstRep

      public PerformerType getPerformerFirstRep()
    • getForKvnr

      public Optional<de.gematik.bbriccs.fhir.de.value.KVNR> getForKvnr()
    • getExpiryDate

      public Date getExpiryDate()
    • getAcceptDate

      public Date getAcceptDate()
    • getLastMedicationDispenseDate

      public Optional<Instant> getLastMedicationDispenseDate()
    • getLastMedicationDispenseDateElement

      public Optional<org.hl7.fhir.r4.model.InstantType> getLastMedicationDispenseDateElement()
    • hasLastMedicationDispenseDate

      public boolean hasLastMedicationDispenseDate()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • fromTask

      public static ErxTask fromTask(org.hl7.fhir.r4.model.Task adaptee)
      This constructor translates a Task into a ErxTask. For example if you receive an ErxPrescriptionBundle HAPI interprets the containing Task as plain HAPI-Task and not as a ErxTask. This constructor allows mapping to ErxTask
      Parameters:
      adaptee -
    • fromTask

      public static ErxTask fromTask(org.hl7.fhir.r4.model.Resource adaptee)