
Class 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
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumstatic classstatic enumstatic classstatic classstatic enumstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected DateTimeTypeThe date this resource was created.protected DateTimeTypeThe date (and perhaps time) when the prescription was written.static final ca.uhn.fhir.rest.gclient.DateClientParamFluent Client search parameter constant for datewrittenprotected ReferenceA reference to a resource that identifies the particular occurrence of contact between patient and health care provider during which the prescription was issued.static final ca.uhn.fhir.rest.gclient.ReferenceClientParamFluent Client search parameter constant for encounterprotected EncounterThe actual object that is the target of the reference (A reference to a resource that identifies the particular occurrence of contact between patient and health care provider during which the prescription was issued.)protected List<Identifier> A unique identifier assigned to this vision prescription.static final ca.uhn.fhir.rest.gclient.TokenClientParamFluent Client search parameter constant for identifierstatic final ca.uhn.fhir.model.api.IncludeConstant for fluent queries to be used to add include statements.static final ca.uhn.fhir.model.api.IncludeConstant for fluent queries to be used to add include statements.static final ca.uhn.fhir.model.api.IncludeConstant for fluent queries to be used to add include statements.Contain the details of the individual lens specifications and serves as the authorization for the fullfillment by certified professionals.protected ReferenceA resource reference to the person to whom the vision prescription applies.static final ca.uhn.fhir.rest.gclient.ReferenceClientParamFluent Client search parameter constant for patientprotected PatientThe actual object that is the target of the reference (A resource reference to the person to whom the vision prescription applies.)protected ReferenceThe healthcare professional responsible for authorizing the prescription.static final ca.uhn.fhir.rest.gclient.ReferenceClientParamFluent Client search parameter constant for prescriberprotected ResourceThe actual object that is the target of the reference (The healthcare professional responsible for authorizing the prescription.)static final StringSearch parameter: datewrittenstatic final StringSearch parameter: encounterstatic final StringSearch parameter: identifierstatic final StringSearch parameter: patientstatic final StringSearch parameter: prescriberstatic final StringSearch parameter: statusprotected Enumeration<VisionPrescription.VisionStatus> The status of the resource instance.static final ca.uhn.fhir.rest.gclient.TokenClientParamFluent Client search parameter constant for statusFields inherited from class org.hl7.fhir.r4.model.DomainResource
contained, extension, modifierExtension, textFields inherited from class org.hl7.fhir.r4.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
ConstructorsConstructorDescriptionConstructorVisionPrescription(Enumeration<VisionPrescription.VisionStatus> status, DateTimeType created, Reference patient, DateTimeType dateWritten, Reference prescriber) Constructor -
Method Summary
Modifier and TypeMethodDescriptioncopy()voidbooleanequalsDeep(Base other_) booleanequalsShallow(Base other_) fhirType()getNamedProperty(int _hash, String _name, boolean _checkValid) Base[]getProperty(int hash, String name, boolean checkValid) String[]getTypesForProperty(int hash, String name) booleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanisEmpty()protected voidlistChildren(List<Property> children) makeProperty(int hash, String name) voidremoveChild(String name, Base value) setCreated(Date value) setCreatedElement(DateTimeType value) setDateWritten(Date value) setEncounter(Reference value) setEncounterTarget(Encounter value) setIdentifier(List<Identifier> theIdentifier) setLensSpecification(List<VisionPrescription.VisionPrescriptionLensSpecificationComponent> theLensSpecification) setPatient(Reference value) setPatientTarget(Patient value) setPrescriber(Reference value) setPrescriberTarget(Resource value) setProperty(int hash, String name, Base value) setProperty(String name, Base value) protected VisionPrescriptionMethods inherited from class org.hl7.fhir.r4.model.DomainResource
addContained, addExtension, addExtension, addExtension, addModifierExtension, addModifierExtension, checkNoModifiers, copyValues, getContained, getContained, getExtension, getExtensionByUrl, getExtensionsByUrl, getExtensionString, getExtensionString, getModifierExtension, getModifierExtensionsByUrl, getText, hasContained, hasExtension, hasExtension, hasModifierExtension, hasPrimitiveExtension, hasText, setContained, setExtension, setModifierExtension, setTextMethods inherited from class org.hl7.fhir.r4.model.Resource
copyValues, getId, getIdBase, getIdElement, getIdPart, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguage, getLanguageElement, getMeta, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, setId, setIdBase, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMetaMethods inherited from class org.hl7.fhir.r4.model.BaseResource
getStructureFhirVersionEnum, isResource, setIdMethods inherited from class org.hl7.fhir.r4.model.Base
castToAddress, castToAnnotation, castToAttachment, castToBase64Binary, castToBoolean, castToCanonical, castToCode, castToCodeableConcept, castToCoding, castToContactDetail, castToContactPoint, castToContributor, castToDataRequirement, castToDate, castToDateTime, castToDecimal, castToDosage, castToDuration, castToElementDefinition, castToExpression, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMarketingStatus, castToMeta, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, castToPopulation, castToPositiveInt, castToProdCharacteristic, castToProductShelfLife, castToQuantity, castToRange, castToRatio, castToReference, castToRelatedArtifact, castToResource, castToSampledData, castToSignature, castToSimpleQuantity, castToString, castToSubstanceAmount, castToTime, castToTiming, castToTriggerDefinition, castToType, castToUnsignedInt, castToUri, castToUrl, castToUsageContext, castToXhtml, castToXhtmlString, children, clearUserData, compareDeep, compareDeep, compareDeep, compareDeep, compareValues, compareValues, copyValues, dateTimeValue, equals, getChildByName, getChildValueByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, getXhtml, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isBooleanPrimitive, isDateTime, isMetadataBased, isPrimitive, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINN, setXhtmlMethods 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
A unique identifier assigned to this vision prescription. -
status
The status of the resource instance. -
created
The date this resource was created. -
patient
A resource reference to the person to whom the vision prescription applies. -
patientTarget
The actual object that is the target of the reference (A resource reference to the person to whom the vision prescription applies.) -
encounter
A reference to a resource that identifies the particular occurrence of contact between patient and health care provider during which the prescription was issued. -
encounterTarget
The actual object that is the target of the reference (A reference to a resource that identifies the particular occurrence of contact between patient and health care provider during which the prescription was issued.) -
dateWritten
The date (and perhaps time) when the prescription was written. -
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.) -
lensSpecification
Contain the details of the individual lens specifications and serves as the authorization for the fullfillment by certified professionals. -
SP_PRESCRIBER
Search parameter: prescriberDescription: Who authorized the vision prescription
Type: reference
Path: VisionPrescription.prescriber
- See Also:
-
PRESCRIBER
Fluent Client search parameter constant for prescriberDescription: Who authorized the vision prescription
Type: reference
Path: VisionPrescription.prescriber
-
INCLUDE_PRESCRIBER
Constant for fluent queries to be used to add include statements. Specifies the path value of "VisionPrescription:prescriber". -
SP_IDENTIFIER
Search parameter: identifierDescription: Return prescriptions with this external identifier
Type: token
Path: VisionPrescription.identifier
- See Also:
-
IDENTIFIER
Fluent Client search parameter constant for identifierDescription: Return prescriptions with this external identifier
Type: token
Path: VisionPrescription.identifier
-
SP_PATIENT
Search parameter: patientDescription: The identity of a patient to list dispenses for
Type: reference
Path: VisionPrescription.patient
- See Also:
-
PATIENT
Fluent Client search parameter constant for patientDescription: The identity of a patient to list dispenses for
Type: reference
Path: VisionPrescription.patient
-
INCLUDE_PATIENT
Constant for fluent queries to be used to add include statements. Specifies the path value of "VisionPrescription:patient". -
SP_DATEWRITTEN
Search parameter: datewrittenDescription: Return prescriptions written on this date
Type: date
Path: VisionPrescription.dateWritten
- See Also:
-
DATEWRITTEN
Fluent Client search parameter constant for datewrittenDescription: Return prescriptions written on this date
Type: date
Path: VisionPrescription.dateWritten
-
SP_ENCOUNTER
Search parameter: encounterDescription: Return prescriptions with this encounter identifier
Type: reference
Path: VisionPrescription.encounter
- See Also:
-
ENCOUNTER
Fluent Client search parameter constant for encounterDescription: Return prescriptions with this encounter identifier
Type: reference
Path: VisionPrescription.encounter
-
INCLUDE_ENCOUNTER
Constant for fluent queries to be used to add include statements. Specifies the path value of "VisionPrescription:encounter". -
SP_STATUS
Search parameter: statusDescription: The status of the vision prescription
Type: token
Path: VisionPrescription.status
- See Also:
-
STATUS
Fluent Client search parameter constant for statusDescription: The status of the vision prescription
Type: token
Path: VisionPrescription.status
-
-
Constructor Details
-
VisionPrescription
public VisionPrescription()Constructor -
VisionPrescription
public VisionPrescription(Enumeration<VisionPrescription.VisionStatus> status, DateTimeType created, Reference patient, DateTimeType dateWritten, Reference prescriber) Constructor
-
-
Method Details
-
getIdentifier
- Returns:
identifier(A unique identifier assigned to this vision prescription.)
-
setIdentifier
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasIdentifier
-
addIdentifier
-
addIdentifier
-
getIdentifierFirstRep
- Returns:
- The first repetition of repeating field
identifier, creating it if it does not already exist
-
getStatusElement
- Returns:
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 value
-
hasStatusElement
-
hasStatus
-
setStatusElement
- Parameters:
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 value
-
getStatus
- Returns:
- The status of the resource instance.
-
setStatus
- Parameters:
value- The status of the resource instance.
-
getCreatedElement
- Returns:
created(The date this resource was created.). This is the underlying object with id, value and extensions. The accessor "getCreated" gives direct access to the value
-
hasCreatedElement
-
hasCreated
-
setCreatedElement
- Parameters:
value-created(The date this resource was created.). This is the underlying object with id, value and extensions. The accessor "getCreated" gives direct access to the value
-
getCreated
- Returns:
- The date this resource was created.
-
setCreated
- Parameters:
value- The date this resource was created.
-
getPatient
- Returns:
patient(A resource reference to the person to whom the vision prescription applies.)
-
hasPatient
-
setPatient
- Parameters:
value-patient(A resource reference to the person to whom the vision prescription applies.)
-
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 resource reference to the person to whom the vision prescription applies.)
-
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 resource reference to the person to whom the vision prescription applies.)
-
getEncounter
- Returns:
encounter(A reference to a resource that identifies the particular occurrence of contact between patient and health care provider during which the prescription was issued.)
-
hasEncounter
-
setEncounter
- Parameters:
value-encounter(A reference to a resource that identifies the particular occurrence of contact between patient and health care provider during which the prescription was issued.)
-
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 reference to a resource that identifies the particular occurrence of contact between patient and health care provider during which the prescription was issued.)
-
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 reference to a resource that identifies the particular occurrence of contact between patient and health care provider during which the prescription was issued.)
-
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.
-
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.)
-
getLensSpecification
- Returns:
lensSpecification(Contain the details of the individual lens specifications and serves as the authorization for the fullfillment by certified professionals.)
-
setLensSpecification
public VisionPrescription setLensSpecification(List<VisionPrescription.VisionPrescriptionLensSpecificationComponent> theLensSpecification) - Returns:
- Returns a reference to
thisfor easy method chaining
-
hasLensSpecification
-
addLensSpecification
-
addLensSpecification
-
getLensSpecificationFirstRep
public VisionPrescription.VisionPrescriptionLensSpecificationComponent getLensSpecificationFirstRep()- Returns:
- The first repetition of repeating field
lensSpecification, creating it if it does not already exist
-
listChildren
- Overrides:
listChildrenin classDomainResource
-
getNamedProperty
public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getNamedPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getProperty
public Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
setPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
- Overrides:
setPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
removeChild
- Overrides:
removeChildin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
makeProperty
- Overrides:
makePropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getTypesForProperty
public String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getTypesForPropertyin 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
-
copyValues
-
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
-