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 |
|---|---|
static String |
SP_DATEWRITTEN |
static String |
SP_ENCOUNTER |
static String |
SP_IDENTIFIER |
static String |
SP_PATIENT |
static String |
SP_PRESCRIBER |
| Constructor and Description |
|---|
VisionPrescription() |
addExtension, addExtension, addModifierExtension, addModifierExtension, copyValues, getContained, getExtension, getModifierExtension, getText, hasContained, hasExtension, hasModifierExtension, hasText, setTextcopyValues, getId, getIdElement, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguageElement, getMeta, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, setId, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMetasetIdchildren, compareDeep, compareDeep, compareDeep, compareValues, compareValues, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getUserData, getUserInt, getUserString, hasFormatComment, hasUserData, listChildrenByName, setUserData, setUserDataINNequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetId, getIdElement, getMeta, setIdsetIdpublic 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 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 Exception
public boolean hasReasonCodeableConcept()
throws Exception
Exceptionpublic 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)
public VisionPrescription copy()
copy in class DomainResourcepublic 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–2015 University Health Network. All rights reserved.