public class VisionPrescription extends DomainResource
| Modifier and Type | Class and Description |
|---|---|
static class |
VisionPrescription.PrismComponent |
static class |
VisionPrescription.VisionBase |
static class |
VisionPrescription.VisionBaseEnumFactory |
static class |
VisionPrescription.VisionEyes |
static class |
VisionPrescription.VisionEyesEnumFactory |
static class |
VisionPrescription.VisionPrescriptionLensSpecificationComponent |
static class |
VisionPrescription.VisionStatus |
static class |
VisionPrescription.VisionStatusEnumFactory |
| Modifier and Type | Field and Description |
|---|---|
protected DateTimeType |
created
The date this resource was created.
|
protected DateTimeType |
dateWritten
The date (and perhaps time) when the prescription was written.
|
static ca.uhn.fhir.rest.gclient.DateClientParam |
DATEWRITTEN
Fluent Client search parameter constant for datewritten
|
protected Reference |
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.
|
static ca.uhn.fhir.rest.gclient.ReferenceClientParam |
ENCOUNTER
Fluent Client search parameter constant for encounter
|
protected Encounter |
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.)
|
protected List<Identifier> |
identifier
A unique identifier assigned to this vision prescription.
|
static ca.uhn.fhir.rest.gclient.TokenClientParam |
IDENTIFIER
Fluent Client search parameter constant for identifier
|
static ca.uhn.fhir.model.api.Include |
INCLUDE_ENCOUNTER
Constant for fluent queries to be used to add include statements.
|
static ca.uhn.fhir.model.api.Include |
INCLUDE_PATIENT
Constant for fluent queries to be used to add include statements.
|
static ca.uhn.fhir.model.api.Include |
INCLUDE_PRESCRIBER
Constant for fluent queries to be used to add include statements.
|
protected List<VisionPrescription.VisionPrescriptionLensSpecificationComponent> |
lensSpecification
Contain the details of the individual lens specifications and serves as the authorization for the fullfillment by certified professionals.
|
protected Reference |
patient
A resource reference to the person to whom the vision prescription applies.
|
static ca.uhn.fhir.rest.gclient.ReferenceClientParam |
PATIENT
Fluent Client search parameter constant for patient
|
protected Patient |
patientTarget
The actual object that is the target of the reference (A resource reference to the person to whom the vision prescription applies.)
|
protected Reference |
prescriber
The healthcare professional responsible for authorizing the prescription.
|
static ca.uhn.fhir.rest.gclient.ReferenceClientParam |
PRESCRIBER
Fluent Client search parameter constant for prescriber
|
protected Resource |
prescriberTarget
The actual object that is the target of the reference (The healthcare professional responsible for authorizing the prescription.)
|
static String |
SP_DATEWRITTEN
Search parameter: datewritten
|
static String |
SP_ENCOUNTER
Search parameter: encounter
|
static String |
SP_IDENTIFIER
Search parameter: identifier
|
static String |
SP_PATIENT
Search parameter: patient
|
static String |
SP_PRESCRIBER
Search parameter: prescriber
|
static String |
SP_STATUS
Search parameter: status
|
protected Enumeration<VisionPrescription.VisionStatus> |
status
The status of the resource instance.
|
static ca.uhn.fhir.rest.gclient.TokenClientParam |
STATUS
Fluent Client search parameter constant for status
|
contained, extension, modifierExtension, textid, implicitRules, language, meta| Constructor and Description |
|---|
VisionPrescription()
Constructor
|
VisionPrescription(Enumeration<VisionPrescription.VisionStatus> status,
DateTimeType created,
Reference patient,
DateTimeType dateWritten,
Reference prescriber)
Constructor
|
addContained, addExtension, addExtension, addExtension, addModifierExtension, addModifierExtension, checkNoModifiers, copyValues, getContained, getExtension, getExtensionByUrl, getExtensionsByUrl, getModifierExtension, getModifierExtensionsByUrl, getText, hasContained, hasExtension, hasExtension, hasModifierExtension, hasText, setContained, setExtension, setModifierExtension, setTextcopyValues, getId, getIdBase, getIdElement, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguage, getLanguageElement, getMeta, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, setId, setIdBase, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMetagetStructureFhirVersionEnum, isResource, setIdcastToAddress, 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, dateTimeValue, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isBooleanPrimitive, isDateTime, isMetadataBased, isPrimitive, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINNclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetId, getIdElement, getLanguageElement, getUserData, setId, setUserDataprotected List<Identifier> identifier
protected Enumeration<VisionPrescription.VisionStatus> status
protected DateTimeType created
protected Reference patient
protected Patient patientTarget
protected Reference encounter
protected Encounter encounterTarget
protected DateTimeType dateWritten
protected Reference prescriber
protected Resource prescriberTarget
protected List<VisionPrescription.VisionPrescriptionLensSpecificationComponent> lensSpecification
public static final String SP_PRESCRIBER
Description: Who authorized the vision prescription
Type: reference
Path: VisionPrescription.prescriber
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PRESCRIBER
Description: Who authorized the vision prescription
Type: reference
Path: VisionPrescription.prescriber
public static final ca.uhn.fhir.model.api.Include INCLUDE_PRESCRIBER
public static final String SP_IDENTIFIER
Description: Return prescriptions with this external identifier
Type: token
Path: VisionPrescription.identifier
public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER
Description: Return prescriptions with this external identifier
Type: token
Path: VisionPrescription.identifier
public static final String SP_PATIENT
Description: The identity of a patient to list dispenses for
Type: reference
Path: VisionPrescription.patient
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PATIENT
Description: The identity of a patient to list dispenses for
Type: reference
Path: VisionPrescription.patient
public static final ca.uhn.fhir.model.api.Include INCLUDE_PATIENT
public static final String SP_DATEWRITTEN
Description: Return prescriptions written on this date
Type: date
Path: VisionPrescription.dateWritten
public static final ca.uhn.fhir.rest.gclient.DateClientParam DATEWRITTEN
Description: Return prescriptions written on this date
Type: date
Path: VisionPrescription.dateWritten
public static final String SP_ENCOUNTER
Description: Return prescriptions with this encounter identifier
Type: reference
Path: VisionPrescription.encounter
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam ENCOUNTER
Description: Return prescriptions with this encounter identifier
Type: reference
Path: VisionPrescription.encounter
public static final ca.uhn.fhir.model.api.Include INCLUDE_ENCOUNTER
public static final String SP_STATUS
Description: The status of the vision prescription
Type: token
Path: VisionPrescription.status
public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS
Description: The status of the vision prescription
Type: token
Path: VisionPrescription.status
public VisionPrescription()
public VisionPrescription(Enumeration<VisionPrescription.VisionStatus> status, DateTimeType created, Reference patient, DateTimeType dateWritten, Reference prescriber)
public List<Identifier> getIdentifier()
identifier (A unique identifier assigned to this vision prescription.)public VisionPrescription setIdentifier(List<Identifier> theIdentifier)
this for easy method chainingpublic boolean hasIdentifier()
public Identifier addIdentifier()
public VisionPrescription addIdentifier(Identifier t)
public Identifier getIdentifierFirstRep()
identifier, creating it if it does not already existpublic Enumeration<VisionPrescription.VisionStatus> getStatusElement()
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 valuepublic boolean hasStatusElement()
public boolean hasStatus()
public VisionPrescription setStatusElement(Enumeration<VisionPrescription.VisionStatus> value)
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 valuepublic VisionPrescription.VisionStatus getStatus()
public VisionPrescription setStatus(VisionPrescription.VisionStatus value)
value - The status of the resource instance.public DateTimeType getCreatedElement()
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 valuepublic boolean hasCreatedElement()
public boolean hasCreated()
public VisionPrescription setCreatedElement(DateTimeType value)
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 valuepublic Date getCreated()
public VisionPrescription setCreated(Date value)
value - The date this resource was created.public Reference getPatient()
patient (A resource reference to the person to whom the vision prescription applies.)public boolean hasPatient()
public VisionPrescription setPatient(Reference value)
value - patient (A resource reference to the person to whom the vision prescription applies.)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 resource reference to the person to whom the vision prescription applies.)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 resource reference to the person to whom the vision prescription applies.)public Reference getEncounter()
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.)public boolean hasEncounter()
public VisionPrescription setEncounter(Reference value)
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.)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 reference to a resource that identifies the particular occurrence of contact between patient and health care provider during which the prescription was issued.)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 reference to a resource that identifies the particular occurrence of contact between patient and health care provider during which the prescription was issued.)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 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 Resource 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(Resource 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 List<VisionPrescription.VisionPrescriptionLensSpecificationComponent> getLensSpecification()
lensSpecification (Contain the details of the individual lens specifications and serves as the authorization for the fullfillment by certified professionals.)public VisionPrescription setLensSpecification(List<VisionPrescription.VisionPrescriptionLensSpecificationComponent> theLensSpecification)
this for easy method chainingpublic boolean hasLensSpecification()
public VisionPrescription.VisionPrescriptionLensSpecificationComponent addLensSpecification()
public VisionPrescription addLensSpecification(VisionPrescription.VisionPrescriptionLensSpecificationComponent t)
public VisionPrescription.VisionPrescriptionLensSpecificationComponent getLensSpecificationFirstRep()
lensSpecification, creating it if it does not already existprotected void listChildren(List<Property> children)
listChildren in class DomainResourcepublic Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException
getNamedProperty in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException
getProperty in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic Base setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
setProperty in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic Base makeProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
makeProperty in class DomainResourceorg.hl7.fhir.exceptions.FHIRExceptionpublic String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
getTypesForProperty 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 interface org.hl7.fhir.instance.model.api.IBasefhirType in class DomainResourcepublic VisionPrescription copy()
copy in class DomainResourcepublic void copyValues(VisionPrescription dst)
protected 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–2021 Health Level 7. All rights reserved.