public class VisionPrescription extends DomainResource
| Modifier and Type | Class and Description |
|---|---|
static class |
VisionPrescription.VisionBase |
static class |
VisionPrescription.VisionBaseEnumFactory |
static class |
VisionPrescription.VisionEyes |
static class |
VisionPrescription.VisionEyesEnumFactory |
static class |
VisionPrescription.VisionPrescriptionDispenseComponent |
static class |
VisionPrescription.VisionStatus |
static class |
VisionPrescription.VisionStatusEnumFactory |
| Modifier and Type | Field and Description |
|---|---|
protected DateTimeType |
dateWritten
The date (and perhaps time) when the prescription was written.
|
static DateClientParam |
DATEWRITTEN
Fluent Client search parameter constant for datewritten
|
protected List<VisionPrescription.VisionPrescriptionDispenseComponent> |
dispense
Deals with details of the dispense part of the supply specification.
|
protected Reference |
encounter
A link to a resource that identifies the particular occurrence of contact between patient and health care provider.
|
static ReferenceClientParam |
ENCOUNTER
Fluent Client search parameter constant for encounter
|
protected Encounter |
encounterTarget
The actual object that is the target of the reference (A link to a resource that identifies the particular occurrence of contact between patient and health care provider.)
|
protected List<Identifier> |
identifier
Business identifier which may be used by other parties to reference or identify the prescription.
|
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.
|
protected Reference |
patient
A link to a resource representing the person to whom the vision products will be supplied.
|
static ReferenceClientParam |
PATIENT
Fluent Client search parameter constant for patient
|
protected Patient |
patientTarget
The actual object that is the target of the reference (A link to a resource representing the person to whom the vision products will be supplied.)
|
protected Reference |
prescriber
The healthcare professional responsible for authorizing the prescription.
|
static ReferenceClientParam |
PRESCRIBER
Fluent Client search parameter constant for prescriber
|
protected Practitioner |
prescriberTarget
The actual object that is the target of the reference (The healthcare professional responsible for authorizing the prescription.)
|
protected Type |
reason
Can be the reason or the indication for writing the prescription.
|
static String |
SP_DATEWRITTEN
Search parameter: datewritten
|
static String |
SP_ENCOUNTER
Search parameter: encounter
|
static String |
SP_IDENTIFIER
Search parameter: identifier
|
static String |
SP_PATIENT
Search parameter: patient
|
static String |
SP_PRESCRIBER
Search parameter: prescriber
|
protected Enumeration<VisionPrescription.VisionStatus> |
status
The status of the resource instance.
|
contained, extension, modifierExtension, textid, implicitRules, language, metaRES_ID, SP_RES_ID, SP_RES_LANGUAGEINCLUDE_ALL, WILDCARD_ALL_SET| Constructor and Description |
|---|
VisionPrescription()
Constructor
|
addContained, addExtension, addExtension, addModifierExtension, addModifierExtension, copyValues, getContained, getExtension, getExtensionsByUrl, getModifierExtension, getModifierExtensionsByUrl, getText, hasContained, hasExtension, hasModifierExtension, hasText, setContained, setExtension, setModifierExtension, setTextcopyValues, getId, getIdBase, getIdElement, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguageElement, getMeta, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, setId, setIdBase, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMetagetStructureFhirVersionEnum, isResource, setIdcastToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCode, castToCodeableConcept, castToCoding, castToContactDetail, castToContactPoint, castToContributor, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDosage, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMeta, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPositiveInt, castToQuantity, castToRange, castToRatio, castToReference, castToRelatedArtifact, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToTime, castToTiming, castToTriggerDefinition, castToType, castToUnsignedInt, castToUri, castToUsageContext, castToXhtml, castToXhtmlString, children, clearUserData, compareDeep, compareDeep, compareDeep, compareValues, compareValues, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isMetadataBased, isPrimitive, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINNclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetId, getIdElement, getLanguageElement, getUserData, setId, setUserDatagetMeta, getStructureFhirVersionEnum, setIdgetFormatCommentsPost, getFormatCommentsPre, hasFormatCommentprotected List<Identifier> identifier
protected Enumeration<VisionPrescription.VisionStatus> status
protected Reference patient
protected Patient patientTarget
protected Reference encounter
protected Encounter encounterTarget
protected DateTimeType dateWritten
protected Reference prescriber
protected Practitioner prescriberTarget
protected List<VisionPrescription.VisionPrescriptionDispenseComponent> dispense
public static final String SP_PRESCRIBER
Description: Who authorizes the vision product
Type: reference
Path: VisionPrescription.prescriber
public static final ReferenceClientParam PRESCRIBER
Description: Who authorizes the vision product
Type: reference
Path: VisionPrescription.prescriber
public static final Include INCLUDE_PRESCRIBER
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 Include INCLUDE_PATIENT
public 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 Include INCLUDE_ENCOUNTER
public VisionPrescription()
public List<Identifier> getIdentifier()
identifier (Business identifier which may be used by other parties to reference or identify the prescription.)public VisionPrescription setIdentifier(List<Identifier> theIdentifier)
this for easy method chainingpublic boolean hasIdentifier()
public Identifier addIdentifier()
public VisionPrescription addIdentifier(Identifier t)
public Identifier getIdentifierFirstRep()
identifier, creating it if it does not already existpublic Enumeration<VisionPrescription.VisionStatus> getStatusElement()
status (The status of the resource instance.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the valuepublic boolean hasStatusElement()
public boolean hasStatus()
public VisionPrescription setStatusElement(Enumeration<VisionPrescription.VisionStatus> value)
value - status (The status of the resource instance.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the valuepublic VisionPrescription.VisionStatus getStatus()
public VisionPrescription setStatus(VisionPrescription.VisionStatus value)
value - The status of the resource instance.public Reference getPatient()
patient (A link to a resource representing the person to whom the vision products will be supplied.)public boolean hasPatient()
public VisionPrescription setPatient(Reference value)
value - patient (A link to a resource representing the person to whom the vision products will be supplied.)public Patient getPatientTarget()
patient 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 link to a resource representing the person to whom the vision products will be supplied.)public VisionPrescription setPatientTarget(Patient value)
value - patient 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 link to a resource representing the person to whom the vision products will be supplied.)public Reference getEncounter()
encounter (A link to a resource that identifies the particular occurrence of contact between patient and health care provider.)public boolean hasEncounter()
public VisionPrescription setEncounter(Reference value)
value - encounter (A link to a resource that identifies the particular occurrence of contact between patient and health care provider.)public Encounter getEncounterTarget()
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. (A link to a resource that identifies the particular occurrence of contact between patient and health care provider.)public VisionPrescription setEncounterTarget(Encounter value)
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. (A link to a resource that identifies the particular occurrence of contact between patient and health care provider.)public DateTimeType getDateWrittenElement()
dateWritten (The date (and perhaps time) when the prescription was written.). This is the underlying object with id, value and extensions. The accessor "getDateWritten" gives direct access to the valuepublic boolean hasDateWrittenElement()
public boolean hasDateWritten()
public VisionPrescription setDateWrittenElement(DateTimeType value)
value - dateWritten (The date (and perhaps time) when the prescription was written.). This is the underlying object with id, value and extensions. The accessor "getDateWritten" gives direct access to the valuepublic Date getDateWritten()
public VisionPrescription setDateWritten(Date value)
value - The date (and perhaps time) when the prescription was written.public Reference getPrescriber()
prescriber (The healthcare professional responsible for authorizing the prescription.)public boolean hasPrescriber()
public VisionPrescription setPrescriber(Reference value)
value - prescriber (The healthcare professional responsible for authorizing the prescription.)public Practitioner getPrescriberTarget()
prescriber 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 healthcare professional responsible for authorizing the prescription.)public VisionPrescription setPrescriberTarget(Practitioner value)
value - prescriber 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 healthcare professional responsible for authorizing the prescription.)public Type getReason()
reason (Can be the reason or the indication for writing the prescription.)public CodeableConcept getReasonCodeableConcept() throws FHIRException
reason (Can be the reason or the indication for writing the prescription.)FHIRExceptionpublic boolean hasReasonCodeableConcept()
public Reference getReasonReference() throws FHIRException
reason (Can be the reason or the indication for writing the prescription.)FHIRExceptionpublic boolean hasReasonReference()
public boolean hasReason()
public VisionPrescription setReason(Type value)
value - reason (Can be the reason or the indication for writing the prescription.)public List<VisionPrescription.VisionPrescriptionDispenseComponent> getDispense()
dispense (Deals with details of the dispense part of the supply specification.)public VisionPrescription setDispense(List<VisionPrescription.VisionPrescriptionDispenseComponent> theDispense)
this for easy method chainingpublic boolean hasDispense()
public VisionPrescription.VisionPrescriptionDispenseComponent addDispense()
public VisionPrescription addDispense(VisionPrescription.VisionPrescriptionDispenseComponent t)
public VisionPrescription.VisionPrescriptionDispenseComponent getDispenseFirstRep()
dispense, creating it if it does not already existprotected void listChildren(List<Property> childrenList)
listChildren in class DomainResourcepublic Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException
getProperty in class DomainResourceFHIRExceptionpublic Base setProperty(int hash, String name, Base value) throws FHIRException
setProperty in class DomainResourceFHIRExceptionpublic Base setProperty(String name, Base value) throws FHIRException
setProperty in class DomainResourceFHIRExceptionpublic Base makeProperty(int hash, String name) throws FHIRException
makeProperty in class DomainResourceFHIRExceptionpublic String[] getTypesForProperty(int hash, String name) throws FHIRException
getTypesForProperty in class DomainResourceFHIRExceptionpublic Base addChild(String name) throws FHIRException
addChild in class DomainResourceFHIRExceptionpublic String fhirType()
fhirType in class DomainResourcepublic VisionPrescription copy()
copy in class DomainResourceprotected VisionPrescription typedCopy()
public boolean equalsDeep(Base other)
equalsDeep in class DomainResourcepublic boolean equalsShallow(Base other)
equalsShallow in class DomainResourcepublic boolean isEmpty()
isEmpty in interface IBaseisEmpty in class DomainResourcepublic ResourceType getResourceType()
getResourceType in class ResourceCopyright © 2014–2017 University Health Network. All rights reserved.