
Package org.hl7.fhir.dstu2.model
Class VisionPrescription
java.lang.Object
org.hl7.fhir.dstu2.model.Base
org.hl7.fhir.dstu2.model.BaseResource
org.hl7.fhir.dstu2.model.Resource
org.hl7.fhir.dstu2.model.DomainResource
org.hl7.fhir.dstu2.model.VisionPrescription
- All Implemented Interfaces:
ca.uhn.fhir.model.api.IElement,Serializable,org.hl7.fhir.instance.model.api.IAnyResource,org.hl7.fhir.instance.model.api.IBase,org.hl7.fhir.instance.model.api.IBaseHasExtensions,org.hl7.fhir.instance.model.api.IBaseHasModifierExtensions,org.hl7.fhir.instance.model.api.IBaseResource,org.hl7.fhir.instance.model.api.IDomainResource
An authorization for the supply of glasses and/or contact lenses to a
patient.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumstatic classstatic enumstatic classstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected DateTimeTypeThe date (and perhaps time) when the prescription was written.Deals with details of the dispense part of the supply specification.protected ReferenceA link to a resource that identifies the particular occurrence of contact between patient and health care provider.protected EncounterThe 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> Business identifier which may be used by other parties to reference or identify the prescription.protected ReferenceA link to a resource representing the person to whom the vision products will be supplied.protected PatientThe 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 ReferenceThe healthcare professional responsible for authorizing the prescription.protected PractitionerThe actual object that is the target of the reference (The healthcare professional responsible for authorizing the prescription.)protected TypeCan be the reason or the indication for writing the prescription.static final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from class org.hl7.fhir.dstu2.model.DomainResource
contained, extension, modifierExtension, textFields inherited from class org.hl7.fhir.dstu2.model.Resource
id, implicitRules, language, metaFields inherited from interface org.hl7.fhir.instance.model.api.IAnyResource
RES_ID, RES_LAST_UPDATED, RES_PROFILE, RES_SECURITY, RES_TAG, SP_RES_ID, SP_RES_LAST_UPDATED, SP_RES_PROFILE, SP_RES_SECURITY, SP_RES_TAGFields inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
INCLUDE_ALL, WILDCARD_ALL_SET -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncopy()booleanequalsDeep(Base other) booleanequalsShallow(Base other) fhirType()booleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanisEmpty()protected voidlistChildren(List<Property> childrenList) setDateWritten(Date value) setEncounter(Reference value) setEncounterTarget(Encounter value) setPatient(Reference value) setPatientTarget(Patient value) setPrescriber(Reference value) setPrescriberTarget(Practitioner value) voidsetProperty(String name, Base value) protected VisionPrescriptionMethods inherited from class org.hl7.fhir.dstu2.model.DomainResource
addContained, addExtension, addExtension, addModifierExtension, addModifierExtension, copyValues, getContained, getExtension, getExtensionByUrl, getModifierExtension, getText, hasContained, hasExtension, hasExtension, hasModifierExtension, hasText, setTextMethods inherited from class org.hl7.fhir.dstu2.model.Resource
copyValues, getId, getIdElement, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguageElement, getMeta, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, setId, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMetaMethods inherited from class org.hl7.fhir.dstu2.model.BaseResource
getStructureFhirVersionEnum, setIdMethods inherited from class org.hl7.fhir.dstu2.model.Base
castToAddress, 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, setUserDataINNMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.hl7.fhir.instance.model.api.IAnyResource
getId, getIdElement, getLanguageElement, getUserData, setId, setUserDataMethods inherited from interface org.hl7.fhir.instance.model.api.IBase
getFormatCommentsPost, getFormatCommentsPre, hasFormatCommentMethods inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
getMeta, getStructureFhirVersionEnum, isDeleted, setId
-
Field Details
-
identifier
Business identifier which may be used by other parties to reference or identify the prescription. -
dateWritten
The date (and perhaps time) when the prescription was written. -
patient
A link to a resource representing the person to whom the vision products will be supplied. -
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.) -
prescriber
The healthcare professional responsible for authorizing the prescription. -
prescriberTarget
The actual object that is the target of the reference (The healthcare professional responsible for authorizing the prescription.) -
encounter
A link to a resource that identifies the particular occurrence of contact between patient and health care provider. -
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.) -
reason
Can be the reason or the indication for writing the prescription. -
dispense
Deals with details of the dispense part of the supply specification. -
SP_PRESCRIBER
- See Also:
-
SP_IDENTIFIER
- See Also:
-
SP_PATIENT
- See Also:
-
SP_DATEWRITTEN
- See Also:
-
SP_ENCOUNTER
- See Also:
-
-
Constructor Details
-
VisionPrescription
public VisionPrescription()
-
-
Method Details
-
getIdentifier
- Returns:
identifier(Business identifier which may be used by other parties to reference or identify the prescription.)
-
hasIdentifier
-
addIdentifier
- Returns:
identifier(Business identifier which may be used by other parties to reference or identify the prescription.)
-
addIdentifier
-
getDateWrittenElement
- Returns:
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 value
-
hasDateWrittenElement
-
hasDateWritten
-
setDateWrittenElement
- Parameters:
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 value
-
getDateWritten
- Returns:
- The date (and perhaps time) when the prescription was written.
-
setDateWritten
- Parameters:
value- The date (and perhaps time) when the prescription was written.
-
getPatient
- Returns:
patient(A link to a resource representing the person to whom the vision products will be supplied.)
-
hasPatient
-
setPatient
- Parameters:
value-patient(A link to a resource representing the person to whom the vision products will be supplied.)
-
getPatientTarget
- Returns:
patientThe 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.)
-
setPatientTarget
- Parameters:
value-patientThe 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.)
-
getPrescriber
- Returns:
prescriber(The healthcare professional responsible for authorizing the prescription.)
-
hasPrescriber
-
setPrescriber
- Parameters:
value-prescriber(The healthcare professional responsible for authorizing the prescription.)
-
getPrescriberTarget
- Returns:
prescriberThe 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.)
-
setPrescriberTarget
- Parameters:
value-prescriberThe 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.)
-
getEncounter
- Returns:
encounter(A link to a resource that identifies the particular occurrence of contact between patient and health care provider.)
-
hasEncounter
-
setEncounter
- Parameters:
value-encounter(A link to a resource that identifies the particular occurrence of contact between patient and health care provider.)
-
getEncounterTarget
- Returns:
encounterThe 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.)
-
setEncounterTarget
- Parameters:
value-encounterThe 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.)
-
getReason
- Returns:
reason(Can be the reason or the indication for writing the prescription.)
-
getReasonCodeableConcept
- Returns:
reason(Can be the reason or the indication for writing the prescription.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasReasonCodeableConcept
-
getReasonReference
- Returns:
reason(Can be the reason or the indication for writing the prescription.)- Throws:
org.hl7.fhir.exceptions.FHIRException
-
hasReasonReference
-
hasReason
-
setReason
- Parameters:
value-reason(Can be the reason or the indication for writing the prescription.)
-
getDispense
- Returns:
dispense(Deals with details of the dispense part of the supply specification.)
-
hasDispense
-
addDispense
- Returns:
dispense(Deals with details of the dispense part of the supply specification.)
-
addDispense
-
listChildren
- Overrides:
listChildrenin classDomainResource
-
setProperty
- Overrides:
setPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
- Overrides:
addChildin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
fhirType
- Specified by:
fhirTypein interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
fhirTypein classDomainResource
-
copy
- Specified by:
copyin classDomainResource
-
typedCopy
-
equalsDeep
- Overrides:
equalsDeepin classDomainResource
-
equalsShallow
- Overrides:
equalsShallowin classDomainResource
-
isEmpty
- Specified by:
isEmptyin interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
isEmptyin classDomainResource
-
getResourceType
- Specified by:
getResourceTypein classResource
-