Package org.hl7.fhir.dstu2.model
Class Procedure
java.lang.Object
org.hl7.fhir.dstu2.model.Base
org.hl7.fhir.dstu2.model.BaseResource
org.hl7.fhir.dstu2.model.Resource
org.hl7.fhir.dstu2.model.DomainResource
org.hl7.fhir.dstu2.model.Procedure
- All Implemented Interfaces:
ca.uhn.fhir.model.api.IElement
,Serializable
,org.hl7.fhir.instance.model.api.IAnyResource
,org.hl7.fhir.instance.model.api.IBase
,org.hl7.fhir.instance.model.api.IBaseHasExtensions
,org.hl7.fhir.instance.model.api.IBaseHasModifierExtensions
,org.hl7.fhir.instance.model.api.IBaseResource
,org.hl7.fhir.instance.model.api.IDomainResource
An action that is or was performed on a patient. This can be a physical
intervention like an operation, or less invasive like counseling or
hypnotherapy.
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
static enum
static class
-
Field Summary
Modifier and TypeFieldDescriptionprotected List
<CodeableConcept> Detailed and structured anatomical location information.protected CodeableConcept
A code that classifies the procedure for searching, sorting and display purposes (e.g.protected CodeableConcept
The specific procedure that is performed.protected List
<CodeableConcept> Any complications that occurred during the procedure, or in the immediate post-performance period.protected Reference
The encounter during which the procedure was performed.protected Encounter
The actual object that is the target of the reference (The encounter during which the procedure was performed.)protected List
<Procedure.ProcedureFocalDeviceComponent> A device that is implanted, removed or otherwise manipulated (calibration, battery replacement, fitting a prosthesis, attaching a wound-vac, etc.) as a focal portion of the Procedure.protected List
<CodeableConcept> If the procedure required specific follow up - e.g.protected List
<Identifier> This records identifiers associated with this procedure that are defined by business processes and/or used to refer to it when a direct URL reference to the resource itself is not appropriate (e.g.protected Reference
The location where the procedure actually happened.protected Location
The actual object that is the target of the reference (The location where the procedure actually happened.protected List
<Annotation> Any other notes about the procedure.protected BooleanType
Set this to true if the record is saying that the procedure was NOT performed.protected CodeableConcept
The outcome of the procedure - did it resolve reasons for the procedure being performed?protected Type
The date(time)/period over which the procedure was performed.protected List
<Procedure.ProcedurePerformerComponent> Limited to 'real' people rather than equipment.protected Type
The reason why the procedure was performed.protected List
<CodeableConcept> A code indicating why the procedure was not performed.This could be a histology result, pathology report, surgical report, etc..protected List
<DiagnosticReport> The actual objects that are the target of the reference (This could be a histology result, pathology report, surgical report, etc..)protected Reference
A reference to a resource that contains details of the request for this procedure.protected Resource
The actual object that is the target of the reference (A reference to a resource that contains details of the request for this procedure.)static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
protected Enumeration
<Procedure.ProcedureStatus> A code specifying the state of the procedure.protected Reference
The person, animal or group on which the procedure was performed.protected Resource
The actual object that is the target of the reference (The person, animal or group on which the procedure was performed.)Identifies medications, devices and any other substance used as part of the procedure.The actual objects that are the target of the reference (Identifies medications, devices and any other substance used as part of the procedure.)Fields inherited from class org.hl7.fhir.dstu2.model.DomainResource
contained, extension, modifierExtension, text
Fields inherited from class org.hl7.fhir.dstu2.model.Resource
id, implicitRules, language, meta
Fields inherited from interface org.hl7.fhir.instance.model.api.IAnyResource
RES_ID, RES_LAST_UPDATED, RES_PROFILE, RES_SECURITY, RES_TAG, SP_RES_ID, SP_RES_LAST_UPDATED, SP_RES_PROFILE, SP_RES_SECURITY, SP_RES_TAG
Fields inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
INCLUDE_ALL, WILDCARD_ALL_SET
-
Constructor Summary
ConstructorDescriptionProcedure
(Reference subject, Enumeration<Procedure.ProcedureStatus> status, CodeableConcept code) -
Method Summary
Modifier and TypeMethodDescriptionaddNotes()
addUsed()
copy()
boolean
equalsDeep
(Base other) boolean
equalsShallow
(Base other) fhirType()
getCode()
getNotes()
boolean
getUsed()
boolean
boolean
boolean
hasCode()
boolean
boolean
boolean
boolean
boolean
boolean
boolean
hasNotes()
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
hasUsed()
boolean
isEmpty()
protected void
listChildren
(List<Property> childrenList) setCategory
(CodeableConcept value) setCode
(CodeableConcept value) setEncounter
(Reference value) setEncounterTarget
(Encounter value) setLocation
(Reference value) setLocationTarget
(Location value) setNotPerformed
(boolean value) setOutcome
(CodeableConcept value) setPerformed
(Type value) void
setProperty
(String name, Base value) setRequest
(Reference value) setRequestTarget
(Resource value) setSubject
(Reference value) setSubjectTarget
(Resource value) protected Procedure
Methods inherited from class org.hl7.fhir.dstu2.model.DomainResource
addContained, addExtension, addExtension, addModifierExtension, addModifierExtension, copyValues, getContained, getExtension, getExtensionByUrl, getModifierExtension, getText, hasContained, hasExtension, hasExtension, hasModifierExtension, hasText, setText
Methods inherited from class org.hl7.fhir.dstu2.model.Resource
copyValues, getId, getIdElement, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguageElement, getMeta, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, setId, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMeta
Methods inherited from class org.hl7.fhir.dstu2.model.BaseResource
getStructureFhirVersionEnum, setId
Methods inherited from class org.hl7.fhir.dstu2.model.Base
castToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCode, castToCodeableConcept, castToCoding, castToContactPoint, castToDate, castToDateTime, castToDecimal, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMeta, castToMoney, castToNarrative, castToOid, castToPeriod, castToPositiveInt, castToQuantity, castToRange, castToRatio, castToReference, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToTime, castToTiming, castToUnsignedInt, castToUri, children, compareDeep, compareDeep, compareDeep, compareValues, compareValues, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getUserData, getUserInt, getUserString, hasFormatComment, hasType, hasUserData, isMetadataBased, isPrimitive, listChildrenByName, primitiveValue, setUserData, setUserDataINN
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.hl7.fhir.instance.model.api.IAnyResource
getId, getIdElement, getLanguageElement, getUserData, setId, setUserData
Methods inherited from interface org.hl7.fhir.instance.model.api.IBase
getFormatCommentsPost, getFormatCommentsPre, hasFormatComment
Methods inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
getMeta, getStructureFhirVersionEnum, isDeleted, setId
-
Field Details
-
identifier
This records identifiers associated with this procedure that are defined by business processes and/or used to refer to it when a direct URL reference to the resource itself is not appropriate (e.g. in CDA documents, or in written / printed documentation). -
subject
The person, animal or group on which the procedure was performed. -
subjectTarget
The actual object that is the target of the reference (The person, animal or group on which the procedure was performed.) -
status
A code specifying the state of the procedure. Generally this will be in-progress or completed state. -
category
A code that classifies the procedure for searching, sorting and display purposes (e.g. "Surgical Procedure"). -
code
The specific procedure that is performed. Use text if the exact nature of the procedure cannot be coded (e.g. "Laparoscopic Appendectomy"). -
notPerformed
Set this to true if the record is saying that the procedure was NOT performed. -
reasonNotPerformed
A code indicating why the procedure was not performed. -
bodySite
Detailed and structured anatomical location information. Multiple locations are allowed - e.g. multiple punch biopsies of a lesion. -
reason
The reason why the procedure was performed. This may be due to a Condition, may be coded entity of some type, or may simply be present as text. -
performer
Limited to 'real' people rather than equipment. -
performed
The date(time)/period over which the procedure was performed. Allows a period to support complex procedures that span more than one date, and also allows for the length of the procedure to be captured. -
encounter
The encounter during which the procedure was performed. -
encounterTarget
The actual object that is the target of the reference (The encounter during which the procedure was performed.) -
location
The location where the procedure actually happened. E.g. a newborn at home, a tracheostomy at a restaurant. -
locationTarget
The actual object that is the target of the reference (The location where the procedure actually happened. E.g. a newborn at home, a tracheostomy at a restaurant.) -
outcome
The outcome of the procedure - did it resolve reasons for the procedure being performed? -
report
This could be a histology result, pathology report, surgical report, etc.. -
reportTarget
The actual objects that are the target of the reference (This could be a histology result, pathology report, surgical report, etc..) -
complication
Any complications that occurred during the procedure, or in the immediate post-performance period. These are generally tracked separately from the notes, which will typically describe the procedure itself rather than any 'post procedure' issues. -
followUp
If the procedure required specific follow up - e.g. removal of sutures. The followup may be represented as a simple note, or could potentially be more complex in which case the CarePlan resource can be used. -
request
A reference to a resource that contains details of the request for this procedure. -
requestTarget
The actual object that is the target of the reference (A reference to a resource that contains details of the request for this procedure.) -
notes
Any other notes about the procedure. E.g. the operative notes. -
focalDevice
A device that is implanted, removed or otherwise manipulated (calibration, battery replacement, fitting a prosthesis, attaching a wound-vac, etc.) as a focal portion of the Procedure. -
used
Identifies medications, devices and any other substance used as part of the procedure. -
usedTarget
The actual objects that are the target of the reference (Identifies medications, devices and any other substance used as part of the procedure.) -
SP_DATE
- See Also:
-
SP_IDENTIFIER
- See Also:
-
SP_CODE
- See Also:
-
SP_PERFORMER
- See Also:
-
SP_SUBJECT
- See Also:
-
SP_PATIENT
- See Also:
-
SP_LOCATION
- See Also:
-
SP_ENCOUNTER
- See Also:
-
-
Constructor Details
-
Procedure
public Procedure() -
Procedure
public Procedure(Reference subject, Enumeration<Procedure.ProcedureStatus> status, CodeableConcept code)
-
-
Method Details
-
getIdentifier
- Returns:
identifier
(This records identifiers associated with this procedure that are defined by business processes and/or used to refer to it when a direct URL reference to the resource itself is not appropriate (e.g. in CDA documents, or in written / printed documentation).)
-
hasIdentifier
-
addIdentifier
- Returns:
identifier
(This records identifiers associated with this procedure that are defined by business processes and/or used to refer to it when a direct URL reference to the resource itself is not appropriate (e.g. in CDA documents, or in written / printed documentation).)
-
addIdentifier
-
getSubject
- Returns:
subject
(The person, animal or group on which the procedure was performed.)
-
hasSubject
-
setSubject
- Parameters:
value
-subject
(The person, animal or group on which the procedure was performed.)
-
getSubjectTarget
- Returns:
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. (The person, animal or group on which the procedure was performed.)
-
setSubjectTarget
- Parameters:
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. (The person, animal or group on which the procedure was performed.)
-
getStatusElement
- Returns:
status
(A code specifying the state of the procedure. Generally this will be in-progress or completed state.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value
-
hasStatusElement
-
hasStatus
-
setStatusElement
- Parameters:
value
-status
(A code specifying the state of the procedure. Generally this will be in-progress or completed state.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value
-
getStatus
- Returns:
- A code specifying the state of the procedure. Generally this will be in-progress or completed state.
-
setStatus
- Parameters:
value
- A code specifying the state of the procedure. Generally this will be in-progress or completed state.
-
getCategory
- Returns:
category
(A code that classifies the procedure for searching, sorting and display purposes (e.g. "Surgical Procedure").)
-
hasCategory
-
setCategory
- Parameters:
value
-category
(A code that classifies the procedure for searching, sorting and display purposes (e.g. "Surgical Procedure").)
-
getCode
- Returns:
code
(The specific procedure that is performed. Use text if the exact nature of the procedure cannot be coded (e.g. "Laparoscopic Appendectomy").)
-
hasCode
-
setCode
- Parameters:
value
-code
(The specific procedure that is performed. Use text if the exact nature of the procedure cannot be coded (e.g. "Laparoscopic Appendectomy").)
-
getNotPerformedElement
- Returns:
notPerformed
(Set this to true if the record is saying that the procedure was NOT performed.). This is the underlying object with id, value and extensions. The accessor "getNotPerformed" gives direct access to the value
-
hasNotPerformedElement
-
hasNotPerformed
-
setNotPerformedElement
- Parameters:
value
-notPerformed
(Set this to true if the record is saying that the procedure was NOT performed.). This is the underlying object with id, value and extensions. The accessor "getNotPerformed" gives direct access to the value
-
getNotPerformed
- Returns:
- Set this to true if the record is saying that the procedure was NOT performed.
-
setNotPerformed
- Parameters:
value
- Set this to true if the record is saying that the procedure was NOT performed.
-
getReasonNotPerformed
- Returns:
reasonNotPerformed
(A code indicating why the procedure was not performed.)
-
hasReasonNotPerformed
-
addReasonNotPerformed
- Returns:
reasonNotPerformed
(A code indicating why the procedure was not performed.)
-
addReasonNotPerformed
-
getBodySite
- Returns:
bodySite
(Detailed and structured anatomical location information. Multiple locations are allowed - e.g. multiple punch biopsies of a lesion.)
-
hasBodySite
-
addBodySite
- Returns:
bodySite
(Detailed and structured anatomical location information. Multiple locations are allowed - e.g. multiple punch biopsies of a lesion.)
-
addBodySite
-
getReason
- Returns:
reason
(The reason why the procedure was performed. This may be due to a Condition, may be coded entity of some type, or may simply be present as text.)
-
getReasonCodeableConcept
- Returns:
reason
(The reason why the procedure was performed. This may be due to a Condition, may be coded entity of some type, or may simply be present as text.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasReasonCodeableConcept
-
getReasonReference
- Returns:
reason
(The reason why the procedure was performed. This may be due to a Condition, may be coded entity of some type, or may simply be present as text.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasReasonReference
-
hasReason
-
setReason
- Parameters:
value
-reason
(The reason why the procedure was performed. This may be due to a Condition, may be coded entity of some type, or may simply be present as text.)
-
getPerformer
- Returns:
performer
(Limited to 'real' people rather than equipment.)
-
hasPerformer
-
addPerformer
- Returns:
performer
(Limited to 'real' people rather than equipment.)
-
addPerformer
-
getPerformed
- Returns:
performed
(The date(time)/period over which the procedure was performed. Allows a period to support complex procedures that span more than one date, and also allows for the length of the procedure to be captured.)
-
getPerformedDateTimeType
- Returns:
performed
(The date(time)/period over which the procedure was performed. Allows a period to support complex procedures that span more than one date, and also allows for the length of the procedure to be captured.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasPerformedDateTimeType
-
getPerformedPeriod
- Returns:
performed
(The date(time)/period over which the procedure was performed. Allows a period to support complex procedures that span more than one date, and also allows for the length of the procedure to be captured.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasPerformedPeriod
-
hasPerformed
-
setPerformed
- Parameters:
value
-performed
(The date(time)/period over which the procedure was performed. Allows a period to support complex procedures that span more than one date, and also allows for the length of the procedure to be captured.)
-
getEncounter
- Returns:
encounter
(The encounter during which the procedure was performed.)
-
hasEncounter
-
setEncounter
- Parameters:
value
-encounter
(The encounter during which the procedure was performed.)
-
getEncounterTarget
- Returns:
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. (The encounter during which the procedure was performed.)
-
setEncounterTarget
- Parameters:
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. (The encounter during which the procedure was performed.)
-
getLocation
- Returns:
location
(The location where the procedure actually happened. E.g. a newborn at home, a tracheostomy at a restaurant.)
-
hasLocation
-
setLocation
- Parameters:
value
-location
(The location where the procedure actually happened. E.g. a newborn at home, a tracheostomy at a restaurant.)
-
getLocationTarget
- Returns:
location
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 location where the procedure actually happened. E.g. a newborn at home, a tracheostomy at a restaurant.)
-
setLocationTarget
- Parameters:
value
-location
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 location where the procedure actually happened. E.g. a newborn at home, a tracheostomy at a restaurant.)
-
getOutcome
- Returns:
outcome
(The outcome of the procedure - did it resolve reasons for the procedure being performed?)
-
hasOutcome
-
setOutcome
- Parameters:
value
-outcome
(The outcome of the procedure - did it resolve reasons for the procedure being performed?)
-
getReport
- Returns:
report
(This could be a histology result, pathology report, surgical report, etc..)
-
hasReport
-
addReport
- Returns:
report
(This could be a histology result, pathology report, surgical report, etc..)
-
addReport
-
getReportTarget
- Returns:
report
(The actual objects that are the target of the reference. The reference library doesn't populate this, but you can use this to hold the resources if you resolvethemt. This could be a histology result, pathology report, surgical report, etc..)
-
addReportTarget
- Returns:
report
(Add an actual object that is the target of the reference. The reference library doesn't use these, but you can use this to hold the resources if you resolvethemt. This could be a histology result, pathology report, surgical report, etc..)
-
getComplication
- Returns:
complication
(Any complications that occurred during the procedure, or in the immediate post-performance period. These are generally tracked separately from the notes, which will typically describe the procedure itself rather than any 'post procedure' issues.)
-
hasComplication
-
addComplication
- Returns:
complication
(Any complications that occurred during the procedure, or in the immediate post-performance period. These are generally tracked separately from the notes, which will typically describe the procedure itself rather than any 'post procedure' issues.)
-
addComplication
-
getFollowUp
- Returns:
followUp
(If the procedure required specific follow up - e.g. removal of sutures. The followup may be represented as a simple note, or could potentially be more complex in which case the CarePlan resource can be used.)
-
hasFollowUp
-
addFollowUp
- Returns:
followUp
(If the procedure required specific follow up - e.g. removal of sutures. The followup may be represented as a simple note, or could potentially be more complex in which case the CarePlan resource can be used.)
-
addFollowUp
-
getRequest
- Returns:
request
(A reference to a resource that contains details of the request for this procedure.)
-
hasRequest
-
setRequest
- Parameters:
value
-request
(A reference to a resource that contains details of the request for this procedure.)
-
getRequestTarget
- Returns:
request
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. (A reference to a resource that contains details of the request for this procedure.)
-
setRequestTarget
- Parameters:
value
-request
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. (A reference to a resource that contains details of the request for this procedure.)
-
getNotes
- Returns:
notes
(Any other notes about the procedure. E.g. the operative notes.)
-
hasNotes
-
addNotes
- Returns:
notes
(Any other notes about the procedure. E.g. the operative notes.)
-
addNotes
-
getFocalDevice
- Returns:
focalDevice
(A device that is implanted, removed or otherwise manipulated (calibration, battery replacement, fitting a prosthesis, attaching a wound-vac, etc.) as a focal portion of the Procedure.)
-
hasFocalDevice
-
addFocalDevice
- Returns:
focalDevice
(A device that is implanted, removed or otherwise manipulated (calibration, battery replacement, fitting a prosthesis, attaching a wound-vac, etc.) as a focal portion of the Procedure.)
-
addFocalDevice
-
getUsed
- Returns:
used
(Identifies medications, devices and any other substance used as part of the procedure.)
-
hasUsed
-
addUsed
- Returns:
used
(Identifies medications, devices and any other substance used as part of the procedure.)
-
addUsed
-
getUsedTarget
- Returns:
used
(The actual objects that are the target of the reference. The reference library doesn't populate this, but you can use this to hold the resources if you resolvethemt. Identifies medications, devices and any other substance used as part of the procedure.)
-
listChildren
- Overrides:
listChildren
in classDomainResource
-
setProperty
- Overrides:
setProperty
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
- Overrides:
addChild
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
fhirType
- Specified by:
fhirType
in interfaceorg.hl7.fhir.instance.model.api.IBase
- Overrides:
fhirType
in classDomainResource
-
copy
- Specified by:
copy
in classDomainResource
-
typedCopy
-
equalsDeep
- Overrides:
equalsDeep
in classDomainResource
-
equalsShallow
- Overrides:
equalsShallow
in classDomainResource
-
isEmpty
- Specified by:
isEmpty
in interfaceorg.hl7.fhir.instance.model.api.IBase
- Overrides:
isEmpty
in classDomainResource
-
getResourceType
- Specified by:
getResourceType
in classResource
-