Package org.hl7.fhir.dstu2.model
Class ProcessRequest
- java.lang.Object
-
- org.hl7.fhir.dstu2.model.Base
-
- org.hl7.fhir.dstu2.model.BaseResource
-
- org.hl7.fhir.dstu2.model.Resource
-
- org.hl7.fhir.dstu2.model.DomainResource
-
- org.hl7.fhir.dstu2.model.ProcessRequest
-
- 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 ProcessRequest extends DomainResource
This resource provides the target, request and response, and action details for an action to be performed by the target on or about existing resources.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classProcessRequest.ActionListstatic classProcessRequest.ActionListEnumFactorystatic classProcessRequest.ItemsComponent
-
Field Summary
Fields Modifier and Type Field Description protected Enumeration<ProcessRequest.ActionList>actionThe type of processing action being requested, for example Reversal, Readjudication, StatusRequest,PendedRequest.protected DateTimeTypecreatedThe date when this resource was created.protected List<StringType>excludeNames of resource types to exclude.protected List<Identifier>identifierThe ProcessRequest business identifier.protected List<StringType>includeNames of resource types to include.protected List<ProcessRequest.ItemsComponent>itemList of top level items to be re-adjudicated, if none specified then the entire submission is re-adjudicated.protected BooleanTypenullifyIf true remove all history excluding audit.protected ReferenceorganizationThe organization which is responsible for the action speccified in thise request.protected OrganizationorganizationTargetThe actual object that is the target of the reference (The organization which is responsible for the action speccified in thise request.)protected CodingoriginalRulesetThe style (standard) and version of the original material which was converted into this resource.protected PeriodperiodA period of time during which the fulfilling resources would have been created.protected ReferenceproviderThe practitioner who is responsible for the action specified in thise request.protected PractitionerproviderTargetThe actual object that is the target of the reference (The practitioner who is responsible for the action specified in thise request.)protected StringTypereferenceA reference to supply which authenticates the process.protected ReferencerequestReference of resource which is the target or subject of this action.protected ResourcerequestTargetThe actual object that is the target of the reference (Reference of resource which is the target or subject of this action.)protected ReferenceresponseReference of a prior response to resource which is the target or subject of this action.protected ResourceresponseTargetThe actual object that is the target of the reference (Reference of a prior response to resource which is the target or subject of this action.)protected CodingrulesetThe version of the style of resource contents.static StringSP_ACTIONstatic StringSP_IDENTIFIERstatic StringSP_ORGANIZATIONstatic StringSP_PROVIDERprotected ReferencetargetThe organization which is the target of the request.protected OrganizationtargetTargetThe actual object that is the target of the reference (The organization which is the target of the request.)-
Fields inherited from class org.hl7.fhir.dstu2.model.DomainResource
contained, extension, modifierExtension, text
-
Fields inherited from class org.hl7.fhir.dstu2.model.Resource
id, implicitRules, language, meta
-
-
Constructor Summary
Constructors Constructor Description ProcessRequest()ProcessRequest(Enumeration<ProcessRequest.ActionList> action)
-
Method Summary
-
Methods inherited from class org.hl7.fhir.dstu2.model.DomainResource
addContained, addExtension, addExtension, addModifierExtension, addModifierExtension, copyValues, getContained, getExtension, getModifierExtension, getText, hasContained, hasExtension, hasModifierExtension, hasText, setText
-
Methods inherited from class org.hl7.fhir.dstu2.model.Resource
copyValues, getId, getIdElement, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguageElement, getMeta, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, setId, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMeta
-
Methods inherited from class org.hl7.fhir.dstu2.model.BaseResource
getStructureFhirVersionEnum, setId
-
Methods inherited from class org.hl7.fhir.dstu2.model.Base
castToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCode, castToCodeableConcept, castToCoding, castToContactPoint, castToDate, castToDateTime, castToDecimal, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMeta, castToMoney, castToNarrative, castToOid, castToPeriod, castToPositiveInt, castToQuantity, castToRange, castToRatio, castToReference, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToTime, castToTiming, castToUnsignedInt, castToUri, children, compareDeep, compareDeep, compareDeep, compareValues, compareValues, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getUserData, getUserInt, getUserString, hasFormatComment, hasType, hasUserData, isMetadataBased, isPrimitive, 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.IAnyResource
getId, getIdElement, getLanguageElement, getUserData, setId, setUserData
-
-
-
-
Field Detail
-
action
protected Enumeration<ProcessRequest.ActionList> action
The type of processing action being requested, for example Reversal, Readjudication, StatusRequest,PendedRequest.
-
identifier
protected List<Identifier> identifier
The ProcessRequest business identifier.
-
ruleset
protected Coding ruleset
The version of the style of resource contents. This should be mapped to the allowable profiles for this and supporting resources.
-
originalRuleset
protected Coding originalRuleset
The style (standard) and version of the original material which was converted into this resource.
-
created
protected DateTimeType created
The date when this resource was created.
-
targetTarget
protected Organization targetTarget
The actual object that is the target of the reference (The organization which is the target of the request.)
-
provider
protected Reference provider
The practitioner who is responsible for the action specified in thise request.
-
providerTarget
protected Practitioner providerTarget
The actual object that is the target of the reference (The practitioner who is responsible for the action specified in thise request.)
-
organization
protected Reference organization
The organization which is responsible for the action speccified in thise request.
-
organizationTarget
protected Organization organizationTarget
The actual object that is the target of the reference (The organization which is responsible for the action speccified in thise request.)
-
request
protected Reference request
Reference of resource which is the target or subject of this action.
-
requestTarget
protected Resource requestTarget
The actual object that is the target of the reference (Reference of resource which is the target or subject of this action.)
-
response
protected Reference response
Reference of a prior response to resource which is the target or subject of this action.
-
responseTarget
protected Resource responseTarget
The actual object that is the target of the reference (Reference of a prior response to resource which is the target or subject of this action.)
-
nullify
protected BooleanType nullify
If true remove all history excluding audit.
-
reference
protected StringType reference
A reference to supply which authenticates the process.
-
item
protected List<ProcessRequest.ItemsComponent> item
List of top level items to be re-adjudicated, if none specified then the entire submission is re-adjudicated.
-
include
protected List<StringType> include
Names of resource types to include.
-
exclude
protected List<StringType> exclude
Names of resource types to exclude.
-
period
protected Period period
A period of time during which the fulfilling resources would have been created.
-
SP_IDENTIFIER
public static final String SP_IDENTIFIER
- See Also:
- Constant Field Values
-
SP_PROVIDER
public static final String SP_PROVIDER
- See Also:
- Constant Field Values
-
SP_ORGANIZATION
public static final String SP_ORGANIZATION
- See Also:
- Constant Field Values
-
SP_ACTION
public static final String SP_ACTION
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ProcessRequest
public ProcessRequest()
-
ProcessRequest
public ProcessRequest(Enumeration<ProcessRequest.ActionList> action)
-
-
Method Detail
-
getActionElement
public Enumeration<ProcessRequest.ActionList> getActionElement()
- Returns:
action(The type of processing action being requested, for example Reversal, Readjudication, StatusRequest,PendedRequest.). This is the underlying object with id, value and extensions. The accessor "getAction" gives direct access to the value
-
hasActionElement
public boolean hasActionElement()
-
hasAction
public boolean hasAction()
-
setActionElement
public ProcessRequest setActionElement(Enumeration<ProcessRequest.ActionList> value)
- Parameters:
value-action(The type of processing action being requested, for example Reversal, Readjudication, StatusRequest,PendedRequest.). This is the underlying object with id, value and extensions. The accessor "getAction" gives direct access to the value
-
getAction
public ProcessRequest.ActionList getAction()
- Returns:
- The type of processing action being requested, for example Reversal, Readjudication, StatusRequest,PendedRequest.
-
setAction
public ProcessRequest setAction(ProcessRequest.ActionList value)
- Parameters:
value- The type of processing action being requested, for example Reversal, Readjudication, StatusRequest,PendedRequest.
-
getIdentifier
public List<Identifier> getIdentifier()
- Returns:
identifier(The ProcessRequest business identifier.)
-
hasIdentifier
public boolean hasIdentifier()
-
addIdentifier
public Identifier addIdentifier()
- Returns:
identifier(The ProcessRequest business identifier.)
-
addIdentifier
public ProcessRequest addIdentifier(Identifier t)
-
getRuleset
public Coding getRuleset()
- Returns:
ruleset(The version of the style of resource contents. This should be mapped to the allowable profiles for this and supporting resources.)
-
hasRuleset
public boolean hasRuleset()
-
setRuleset
public ProcessRequest setRuleset(Coding value)
- Parameters:
value-ruleset(The version of the style of resource contents. This should be mapped to the allowable profiles for this and supporting resources.)
-
getOriginalRuleset
public Coding getOriginalRuleset()
- Returns:
originalRuleset(The style (standard) and version of the original material which was converted into this resource.)
-
hasOriginalRuleset
public boolean hasOriginalRuleset()
-
setOriginalRuleset
public ProcessRequest setOriginalRuleset(Coding value)
- Parameters:
value-originalRuleset(The style (standard) and version of the original material which was converted into this resource.)
-
getCreatedElement
public DateTimeType getCreatedElement()
- Returns:
created(The date when this resource was created.). This is the underlying object with id, value and extensions. The accessor "getCreated" gives direct access to the value
-
hasCreatedElement
public boolean hasCreatedElement()
-
hasCreated
public boolean hasCreated()
-
setCreatedElement
public ProcessRequest setCreatedElement(DateTimeType value)
- Parameters:
value-created(The date when this resource was created.). This is the underlying object with id, value and extensions. The accessor "getCreated" gives direct access to the value
-
getCreated
public Date getCreated()
- Returns:
- The date when this resource was created.
-
setCreated
public ProcessRequest setCreated(Date value)
- Parameters:
value- The date when this resource was created.
-
getTarget
public Reference getTarget()
- Returns:
target(The organization which is the target of the request.)
-
hasTarget
public boolean hasTarget()
-
setTarget
public ProcessRequest setTarget(Reference value)
- Parameters:
value-target(The organization which is the target of the request.)
-
getTargetTarget
public Organization getTargetTarget()
- Returns:
targetThe actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (The organization which is the target of the request.)
-
setTargetTarget
public ProcessRequest setTargetTarget(Organization value)
- Parameters:
value-targetThe actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (The organization which is the target of the request.)
-
getProvider
public Reference getProvider()
- Returns:
provider(The practitioner who is responsible for the action specified in thise request.)
-
hasProvider
public boolean hasProvider()
-
setProvider
public ProcessRequest setProvider(Reference value)
- Parameters:
value-provider(The practitioner who is responsible for the action specified in thise request.)
-
getProviderTarget
public Practitioner getProviderTarget()
- Returns:
providerThe actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (The practitioner who is responsible for the action specified in thise request.)
-
setProviderTarget
public ProcessRequest setProviderTarget(Practitioner value)
- Parameters:
value-providerThe actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (The practitioner who is responsible for the action specified in thise request.)
-
getOrganization
public Reference getOrganization()
- Returns:
organization(The organization which is responsible for the action speccified in thise request.)
-
hasOrganization
public boolean hasOrganization()
-
setOrganization
public ProcessRequest setOrganization(Reference value)
- Parameters:
value-organization(The organization which is responsible for the action speccified in thise request.)
-
getOrganizationTarget
public Organization getOrganizationTarget()
- Returns:
organizationThe actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (The organization which is responsible for the action speccified in thise request.)
-
setOrganizationTarget
public ProcessRequest setOrganizationTarget(Organization value)
- Parameters:
value-organizationThe actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (The organization which is responsible for the action speccified in thise request.)
-
getRequest
public Reference getRequest()
- Returns:
request(Reference of resource which is the target or subject of this action.)
-
hasRequest
public boolean hasRequest()
-
setRequest
public ProcessRequest setRequest(Reference value)
- Parameters:
value-request(Reference of resource which is the target or subject of this action.)
-
getRequestTarget
public Resource getRequestTarget()
- Returns:
requestThe actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (Reference of resource which is the target or subject of this action.)
-
setRequestTarget
public ProcessRequest setRequestTarget(Resource value)
- Parameters:
value-requestThe actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (Reference of resource which is the target or subject of this action.)
-
getResponse
public Reference getResponse()
- Returns:
response(Reference of a prior response to resource which is the target or subject of this action.)
-
hasResponse
public boolean hasResponse()
-
setResponse
public ProcessRequest setResponse(Reference value)
- Parameters:
value-response(Reference of a prior response to resource which is the target or subject of this action.)
-
getResponseTarget
public Resource getResponseTarget()
- Returns:
responseThe actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (Reference of a prior response to resource which is the target or subject of this action.)
-
setResponseTarget
public ProcessRequest setResponseTarget(Resource value)
- Parameters:
value-responseThe actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (Reference of a prior response to resource which is the target or subject of this action.)
-
getNullifyElement
public BooleanType getNullifyElement()
- Returns:
nullify(If true remove all history excluding audit.). This is the underlying object with id, value and extensions. The accessor "getNullify" gives direct access to the value
-
hasNullifyElement
public boolean hasNullifyElement()
-
hasNullify
public boolean hasNullify()
-
setNullifyElement
public ProcessRequest setNullifyElement(BooleanType value)
- Parameters:
value-nullify(If true remove all history excluding audit.). This is the underlying object with id, value and extensions. The accessor "getNullify" gives direct access to the value
-
getNullify
public boolean getNullify()
- Returns:
- If true remove all history excluding audit.
-
setNullify
public ProcessRequest setNullify(boolean value)
- Parameters:
value- If true remove all history excluding audit.
-
getReferenceElement
public StringType getReferenceElement()
- Returns:
reference(A reference to supply which authenticates the process.). This is the underlying object with id, value and extensions. The accessor "getReference" gives direct access to the value
-
hasReferenceElement
public boolean hasReferenceElement()
-
hasReference
public boolean hasReference()
-
setReferenceElement
public ProcessRequest setReferenceElement(StringType value)
- Parameters:
value-reference(A reference to supply which authenticates the process.). This is the underlying object with id, value and extensions. The accessor "getReference" gives direct access to the value
-
getReference
public String getReference()
- Returns:
- A reference to supply which authenticates the process.
-
setReference
public ProcessRequest setReference(String value)
- Parameters:
value- A reference to supply which authenticates the process.
-
getItem
public List<ProcessRequest.ItemsComponent> getItem()
- Returns:
item(List of top level items to be re-adjudicated, if none specified then the entire submission is re-adjudicated.)
-
hasItem
public boolean hasItem()
-
addItem
public ProcessRequest.ItemsComponent addItem()
- Returns:
item(List of top level items to be re-adjudicated, if none specified then the entire submission is re-adjudicated.)
-
addItem
public ProcessRequest addItem(ProcessRequest.ItemsComponent t)
-
getInclude
public List<StringType> getInclude()
- Returns:
include(Names of resource types to include.)
-
hasInclude
public boolean hasInclude()
-
addIncludeElement
public StringType addIncludeElement()
- Returns:
include(Names of resource types to include.)
-
addInclude
public ProcessRequest addInclude(String value)
- Parameters:
value-include(Names of resource types to include.)
-
hasInclude
public boolean hasInclude(String value)
- Parameters:
value-include(Names of resource types to include.)
-
getExclude
public List<StringType> getExclude()
- Returns:
exclude(Names of resource types to exclude.)
-
hasExclude
public boolean hasExclude()
-
addExcludeElement
public StringType addExcludeElement()
- Returns:
exclude(Names of resource types to exclude.)
-
addExclude
public ProcessRequest addExclude(String value)
- Parameters:
value-exclude(Names of resource types to exclude.)
-
hasExclude
public boolean hasExclude(String value)
- Parameters:
value-exclude(Names of resource types to exclude.)
-
getPeriod
public Period getPeriod()
- Returns:
period(A period of time during which the fulfilling resources would have been created.)
-
hasPeriod
public boolean hasPeriod()
-
setPeriod
public ProcessRequest setPeriod(Period value)
- Parameters:
value-period(A period of time during which the fulfilling resources would have been created.)
-
listChildren
protected void listChildren(List<Property> childrenList)
- Overrides:
listChildrenin classDomainResource
-
setProperty
public void setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
public Base addChild(String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
addChildin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
fhirType
public String fhirType()
- Specified by:
fhirTypein interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
fhirTypein classDomainResource
-
copy
public ProcessRequest copy()
- Specified by:
copyin classDomainResource
-
typedCopy
protected ProcessRequest typedCopy()
-
equalsDeep
public boolean equalsDeep(Base other)
- Overrides:
equalsDeepin classDomainResource
-
equalsShallow
public boolean equalsShallow(Base other)
- Overrides:
equalsShallowin classDomainResource
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
isEmptyin classDomainResource
-
getResourceType
public ResourceType getResourceType()
- Specified by:
getResourceTypein classResource
-
-