Class DiagnosticOrder
- 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
Definition: A record of a request for a diagnostic investigation service to be performed.
Requirements:
Profile Definition: http://hl7.org/fhir/profiles/DiagnosticOrder
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Block class for child element: DiagnosticOrder.event ()static class
Block class for child element: DiagnosticOrder.item () -
Field Summary
Modifier and TypeFieldDescriptionstatic final ca.uhn.fhir.rest.gclient.ReferenceClientParam
Fluent Client search parameter constant for actorstatic final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for bodysitestatic final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for codestatic final ca.uhn.fhir.rest.gclient.ReferenceClientParam
Fluent Client search parameter constant for encounterstatic final ca.uhn.fhir.rest.gclient.DateClientParam
Fluent Client search parameter constant for event-datestatic final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for event-statusstatic final ca.uhn.fhir.rest.gclient.CompositeClientParam
<ca.uhn.fhir.rest.gclient.TokenClientParam, ca.uhn.fhir.rest.gclient.DateClientParam> Fluent Client search parameter constant for event-status-event-datestatic final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for identifierstatic final ca.uhn.fhir.model.api.Include
Constant for fluent queries to be used to add include statements.static final ca.uhn.fhir.model.api.Include
Constant for fluent queries to be used to add include statements.static final ca.uhn.fhir.model.api.Include
Constant for fluent queries to be used to add include statements.static final ca.uhn.fhir.model.api.Include
Constant for fluent queries to be used to add include statements.static final ca.uhn.fhir.model.api.Include
Constant for fluent queries to be used to add include statements.static final ca.uhn.fhir.model.api.Include
Constant for fluent queries to be used to add include statements.static final ca.uhn.fhir.rest.gclient.DateClientParam
Fluent Client search parameter constant for item-datestatic final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for item-past-statusstatic final ca.uhn.fhir.rest.gclient.CompositeClientParam
<ca.uhn.fhir.rest.gclient.TokenClientParam, ca.uhn.fhir.rest.gclient.DateClientParam> Fluent Client search parameter constant for item-past-status-item-datestatic final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for item-statusstatic final ca.uhn.fhir.rest.gclient.ReferenceClientParam
Fluent Client search parameter constant for ordererstatic final ca.uhn.fhir.rest.gclient.ReferenceClientParam
Fluent Client search parameter constant for patientstatic final String
Search parameter constant for actorstatic final String
Search parameter constant for bodysitestatic final String
Search parameter constant for codestatic final String
Search parameter constant for encounterstatic final String
Search parameter constant for event-datestatic final String
Search parameter constant for event-statusstatic final String
Search parameter constant for event-status-event-datestatic final String
Search parameter constant for identifierstatic final String
Search parameter constant for item-datestatic final String
Search parameter constant for item-past-statusstatic final String
Search parameter constant for item-past-status-item-datestatic final String
Search parameter constant for item-statusstatic final String
Search parameter constant for ordererstatic final String
Search parameter constant for patientstatic final String
Search parameter constant for specimenstatic final String
Search parameter constant for statusstatic final String
Search parameter constant for subjectstatic final ca.uhn.fhir.rest.gclient.ReferenceClientParam
Fluent Client search parameter constant for specimenstatic final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for statusstatic final ca.uhn.fhir.rest.gclient.ReferenceClientParam
Fluent Client search parameter constant for subjectFields inherited from class ca.uhn.fhir.model.dstu2.resource.BaseResource
RES_ID, SP_RES_ID
Fields inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
INCLUDE_ALL, WILDCARD_ALL_SET
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddEvent()
Adds and returns a new value for event ()addEvent
(DiagnosticOrder.Event theValue) Adds a given new value for event ()Adds and returns a new value for identifier (id)addIdentifier
(IdentifierDt theValue) Adds a given new value for identifier (id)addItem()
Adds and returns a new value for item ()addItem
(DiagnosticOrder.Item theValue) Adds a given new value for item ()addNote()
Adds and returns a new value for note ()addNote
(AnnotationDt theValue) Adds a given new value for note ()Adds and returns a new value for reason ()addReason
(CodeableConceptDt theValue) Adds a given new value for reason ()Adds and returns a new value for specimen ()Adds and returns a new value for supportingInformation ()<T extends ca.uhn.fhir.model.api.IElement>
List<T> getAllPopulatedChildElementsOfType
(Class<T> theType) Gets the value(s) for encounter (context).getEvent()
Gets the value(s) for event ().Gets the first repetition for event (), creating it if it does not already exist.Gets the value(s) for identifier (id).Gets the first repetition for identifier (id), creating it if it does not already exist.getItem()
Gets the value(s) for item ().Gets the first repetition for item (), creating it if it does not already exist.getNote()
Gets the value(s) for note ().Gets the first repetition for note (), creating it if it does not already exist.Gets the value(s) for orderer (who.actor).Gets the value(s) for priority (grade).ca.uhn.fhir.model.primitive.BoundCodeDt
<DiagnosticOrderPriorityEnum> Gets the value(s) for priority (grade).Gets the value(s) for reason ().Gets the first repetition for reason (), creating it if it does not already exist.Gets the value(s) for specimen ().Gets the value(s) for status (status).ca.uhn.fhir.model.primitive.BoundCodeDt
<DiagnosticOrderStatusEnum> Gets the value(s) for status (status).ca.uhn.fhir.context.FhirVersionEnum
Gets the value(s) for subject (who.focus).Gets the value(s) for supportingInformation ().boolean
isEmpty()
setEncounter
(ResourceReferenceDt theValue) Sets the value(s) for encounter (context)setEvent
(List<DiagnosticOrder.Event> theValue) Sets the value(s) for event ()setIdentifier
(List<IdentifierDt> theValue) Sets the value(s) for identifier (id)setItem
(List<DiagnosticOrder.Item> theValue) Sets the value(s) for item ()setNote
(List<AnnotationDt> theValue) Sets the value(s) for note ()setOrderer
(ResourceReferenceDt theValue) Sets the value(s) for orderer (who.actor)setPriority
(DiagnosticOrderPriorityEnum theValue) Sets the value(s) for priority (grade)setPriority
(ca.uhn.fhir.model.primitive.BoundCodeDt<DiagnosticOrderPriorityEnum> theValue) Sets the value(s) for priority (grade)setReason
(List<CodeableConceptDt> theValue) Sets the value(s) for reason ()setSpecimen
(List<ResourceReferenceDt> theValue) Sets the value(s) for specimen ()setStatus
(DiagnosticOrderStatusEnum theValue) Sets the value(s) for status (status)setStatus
(ca.uhn.fhir.model.primitive.BoundCodeDt<DiagnosticOrderStatusEnum> theValue) Sets the value(s) for status (status)setSubject
(ResourceReferenceDt theValue) Sets the value(s) for subject (who.focus)setSupportingInformation
(List<ResourceReferenceDt> theValue) Sets the value(s) for supportingInformation ()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
Methods inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
getIdElement, isDeleted, setId, setId
Methods inherited from interface ca.uhn.fhir.model.api.IResource
getContained, getId, getLanguage, getMeta, getResourceMetadata, getText, setId, setLanguage, setResourceMetadata
-
Field Details
-
SP_ACTOR
Search parameter constant for actorDescription:
Type: reference
Path: DiagnosticOrder.event.actor | DiagnosticOrder.item.event.actor
- See Also:
-
ACTOR
Fluent Client search parameter constant for actorDescription:
Type: reference
Path: DiagnosticOrder.event.actor | DiagnosticOrder.item.event.actor
-
SP_BODYSITE
Search parameter constant for bodysiteDescription:
Type: token
Path: DiagnosticOrder.item.bodySite
- See Also:
-
BODYSITE
Fluent Client search parameter constant for bodysiteDescription:
Type: token
Path: DiagnosticOrder.item.bodySite
-
SP_CODE
Search parameter constant for codeDescription:
Type: token
Path: DiagnosticOrder.item.code
- See Also:
-
CODE
Fluent Client search parameter constant for codeDescription:
Type: token
Path: DiagnosticOrder.item.code
-
SP_EVENT_DATE
Search parameter constant for event-dateDescription:
Type: date
Path: DiagnosticOrder.event.dateTime
- See Also:
-
EVENT_DATE
Fluent Client search parameter constant for event-dateDescription:
Type: date
Path: DiagnosticOrder.event.dateTime
-
SP_ENCOUNTER
Search parameter constant for encounterDescription:
Type: reference
Path: DiagnosticOrder.encounter
- See Also:
-
ENCOUNTER
Fluent Client search parameter constant for encounterDescription:
Type: reference
Path: DiagnosticOrder.encounter
-
SP_IDENTIFIER
Search parameter constant for identifierDescription:
Type: token
Path: DiagnosticOrder.identifier
- See Also:
-
IDENTIFIER
Fluent Client search parameter constant for identifierDescription:
Type: token
Path: DiagnosticOrder.identifier
-
SP_ITEM_DATE
Search parameter constant for item-dateDescription:
Type: date
Path: DiagnosticOrder.item.event.dateTime
- See Also:
-
ITEM_DATE
Fluent Client search parameter constant for item-dateDescription:
Type: date
Path: DiagnosticOrder.item.event.dateTime
-
SP_ITEM_PAST_STATUS
Search parameter constant for item-past-statusDescription:
Type: token
Path: DiagnosticOrder.item.event.status
- See Also:
-
ITEM_PAST_STATUS
Fluent Client search parameter constant for item-past-statusDescription:
Type: token
Path: DiagnosticOrder.item.event.status
-
SP_ITEM_STATUS
Search parameter constant for item-statusDescription:
Type: token
Path: DiagnosticOrder.item.status
- See Also:
-
ITEM_STATUS
Fluent Client search parameter constant for item-statusDescription:
Type: token
Path: DiagnosticOrder.item.status
-
SP_ORDERER
Search parameter constant for ordererDescription:
Type: reference
Path: DiagnosticOrder.orderer
- See Also:
-
ORDERER
Fluent Client search parameter constant for ordererDescription:
Type: reference
Path: DiagnosticOrder.orderer
-
SP_EVENT_STATUS
Search parameter constant for event-statusDescription:
Type: token
Path: DiagnosticOrder.event.status
- See Also:
-
EVENT_STATUS
Fluent Client search parameter constant for event-statusDescription:
Type: token
Path: DiagnosticOrder.event.status
-
SP_SPECIMEN
Search parameter constant for specimenDescription:
Type: reference
Path: DiagnosticOrder.specimen | DiagnosticOrder.item.specimen
- See Also:
-
SPECIMEN
Fluent Client search parameter constant for specimenDescription:
Type: reference
Path: DiagnosticOrder.specimen | DiagnosticOrder.item.specimen
-
SP_STATUS
Search parameter constant for statusDescription:
Type: token
Path: DiagnosticOrder.status
- See Also:
-
STATUS
Fluent Client search parameter constant for statusDescription:
Type: token
Path: DiagnosticOrder.status
-
SP_SUBJECT
Search parameter constant for subjectDescription:
Type: reference
Path: DiagnosticOrder.subject
- See Also:
-
SUBJECT
Fluent Client search parameter constant for subjectDescription:
Type: reference
Path: DiagnosticOrder.subject
-
SP_PATIENT
Search parameter constant for patientDescription:
Type: reference
Path: DiagnosticOrder.subject
- See Also:
-
PATIENT
Fluent Client search parameter constant for patientDescription:
Type: reference
Path: DiagnosticOrder.subject
-
SP_ITEM_PAST_STATUS_ITEM_DATE
Search parameter constant for item-past-status-item-dateDescription: A combination of item-past-status and item-date
Type: composite
Path: item-past-status & item-date
- See Also:
-
ITEM_PAST_STATUS_ITEM_DATE
public static final ca.uhn.fhir.rest.gclient.CompositeClientParam<ca.uhn.fhir.rest.gclient.TokenClientParam,ca.uhn.fhir.rest.gclient.DateClientParam> ITEM_PAST_STATUS_ITEM_DATEFluent Client search parameter constant for item-past-status-item-dateDescription: A combination of item-past-status and item-date
Type: composite
Path: item-past-status & item-date
-
SP_EVENT_STATUS_EVENT_DATE
Search parameter constant for event-status-event-dateDescription: A combination of past-status and date
Type: composite
Path: event-status & event-date
- See Also:
-
EVENT_STATUS_EVENT_DATE
public static final ca.uhn.fhir.rest.gclient.CompositeClientParam<ca.uhn.fhir.rest.gclient.TokenClientParam,ca.uhn.fhir.rest.gclient.DateClientParam> EVENT_STATUS_EVENT_DATEFluent Client search parameter constant for event-status-event-dateDescription: A combination of past-status and date
Type: composite
Path: event-status & event-date
-
INCLUDE_ACTOR
Constant for fluent queries to be used to add include statements. Specifies the path value of "DiagnosticOrder:actor". -
INCLUDE_ENCOUNTER
Constant for fluent queries to be used to add include statements. Specifies the path value of "DiagnosticOrder:encounter". -
INCLUDE_ORDERER
Constant for fluent queries to be used to add include statements. Specifies the path value of "DiagnosticOrder:orderer". -
INCLUDE_PATIENT
Constant for fluent queries to be used to add include statements. Specifies the path value of "DiagnosticOrder:patient". -
INCLUDE_SPECIMEN
Constant for fluent queries to be used to add include statements. Specifies the path value of "DiagnosticOrder:specimen". -
INCLUDE_SUBJECT
Constant for fluent queries to be used to add include statements. Specifies the path value of "DiagnosticOrder:subject".
-
-
Constructor Details
-
DiagnosticOrder
public DiagnosticOrder()
-
-
Method Details
-
isEmpty
- Specified by:
isEmpty
in 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:
getAllPopulatedChildElementsOfType
in interfaceca.uhn.fhir.model.api.ICompositeElement
-
getSubject
Gets the value(s) for subject (who.focus). creating it if it does not exist. Will not returnnull
.Definition: Who or what the investigation is to be performed on. This is usually a human patient, but diagnostic tests can also be requested on animals, groups of humans or animals, devices such as dialysis machines, or even locations (typically for environmental scans)
-
setSubject
Sets the value(s) for subject (who.focus)Definition: Who or what the investigation is to be performed on. This is usually a human patient, but diagnostic tests can also be requested on animals, groups of humans or animals, devices such as dialysis machines, or even locations (typically for environmental scans)
-
getOrderer
Gets the value(s) for orderer (who.actor). creating it if it does not exist. Will not returnnull
.Definition: The practitioner that holds legal responsibility for ordering the investigation
-
setOrderer
Sets the value(s) for orderer (who.actor)Definition: The practitioner that holds legal responsibility for ordering the investigation
-
getIdentifier
Gets the value(s) for identifier (id). creating it if it does not exist. Will not returnnull
.Definition: Identifiers assigned to this order instance by the orderer and/or the receiver and/or order fulfiller.
-
setIdentifier
Sets the value(s) for identifier (id)Definition: Identifiers assigned to this order instance by the orderer and/or the receiver and/or order fulfiller.
-
addIdentifier
Adds and returns a new value for identifier (id)Definition: Identifiers assigned to this order instance by the orderer and/or the receiver and/or order fulfiller.
-
addIdentifier
Adds a given new value for identifier (id)Definition: Identifiers assigned to this order instance by the orderer and/or the receiver and/or order fulfiller.
- Parameters:
theValue
- The identifier to add (must not benull
)
-
getIdentifierFirstRep
Gets the first repetition for identifier (id), creating it if it does not already exist.Definition: Identifiers assigned to this order instance by the orderer and/or the receiver and/or order fulfiller.
-
getEncounter
Gets the value(s) for encounter (context). creating it if it does not exist. Will not returnnull
.Definition: An encounter that provides additional information about the healthcare context in which this request is made
-
setEncounter
Sets the value(s) for encounter (context)Definition: An encounter that provides additional information about the healthcare context in which this request is made
-
getReason
Gets the value(s) for reason (). creating it if it does not exist. Will not returnnull
.Definition: An explanation or justification for why this diagnostic investigation is being requested. This is often for billing purposes. May relate to the resources referred to in supportingInformation.
-
setReason
Sets the value(s) for reason ()Definition: An explanation or justification for why this diagnostic investigation is being requested. This is often for billing purposes. May relate to the resources referred to in supportingInformation.
-
addReason
Adds and returns a new value for reason ()Definition: An explanation or justification for why this diagnostic investigation is being requested. This is often for billing purposes. May relate to the resources referred to in supportingInformation.
-
addReason
Adds a given new value for reason ()Definition: An explanation or justification for why this diagnostic investigation is being requested. This is often for billing purposes. May relate to the resources referred to in supportingInformation.
- Parameters:
theValue
- The reason to add (must not benull
)
-
getReasonFirstRep
Gets the first repetition for reason (), creating it if it does not already exist.Definition: An explanation or justification for why this diagnostic investigation is being requested. This is often for billing purposes. May relate to the resources referred to in supportingInformation.
-
getSupportingInformation
Gets the value(s) for supportingInformation (). creating it if it does not exist. Will not returnnull
.Definition: Additional clinical information about the patient or specimen that may influence test interpretations. This includes observations explicitly requested by the producer(filler) to provide context or supporting information needed to complete the order.
-
setSupportingInformation
Sets the value(s) for supportingInformation ()Definition: Additional clinical information about the patient or specimen that may influence test interpretations. This includes observations explicitly requested by the producer(filler) to provide context or supporting information needed to complete the order.
-
addSupportingInformation
Adds and returns a new value for supportingInformation ()Definition: Additional clinical information about the patient or specimen that may influence test interpretations. This includes observations explicitly requested by the producer(filler) to provide context or supporting information needed to complete the order.
-
getSpecimen
Gets the value(s) for specimen (). creating it if it does not exist. Will not returnnull
.Definition: One or more specimens that the diagnostic investigation is about
-
setSpecimen
Sets the value(s) for specimen ()Definition: One or more specimens that the diagnostic investigation is about
-
addSpecimen
Adds and returns a new value for specimen ()Definition: One or more specimens that the diagnostic investigation is about
-
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
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 DiagnosticOrder setStatus(ca.uhn.fhir.model.primitive.BoundCodeDt<DiagnosticOrderStatusEnum> theValue) Sets the value(s) for status (status)Definition: The status of the order
-
setStatus
Sets the value(s) for status (status)Definition: The status of the order
-
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
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 DiagnosticOrder setPriority(ca.uhn.fhir.model.primitive.BoundCodeDt<DiagnosticOrderPriorityEnum> theValue) Sets the value(s) for priority (grade)Definition: The clinical priority associated with this order
-
setPriority
Sets the value(s) for priority (grade)Definition: The clinical priority associated with this order
-
getEvent
Gets the value(s) for event (). creating it if it does not exist. Will not returnnull
.Definition: A summary of the events of interest that have occurred as the request is processed; e.g. when the order was made, various processing steps (specimens received), when it was completed
-
setEvent
Sets the value(s) for event ()Definition: A summary of the events of interest that have occurred as the request is processed; e.g. when the order was made, various processing steps (specimens received), when it was completed
-
addEvent
Adds and returns a new value for event ()Definition: A summary of the events of interest that have occurred as the request is processed; e.g. when the order was made, various processing steps (specimens received), when it was completed
-
addEvent
Adds a given new value for event ()Definition: A summary of the events of interest that have occurred as the request is processed; e.g. when the order was made, various processing steps (specimens received), when it was completed
- Parameters:
theValue
- The event to add (must not benull
)
-
getEventFirstRep
Gets the first repetition for event (), creating it if it does not already exist.Definition: A summary of the events of interest that have occurred as the request is processed; e.g. when the order was made, various processing steps (specimens received), when it was completed
-
getItem
Gets the value(s) for item (). creating it if it does not exist. Will not returnnull
.Definition: The specific diagnostic investigations that are requested as part of this request. Sometimes, there can only be one item per request, but in most contexts, more than one investigation can be requested
-
setItem
Sets the value(s) for item ()Definition: The specific diagnostic investigations that are requested as part of this request. Sometimes, there can only be one item per request, but in most contexts, more than one investigation can be requested
-
addItem
Adds and returns a new value for item ()Definition: The specific diagnostic investigations that are requested as part of this request. Sometimes, there can only be one item per request, but in most contexts, more than one investigation can be requested
-
addItem
Adds a given new value for item ()Definition: The specific diagnostic investigations that are requested as part of this request. Sometimes, there can only be one item per request, but in most contexts, more than one investigation can be requested
- Parameters:
theValue
- The item to add (must not benull
)
-
getItemFirstRep
Gets the first repetition for item (), creating it if it does not already exist.Definition: The specific diagnostic investigations that are requested as part of this request. Sometimes, there can only be one item per request, but in most contexts, more than one investigation can be requested
-
getNote
Gets the value(s) for note (). creating it if it does not exist. Will not returnnull
.Definition: Any other notes associated with this patient, specimen or order (e.g. \"patient hates needles\")
-
setNote
Sets the value(s) for note ()Definition: Any other notes associated with this patient, specimen or order (e.g. \"patient hates needles\")
-
addNote
Adds and returns a new value for note ()Definition: Any other notes associated with this patient, specimen or order (e.g. \"patient hates needles\")
-
addNote
Adds a given new value for note ()Definition: Any other notes associated with this patient, specimen or order (e.g. \"patient hates needles\")
- Parameters:
theValue
- The note to add (must not benull
)
-
getNoteFirstRep
Gets the first repetition for note (), creating it if it does not already exist.Definition: Any other notes associated with this patient, specimen or order (e.g. \"patient hates needles\")
-
getResourceName
- Specified by:
getResourceName
in interfaceca.uhn.fhir.model.api.IResource
-
getStructureFhirVersionEnum
- Specified by:
getStructureFhirVersionEnum
in interfaceorg.hl7.fhir.instance.model.api.IBaseResource
- Specified by:
getStructureFhirVersionEnum
in interfaceca.uhn.fhir.model.api.IResource
-