Class ProcedureRequest
- java.lang.Object
-
- ca.uhn.fhir.model.api.BaseElement
-
- ca.uhn.fhir.model.dstu2.resource.BaseResource
-
- ca.uhn.fhir.model.dstu2.resource.ProcedureRequest
-
- All Implemented Interfaces:
ca.uhn.fhir.model.api.ICompositeElement,ca.uhn.fhir.model.api.IElement,ca.uhn.fhir.model.api.IResource,ca.uhn.fhir.model.api.ISupportsUndeclaredExtensions,Serializable,org.hl7.fhir.instance.model.api.IBase,org.hl7.fhir.instance.model.api.IBaseResource
public class ProcedureRequest extends BaseResource implements ca.uhn.fhir.model.api.IResource
HAPI/FHIR ProcedureRequest Resource (clinical.general)Definition: A request for a procedure to be performed. May be a proposal or an order.
Requirements:
Profile Definition: http://hl7.org/fhir/profiles/ProcedureRequest
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static ca.uhn.fhir.rest.gclient.ReferenceClientParamENCOUNTERFluent Client search parameter constant for encounterstatic ca.uhn.fhir.rest.gclient.TokenClientParamIDENTIFIERFluent Client search parameter constant for identifierstatic ca.uhn.fhir.model.api.IncludeINCLUDE_ENCOUNTERConstant for fluent queries to be used to add include statements.static ca.uhn.fhir.model.api.IncludeINCLUDE_ORDERERConstant for fluent queries to be used to add include statements.static ca.uhn.fhir.model.api.IncludeINCLUDE_PATIENTConstant for fluent queries to be used to add include statements.static ca.uhn.fhir.model.api.IncludeINCLUDE_PERFORMERConstant for fluent queries to be used to add include statements.static ca.uhn.fhir.model.api.IncludeINCLUDE_SUBJECTConstant for fluent queries to be used to add include statements.static ca.uhn.fhir.rest.gclient.ReferenceClientParamORDERERFluent Client search parameter constant for ordererstatic ca.uhn.fhir.rest.gclient.ReferenceClientParamPATIENTFluent Client search parameter constant for patientstatic ca.uhn.fhir.rest.gclient.ReferenceClientParamPERFORMERFluent Client search parameter constant for performerstatic StringSP_ENCOUNTERSearch parameter constant for encounterstatic StringSP_IDENTIFIERSearch parameter constant for identifierstatic StringSP_ORDERERSearch parameter constant for ordererstatic StringSP_PATIENTSearch parameter constant for patientstatic StringSP_PERFORMERSearch parameter constant for performerstatic StringSP_SUBJECTSearch parameter constant for subjectstatic ca.uhn.fhir.rest.gclient.ReferenceClientParamSUBJECTFluent Client search parameter constant for subject-
Fields inherited from class ca.uhn.fhir.model.dstu2.resource.BaseResource
RES_ID, SP_RES_ID, SP_RES_LANGUAGE
-
-
Constructor Summary
Constructors Constructor Description ProcedureRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CodeableConceptDtaddBodySite()Adds and returns a new value for bodySite ()ProcedureRequestaddBodySite(CodeableConceptDt theValue)Adds a given new value for bodySite ()IdentifierDtaddIdentifier()Adds and returns a new value for identifier (id)ProcedureRequestaddIdentifier(IdentifierDt theValue)Adds a given new value for identifier (id)AnnotationDtaddNotes()Adds and returns a new value for notes ()ProcedureRequestaddNotes(AnnotationDt theValue)Adds a given new value for notes ()<T extends ca.uhn.fhir.model.api.IElement>
List<T>getAllPopulatedChildElementsOfType(Class<T> theType)ca.uhn.fhir.model.api.IDatatypegetAsNeeded()Gets the value(s) for asNeeded[x] ().List<CodeableConceptDt>getBodySite()Gets the value(s) for bodySite ().CodeableConceptDtgetBodySiteFirstRep()Gets the first repetition for bodySite (), creating it if it does not already exist.CodeableConceptDtgetCode()Gets the value(s) for code (class).ResourceReferenceDtgetEncounter()Gets the value(s) for encounter (context).List<IdentifierDt>getIdentifier()Gets the value(s) for identifier (id).IdentifierDtgetIdentifierFirstRep()Gets the first repetition for identifier (id), creating it if it does not already exist.List<AnnotationDt>getNotes()Gets the value(s) for notes ().AnnotationDtgetNotesFirstRep()Gets the first repetition for notes (), creating it if it does not already exist.DategetOrderedOn()Gets the value(s) for orderedOn (when.recorded).ca.uhn.fhir.model.primitive.DateTimeDtgetOrderedOnElement()Gets the value(s) for orderedOn (when.recorded).ResourceReferenceDtgetOrderer()Gets the value(s) for orderer (who.author).ResourceReferenceDtgetPerformer()Gets the value(s) for performer (who.actor).StringgetPriority()Gets the value(s) for priority (grade).ca.uhn.fhir.model.primitive.BoundCodeDt<ProcedureRequestPriorityEnum>getPriorityElement()Gets the value(s) for priority (grade).ca.uhn.fhir.model.api.IDatatypegetReason()Gets the value(s) for reason[x] ().StringgetResourceName()ca.uhn.fhir.model.api.IDatatypegetScheduled()Gets the value(s) for scheduled[x] (when.planned).StringgetStatus()Gets the value(s) for status (status).ca.uhn.fhir.model.primitive.BoundCodeDt<ProcedureRequestStatusEnum>getStatusElement()Gets the value(s) for status (status).ca.uhn.fhir.context.FhirVersionEnumgetStructureFhirVersionEnum()ResourceReferenceDtgetSubject()Gets the value(s) for subject (who.focus).booleanisEmpty()ProcedureRequestsetAsNeeded(ca.uhn.fhir.model.api.IDatatype theValue)Sets the value(s) for asNeeded[x] ()ProcedureRequestsetBodySite(List<CodeableConceptDt> theValue)Sets the value(s) for bodySite ()ProcedureRequestsetCode(CodeableConceptDt theValue)Sets the value(s) for code (class)ProcedureRequestsetEncounter(ResourceReferenceDt theValue)Sets the value(s) for encounter (context)ProcedureRequestsetIdentifier(List<IdentifierDt> theValue)Sets the value(s) for identifier (id)ProcedureRequestsetNotes(List<AnnotationDt> theValue)Sets the value(s) for notes ()ProcedureRequestsetOrderedOn(ca.uhn.fhir.model.primitive.DateTimeDt theValue)Sets the value(s) for orderedOn (when.recorded)ProcedureRequestsetOrderedOn(Date theDate, ca.uhn.fhir.model.api.TemporalPrecisionEnum thePrecision)Sets the value for orderedOn (when.recorded)ProcedureRequestsetOrderedOnWithSecondsPrecision(Date theDate)Sets the value for orderedOn (when.recorded)ProcedureRequestsetOrderer(ResourceReferenceDt theValue)Sets the value(s) for orderer (who.author)ProcedureRequestsetPerformer(ResourceReferenceDt theValue)Sets the value(s) for performer (who.actor)ProcedureRequestsetPriority(ProcedureRequestPriorityEnum theValue)Sets the value(s) for priority (grade)ProcedureRequestsetPriority(ca.uhn.fhir.model.primitive.BoundCodeDt<ProcedureRequestPriorityEnum> theValue)Sets the value(s) for priority (grade)ProcedureRequestsetReason(ca.uhn.fhir.model.api.IDatatype theValue)Sets the value(s) for reason[x] ()ProcedureRequestsetScheduled(ca.uhn.fhir.model.api.IDatatype theValue)Sets the value(s) for scheduled[x] (when.planned)ProcedureRequestsetStatus(ProcedureRequestStatusEnum theValue)Sets the value(s) for status (status)ProcedureRequestsetStatus(ca.uhn.fhir.model.primitive.BoundCodeDt<ProcedureRequestStatusEnum> theValue)Sets the value(s) for status (status)ProcedureRequestsetSubject(ResourceReferenceDt theValue)Sets the value(s) for subject (who.focus)-
Methods inherited from class ca.uhn.fhir.model.dstu2.resource.BaseResource
getContained, getId, getIdElement, getLanguage, getMeta, getResourceMetadata, getText, isBaseEmpty, setContained, setId, setId, setId, setLanguage, setResourceMetadata, setText, toString
-
Methods inherited from class ca.uhn.fhir.model.api.BaseElement
addUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getFormatCommentsPost, getFormatCommentsPre, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, getUserData, hasFormatComment, setUserData
-
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.IBase
fhirType, getFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserData
-
-
-
-
Field Detail
-
SP_IDENTIFIER
public static final String SP_IDENTIFIER
Search parameter constant for identifierDescription: A unique identifier of the Procedure Request
Type: token
Path: ProcedureRequest.identifier
- See Also:
- Constant Field Values
-
IDENTIFIER
public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER
Fluent Client search parameter constant for identifierDescription: A unique identifier of the Procedure Request
Type: token
Path: ProcedureRequest.identifier
-
SP_SUBJECT
public static final String SP_SUBJECT
Search parameter constant for subjectDescription: Search by subject
Type: reference
Path: ProcedureRequest.subject
- See Also:
- Constant Field Values
-
SUBJECT
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SUBJECT
Fluent Client search parameter constant for subjectDescription: Search by subject
Type: reference
Path: ProcedureRequest.subject
-
SP_PATIENT
public static final String SP_PATIENT
Search parameter constant for patientDescription: Search by subject - a patient
Type: reference
Path: ProcedureRequest.subject
- See Also:
- Constant Field Values
-
PATIENT
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PATIENT
Fluent Client search parameter constant for patientDescription: Search by subject - a patient
Type: reference
Path: ProcedureRequest.subject
-
SP_ORDERER
public static final String SP_ORDERER
Search parameter constant for ordererDescription:
Type: reference
Path: ProcedureRequest.orderer
- See Also:
- Constant Field Values
-
ORDERER
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam ORDERER
Fluent Client search parameter constant for ordererDescription:
Type: reference
Path: ProcedureRequest.orderer
-
SP_PERFORMER
public static final String SP_PERFORMER
Search parameter constant for performerDescription:
Type: reference
Path: ProcedureRequest.performer
- See Also:
- Constant Field Values
-
PERFORMER
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PERFORMER
Fluent Client search parameter constant for performerDescription:
Type: reference
Path: ProcedureRequest.performer
-
SP_ENCOUNTER
public static final String SP_ENCOUNTER
Search parameter constant for encounterDescription:
Type: reference
Path: ProcedureRequest.encounter
- See Also:
- Constant Field Values
-
ENCOUNTER
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam ENCOUNTER
Fluent Client search parameter constant for encounterDescription:
Type: reference
Path: ProcedureRequest.encounter
-
INCLUDE_ENCOUNTER
public static final ca.uhn.fhir.model.api.Include INCLUDE_ENCOUNTER
Constant for fluent queries to be used to add include statements. Specifies the path value of "ProcedureRequest:encounter".
-
INCLUDE_ORDERER
public static final ca.uhn.fhir.model.api.Include INCLUDE_ORDERER
Constant for fluent queries to be used to add include statements. Specifies the path value of "ProcedureRequest:orderer".
-
INCLUDE_PATIENT
public static final ca.uhn.fhir.model.api.Include INCLUDE_PATIENT
Constant for fluent queries to be used to add include statements. Specifies the path value of "ProcedureRequest:patient".
-
INCLUDE_PERFORMER
public static final ca.uhn.fhir.model.api.Include INCLUDE_PERFORMER
Constant for fluent queries to be used to add include statements. Specifies the path value of "ProcedureRequest:performer".
-
INCLUDE_SUBJECT
public static final ca.uhn.fhir.model.api.Include INCLUDE_SUBJECT
Constant for fluent queries to be used to add include statements. Specifies the path value of "ProcedureRequest:subject".
-
-
Constructor Detail
-
ProcedureRequest
public ProcedureRequest()
-
-
Method Detail
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin interfaceorg.hl7.fhir.instance.model.api.IBase
-
getAllPopulatedChildElementsOfType
public <T extends ca.uhn.fhir.model.api.IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType)
- Specified by:
getAllPopulatedChildElementsOfTypein interfaceca.uhn.fhir.model.api.ICompositeElement
-
getIdentifier
public List<IdentifierDt> getIdentifier()
Gets the value(s) for identifier (id). creating it if it does not exist. Will not returnnull.Definition: Identifiers assigned to this order by the order or by the receiver.
-
setIdentifier
public ProcedureRequest setIdentifier(List<IdentifierDt> theValue)
Sets the value(s) for identifier (id)Definition: Identifiers assigned to this order by the order or by the receiver.
-
addIdentifier
public IdentifierDt addIdentifier()
Adds and returns a new value for identifier (id)Definition: Identifiers assigned to this order by the order or by the receiver.
-
addIdentifier
public ProcedureRequest addIdentifier(IdentifierDt theValue)
Adds a given new value for identifier (id)Definition: Identifiers assigned to this order by the order or by the receiver.
- Parameters:
theValue- The identifier to add (must not benull)
-
getIdentifierFirstRep
public IdentifierDt getIdentifierFirstRep()
Gets the first repetition for identifier (id), creating it if it does not already exist.Definition: Identifiers assigned to this order by the order or by the receiver.
-
getSubject
public ResourceReferenceDt getSubject()
Gets the value(s) for subject (who.focus). creating it if it does not exist. Will not returnnull.Definition: The person, animal or group that should receive the procedure.
-
setSubject
public ProcedureRequest setSubject(ResourceReferenceDt theValue)
Sets the value(s) for subject (who.focus)Definition: The person, animal or group that should receive the procedure.
-
getCode
public CodeableConceptDt getCode()
Gets the value(s) for code (class). creating it if it does not exist. Will not returnnull.Definition: The specific procedure that is ordered. Use text if the exact nature of the procedure cannot be coded.
-
setCode
public ProcedureRequest setCode(CodeableConceptDt theValue)
Sets the value(s) for code (class)Definition: The specific procedure that is ordered. Use text if the exact nature of the procedure cannot be coded.
-
getBodySite
public List<CodeableConceptDt> getBodySite()
Gets the value(s) for bodySite (). creating it if it does not exist. Will not returnnull.Definition: Indicates the sites on the subject's body where the procedure should be performed (I.e. the target sites).
-
setBodySite
public ProcedureRequest setBodySite(List<CodeableConceptDt> theValue)
Sets the value(s) for bodySite ()Definition: Indicates the sites on the subject's body where the procedure should be performed (I.e. the target sites).
-
addBodySite
public CodeableConceptDt addBodySite()
Adds and returns a new value for bodySite ()Definition: Indicates the sites on the subject's body where the procedure should be performed (I.e. the target sites).
-
addBodySite
public ProcedureRequest addBodySite(CodeableConceptDt theValue)
Adds a given new value for bodySite ()Definition: Indicates the sites on the subject's body where the procedure should be performed (I.e. the target sites).
- Parameters:
theValue- The bodySite to add (must not benull)
-
getBodySiteFirstRep
public CodeableConceptDt getBodySiteFirstRep()
Gets the first repetition for bodySite (), creating it if it does not already exist.Definition: Indicates the sites on the subject's body where the procedure should be performed (I.e. the target sites).
-
getReason
public ca.uhn.fhir.model.api.IDatatype getReason()
Gets the value(s) for reason[x] (). creating it if it does not exist. Will not returnnull.Definition: The reason why the procedure is being proposed or ordered. This procedure request may be motivated by a Condition for instance.
-
setReason
public ProcedureRequest setReason(ca.uhn.fhir.model.api.IDatatype theValue)
Sets the value(s) for reason[x] ()Definition: The reason why the procedure is being proposed or ordered. This procedure request may be motivated by a Condition for instance.
-
getScheduled
public ca.uhn.fhir.model.api.IDatatype getScheduled()
Gets the value(s) for scheduled[x] (when.planned). creating it if it does not exist. Will not returnnull.Definition: The timing schedule for the proposed or ordered procedure. The Schedule data type allows many different expressions. E.g. \"Every 8 hours\"; \"Three times a day\"; \"1/2 an hour before breakfast for 10 days from 23-Dec 2011:\"; \"15 Oct 2013, 17 Oct 2013 and 1 Nov 2013\".
-
setScheduled
public ProcedureRequest setScheduled(ca.uhn.fhir.model.api.IDatatype theValue)
Sets the value(s) for scheduled[x] (when.planned)Definition: The timing schedule for the proposed or ordered procedure. The Schedule data type allows many different expressions. E.g. \"Every 8 hours\"; \"Three times a day\"; \"1/2 an hour before breakfast for 10 days from 23-Dec 2011:\"; \"15 Oct 2013, 17 Oct 2013 and 1 Nov 2013\".
-
getEncounter
public ResourceReferenceDt getEncounter()
Gets the value(s) for encounter (context). creating it if it does not exist. Will not returnnull.Definition: The encounter within which the procedure proposal or request was created.
-
setEncounter
public ProcedureRequest setEncounter(ResourceReferenceDt theValue)
Sets the value(s) for encounter (context)Definition: The encounter within which the procedure proposal or request was created.
-
getPerformer
public ResourceReferenceDt getPerformer()
Gets the value(s) for performer (who.actor). creating it if it does not exist. Will not returnnull.Definition: For example, the surgeon, anaethetist, endoscopist, etc.
-
setPerformer
public ProcedureRequest setPerformer(ResourceReferenceDt theValue)
Sets the value(s) for performer (who.actor)Definition: For example, the surgeon, anaethetist, endoscopist, etc.
-
getStatusElement
public ca.uhn.fhir.model.primitive.BoundCodeDt<ProcedureRequestStatusEnum> getStatusElement()
Gets the value(s) for status (status). creating it if it does not exist. Will not returnnull.Definition: The status of the order.
-
getStatus
public String getStatus()
Gets the value(s) for status (status). creating it if it does not exist. This method may returnnull.Definition: The status of the order.
-
setStatus
public ProcedureRequest setStatus(ca.uhn.fhir.model.primitive.BoundCodeDt<ProcedureRequestStatusEnum> theValue)
Sets the value(s) for status (status)Definition: The status of the order.
-
setStatus
public ProcedureRequest setStatus(ProcedureRequestStatusEnum theValue)
Sets the value(s) for status (status)Definition: The status of the order.
-
getNotes
public List<AnnotationDt> getNotes()
Gets the value(s) for notes (). creating it if it does not exist. Will not returnnull.Definition: Any other notes associated with this proposal or order - e.g. provider instructions.
-
setNotes
public ProcedureRequest setNotes(List<AnnotationDt> theValue)
Sets the value(s) for notes ()Definition: Any other notes associated with this proposal or order - e.g. provider instructions.
-
addNotes
public AnnotationDt addNotes()
Adds and returns a new value for notes ()Definition: Any other notes associated with this proposal or order - e.g. provider instructions.
-
addNotes
public ProcedureRequest addNotes(AnnotationDt theValue)
Adds a given new value for notes ()Definition: Any other notes associated with this proposal or order - e.g. provider instructions.
- Parameters:
theValue- The notes to add (must not benull)
-
getNotesFirstRep
public AnnotationDt getNotesFirstRep()
Gets the first repetition for notes (), creating it if it does not already exist.Definition: Any other notes associated with this proposal or order - e.g. provider instructions.
-
getAsNeeded
public ca.uhn.fhir.model.api.IDatatype getAsNeeded()
Gets the value(s) for asNeeded[x] (). creating it if it does not exist. Will not returnnull.Definition: If a CodeableConcept is present, it indicates the pre-condition for performing the procedure.
-
setAsNeeded
public ProcedureRequest setAsNeeded(ca.uhn.fhir.model.api.IDatatype theValue)
Sets the value(s) for asNeeded[x] ()Definition: If a CodeableConcept is present, it indicates the pre-condition for performing the procedure.
-
getOrderedOnElement
public ca.uhn.fhir.model.primitive.DateTimeDt getOrderedOnElement()
Gets the value(s) for orderedOn (when.recorded). creating it if it does not exist. Will not returnnull.Definition: The time when the request was made.
-
getOrderedOn
public Date getOrderedOn()
Gets the value(s) for orderedOn (when.recorded). creating it if it does not exist. This method may returnnull.Definition: The time when the request was made.
-
setOrderedOn
public ProcedureRequest setOrderedOn(ca.uhn.fhir.model.primitive.DateTimeDt theValue)
Sets the value(s) for orderedOn (when.recorded)Definition: The time when the request was made.
-
setOrderedOn
public ProcedureRequest setOrderedOn(Date theDate, ca.uhn.fhir.model.api.TemporalPrecisionEnum thePrecision)
Sets the value for orderedOn (when.recorded)Definition: The time when the request was made.
-
setOrderedOnWithSecondsPrecision
public ProcedureRequest setOrderedOnWithSecondsPrecision(Date theDate)
Sets the value for orderedOn (when.recorded)Definition: The time when the request was made.
-
getOrderer
public ResourceReferenceDt getOrderer()
Gets the value(s) for orderer (who.author). creating it if it does not exist. Will not returnnull.Definition: The healthcare professional responsible for proposing or ordering the procedure.
-
setOrderer
public ProcedureRequest setOrderer(ResourceReferenceDt theValue)
Sets the value(s) for orderer (who.author)Definition: The healthcare professional responsible for proposing or ordering the procedure.
-
getPriorityElement
public ca.uhn.fhir.model.primitive.BoundCodeDt<ProcedureRequestPriorityEnum> getPriorityElement()
Gets the value(s) for priority (grade). creating it if it does not exist. Will not returnnull.Definition: The clinical priority associated with this order.
-
getPriority
public String getPriority()
Gets the value(s) for priority (grade). creating it if it does not exist. This method may returnnull.Definition: The clinical priority associated with this order.
-
setPriority
public ProcedureRequest setPriority(ca.uhn.fhir.model.primitive.BoundCodeDt<ProcedureRequestPriorityEnum> theValue)
Sets the value(s) for priority (grade)Definition: The clinical priority associated with this order.
-
setPriority
public ProcedureRequest setPriority(ProcedureRequestPriorityEnum theValue)
Sets the value(s) for priority (grade)Definition: The clinical priority associated with this order.
-
getResourceName
public String getResourceName()
- Specified by:
getResourceNamein interfaceca.uhn.fhir.model.api.IResource
-
getStructureFhirVersionEnum
public ca.uhn.fhir.context.FhirVersionEnum getStructureFhirVersionEnum()
- Specified by:
getStructureFhirVersionEnumin interfaceorg.hl7.fhir.instance.model.api.IBaseResource- Specified by:
getStructureFhirVersionEnumin interfaceca.uhn.fhir.model.api.IResource
-
-