Class VisionPrescription
- 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: An authorization for the supply of glasses and/or contact lenses to a patient.
Requirements:
Profile Definition: http://hl7.org/fhir/profiles/VisionPrescription
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Block class for child element: VisionPrescription.dispense () -
Field Summary
Modifier and TypeFieldDescriptionstatic final ca.uhn.fhir.rest.gclient.DateClientParam
Fluent Client search parameter constant for datewrittenstatic final ca.uhn.fhir.rest.gclient.ReferenceClientParam
Fluent Client search parameter constant for encounterstatic 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.rest.gclient.ReferenceClientParam
Fluent Client search parameter constant for patientstatic final ca.uhn.fhir.rest.gclient.ReferenceClientParam
Fluent Client search parameter constant for prescriberstatic final String
Search parameter constant for datewrittenstatic final String
Search parameter constant for encounterstatic final String
Search parameter constant for identifierstatic final String
Search parameter constant for patientstatic final String
Search parameter constant for prescriberFields 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 TypeMethodDescriptionAdds and returns a new value for dispense ()addDispense
(VisionPrescription.Dispense theValue) Adds a given new value for dispense ()Adds and returns a new value for identifier ()addIdentifier
(IdentifierDt theValue) Adds a given new value for identifier ()<T extends ca.uhn.fhir.model.api.IElement>
List<T> getAllPopulatedChildElementsOfType
(Class<T> theType) Gets the value(s) for dateWritten ().ca.uhn.fhir.model.primitive.DateTimeDt
Gets the value(s) for dateWritten ().Gets the value(s) for dispense ().Gets the first repetition for dispense (), creating it if it does not already exist.Gets the value(s) for encounter ().Gets the value(s) for identifier ().Gets the first repetition for identifier (), creating it if it does not already exist.Gets the value(s) for patient ().Gets the value(s) for prescriber ().ca.uhn.fhir.model.api.IDatatype
Gets the value(s) for reason[x] ().ca.uhn.fhir.context.FhirVersionEnum
boolean
isEmpty()
setDateWritten
(ca.uhn.fhir.model.primitive.DateTimeDt theValue) Sets the value(s) for dateWritten ()setDateWritten
(Date theDate, ca.uhn.fhir.model.api.TemporalPrecisionEnum thePrecision) Sets the value for dateWritten ()setDateWrittenWithSecondsPrecision
(Date theDate) Sets the value for dateWritten ()setDispense
(List<VisionPrescription.Dispense> theValue) Sets the value(s) for dispense ()setEncounter
(ResourceReferenceDt theValue) Sets the value(s) for encounter ()setIdentifier
(List<IdentifierDt> theValue) Sets the value(s) for identifier ()setPatient
(ResourceReferenceDt theValue) Sets the value(s) for patient ()setPrescriber
(ResourceReferenceDt theValue) Sets the value(s) for prescriber ()setReason
(ca.uhn.fhir.model.api.IDatatype theValue) Sets the value(s) for reason[x] ()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_DATEWRITTEN
Search parameter constant for datewrittenDescription: Return prescriptions written on this date
Type: date
Path: VisionPrescription.dateWritten
- See Also:
-
DATEWRITTEN
Fluent Client search parameter constant for datewrittenDescription: Return prescriptions written on this date
Type: date
Path: VisionPrescription.dateWritten
-
SP_ENCOUNTER
Search parameter constant for encounterDescription: Return prescriptions with this encounter identifier
Type: reference
Path: VisionPrescription.encounter
- See Also:
-
ENCOUNTER
Fluent Client search parameter constant for encounterDescription: Return prescriptions with this encounter identifier
Type: reference
Path: VisionPrescription.encounter
-
SP_IDENTIFIER
Search parameter constant for identifierDescription: Return prescriptions with this external identifier
Type: token
Path: VisionPrescription.identifier
- See Also:
-
IDENTIFIER
Fluent Client search parameter constant for identifierDescription: Return prescriptions with this external identifier
Type: token
Path: VisionPrescription.identifier
-
SP_PATIENT
Search parameter constant for patientDescription: The identity of a patient to list dispenses for
Type: reference
Path: VisionPrescription.patient
- See Also:
-
PATIENT
Fluent Client search parameter constant for patientDescription: The identity of a patient to list dispenses for
Type: reference
Path: VisionPrescription.patient
-
SP_PRESCRIBER
Search parameter constant for prescriberDescription:
Type: reference
Path: VisionPrescription.prescriber
- See Also:
-
PRESCRIBER
Fluent Client search parameter constant for prescriberDescription:
Type: reference
Path: VisionPrescription.prescriber
-
INCLUDE_ENCOUNTER
Constant for fluent queries to be used to add include statements. Specifies the path value of "VisionPrescription:encounter". -
INCLUDE_PATIENT
Constant for fluent queries to be used to add include statements. Specifies the path value of "VisionPrescription:patient". -
INCLUDE_PRESCRIBER
Constant for fluent queries to be used to add include statements. Specifies the path value of "VisionPrescription:prescriber".
-
-
Constructor Details
-
VisionPrescription
public VisionPrescription()
-
-
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
-
getIdentifier
Gets the value(s) for identifier (). creating it if it does not exist. Will not returnnull
.Definition: Business identifier which may be used by other parties to reference or identify the prescription.
-
setIdentifier
Sets the value(s) for identifier ()Definition: Business identifier which may be used by other parties to reference or identify the prescription.
-
addIdentifier
Adds and returns a new value for identifier ()Definition: Business identifier which may be used by other parties to reference or identify the prescription.
-
addIdentifier
Adds a given new value for identifier ()Definition: Business identifier which may be used by other parties to reference or identify the prescription.
- Parameters:
theValue
- The identifier to add (must not benull
)
-
getIdentifierFirstRep
Gets the first repetition for identifier (), creating it if it does not already exist.Definition: Business identifier which may be used by other parties to reference or identify the prescription.
-
getDateWrittenElement
Gets the value(s) for dateWritten (). creating it if it does not exist. Will not returnnull
.Definition: The date (and perhaps time) when the prescription was written
-
getDateWritten
Gets the value(s) for dateWritten (). creating it if it does not exist. This method may returnnull
.Definition: The date (and perhaps time) when the prescription was written
-
setDateWritten
Sets the value(s) for dateWritten ()Definition: The date (and perhaps time) when the prescription was written
-
setDateWrittenWithSecondsPrecision
Sets the value for dateWritten ()Definition: The date (and perhaps time) when the prescription was written
-
setDateWritten
public VisionPrescription setDateWritten(Date theDate, ca.uhn.fhir.model.api.TemporalPrecisionEnum thePrecision) Sets the value for dateWritten ()Definition: The date (and perhaps time) when the prescription was written
-
getPatient
Gets the value(s) for patient (). creating it if it does not exist. Will not returnnull
.Definition: A link to a resource representing the person to whom the vision products will be supplied.
-
setPatient
Sets the value(s) for patient ()Definition: A link to a resource representing the person to whom the vision products will be supplied.
-
getPrescriber
Gets the value(s) for prescriber (). creating it if it does not exist. Will not returnnull
.Definition: The healthcare professional responsible for authorizing the prescription
-
setPrescriber
Sets the value(s) for prescriber ()Definition: The healthcare professional responsible for authorizing the prescription
-
getEncounter
Gets the value(s) for encounter (). creating it if it does not exist. Will not returnnull
.Definition: A link to a resource that identifies the particular occurrence of contact between patient and health care provider.
-
setEncounter
Sets the value(s) for encounter ()Definition: A link to a resource that identifies the particular occurrence of contact between patient and health care provider.
-
getReason
Gets the value(s) for reason[x] (). creating it if it does not exist. Will not returnnull
.Definition: Can be the reason or the indication for writing the prescription.
-
setReason
Sets the value(s) for reason[x] ()Definition: Can be the reason or the indication for writing the prescription.
-
getDispense
Gets the value(s) for dispense (). creating it if it does not exist. Will not returnnull
.Definition: Deals with details of the dispense part of the supply specification.
-
setDispense
Sets the value(s) for dispense ()Definition: Deals with details of the dispense part of the supply specification.
-
addDispense
Adds and returns a new value for dispense ()Definition: Deals with details of the dispense part of the supply specification.
-
addDispense
Adds a given new value for dispense ()Definition: Deals with details of the dispense part of the supply specification.
- Parameters:
theValue
- The dispense to add (must not benull
)
-
getDispenseFirstRep
Gets the first repetition for dispense (), creating it if it does not already exist.Definition: Deals with details of the dispense part of the supply specification.
-
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
-