
Package org.hl7.fhir.r5.model
Class InventoryReport
java.lang.Object
org.hl7.fhir.r5.model.Base
org.hl7.fhir.r5.model.BaseResource
org.hl7.fhir.r5.model.Resource
org.hl7.fhir.r5.model.DomainResource
org.hl7.fhir.r5.model.InventoryReport
- 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
A report of inventory or stock items.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
static class
static class
static class
static enum
static class
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Enumeration<InventoryReport.InventoryCountType>
Whether the report is about the current inventory count (snapshot) or a differential change in inventory (change).protected List<Identifier>
Identifiers for the InventoryReport.An inventory listing section (grouped by any of the attributes).protected Annotation
A note associated with the InventoryReport.protected CodeableConcept
What type of operation is being performed - addition or subtraction.protected CodeableConcept
The reason for this count - regular count, ad-hoc count, new arrivals, etc.protected DateTimeType
When the report has been submitted.protected Reference
Who submits the report.protected Period
The period the report refers to.protected Enumeration<InventoryReport.InventoryReportStatus>
The status of the inventory check or notification - whether this is draft (e.g.Fields inherited from class org.hl7.fhir.r5.model.DomainResource
contained, extension, modifierExtension, SP_TEXT, text, TEXT
Fields inherited from class org.hl7.fhir.r5.model.Resource
id, implicitRules, language, meta
Fields inherited from interface org.hl7.fhir.instance.model.api.IAnyResource
RES_ID, SP_RES_ID
Fields inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
INCLUDE_ALL, WILDCARD_ALL_SET
-
Constructor Summary
ConstructorsConstructorDescriptionConstructorInventoryReport
(InventoryReport.InventoryReportStatus status, InventoryReport.InventoryCountType countType, Date reportedDateTime) Constructor -
Method Summary
Modifier and TypeMethodDescriptioncopy()
void
boolean
equalsDeep
(Base other_) boolean
equalsShallow
(Base other_) fhirType()
getNamedProperty
(int _hash, String _name, boolean _checkValid) getNote()
Base[]
getProperty
(int hash, String name, boolean checkValid) String[]
getTypesForProperty
(int hash, String name) boolean
boolean
boolean
boolean
boolean
hasNote()
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
isEmpty()
protected void
listChildren
(List<Property> children) makeProperty
(int hash, String name) setIdentifier
(List<Identifier> theIdentifier) setInventoryListing
(List<InventoryReport.InventoryReportInventoryListingComponent> theInventoryListing) setNote
(Annotation value) setOperationType
(CodeableConcept value) setProperty
(int hash, String name, Base value) setProperty
(String name, Base value) setReportedDateTime
(Date value) setReporter
(Reference value) setReportingPeriod
(Period value) protected InventoryReport
Methods inherited from class org.hl7.fhir.r5.model.DomainResource
addContained, addExtension, addExtension, addExtension, addModifierExtension, addModifierExtension, checkNoModifiers, copyValues, getContained, getContained, getExtension, getExtensionByUrl, getExtensionsByUrl, getModifierExtension, getModifierExtensionsByUrl, getText, hasContained, hasExtension, hasExtension, hasModifierExtension, hasText, setContained, setExtension, setModifierExtension, setText
Methods inherited from class org.hl7.fhir.r5.model.Resource
copyValues, getId, getIdBase, getIdElement, getImplicitRules, getImplicitRulesElement, getLanguage, 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.r5.model.BaseResource
getStructureFhirVersionEnum, isResource, setId
Methods inherited from class org.hl7.fhir.r5.model.Base
children, clearUserData, compareDeep, compareDeep, compareDeep, compareDeep, compareValues, compareValues, copyUserData, copyValues, dateTimeValue, equals, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getNamedProperty, getUserData, getUserInt, getUserString, getXhtml, hasFormatComment, hasPrimitiveValue, hasType, hasUserData, isBooleanPrimitive, isDateTime, 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, setId
-
Field Details
-
identifier
Identifiers for the InventoryReport. -
status
The status of the inventory check or notification - whether this is draft (e.g. the report is still pending some updates) or active. -
countType
Whether the report is about the current inventory count (snapshot) or a differential change in inventory (change). -
operationType
What type of operation is being performed - addition or subtraction. -
operationTypeReason
The reason for this count - regular count, ad-hoc count, new arrivals, etc. -
reportedDateTime
When the report has been submitted. -
reporter
Who submits the report. -
reportingPeriod
The period the report refers to. -
inventoryListing
An inventory listing section (grouped by any of the attributes). -
note
A note associated with the InventoryReport.
-
-
Constructor Details
-
InventoryReport
public InventoryReport()Constructor -
InventoryReport
public InventoryReport(InventoryReport.InventoryReportStatus status, InventoryReport.InventoryCountType countType, Date reportedDateTime) Constructor
-
-
Method Details
-
getIdentifier
- Returns:
identifier
(Identifiers for the InventoryReport.)
-
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 {3}
-
getStatusElement
- Returns:
status
(The status of the inventory check or notification - whether this is draft (e.g. the report is still pending some updates) or active.). 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 inventory check or notification - whether this is draft (e.g. the report is still pending some updates) or active.). 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 inventory check or notification - whether this is draft (e.g. the report is still pending some updates) or active.
-
setStatus
- Parameters:
value
- The status of the inventory check or notification - whether this is draft (e.g. the report is still pending some updates) or active.
-
getCountTypeElement
- Returns:
countType
(Whether the report is about the current inventory count (snapshot) or a differential change in inventory (change).). This is the underlying object with id, value and extensions. The accessor "getCountType" gives direct access to the value
-
hasCountTypeElement
-
hasCountType
-
setCountTypeElement
- Parameters:
value
-countType
(Whether the report is about the current inventory count (snapshot) or a differential change in inventory (change).). This is the underlying object with id, value and extensions. The accessor "getCountType" gives direct access to the value
-
getCountType
- Returns:
- Whether the report is about the current inventory count (snapshot) or a differential change in inventory (change).
-
setCountType
- Parameters:
value
- Whether the report is about the current inventory count (snapshot) or a differential change in inventory (change).
-
getOperationType
- Returns:
operationType
(What type of operation is being performed - addition or subtraction.)
-
hasOperationType
-
setOperationType
- Parameters:
value
-operationType
(What type of operation is being performed - addition or subtraction.)
-
getOperationTypeReason
- Returns:
operationTypeReason
(The reason for this count - regular count, ad-hoc count, new arrivals, etc.)
-
hasOperationTypeReason
-
setOperationTypeReason
- Parameters:
value
-operationTypeReason
(The reason for this count - regular count, ad-hoc count, new arrivals, etc.)
-
getReportedDateTimeElement
- Returns:
reportedDateTime
(When the report has been submitted.). This is the underlying object with id, value and extensions. The accessor "getReportedDateTime" gives direct access to the value
-
hasReportedDateTimeElement
-
hasReportedDateTime
-
setReportedDateTimeElement
- Parameters:
value
-reportedDateTime
(When the report has been submitted.). This is the underlying object with id, value and extensions. The accessor "getReportedDateTime" gives direct access to the value
-
getReportedDateTime
- Returns:
- When the report has been submitted.
-
setReportedDateTime
- Parameters:
value
- When the report has been submitted.
-
getReporter
- Returns:
reporter
(Who submits the report.)
-
hasReporter
-
setReporter
- Parameters:
value
-reporter
(Who submits the report.)
-
getReportingPeriod
- Returns:
reportingPeriod
(The period the report refers to.)
-
hasReportingPeriod
-
setReportingPeriod
- Parameters:
value
-reportingPeriod
(The period the report refers to.)
-
getInventoryListing
- Returns:
inventoryListing
(An inventory listing section (grouped by any of the attributes).)
-
setInventoryListing
public InventoryReport setInventoryListing(List<InventoryReport.InventoryReportInventoryListingComponent> theInventoryListing) - Returns:
- Returns a reference to
this
for easy method chaining
-
hasInventoryListing
-
addInventoryListing
-
addInventoryListing
-
getInventoryListingFirstRep
- Returns:
- The first repetition of repeating field
inventoryListing
, creating it if it does not already exist {3}
-
getNote
- Returns:
note
(A note associated with the InventoryReport.)
-
hasNote
-
setNote
- Parameters:
value
-note
(A note associated with the InventoryReport.)
-
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
-
copyValues
-
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
-