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
Modifier and TypeClassDescriptionstatic enum
static class
static enum
static class
static class
static enum
static class
-
Field Summary
Modifier and TypeFieldDescriptionprotected DateTimeType
The date (and perhaps time) when the prescription was written.static final ca.uhn.fhir.rest.gclient.DateClientParam
Fluent Client search parameter constant for datewrittenDeals with details of the dispense part of the supply specification.protected Reference
A link to a resource that identifies the particular occurrence of contact between patient and health care provider.static final ca.uhn.fhir.rest.gclient.ReferenceClientParam
Fluent Client search parameter constant for encounterprotected Encounter
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> Business identifier which may be used by other parties to reference or identify the prescription.static final ca.uhn.fhir.rest.gclient.TokenClientParam
Fluent Client search parameter constant for identifierstatic final ca.uhn.fhir.model.api.Include
Constant for fluent queries to be used to add include statements.static final ca.uhn.fhir.model.api.Include
Constant for fluent queries to be used to add include statements.static final ca.uhn.fhir.model.api.Include
Constant for fluent queries to be used to add include statements.protected Reference
A link to a resource representing the person to whom the vision products will be supplied.static final ca.uhn.fhir.rest.gclient.ReferenceClientParam
Fluent Client search parameter constant for patientprotected Patient
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
The healthcare professional responsible for authorizing the prescription.static final ca.uhn.fhir.rest.gclient.ReferenceClientParam
Fluent Client search parameter constant for prescriberprotected Practitioner
The actual object that is the target of the reference (The healthcare professional responsible for authorizing the prescription.)protected Type
Can be the reason or the indication for writing the prescription.static final String
Search parameter: datewrittenstatic final String
Search parameter: encounterstatic final String
Search parameter: identifierstatic final String
Search parameter: patientstatic final String
Search parameter: prescriberprotected Enumeration
<VisionPrescription.VisionStatus> The status of the resource instance.Fields inherited from class org.hl7.fhir.dstu3.model.DomainResource
contained, extension, modifierExtension, text
Fields inherited from class org.hl7.fhir.dstu3.model.Resource
id, implicitRules, language, meta
Fields 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_TAG
Fields inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
INCLUDE_ALL, WILDCARD_ALL_SET
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncopy()
boolean
equalsDeep
(Base other_) boolean
equalsShallow
(Base other_) fhirType()
getNamedProperty
(int _hash, String _name, boolean _checkValid) Base[]
getProperty
(int hash, String name, boolean checkValid) String[]
getTypesForProperty
(int hash, String name) boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
isEmpty()
protected void
listChildren
(List<Property> children) makeProperty
(int hash, String name) setDateWritten
(Date value) setEncounter
(Reference value) setEncounterTarget
(Encounter value) setIdentifier
(List<Identifier> theIdentifier) setPatient
(Reference value) setPatientTarget
(Patient value) setPrescriber
(Reference value) setPrescriberTarget
(Practitioner value) setProperty
(int hash, String name, Base value) setProperty
(String name, Base value) protected VisionPrescription
Methods inherited from class org.hl7.fhir.dstu3.model.DomainResource
addContained, addExtension, addExtension, addExtension, addModifierExtension, addModifierExtension, copyValues, getContained, getExtension, getExtensionByUrl, getExtensionsByUrl, getModifierExtension, getModifierExtensionsByUrl, getText, hasContained, hasExtension, hasExtension, hasModifierExtension, hasText, setContained, setExtension, setModifierExtension, setText
Methods inherited from class org.hl7.fhir.dstu3.model.Resource
copyValues, getId, getIdBase, getIdElement, getIdPart, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguageElement, getMeta, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, setId, setIdBase, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMeta
Methods inherited from class org.hl7.fhir.dstu3.model.BaseResource
getStructureFhirVersionEnum, isResource, setId
Methods inherited from class org.hl7.fhir.dstu3.model.Base
castToAddress, 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, getNamedProperty, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isBooleanPrimitive, isMetadataBased, isPrimitive, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINN
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.hl7.fhir.instance.model.api.IAnyResource
getId, getIdElement, getLanguageElement, getUserData, setId, setUserData
Methods inherited from interface org.hl7.fhir.instance.model.api.IBase
getFormatCommentsPost, getFormatCommentsPre, hasFormatComment
Methods 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. -
status
The status of the resource instance. -
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.) -
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.) -
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.) -
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
Search parameter: prescriberDescription: Who authorizes the vision product
Type: reference
Path: VisionPrescription.prescriber
- See Also:
-
PRESCRIBER
Fluent Client search parameter constant for prescriberDescription: Who authorizes the vision product
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".
-
-
Constructor Details
-
VisionPrescription
public VisionPrescription()Constructor
-
-
Method Details
-
getIdentifier
- Returns:
identifier
(Business identifier which may be used by other parties to reference or identify the prescription.)
-
setIdentifier
- Returns:
- Returns a reference to
this
for 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.
-
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:
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.)
-
setPatientTarget
- Parameters:
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.)
-
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:
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.)
-
setEncounterTarget
- Parameters:
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.)
-
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:
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.)
-
setPrescriberTarget
- Parameters:
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.)
-
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.)- Throws:
org.hl7.fhir.exceptions.FHIRFormatError
-
getDispense
- Returns:
dispense
(Deals with details of the dispense part of the supply specification.)
-
setDispense
public VisionPrescription setDispense(List<VisionPrescription.VisionPrescriptionDispenseComponent> theDispense) - Returns:
- Returns a reference to
this
for easy method chaining
-
hasDispense
-
addDispense
-
addDispense
-
getDispenseFirstRep
- Returns:
- The first repetition of repeating field
dispense
, creating it if it does not already exist
-
listChildren
- Overrides:
listChildren
in classDomainResource
-
getNamedProperty
public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getNamedProperty
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getProperty
public Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getProperty
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
public Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
setProperty
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
setProperty
- Overrides:
setProperty
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
makeProperty
- Overrides:
makeProperty
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
getTypesForProperty
public String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException - Overrides:
getTypesForProperty
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
addChild
- Overrides:
addChild
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
fhirType
- Specified by:
fhirType
in interfaceorg.hl7.fhir.instance.model.api.IBase
- Overrides:
fhirType
in classDomainResource
-
copy
- Specified by:
copy
in classDomainResource
-
typedCopy
-
equalsDeep
- Overrides:
equalsDeep
in classDomainResource
-
equalsShallow
- Overrides:
equalsShallow
in classDomainResource
-
isEmpty
- Specified by:
isEmpty
in interfaceorg.hl7.fhir.instance.model.api.IBase
- Overrides:
isEmpty
in classDomainResource
-
getResourceType
- Specified by:
getResourceType
in classResource
-