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 |
| Modifier and Type | Field and Description |
|---|---|
protected DateTimeType |
dateWritten
The date (and perhaps time) when the prescription was written.
|
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.
|
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.
|
protected Reference |
patient
A link to a resource representing the person to whom the vision products will be supplied.
|
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.
|
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 |
static String |
SP_ENCOUNTER |
static String |
SP_IDENTIFIER |
static String |
SP_PATIENT |
static String |
SP_PRESCRIBER |
contained, extension, modifierExtension, textid, implicitRules, language, meta| Constructor and Description |
|---|
VisionPrescription() |
addContained, addExtension, addExtension, addModifierExtension, addModifierExtension, copyValues, getContained, getExtension, getModifierExtension, getText, hasContained, hasExtension, hasModifierExtension, hasText, setTextcopyValues, getId, getIdElement, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguageElement, getMeta, getStructureFhirVersionEnum, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, setId, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMetasetIdcastToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCode, castToCodeableConcept, castToCoding, castToContactPoint, castToDate, castToDateTime, castToDecimal, castToDuration, castToElementDefinition, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMeta, castToMoney, castToNarrative, castToOid, castToPeriod, castToPositiveInt, castToQuantity, castToRange, castToRatio, castToReference, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToTime, castToTiming, castToUnsignedInt, castToUri, children, compareDeep, compareDeep, compareDeep, compareValues, compareValues, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getUserData, getUserInt, getUserString, hasFormatComment, hasType, hasUserData, isMetadataBased, isPrimitive, listChildrenByName, primitiveValue, setUserData, setUserDataINNclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetId, getIdElement, getLanguageElement, getUserData, setId, setUserDataprotected List<Identifier> identifier
protected DateTimeType dateWritten
protected Reference patient
protected Patient patientTarget
protected Reference prescriber
protected Practitioner prescriberTarget
protected Reference encounter
protected Encounter encounterTarget
protected List<VisionPrescription.VisionPrescriptionDispenseComponent> dispense
public static final String SP_PRESCRIBER
public static final String SP_IDENTIFIER
public static final String SP_PATIENT
public static final String SP_DATEWRITTEN
public static final String SP_ENCOUNTER
public VisionPrescription()
public List<Identifier> getIdentifier()
identifier (Business identifier which may be used by other parties to reference or identify the prescription.)public boolean hasIdentifier()
public Identifier addIdentifier()
identifier (Business identifier which may be used by other parties to reference or identify the prescription.)public VisionPrescription addIdentifier(Identifier t)
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 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 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 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 Type getReason()
reason (Can be the reason or the indication for writing the prescription.)public CodeableConcept getReasonCodeableConcept() throws org.hl7.fhir.exceptions.FHIRException
reason (Can be the reason or the indication for writing the prescription.)org.hl7.fhir.exceptions.FHIRExceptionpublic boolean hasReasonCodeableConcept()
public Reference getReasonReference() throws org.hl7.fhir.exceptions.FHIRException
reason (Can be the reason or the indication for writing the prescription.)org.hl7.fhir.exceptions.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 boolean hasDispense()
public VisionPrescription.VisionPrescriptionDispenseComponent addDispense()
dispense (Deals with details of the dispense part of the supply specification.)public VisionPrescription addDispense(VisionPrescription.VisionPrescriptionDispenseComponent t)
protected void listChildren(List<Property> childrenList)
listChildren in class DomainResourcepublic void setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic Base addChild(String name) throws org.hl7.fhir.exceptions.FHIRException
addChild in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic 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 org.hl7.fhir.instance.model.api.IBaseisEmpty in class DomainResourcepublic ResourceType getResourceType()
getResourceType in class ResourceCopyright © 2014–2018 University Health Network. All rights reserved.