
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
Nested ClassesModifier and TypeClassDescriptionstatic classBlock class for child element: VisionPrescription.dispense () -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ca.uhn.fhir.rest.gclient.DateClientParamFluent Client search parameter constant for datewrittenstatic final ca.uhn.fhir.rest.gclient.ReferenceClientParamFluent Client search parameter constant for encounterstatic final ca.uhn.fhir.rest.gclient.TokenClientParamFluent Client search parameter constant for identifierstatic final ca.uhn.fhir.model.api.IncludeConstant for fluent queries to be used to add include statements.static final ca.uhn.fhir.model.api.IncludeConstant for fluent queries to be used to add include statements.static final ca.uhn.fhir.model.api.IncludeConstant for fluent queries to be used to add include statements.static final ca.uhn.fhir.rest.gclient.ReferenceClientParamFluent Client search parameter constant for patientstatic final ca.uhn.fhir.rest.gclient.ReferenceClientParamFluent Client search parameter constant for prescriberstatic final StringSearch parameter constant for datewrittenstatic final StringSearch parameter constant for encounterstatic final StringSearch parameter constant for identifierstatic final StringSearch parameter constant for patientstatic final StringSearch parameter constant for prescriberFields inherited from class ca.uhn.fhir.model.dstu2.resource.BaseResource
RES_ID, SP_RES_IDFields inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
INCLUDE_ALL, WILDCARD_ALL_SET -
Constructor Summary
Constructors -
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.DateTimeDtGets 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.IDatatypeGets the value(s) for reason[x] ().ca.uhn.fhir.context.FhirVersionEnumbooleanisEmpty()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, toStringMethods inherited from class ca.uhn.fhir.model.api.BaseElement
addUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getFormatCommentsPost, getFormatCommentsPre, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, getUserData, hasFormatComment, setUserDataMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.hl7.fhir.instance.model.api.IBase
fhirType, getFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserDataMethods inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
getIdElement, isDeleted, setId, setIdMethods 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:
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
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:
getResourceNamein interfaceca.uhn.fhir.model.api.IResource
-
getStructureFhirVersionEnum
- Specified by:
getStructureFhirVersionEnumin interfaceorg.hl7.fhir.instance.model.api.IBaseResource- Specified by:
getStructureFhirVersionEnumin interfaceca.uhn.fhir.model.api.IResource
-