public class ServiceRequest extends DomainResource
| Modifier and Type | Class and Description |
|---|---|
static class |
ServiceRequest.ServiceRequestIntent |
static class |
ServiceRequest.ServiceRequestIntentEnumFactory |
static class |
ServiceRequest.ServiceRequestPriority |
static class |
ServiceRequest.ServiceRequestPriorityEnumFactory |
static class |
ServiceRequest.ServiceRequestStatus |
static class |
ServiceRequest.ServiceRequestStatusEnumFactory |
| Modifier and Type | Field and Description |
|---|---|
protected Type |
asNeeded
If a CodeableConcept is present, it indicates the pre-condition for performing the service.
|
static ca.uhn.fhir.rest.gclient.DateClientParam |
AUTHORED
Fluent Client search parameter constant for authored
|
protected DateTimeType |
authoredOn
When the request transitioned to being actionable.
|
static ca.uhn.fhir.rest.gclient.ReferenceClientParam |
BASED_ON
Fluent Client search parameter constant for based-on
|
protected List<Reference> |
basedOn
Plan/proposal/order fulfilled by this request.
|
protected List<Resource> |
basedOnTarget
The actual objects that are the target of the reference (Plan/proposal/order fulfilled by this request.)
|
static ca.uhn.fhir.rest.gclient.TokenClientParam |
BODY_SITE
Fluent Client search parameter constant for body-site
|
protected List<CodeableConcept> |
bodySite
Anatomic location where the procedure should be performed.
|
protected List<CodeableConcept> |
category
A code that classifies the service for searching, sorting and display purposes (e.g.
|
static ca.uhn.fhir.rest.gclient.TokenClientParam |
CATEGORY
Fluent Client search parameter constant for category
|
protected CodeableConcept |
code
A code that identifies a particular service (i.e., procedure, diagnostic investigation, or panel of investigations) that have been requested.
|
static ca.uhn.fhir.rest.gclient.TokenClientParam |
CODE
Fluent Client search parameter constant for code
|
protected BooleanType |
doNotPerform
Set this to true if the record is saying that the service/procedure should NOT be performed.
|
protected Reference |
encounter
An encounter that provides additional information about the healthcare context in which this request is made.
|
static ca.uhn.fhir.rest.gclient.ReferenceClientParam |
ENCOUNTER
Fluent Client search parameter constant for encounter
|
protected Encounter |
encounterTarget
The actual object that is the target of the reference (An encounter that provides additional information about the healthcare context in which this request is made.)
|
protected List<Identifier> |
identifier
Identifiers assigned to this order instance by the orderer and/or the receiver and/or order fulfiller.
|
static ca.uhn.fhir.rest.gclient.TokenClientParam |
IDENTIFIER
Fluent Client search parameter constant for identifier
|
static ca.uhn.fhir.model.api.Include |
INCLUDE_BASED_ON
Constant for fluent queries to be used to add include statements.
|
static ca.uhn.fhir.model.api.Include |
INCLUDE_ENCOUNTER
Constant for fluent queries to be used to add include statements.
|
static ca.uhn.fhir.model.api.Include |
INCLUDE_INSTANTIATES_CANONICAL
Constant for fluent queries to be used to add include statements.
|
static ca.uhn.fhir.model.api.Include |
INCLUDE_PATIENT
Constant for fluent queries to be used to add include statements.
|
static ca.uhn.fhir.model.api.Include |
INCLUDE_PERFORMER
Constant for fluent queries to be used to add include statements.
|
static ca.uhn.fhir.model.api.Include |
INCLUDE_REPLACES
Constant for fluent queries to be used to add include statements.
|
static ca.uhn.fhir.model.api.Include |
INCLUDE_REQUESTER
Constant for fluent queries to be used to add include statements.
|
static ca.uhn.fhir.model.api.Include |
INCLUDE_SPECIMEN
Constant for fluent queries to be used to add include statements.
|
static ca.uhn.fhir.model.api.Include |
INCLUDE_SUBJECT
Constant for fluent queries to be used to add include statements.
|
static ca.uhn.fhir.rest.gclient.ReferenceClientParam |
INSTANTIATES_CANONICAL
Fluent Client search parameter constant for instantiates-canonical
|
static ca.uhn.fhir.rest.gclient.UriClientParam |
INSTANTIATES_URI
Fluent Client search parameter constant for instantiates-uri
|
protected List<CanonicalType> |
instantiatesCanonical
The URL pointing to a FHIR-defined protocol, guideline, orderset or other definition that is adhered to in whole or in part by this ServiceRequest.
|
protected List<UriType> |
instantiatesUri
The URL pointing to an externally maintained protocol, guideline, orderset or other definition that is adhered to in whole or in part by this ServiceRequest.
|
protected List<Reference> |
insurance
Insurance plans, coverage extensions, pre-authorizations and/or pre-determinations that may be needed for delivering the requested service.
|
protected List<Resource> |
insuranceTarget
The actual objects that are the target of the reference (Insurance plans, coverage extensions, pre-authorizations and/or pre-determinations that may be needed for delivering the requested service.)
|
protected Enumeration<ServiceRequest.ServiceRequestIntent> |
intent
Whether the request is a proposal, plan, an original order or a reflex order.
|
static ca.uhn.fhir.rest.gclient.TokenClientParam |
INTENT
Fluent Client search parameter constant for intent
|
protected List<CodeableConcept> |
locationCode
The preferred location(s) where the procedure should actually happen in coded or free text form.
|
protected List<Reference> |
locationReference
A reference to the the preferred location(s) where the procedure should actually happen.
|
protected List<Location> |
locationReferenceTarget
The actual objects that are the target of the reference (A reference to the the preferred location(s) where the procedure should actually happen.
|
protected List<Annotation> |
note
Any other notes and comments made about the service request.
|
protected Type |
occurrence
The date/time at which the requested service should occur.
|
static ca.uhn.fhir.rest.gclient.DateClientParam |
OCCURRENCE
Fluent Client search parameter constant for occurrence
|
protected List<CodeableConcept> |
orderDetail
Additional details and instructions about the how the services are to be delivered.
|
static ca.uhn.fhir.rest.gclient.ReferenceClientParam |
PATIENT
Fluent Client search parameter constant for patient
|
protected StringType |
patientInstruction
Instructions in terms that are understood by the patient or consumer.
|
protected List<Reference> |
performer
The desired performer for doing the requested service.
|
static ca.uhn.fhir.rest.gclient.ReferenceClientParam |
PERFORMER
Fluent Client search parameter constant for performer
|
static ca.uhn.fhir.rest.gclient.TokenClientParam |
PERFORMER_TYPE
Fluent Client search parameter constant for performer-type
|
protected List<Resource> |
performerTarget
The actual objects that are the target of the reference (The desired performer for doing the requested service.
|
protected CodeableConcept |
performerType
Desired type of performer for doing the requested service.
|
protected Enumeration<ServiceRequest.ServiceRequestPriority> |
priority
Indicates how quickly the ServiceRequest should be addressed with respect to other requests.
|
static ca.uhn.fhir.rest.gclient.TokenClientParam |
PRIORITY
Fluent Client search parameter constant for priority
|
protected Type |
quantity
An amount of service being requested which can be a quantity ( for example $1,500 home modification), a ratio ( for example, 20 half day visits per month), or a range (2.0 to 1.8 Gy per fraction).
|
protected List<CodeableConcept> |
reasonCode
An explanation or justification for why this service is being requested in coded or textual form.
|
protected List<Reference> |
reasonReference
Indicates another resource that provides a justification for why this service is being requested.
|
protected List<Resource> |
reasonReferenceTarget
The actual objects that are the target of the reference (Indicates another resource that provides a justification for why this service is being requested.
|
protected List<Reference> |
relevantHistory
Key events in the history of the request.
|
protected List<Provenance> |
relevantHistoryTarget
The actual objects that are the target of the reference (Key events in the history of the request.)
|
protected List<Reference> |
replaces
The request takes the place of the referenced completed or terminated request(s).
|
static ca.uhn.fhir.rest.gclient.ReferenceClientParam |
REPLACES
Fluent Client search parameter constant for replaces
|
protected List<ServiceRequest> |
replacesTarget
The actual objects that are the target of the reference (The request takes the place of the referenced completed or terminated request(s).)
|
protected Reference |
requester
The individual who initiated the request and has responsibility for its activation.
|
static ca.uhn.fhir.rest.gclient.ReferenceClientParam |
REQUESTER
Fluent Client search parameter constant for requester
|
protected Resource |
requesterTarget
The actual object that is the target of the reference (The individual who initiated the request and has responsibility for its activation.)
|
protected Identifier |
requisition
A shared identifier common to all service requests that were authorized more or less simultaneously by a single author, representing the composite or group identifier.
|
static ca.uhn.fhir.rest.gclient.TokenClientParam |
REQUISITION
Fluent Client search parameter constant for requisition
|
static String |
SP_AUTHORED
Search parameter: authored
|
static String |
SP_BASED_ON
Search parameter: based-on
|
static String |
SP_BODY_SITE
Search parameter: body-site
|
static String |
SP_CATEGORY
Search parameter: category
|
static String |
SP_CODE
Search parameter: code
|
static String |
SP_ENCOUNTER
Search parameter: encounter
|
static String |
SP_IDENTIFIER
Search parameter: identifier
|
static String |
SP_INSTANTIATES_CANONICAL
Search parameter: instantiates-canonical
|
static String |
SP_INSTANTIATES_URI
Search parameter: instantiates-uri
|
static String |
SP_INTENT
Search parameter: intent
|
static String |
SP_OCCURRENCE
Search parameter: occurrence
|
static String |
SP_PATIENT
Search parameter: patient
|
static String |
SP_PERFORMER
Search parameter: performer
|
static String |
SP_PERFORMER_TYPE
Search parameter: performer-type
|
static String |
SP_PRIORITY
Search parameter: priority
|
static String |
SP_REPLACES
Search parameter: replaces
|
static String |
SP_REQUESTER
Search parameter: requester
|
static String |
SP_REQUISITION
Search parameter: requisition
|
static String |
SP_SPECIMEN
Search parameter: specimen
|
static String |
SP_STATUS
Search parameter: status
|
static String |
SP_SUBJECT
Search parameter: subject
|
protected List<Reference> |
specimen
One or more specimens that the laboratory procedure will use.
|
static ca.uhn.fhir.rest.gclient.ReferenceClientParam |
SPECIMEN
Fluent Client search parameter constant for specimen
|
protected List<Specimen> |
specimenTarget
The actual objects that are the target of the reference (One or more specimens that the laboratory procedure will use.)
|
protected Enumeration<ServiceRequest.ServiceRequestStatus> |
status
The status of the order.
|
static ca.uhn.fhir.rest.gclient.TokenClientParam |
STATUS
Fluent Client search parameter constant for status
|
protected Reference |
subject
On whom or what the service is to be performed.
|
static ca.uhn.fhir.rest.gclient.ReferenceClientParam |
SUBJECT
Fluent Client search parameter constant for subject
|
protected Resource |
subjectTarget
The actual object that is the target of the reference (On whom or what the service is to be performed.
|
protected List<Reference> |
supportingInfo
Additional clinical information about the patient or specimen that may influence the services or their interpretations.
|
protected List<Resource> |
supportingInfoTarget
The actual objects that are the target of the reference (Additional clinical information about the patient or specimen that may influence the services or their interpretations.
|
contained, extension, modifierExtension, textid, implicitRules, language, meta| Constructor and Description |
|---|
ServiceRequest()
Constructor
|
ServiceRequest(Enumeration<ServiceRequest.ServiceRequestStatus> status,
Enumeration<ServiceRequest.ServiceRequestIntent> intent,
Reference subject)
Constructor
|
addContained, addExtension, addExtension, addExtension, addModifierExtension, addModifierExtension, checkNoModifiers, copyValues, getContained, getExtension, getExtensionByUrl, getExtensionsByUrl, getModifierExtension, getModifierExtensionsByUrl, getText, hasContained, hasExtension, hasExtension, hasModifierExtension, hasText, setContained, setExtension, setModifierExtension, setTextcopyValues, getId, getIdBase, getIdElement, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguage, getLanguageElement, getMeta, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, setId, setIdBase, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMetagetStructureFhirVersionEnum, isResource, setIdcastToAddress, 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, dateTimeValue, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isBooleanPrimitive, isDateTime, isMetadataBased, isPrimitive, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINNclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetId, getIdElement, getLanguageElement, getUserData, setId, setUserDataprotected List<Identifier> identifier
protected List<CanonicalType> instantiatesCanonical
protected List<UriType> instantiatesUri
protected List<Resource> basedOnTarget
protected List<Reference> replaces
protected List<ServiceRequest> replacesTarget
protected Identifier requisition
protected Enumeration<ServiceRequest.ServiceRequestStatus> status
protected Enumeration<ServiceRequest.ServiceRequestIntent> intent
protected List<CodeableConcept> category
protected Enumeration<ServiceRequest.ServiceRequestPriority> priority
protected BooleanType doNotPerform
protected CodeableConcept code
protected List<CodeableConcept> orderDetail
protected Type quantity
protected Reference subject
protected Resource subjectTarget
protected Reference encounter
protected Encounter encounterTarget
protected Type occurrence
protected Type asNeeded
protected DateTimeType authoredOn
protected Reference requester
protected Resource requesterTarget
protected CodeableConcept performerType
protected List<Reference> performer
protected List<Resource> performerTarget
protected List<CodeableConcept> locationCode
protected List<Reference> locationReference
protected List<Location> locationReferenceTarget
protected List<CodeableConcept> reasonCode
protected List<Reference> reasonReference
protected List<Resource> reasonReferenceTarget
protected List<Reference> insurance
protected List<Resource> insuranceTarget
protected List<Reference> supportingInfo
protected List<Resource> supportingInfoTarget
protected List<Reference> specimen
protected List<Specimen> specimenTarget
protected List<CodeableConcept> bodySite
protected List<Annotation> note
protected StringType patientInstruction
protected List<Reference> relevantHistory
protected List<Provenance> relevantHistoryTarget
public static final String SP_AUTHORED
Description: Date request signed
Type: date
Path: ServiceRequest.authoredOn
public static final ca.uhn.fhir.rest.gclient.DateClientParam AUTHORED
Description: Date request signed
Type: date
Path: ServiceRequest.authoredOn
public static final String SP_REQUESTER
Description: Who/what is requesting service
Type: reference
Path: ServiceRequest.requester
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam REQUESTER
Description: Who/what is requesting service
Type: reference
Path: ServiceRequest.requester
public static final ca.uhn.fhir.model.api.Include INCLUDE_REQUESTER
public static final String SP_IDENTIFIER
Description: Identifiers assigned to this order
Type: token
Path: ServiceRequest.identifier
public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER
Description: Identifiers assigned to this order
Type: token
Path: ServiceRequest.identifier
public static final String SP_CODE
Description: What is being requested/ordered
Type: token
Path: ServiceRequest.code
public static final ca.uhn.fhir.rest.gclient.TokenClientParam CODE
Description: What is being requested/ordered
Type: token
Path: ServiceRequest.code
public static final String SP_PERFORMER
Description: Requested performer
Type: reference
Path: ServiceRequest.performer
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PERFORMER
Description: Requested performer
Type: reference
Path: ServiceRequest.performer
public static final ca.uhn.fhir.model.api.Include INCLUDE_PERFORMER
public static final String SP_REQUISITION
Description: Composite Request ID
Type: token
Path: ServiceRequest.requisition
public static final ca.uhn.fhir.rest.gclient.TokenClientParam REQUISITION
Description: Composite Request ID
Type: token
Path: ServiceRequest.requisition
public static final String SP_REPLACES
Description: What request replaces
Type: reference
Path: ServiceRequest.replaces
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam REPLACES
Description: What request replaces
Type: reference
Path: ServiceRequest.replaces
public static final ca.uhn.fhir.model.api.Include INCLUDE_REPLACES
public static final String SP_SUBJECT
Description: Search by subject
Type: reference
Path: ServiceRequest.subject
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SUBJECT
Description: Search by subject
Type: reference
Path: ServiceRequest.subject
public static final ca.uhn.fhir.model.api.Include INCLUDE_SUBJECT
public static final String SP_INSTANTIATES_CANONICAL
Description: Instantiates FHIR protocol or definition
Type: reference
Path: ServiceRequest.instantiatesCanonical
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam INSTANTIATES_CANONICAL
Description: Instantiates FHIR protocol or definition
Type: reference
Path: ServiceRequest.instantiatesCanonical
public static final ca.uhn.fhir.model.api.Include INCLUDE_INSTANTIATES_CANONICAL
public static final String SP_ENCOUNTER
Description: An encounter in which this request is made
Type: reference
Path: ServiceRequest.encounter
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam ENCOUNTER
Description: An encounter in which this request is made
Type: reference
Path: ServiceRequest.encounter
public static final ca.uhn.fhir.model.api.Include INCLUDE_ENCOUNTER
public static final String SP_OCCURRENCE
Description: When service should occur
Type: date
Path: ServiceRequest.occurrence[x]
public static final ca.uhn.fhir.rest.gclient.DateClientParam OCCURRENCE
Description: When service should occur
Type: date
Path: ServiceRequest.occurrence[x]
public static final String SP_PRIORITY
Description: routine | urgent | asap | stat
Type: token
Path: ServiceRequest.priority
public static final ca.uhn.fhir.rest.gclient.TokenClientParam PRIORITY
Description: routine | urgent | asap | stat
Type: token
Path: ServiceRequest.priority
public static final String SP_INTENT
Description: proposal | plan | directive | order | original-order | reflex-order | filler-order | instance-order | option
Type: token
Path: ServiceRequest.intent
public static final ca.uhn.fhir.rest.gclient.TokenClientParam INTENT
Description: proposal | plan | directive | order | original-order | reflex-order | filler-order | instance-order | option
Type: token
Path: ServiceRequest.intent
public static final String SP_PERFORMER_TYPE
Description: Performer role
Type: token
Path: ServiceRequest.performerType
public static final ca.uhn.fhir.rest.gclient.TokenClientParam PERFORMER_TYPE
Description: Performer role
Type: token
Path: ServiceRequest.performerType
public static final String SP_BASED_ON
Description: What request fulfills
Type: reference
Path: ServiceRequest.basedOn
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam BASED_ON
Description: What request fulfills
Type: reference
Path: ServiceRequest.basedOn
public static final ca.uhn.fhir.model.api.Include INCLUDE_BASED_ON
public static final String SP_PATIENT
Description: Search by subject - a patient
Type: reference
Path: ServiceRequest.subject
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PATIENT
Description: Search by subject - a patient
Type: reference
Path: ServiceRequest.subject
public static final ca.uhn.fhir.model.api.Include INCLUDE_PATIENT
public static final String SP_SPECIMEN
Description: Specimen to be tested
Type: reference
Path: ServiceRequest.specimen
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SPECIMEN
Description: Specimen to be tested
Type: reference
Path: ServiceRequest.specimen
public static final ca.uhn.fhir.model.api.Include INCLUDE_SPECIMEN
public static final String SP_INSTANTIATES_URI
Description: Instantiates external protocol or definition
Type: uri
Path: ServiceRequest.instantiatesUri
public static final ca.uhn.fhir.rest.gclient.UriClientParam INSTANTIATES_URI
Description: Instantiates external protocol or definition
Type: uri
Path: ServiceRequest.instantiatesUri
public static final String SP_BODY_SITE
Description: Where procedure is going to be done
Type: token
Path: ServiceRequest.bodySite
public static final ca.uhn.fhir.rest.gclient.TokenClientParam BODY_SITE
Description: Where procedure is going to be done
Type: token
Path: ServiceRequest.bodySite
public static final String SP_CATEGORY
Description: Classification of service
Type: token
Path: ServiceRequest.category
public static final ca.uhn.fhir.rest.gclient.TokenClientParam CATEGORY
Description: Classification of service
Type: token
Path: ServiceRequest.category
public static final String SP_STATUS
Description: draft | active | on-hold | revoked | completed | entered-in-error | unknown
Type: token
Path: ServiceRequest.status
public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS
Description: draft | active | on-hold | revoked | completed | entered-in-error | unknown
Type: token
Path: ServiceRequest.status
public ServiceRequest()
public ServiceRequest(Enumeration<ServiceRequest.ServiceRequestStatus> status, Enumeration<ServiceRequest.ServiceRequestIntent> intent, Reference subject)
public List<Identifier> getIdentifier()
identifier (Identifiers assigned to this order instance by the orderer and/or the receiver and/or order fulfiller.)public ServiceRequest setIdentifier(List<Identifier> theIdentifier)
this for easy method chainingpublic boolean hasIdentifier()
public Identifier addIdentifier()
public ServiceRequest addIdentifier(Identifier t)
public Identifier getIdentifierFirstRep()
identifier, creating it if it does not already existpublic List<CanonicalType> getInstantiatesCanonical()
instantiatesCanonical (The URL pointing to a FHIR-defined protocol, guideline, orderset or other definition that is adhered to in whole or in part by this ServiceRequest.)public ServiceRequest setInstantiatesCanonical(List<CanonicalType> theInstantiatesCanonical)
this for easy method chainingpublic boolean hasInstantiatesCanonical()
public CanonicalType addInstantiatesCanonicalElement()
instantiatesCanonical (The URL pointing to a FHIR-defined protocol, guideline, orderset or other definition that is adhered to in whole or in part by this ServiceRequest.)public ServiceRequest addInstantiatesCanonical(String value)
value - instantiatesCanonical (The URL pointing to a FHIR-defined protocol, guideline, orderset or other definition that is adhered to in whole or in part by this ServiceRequest.)public boolean hasInstantiatesCanonical(String value)
value - instantiatesCanonical (The URL pointing to a FHIR-defined protocol, guideline, orderset or other definition that is adhered to in whole or in part by this ServiceRequest.)public List<UriType> getInstantiatesUri()
instantiatesUri (The URL pointing to an externally maintained protocol, guideline, orderset or other definition that is adhered to in whole or in part by this ServiceRequest.)public ServiceRequest setInstantiatesUri(List<UriType> theInstantiatesUri)
this for easy method chainingpublic boolean hasInstantiatesUri()
public UriType addInstantiatesUriElement()
instantiatesUri (The URL pointing to an externally maintained protocol, guideline, orderset or other definition that is adhered to in whole or in part by this ServiceRequest.)public ServiceRequest addInstantiatesUri(String value)
value - instantiatesUri (The URL pointing to an externally maintained protocol, guideline, orderset or other definition that is adhered to in whole or in part by this ServiceRequest.)public boolean hasInstantiatesUri(String value)
value - instantiatesUri (The URL pointing to an externally maintained protocol, guideline, orderset or other definition that is adhered to in whole or in part by this ServiceRequest.)public List<Reference> getBasedOn()
basedOn (Plan/proposal/order fulfilled by this request.)public ServiceRequest setBasedOn(List<Reference> theBasedOn)
this for easy method chainingpublic boolean hasBasedOn()
public Reference addBasedOn()
public ServiceRequest addBasedOn(Reference t)
public Reference getBasedOnFirstRep()
basedOn, creating it if it does not already exist@Deprecated public List<Resource> getBasedOnTarget()
public List<Reference> getReplaces()
replaces (The request takes the place of the referenced completed or terminated request(s).)public ServiceRequest setReplaces(List<Reference> theReplaces)
this for easy method chainingpublic boolean hasReplaces()
public Reference addReplaces()
public ServiceRequest addReplaces(Reference t)
public Reference getReplacesFirstRep()
replaces, creating it if it does not already exist@Deprecated public List<ServiceRequest> getReplacesTarget()
@Deprecated public ServiceRequest addReplacesTarget()
public Identifier getRequisition()
requisition (A shared identifier common to all service requests that were authorized more or less simultaneously by a single author, representing the composite or group identifier.)public boolean hasRequisition()
public ServiceRequest setRequisition(Identifier value)
value - requisition (A shared identifier common to all service requests that were authorized more or less simultaneously by a single author, representing the composite or group identifier.)public Enumeration<ServiceRequest.ServiceRequestStatus> getStatusElement()
status (The status of the order.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the valuepublic boolean hasStatusElement()
public boolean hasStatus()
public ServiceRequest setStatusElement(Enumeration<ServiceRequest.ServiceRequestStatus> value)
value - status (The status of the order.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the valuepublic ServiceRequest.ServiceRequestStatus getStatus()
public ServiceRequest setStatus(ServiceRequest.ServiceRequestStatus value)
value - The status of the order.public Enumeration<ServiceRequest.ServiceRequestIntent> getIntentElement()
intent (Whether the request is a proposal, plan, an original order or a reflex order.). This is the underlying object with id, value and extensions. The accessor "getIntent" gives direct access to the valuepublic boolean hasIntentElement()
public boolean hasIntent()
public ServiceRequest setIntentElement(Enumeration<ServiceRequest.ServiceRequestIntent> value)
value - intent (Whether the request is a proposal, plan, an original order or a reflex order.). This is the underlying object with id, value and extensions. The accessor "getIntent" gives direct access to the valuepublic ServiceRequest.ServiceRequestIntent getIntent()
public ServiceRequest setIntent(ServiceRequest.ServiceRequestIntent value)
value - Whether the request is a proposal, plan, an original order or a reflex order.public List<CodeableConcept> getCategory()
category (A code that classifies the service for searching, sorting and display purposes (e.g. "Surgical Procedure").)public ServiceRequest setCategory(List<CodeableConcept> theCategory)
this for easy method chainingpublic boolean hasCategory()
public CodeableConcept addCategory()
public ServiceRequest addCategory(CodeableConcept t)
public CodeableConcept getCategoryFirstRep()
category, creating it if it does not already existpublic Enumeration<ServiceRequest.ServiceRequestPriority> getPriorityElement()
priority (Indicates how quickly the ServiceRequest should be addressed with respect to other requests.). This is the underlying object with id, value and extensions. The accessor "getPriority" gives direct access to the valuepublic boolean hasPriorityElement()
public boolean hasPriority()
public ServiceRequest setPriorityElement(Enumeration<ServiceRequest.ServiceRequestPriority> value)
value - priority (Indicates how quickly the ServiceRequest should be addressed with respect to other requests.). This is the underlying object with id, value and extensions. The accessor "getPriority" gives direct access to the valuepublic ServiceRequest.ServiceRequestPriority getPriority()
public ServiceRequest setPriority(ServiceRequest.ServiceRequestPriority value)
value - Indicates how quickly the ServiceRequest should be addressed with respect to other requests.public BooleanType getDoNotPerformElement()
doNotPerform (Set this to true if the record is saying that the service/procedure should NOT be performed.). This is the underlying object with id, value and extensions. The accessor "getDoNotPerform" gives direct access to the valuepublic boolean hasDoNotPerformElement()
public boolean hasDoNotPerform()
public ServiceRequest setDoNotPerformElement(BooleanType value)
value - doNotPerform (Set this to true if the record is saying that the service/procedure should NOT be performed.). This is the underlying object with id, value and extensions. The accessor "getDoNotPerform" gives direct access to the valuepublic boolean getDoNotPerform()
public ServiceRequest setDoNotPerform(boolean value)
value - Set this to true if the record is saying that the service/procedure should NOT be performed.public CodeableConcept getCode()
code (A code that identifies a particular service (i.e., procedure, diagnostic investigation, or panel of investigations) that have been requested.)public boolean hasCode()
public ServiceRequest setCode(CodeableConcept value)
value - code (A code that identifies a particular service (i.e., procedure, diagnostic investigation, or panel of investigations) that have been requested.)public List<CodeableConcept> getOrderDetail()
orderDetail (Additional details and instructions about the how the services are to be delivered. For example, and order for a urinary catheter may have an order detail for an external or indwelling catheter, or an order for a bandage may require additional instructions specifying how the bandage should be applied.)public ServiceRequest setOrderDetail(List<CodeableConcept> theOrderDetail)
this for easy method chainingpublic boolean hasOrderDetail()
public CodeableConcept addOrderDetail()
public ServiceRequest addOrderDetail(CodeableConcept t)
public CodeableConcept getOrderDetailFirstRep()
orderDetail, creating it if it does not already existpublic Type getQuantity()
quantity (An amount of service being requested which can be a quantity ( for example $1,500 home modification), a ratio ( for example, 20 half day visits per month), or a range (2.0 to 1.8 Gy per fraction).)public Quantity getQuantityQuantity() throws org.hl7.fhir.exceptions.FHIRException
quantity (An amount of service being requested which can be a quantity ( for example $1,500 home modification), a ratio ( for example, 20 half day visits per month), or a range (2.0 to 1.8 Gy per fraction).)org.hl7.fhir.exceptions.FHIRExceptionpublic boolean hasQuantityQuantity()
public Ratio getQuantityRatio() throws org.hl7.fhir.exceptions.FHIRException
quantity (An amount of service being requested which can be a quantity ( for example $1,500 home modification), a ratio ( for example, 20 half day visits per month), or a range (2.0 to 1.8 Gy per fraction).)org.hl7.fhir.exceptions.FHIRExceptionpublic boolean hasQuantityRatio()
public Range getQuantityRange() throws org.hl7.fhir.exceptions.FHIRException
quantity (An amount of service being requested which can be a quantity ( for example $1,500 home modification), a ratio ( for example, 20 half day visits per month), or a range (2.0 to 1.8 Gy per fraction).)org.hl7.fhir.exceptions.FHIRExceptionpublic boolean hasQuantityRange()
public boolean hasQuantity()
public ServiceRequest setQuantity(Type value)
value - quantity (An amount of service being requested which can be a quantity ( for example $1,500 home modification), a ratio ( for example, 20 half day visits per month), or a range (2.0 to 1.8 Gy per fraction).)public Reference getSubject()
subject (On whom or what the service is to be performed. This is usually a human patient, but can also be requested on animals, groups of humans or animals, devices such as dialysis machines, or even locations (typically for environmental scans).)public boolean hasSubject()
public ServiceRequest setSubject(Reference value)
value - subject (On whom or what the service is to be performed. This is usually a human patient, but can also be requested on animals, groups of humans or animals, devices such as dialysis machines, or even locations (typically for environmental scans).)public Resource getSubjectTarget()
subject The 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. (On whom or what the service is to be performed. This is usually a human patient, but can also be requested on animals, groups of humans or animals, devices such as dialysis machines, or even locations (typically for environmental scans).)public ServiceRequest setSubjectTarget(Resource value)
value - subject The 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. (On whom or what the service is to be performed. This is usually a human patient, but can also be requested on animals, groups of humans or animals, devices such as dialysis machines, or even locations (typically for environmental scans).)public Reference getEncounter()
encounter (An encounter that provides additional information about the healthcare context in which this request is made.)public boolean hasEncounter()
public ServiceRequest setEncounter(Reference value)
value - encounter (An encounter that provides additional information about the healthcare context in which this request is made.)public Encounter getEncounterTarget()
encounter The 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. (An encounter that provides additional information about the healthcare context in which this request is made.)public ServiceRequest setEncounterTarget(Encounter value)
value - encounter The 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. (An encounter that provides additional information about the healthcare context in which this request is made.)public Type getOccurrence()
occurrence (The date/time at which the requested service should occur.)public DateTimeType getOccurrenceDateTimeType() throws org.hl7.fhir.exceptions.FHIRException
occurrence (The date/time at which the requested service should occur.)org.hl7.fhir.exceptions.FHIRExceptionpublic boolean hasOccurrenceDateTimeType()
public Period getOccurrencePeriod() throws org.hl7.fhir.exceptions.FHIRException
occurrence (The date/time at which the requested service should occur.)org.hl7.fhir.exceptions.FHIRExceptionpublic boolean hasOccurrencePeriod()
public Timing getOccurrenceTiming() throws org.hl7.fhir.exceptions.FHIRException
occurrence (The date/time at which the requested service should occur.)org.hl7.fhir.exceptions.FHIRExceptionpublic boolean hasOccurrenceTiming()
public boolean hasOccurrence()
public ServiceRequest setOccurrence(Type value)
value - occurrence (The date/time at which the requested service should occur.)public Type getAsNeeded()
asNeeded (If a CodeableConcept is present, it indicates the pre-condition for performing the service. For example "pain", "on flare-up", etc.)public BooleanType getAsNeededBooleanType() throws org.hl7.fhir.exceptions.FHIRException
asNeeded (If a CodeableConcept is present, it indicates the pre-condition for performing the service. For example "pain", "on flare-up", etc.)org.hl7.fhir.exceptions.FHIRExceptionpublic boolean hasAsNeededBooleanType()
public CodeableConcept getAsNeededCodeableConcept() throws org.hl7.fhir.exceptions.FHIRException
asNeeded (If a CodeableConcept is present, it indicates the pre-condition for performing the service. For example "pain", "on flare-up", etc.)org.hl7.fhir.exceptions.FHIRExceptionpublic boolean hasAsNeededCodeableConcept()
public boolean hasAsNeeded()
public ServiceRequest setAsNeeded(Type value)
value - asNeeded (If a CodeableConcept is present, it indicates the pre-condition for performing the service. For example "pain", "on flare-up", etc.)public DateTimeType getAuthoredOnElement()
authoredOn (When the request transitioned to being actionable.). This is the underlying object with id, value and extensions. The accessor "getAuthoredOn" gives direct access to the valuepublic boolean hasAuthoredOnElement()
public boolean hasAuthoredOn()
public ServiceRequest setAuthoredOnElement(DateTimeType value)
value - authoredOn (When the request transitioned to being actionable.). This is the underlying object with id, value and extensions. The accessor "getAuthoredOn" gives direct access to the valuepublic Date getAuthoredOn()
public ServiceRequest setAuthoredOn(Date value)
value - When the request transitioned to being actionable.public Reference getRequester()
requester (The individual who initiated the request and has responsibility for its activation.)public boolean hasRequester()
public ServiceRequest setRequester(Reference value)
value - requester (The individual who initiated the request and has responsibility for its activation.)public Resource getRequesterTarget()
requester The 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 individual who initiated the request and has responsibility for its activation.)public ServiceRequest setRequesterTarget(Resource value)
value - requester The 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 individual who initiated the request and has responsibility for its activation.)public CodeableConcept getPerformerType()
performerType (Desired type of performer for doing the requested service.)public boolean hasPerformerType()
public ServiceRequest setPerformerType(CodeableConcept value)
value - performerType (Desired type of performer for doing the requested service.)public List<Reference> getPerformer()
performer (The desired performer for doing the requested service. For example, the surgeon, dermatopathologist, endoscopist, etc.)public ServiceRequest setPerformer(List<Reference> thePerformer)
this for easy method chainingpublic boolean hasPerformer()
public Reference addPerformer()
public ServiceRequest addPerformer(Reference t)
public Reference getPerformerFirstRep()
performer, creating it if it does not already exist@Deprecated public List<Resource> getPerformerTarget()
public List<CodeableConcept> getLocationCode()
locationCode (The preferred location(s) where the procedure should actually happen in coded or free text form. E.g. at home or nursing day care center.)public ServiceRequest setLocationCode(List<CodeableConcept> theLocationCode)
this for easy method chainingpublic boolean hasLocationCode()
public CodeableConcept addLocationCode()
public ServiceRequest addLocationCode(CodeableConcept t)
public CodeableConcept getLocationCodeFirstRep()
locationCode, creating it if it does not already existpublic List<Reference> getLocationReference()
locationReference (A reference to the the preferred location(s) where the procedure should actually happen. E.g. at home or nursing day care center.)public ServiceRequest setLocationReference(List<Reference> theLocationReference)
this for easy method chainingpublic boolean hasLocationReference()
public Reference addLocationReference()
public ServiceRequest addLocationReference(Reference t)
public Reference getLocationReferenceFirstRep()
locationReference, creating it if it does not already exist@Deprecated public List<Location> getLocationReferenceTarget()
@Deprecated public Location addLocationReferenceTarget()
public List<CodeableConcept> getReasonCode()
reasonCode (An explanation or justification for why this service is being requested in coded or textual form. This is often for billing purposes. May relate to the resources referred to in `supportingInfo`.)public ServiceRequest setReasonCode(List<CodeableConcept> theReasonCode)
this for easy method chainingpublic boolean hasReasonCode()
public CodeableConcept addReasonCode()
public ServiceRequest addReasonCode(CodeableConcept t)
public CodeableConcept getReasonCodeFirstRep()
reasonCode, creating it if it does not already existpublic List<Reference> getReasonReference()
reasonReference (Indicates another resource that provides a justification for why this service is being requested. May relate to the resources referred to in `supportingInfo`.)public ServiceRequest setReasonReference(List<Reference> theReasonReference)
this for easy method chainingpublic boolean hasReasonReference()
public Reference addReasonReference()
public ServiceRequest addReasonReference(Reference t)
public Reference getReasonReferenceFirstRep()
reasonReference, creating it if it does not already exist@Deprecated public List<Resource> getReasonReferenceTarget()
public List<Reference> getInsurance()
insurance (Insurance plans, coverage extensions, pre-authorizations and/or pre-determinations that may be needed for delivering the requested service.)public ServiceRequest setInsurance(List<Reference> theInsurance)
this for easy method chainingpublic boolean hasInsurance()
public Reference addInsurance()
public ServiceRequest addInsurance(Reference t)
public Reference getInsuranceFirstRep()
insurance, creating it if it does not already exist@Deprecated public List<Resource> getInsuranceTarget()
public List<Reference> getSupportingInfo()
supportingInfo (Additional clinical information about the patient or specimen that may influence the services or their interpretations. This information includes diagnosis, clinical findings and other observations. In laboratory ordering these are typically referred to as "ask at order entry questions (AOEs)". This includes observations explicitly requested by the producer (filler) to provide context or supporting information needed to complete the order. For example, reporting the amount of inspired oxygen for blood gas measurements.)public ServiceRequest setSupportingInfo(List<Reference> theSupportingInfo)
this for easy method chainingpublic boolean hasSupportingInfo()
public Reference addSupportingInfo()
public ServiceRequest addSupportingInfo(Reference t)
public Reference getSupportingInfoFirstRep()
supportingInfo, creating it if it does not already exist@Deprecated public List<Resource> getSupportingInfoTarget()
public List<Reference> getSpecimen()
specimen (One or more specimens that the laboratory procedure will use.)public ServiceRequest setSpecimen(List<Reference> theSpecimen)
this for easy method chainingpublic boolean hasSpecimen()
public Reference addSpecimen()
public ServiceRequest addSpecimen(Reference t)
public Reference getSpecimenFirstRep()
specimen, creating it if it does not already exist@Deprecated public List<Specimen> getSpecimenTarget()
@Deprecated public Specimen addSpecimenTarget()
public List<CodeableConcept> getBodySite()
bodySite (Anatomic location where the procedure should be performed. This is the target site.)public ServiceRequest setBodySite(List<CodeableConcept> theBodySite)
this for easy method chainingpublic boolean hasBodySite()
public CodeableConcept addBodySite()
public ServiceRequest addBodySite(CodeableConcept t)
public CodeableConcept getBodySiteFirstRep()
bodySite, creating it if it does not already existpublic List<Annotation> getNote()
note (Any other notes and comments made about the service request. For example, internal billing notes.)public ServiceRequest setNote(List<Annotation> theNote)
this for easy method chainingpublic boolean hasNote()
public Annotation addNote()
public ServiceRequest addNote(Annotation t)
public Annotation getNoteFirstRep()
note, creating it if it does not already existpublic StringType getPatientInstructionElement()
patientInstruction (Instructions in terms that are understood by the patient or consumer.). This is the underlying object with id, value and extensions. The accessor "getPatientInstruction" gives direct access to the valuepublic boolean hasPatientInstructionElement()
public boolean hasPatientInstruction()
public ServiceRequest setPatientInstructionElement(StringType value)
value - patientInstruction (Instructions in terms that are understood by the patient or consumer.). This is the underlying object with id, value and extensions. The accessor "getPatientInstruction" gives direct access to the valuepublic String getPatientInstruction()
public ServiceRequest setPatientInstruction(String value)
value - Instructions in terms that are understood by the patient or consumer.public List<Reference> getRelevantHistory()
relevantHistory (Key events in the history of the request.)public ServiceRequest setRelevantHistory(List<Reference> theRelevantHistory)
this for easy method chainingpublic boolean hasRelevantHistory()
public Reference addRelevantHistory()
public ServiceRequest addRelevantHistory(Reference t)
public Reference getRelevantHistoryFirstRep()
relevantHistory, creating it if it does not already exist@Deprecated public List<Provenance> getRelevantHistoryTarget()
@Deprecated public Provenance addRelevantHistoryTarget()
protected void listChildren(List<Property> children)
listChildren in class DomainResourcepublic Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException
getNamedProperty in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException
getProperty in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic Base setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic Base makeProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
makeProperty in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
getTypesForProperty in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic Base addChild(String name) throws org.hl7.fhir.exceptions.FHIRException
addChild in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic String fhirType()
fhirType in interface org.hl7.fhir.instance.model.api.IBasefhirType in class DomainResourcepublic ServiceRequest copy()
copy in class DomainResourcepublic void copyValues(ServiceRequest dst)
protected ServiceRequest typedCopy()
public boolean equalsDeep(Base other_)
equalsDeep in class DomainResourcepublic boolean equalsShallow(Base other_)
equalsShallow in class DomainResourcepublic boolean isEmpty()
isEmpty in interface org.hl7.fhir.instance.model.api.IBaseisEmpty in class DomainResourcepublic ResourceType getResourceType()
getResourceType in class ResourceCopyright © 2014–2021 Health Level 7. All rights reserved.