public class VisionPrescription extends BaseResource implements ca.uhn.fhir.model.api.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 ca.uhn.fhir.rest.gclient.DateClientParam |
DATEWRITTEN
Fluent Client search parameter constant for datewritten
|
static ca.uhn.fhir.rest.gclient.ReferenceClientParam |
ENCOUNTER
Fluent Client search parameter constant for encounter
|
static ca.uhn.fhir.rest.gclient.TokenClientParam |
IDENTIFIER
Fluent Client search parameter constant for identifier
|
static ca.uhn.fhir.model.api.Include |
INCLUDE_ENCOUNTER
Constant for fluent queries to be used to add include statements.
|
static ca.uhn.fhir.model.api.Include |
INCLUDE_PATIENT
Constant for fluent queries to be used to add include statements.
|
static ca.uhn.fhir.model.api.Include |
INCLUDE_PRESCRIBER
Constant for fluent queries to be used to add include statements.
|
static ca.uhn.fhir.rest.gclient.ReferenceClientParam |
PATIENT
Fluent Client search parameter constant for patient
|
static ca.uhn.fhir.rest.gclient.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_LANGUAGE| 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 ca.uhn.fhir.model.api.IElement> |
getAllPopulatedChildElementsOfType(Class<T> theType) |
Date |
getDateWritten()
Gets the value(s) for dateWritten ().
|
ca.uhn.fhir.model.primitive.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 ().
|
ca.uhn.fhir.model.api.IDatatype |
getReason()
Gets the value(s) for reason[x] ().
|
String |
getResourceName() |
ca.uhn.fhir.context.FhirVersionEnum |
getStructureFhirVersionEnum() |
boolean |
isEmpty() |
VisionPrescription |
setDateWritten(Date theDate,
ca.uhn.fhir.model.api.TemporalPrecisionEnum thePrecision)
Sets the value for dateWritten ()
|
VisionPrescription |
setDateWritten(ca.uhn.fhir.model.primitive.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(ca.uhn.fhir.model.api.IDatatype theValue)
Sets the value(s) for reason[x] ()
|
getContained, getId, getIdElement, getLanguage, getMeta, getResourceMetadata, getText, isBaseEmpty, setContained, setId, setId, setId, setLanguage, setResourceMetadata, setText, toStringaddUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getFormatCommentsPost, getFormatCommentsPre, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, hasFormatCommentclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final String SP_DATEWRITTEN
Description: Return prescriptions written on this date
Type: date
Path: VisionPrescription.dateWritten
public static final ca.uhn.fhir.rest.gclient.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 ca.uhn.fhir.rest.gclient.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 ca.uhn.fhir.rest.gclient.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 ca.uhn.fhir.rest.gclient.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 ca.uhn.fhir.rest.gclient.ReferenceClientParam PRESCRIBER
Description:
Type: reference
Path: VisionPrescription.prescriber
public static final ca.uhn.fhir.model.api.Include INCLUDE_ENCOUNTER
public static final ca.uhn.fhir.model.api.Include INCLUDE_PATIENT
public static final ca.uhn.fhir.model.api.Include INCLUDE_PRESCRIBER
public VisionPrescription()
public boolean isEmpty()
isEmpty in interface org.hl7.fhir.instance.model.api.IBasepublic <T extends ca.uhn.fhir.model.api.IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType)
getAllPopulatedChildElementsOfType in interface ca.uhn.fhir.model.api.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 ca.uhn.fhir.model.primitive.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(ca.uhn.fhir.model.primitive.DateTimeDt theValue)
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 VisionPrescription setDateWritten(Date theDate, ca.uhn.fhir.model.api.TemporalPrecisionEnum thePrecision)
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 ca.uhn.fhir.model.api.IDatatype getReason()
null.
Definition: Can be the reason or the indication for writing the prescription.
public VisionPrescription setReason(ca.uhn.fhir.model.api.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 ca.uhn.fhir.model.api.IResourcepublic ca.uhn.fhir.context.FhirVersionEnum getStructureFhirVersionEnum()
getStructureFhirVersionEnum in interface ca.uhn.fhir.model.api.IResourcegetStructureFhirVersionEnum in interface org.hl7.fhir.instance.model.api.IBaseResourceCopyright © 2014–2018 University Health Network. All rights reserved.