public class VisionPrescription extends BaseResource implements IResource
Definition: An authorization for the supply of glasses and/or contact lenses to a patient.
Requirements:
Profile Definition: http://hl7.org/fhir/profiles/VisionPrescription
| Modifier and Type | Class and Description |
|---|---|
static class |
VisionPrescription.Dispense
Block class for child element: VisionPrescription.dispense ()
|
| Modifier and Type | Field and Description |
|---|---|
static DateClientParam |
DATEWRITTEN
Fluent Client search parameter constant for datewritten
|
static ReferenceClientParam |
ENCOUNTER
Fluent Client search parameter constant for encounter
|
static TokenClientParam |
IDENTIFIER
Fluent Client search parameter constant for identifier
|
static Include |
INCLUDE_ENCOUNTER
Constant for fluent queries to be used to add include statements.
|
static Include |
INCLUDE_PATIENT
Constant for fluent queries to be used to add include statements.
|
static Include |
INCLUDE_PRESCRIBER
Constant for fluent queries to be used to add include statements.
|
static ReferenceClientParam |
PATIENT
Fluent Client search parameter constant for patient
|
static ReferenceClientParam |
PRESCRIBER
Fluent Client search parameter constant for prescriber
|
static String |
SP_DATEWRITTEN
Search parameter constant for datewritten
|
static String |
SP_ENCOUNTER
Search parameter constant for encounter
|
static String |
SP_IDENTIFIER
Search parameter constant for identifier
|
static String |
SP_PATIENT
Search parameter constant for patient
|
static String |
SP_PRESCRIBER
Search parameter constant for prescriber
|
RES_ID, SP_RES_ID, SP_RES_LANGUAGEINCLUDE_ALL, WILDCARD_ALL_SET| Constructor and Description |
|---|
VisionPrescription() |
| Modifier and Type | Method and Description |
|---|---|
VisionPrescription.Dispense |
addDispense()
Adds and returns a new value for dispense ()
|
VisionPrescription |
addDispense(VisionPrescription.Dispense theValue)
Adds a given new value for dispense ()
|
IdentifierDt |
addIdentifier()
Adds and returns a new value for identifier ()
|
VisionPrescription |
addIdentifier(IdentifierDt theValue)
Adds a given new value for identifier ()
|
<T extends IElement> |
getAllPopulatedChildElementsOfType(Class<T> theType) |
Date |
getDateWritten()
Gets the value(s) for dateWritten ().
|
DateTimeDt |
getDateWrittenElement()
Gets the value(s) for dateWritten ().
|
List<VisionPrescription.Dispense> |
getDispense()
Gets the value(s) for dispense ().
|
VisionPrescription.Dispense |
getDispenseFirstRep()
Gets the first repetition for dispense (),
creating it if it does not already exist.
|
ResourceReferenceDt |
getEncounter()
Gets the value(s) for encounter ().
|
List<IdentifierDt> |
getIdentifier()
Gets the value(s) for identifier ().
|
IdentifierDt |
getIdentifierFirstRep()
Gets the first repetition for identifier (),
creating it if it does not already exist.
|
ResourceReferenceDt |
getPatient()
Gets the value(s) for patient ().
|
ResourceReferenceDt |
getPrescriber()
Gets the value(s) for prescriber ().
|
IDatatype |
getReason()
Gets the value(s) for reason[x] ().
|
String |
getResourceName() |
FhirVersionEnum |
getStructureFhirVersionEnum() |
boolean |
isEmpty() |
VisionPrescription |
setDateWritten(Date theDate,
TemporalPrecisionEnum thePrecision)
Sets the value for dateWritten ()
|
VisionPrescription |
setDateWritten(DateTimeDt theValue)
Sets the value(s) for dateWritten ()
|
VisionPrescription |
setDateWrittenWithSecondsPrecision(Date theDate)
Sets the value for dateWritten ()
|
VisionPrescription |
setDispense(List<VisionPrescription.Dispense> theValue)
Sets the value(s) for dispense ()
|
VisionPrescription |
setEncounter(ResourceReferenceDt theValue)
Sets the value(s) for encounter ()
|
VisionPrescription |
setIdentifier(List<IdentifierDt> theValue)
Sets the value(s) for identifier ()
|
VisionPrescription |
setPatient(ResourceReferenceDt theValue)
Sets the value(s) for patient ()
|
VisionPrescription |
setPrescriber(ResourceReferenceDt theValue)
Sets the value(s) for prescriber ()
|
VisionPrescription |
setReason(IDatatype theValue)
Sets the value(s) for reason[x] ()
|
getContained, getId, getIdElement, getLanguage, getResourceMetadata, getText, isBaseEmpty, setContained, setId, setId, setId, setLanguage, setResourceMetadata, setText, toStringaddUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensionsclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetContained, getId, getLanguage, getResourceMetadata, getText, setId, setLanguage, setResourceMetadatagetIdElement, setId, setIdpublic static final String SP_DATEWRITTEN
Description: Return prescriptions written on this date
Type: date
Path: VisionPrescription.dateWritten
public static final DateClientParam DATEWRITTEN
Description: Return prescriptions written on this date
Type: date
Path: VisionPrescription.dateWritten
public static final String SP_ENCOUNTER
Description: Return prescriptions with this encounter identifier
Type: reference
Path: VisionPrescription.encounter
public static final ReferenceClientParam ENCOUNTER
Description: Return prescriptions with this encounter identifier
Type: reference
Path: VisionPrescription.encounter
public static final String SP_IDENTIFIER
Description: Return prescriptions with this external identifier
Type: token
Path: VisionPrescription.identifier
public static final TokenClientParam IDENTIFIER
Description: Return prescriptions with this external identifier
Type: token
Path: VisionPrescription.identifier
public static final String SP_PATIENT
Description: The identity of a patient to list dispenses for
Type: reference
Path: VisionPrescription.patient
public static final ReferenceClientParam PATIENT
Description: The identity of a patient to list dispenses for
Type: reference
Path: VisionPrescription.patient
public static final String SP_PRESCRIBER
Description:
Type: reference
Path: VisionPrescription.prescriber
public static final ReferenceClientParam PRESCRIBER
Description:
Type: reference
Path: VisionPrescription.prescriber
public static final Include INCLUDE_ENCOUNTER
public static final Include INCLUDE_PATIENT
public static final Include INCLUDE_PRESCRIBER
public VisionPrescription()
public <T extends IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType)
getAllPopulatedChildElementsOfType in interface ICompositeElementpublic List<IdentifierDt> getIdentifier()
null.
Definition: Business identifier which may be used by other parties to reference or identify the prescription.
public VisionPrescription setIdentifier(List<IdentifierDt> theValue)
Definition: Business identifier which may be used by other parties to reference or identify the prescription.
public IdentifierDt addIdentifier()
Definition: Business identifier which may be used by other parties to reference or identify the prescription.
public VisionPrescription addIdentifier(IdentifierDt theValue)
Definition: Business identifier which may be used by other parties to reference or identify the prescription.
theValue - The identifier to add (must not be null)public IdentifierDt getIdentifierFirstRep()
Definition: Business identifier which may be used by other parties to reference or identify the prescription.
public DateTimeDt getDateWrittenElement()
null.
Definition: The date (and perhaps time) when the prescription was written
public Date getDateWritten()
null.
Definition: The date (and perhaps time) when the prescription was written
public VisionPrescription setDateWritten(DateTimeDt theValue)
Definition: The date (and perhaps time) when the prescription was written
public VisionPrescription setDateWritten(Date theDate, TemporalPrecisionEnum thePrecision)
Definition: The date (and perhaps time) when the prescription was written
public VisionPrescription setDateWrittenWithSecondsPrecision(Date theDate)
Definition: The date (and perhaps time) when the prescription was written
public ResourceReferenceDt getPatient()
null.
Definition: A link to a resource representing the person to whom the vision products will be supplied.
public VisionPrescription setPatient(ResourceReferenceDt theValue)
Definition: A link to a resource representing the person to whom the vision products will be supplied.
public ResourceReferenceDt getPrescriber()
null.
Definition: The healthcare professional responsible for authorizing the prescription
public VisionPrescription setPrescriber(ResourceReferenceDt theValue)
Definition: The healthcare professional responsible for authorizing the prescription
public ResourceReferenceDt getEncounter()
null.
Definition: A link to a resource that identifies the particular occurrence of contact between patient and health care provider.
public VisionPrescription setEncounter(ResourceReferenceDt theValue)
Definition: A link to a resource that identifies the particular occurrence of contact between patient and health care provider.
public IDatatype getReason()
null.
Definition: Can be the reason or the indication for writing the prescription.
public VisionPrescription setReason(IDatatype theValue)
Definition: Can be the reason or the indication for writing the prescription.
public List<VisionPrescription.Dispense> getDispense()
null.
Definition: Deals with details of the dispense part of the supply specification.
public VisionPrescription setDispense(List<VisionPrescription.Dispense> theValue)
Definition: Deals with details of the dispense part of the supply specification.
public VisionPrescription.Dispense addDispense()
Definition: Deals with details of the dispense part of the supply specification.
public VisionPrescription addDispense(VisionPrescription.Dispense theValue)
Definition: Deals with details of the dispense part of the supply specification.
theValue - The dispense to add (must not be null)public VisionPrescription.Dispense getDispenseFirstRep()
Definition: Deals with details of the dispense part of the supply specification.
public String getResourceName()
getResourceName in interface IResourcepublic FhirVersionEnum getStructureFhirVersionEnum()
getStructureFhirVersionEnum in interface IResourcegetStructureFhirVersionEnum in interface IBaseResourceCopyright © 2014–2016 University Health Network. All rights reserved.