public class ItemInstance extends DomainResource
| Modifier and Type | Field and Description |
|---|---|
protected StringType |
carrierAIDC
The machine-readable AIDC string in base64 encoding.
|
protected StringType |
carrierHRF
The human-readable barcode string.
|
protected IntegerType |
count
The quantity or amount of instances.
|
protected StringType |
currentSWVersion
The Software version associated with the device, typically only used for devices with embedded software or firmware.
|
protected DateTimeType |
expiryDate
The expiry or preparation date and time.
|
static ca.uhn.fhir.model.api.Include |
INCLUDE_SUBJECT
Constant for fluent queries to be used to add include statements.
|
protected Reference |
location
The location where the item is phisically located.
|
protected Location |
locationTarget
The actual object that is the target of the reference (The location where the item is phisically located.)
|
protected StringType |
lotNumber
The lot or batch number.
|
protected DateTimeType |
manufactureDate
The manufacture or preparation date and time.
|
protected StringType |
serialNumber
The serial number if available.
|
static String |
SP_SUBJECT
Search parameter: subject
|
protected Reference |
subject
The patient that the item is associated with (implanted in, given to).
|
static ca.uhn.fhir.rest.gclient.ReferenceClientParam |
SUBJECT
Fluent Client search parameter constant for subject
|
protected Patient |
subjectTarget
The actual object that is the target of the reference (The patient that the item is associated with (implanted in, given to).)
|
contained, extension, modifierExtension, textid, implicitRules, language, meta| Constructor and Description |
|---|
ItemInstance()
Constructor
|
ItemInstance(IntegerType count)
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, castToExtension, castToHumanName, castToId, castToIdentifier, castToInstant, castToInteger, castToMarkdown, castToMarketingStatus, castToMeta, castToMoney, castToNarrative, castToOid, castToParameterDefinition, castToPeriod, 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, compareValues, compareValues, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isBooleanPrimitive, isMetadataBased, isPrimitive, listChildrenByName, listChildrenByName, primitiveValue, setUserData, setUserDataINNclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetId, getIdElement, getLanguageElement, getUserData, setId, setUserDataprotected IntegerType count
protected Location locationTarget
protected Reference subject
protected Patient subjectTarget
protected DateTimeType manufactureDate
protected DateTimeType expiryDate
protected StringType currentSWVersion
protected StringType lotNumber
protected StringType serialNumber
protected StringType carrierAIDC
protected StringType carrierHRF
public static final String SP_SUBJECT
Description: The identifier of the patient who has devices assigned to
Type: reference
Path: ItemInstance.subject
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SUBJECT
Description: The identifier of the patient who has devices assigned to
Type: reference
Path: ItemInstance.subject
public static final ca.uhn.fhir.model.api.Include INCLUDE_SUBJECT
public ItemInstance()
public ItemInstance(IntegerType count)
public IntegerType getCountElement()
count (The quantity or amount of instances. For example if several units are being counted for inventory, this quantity can be more than one, provided they are not unique. Seriallized items are considered unique and as such would have a quantity max 1. This element is required and its presence asserts that the reource refers to a physical item.). This is the underlying object with id, value and extensions. The accessor "getCount" gives direct access to the valuepublic boolean hasCountElement()
public boolean hasCount()
public ItemInstance setCountElement(IntegerType value)
value - count (The quantity or amount of instances. For example if several units are being counted for inventory, this quantity can be more than one, provided they are not unique. Seriallized items are considered unique and as such would have a quantity max 1. This element is required and its presence asserts that the reource refers to a physical item.). This is the underlying object with id, value and extensions. The accessor "getCount" gives direct access to the valuepublic int getCount()
public ItemInstance setCount(int value)
value - The quantity or amount of instances. For example if several units are being counted for inventory, this quantity can be more than one, provided they are not unique. Seriallized items are considered unique and as such would have a quantity max 1. This element is required and its presence asserts that the reource refers to a physical item.public Reference getLocation()
location (The location where the item is phisically located.)public boolean hasLocation()
public ItemInstance setLocation(Reference value)
value - location (The location where the item is phisically located.)public Location getLocationTarget()
location 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 location where the item is phisically located.)public ItemInstance setLocationTarget(Location value)
value - location 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 location where the item is phisically located.)public Reference getSubject()
subject (The patient that the item is associated with (implanted in, given to).)public boolean hasSubject()
public ItemInstance setSubject(Reference value)
value - subject (The patient that the item is associated with (implanted in, given to).)public Patient getSubjectTarget()
subject 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 patient that the item is associated with (implanted in, given to).)public ItemInstance setSubjectTarget(Patient value)
value - subject 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 patient that the item is associated with (implanted in, given to).)public DateTimeType getManufactureDateElement()
manufactureDate (The manufacture or preparation date and time. Times are necessary for several examples - for example biologically derived products, prepared or coumpounded medication, rapidly decaying isotopes.). This is the underlying object with id, value and extensions. The accessor "getManufactureDate" gives direct access to the valuepublic boolean hasManufactureDateElement()
public boolean hasManufactureDate()
public ItemInstance setManufactureDateElement(DateTimeType value)
value - manufactureDate (The manufacture or preparation date and time. Times are necessary for several examples - for example biologically derived products, prepared or coumpounded medication, rapidly decaying isotopes.). This is the underlying object with id, value and extensions. The accessor "getManufactureDate" gives direct access to the valuepublic Date getManufactureDate()
public ItemInstance setManufactureDate(Date value)
value - The manufacture or preparation date and time. Times are necessary for several examples - for example biologically derived products, prepared or coumpounded medication, rapidly decaying isotopes.public DateTimeType getExpiryDateElement()
expiryDate (The expiry or preparation date and time.). This is the underlying object with id, value and extensions. The accessor "getExpiryDate" gives direct access to the valuepublic boolean hasExpiryDateElement()
public boolean hasExpiryDate()
public ItemInstance setExpiryDateElement(DateTimeType value)
value - expiryDate (The expiry or preparation date and time.). This is the underlying object with id, value and extensions. The accessor "getExpiryDate" gives direct access to the valuepublic Date getExpiryDate()
public ItemInstance setExpiryDate(Date value)
value - The expiry or preparation date and time.public StringType getCurrentSWVersionElement()
currentSWVersion (The Software version associated with the device, typically only used for devices with embedded software or firmware.). This is the underlying object with id, value and extensions. The accessor "getCurrentSWVersion" gives direct access to the valuepublic boolean hasCurrentSWVersionElement()
public boolean hasCurrentSWVersion()
public ItemInstance setCurrentSWVersionElement(StringType value)
value - currentSWVersion (The Software version associated with the device, typically only used for devices with embedded software or firmware.). This is the underlying object with id, value and extensions. The accessor "getCurrentSWVersion" gives direct access to the valuepublic String getCurrentSWVersion()
public ItemInstance setCurrentSWVersion(String value)
value - The Software version associated with the device, typically only used for devices with embedded software or firmware.public StringType getLotNumberElement()
lotNumber (The lot or batch number.). This is the underlying object with id, value and extensions. The accessor "getLotNumber" gives direct access to the valuepublic boolean hasLotNumberElement()
public boolean hasLotNumber()
public ItemInstance setLotNumberElement(StringType value)
value - lotNumber (The lot or batch number.). This is the underlying object with id, value and extensions. The accessor "getLotNumber" gives direct access to the valuepublic String getLotNumber()
public ItemInstance setLotNumber(String value)
value - The lot or batch number.public StringType getSerialNumberElement()
serialNumber (The serial number if available.). This is the underlying object with id, value and extensions. The accessor "getSerialNumber" gives direct access to the valuepublic boolean hasSerialNumberElement()
public boolean hasSerialNumber()
public ItemInstance setSerialNumberElement(StringType value)
value - serialNumber (The serial number if available.). This is the underlying object with id, value and extensions. The accessor "getSerialNumber" gives direct access to the valuepublic String getSerialNumber()
public ItemInstance setSerialNumber(String value)
value - The serial number if available.public StringType getCarrierAIDCElement()
carrierAIDC (The machine-readable AIDC string in base64 encoding. Can correspond to the UDI pattern in devices.). This is the underlying object with id, value and extensions. The accessor "getCarrierAIDC" gives direct access to the valuepublic boolean hasCarrierAIDCElement()
public boolean hasCarrierAIDC()
public ItemInstance setCarrierAIDCElement(StringType value)
value - carrierAIDC (The machine-readable AIDC string in base64 encoding. Can correspond to the UDI pattern in devices.). This is the underlying object with id, value and extensions. The accessor "getCarrierAIDC" gives direct access to the valuepublic String getCarrierAIDC()
public ItemInstance setCarrierAIDC(String value)
value - The machine-readable AIDC string in base64 encoding. Can correspond to the UDI pattern in devices.public StringType getCarrierHRFElement()
carrierHRF (The human-readable barcode string. Can correspond to the UDI pattern in devices.). This is the underlying object with id, value and extensions. The accessor "getCarrierHRF" gives direct access to the valuepublic boolean hasCarrierHRFElement()
public boolean hasCarrierHRF()
public ItemInstance setCarrierHRFElement(StringType value)
value - carrierHRF (The human-readable barcode string. Can correspond to the UDI pattern in devices.). This is the underlying object with id, value and extensions. The accessor "getCarrierHRF" gives direct access to the valuepublic String getCarrierHRF()
public ItemInstance setCarrierHRF(String value)
value - The human-readable barcode string. Can correspond to the UDI pattern in devices.protected 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 class DomainResourcepublic ItemInstance copy()
copy in class DomainResourceprotected ItemInstance 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–2018 University Health Network. All rights reserved.