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
public class InventoryReport extends DomainResource
A report of inventory or stock items.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classInventoryReport.InventoryCountTypestatic classInventoryReport.InventoryCountTypeEnumFactorystatic classInventoryReport.InventoryReportInventoryListingComponentstatic classInventoryReport.InventoryReportInventoryListingItemsComponentstatic classInventoryReport.InventoryReportStatusstatic classInventoryReport.InventoryReportStatusEnumFactory
-
Field Summary
Fields Modifier and Type Field Description protected Enumeration<InventoryReport.InventoryCountType>countTypeWhether the report is about the current inventory count (snapshot) or a differential change in inventory (change).protected List<Identifier>identifierIdentifiers for the InventoryReport.protected List<InventoryReport.InventoryReportInventoryListingComponent>inventoryListingAn inventory listing section (grouped by any of the attributes).protected AnnotationnoteA note associated with the InventoryReport.protected CodeableConceptoperationTypeWhat type of operation is being performed - addition or subtraction.protected CodeableConceptoperationTypeReasonThe reason for this count - regular count, ad-hoc count, new arrivals, etc.protected DateTimeTypereportedDateTimeWhen the report has been submitted.protected ReferencereporterWho submits the report.protected PeriodreportingPeriodThe period the report refers to.protected Enumeration<InventoryReport.InventoryReportStatus>statusThe 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
-
-
Constructor Summary
Constructors Constructor Description InventoryReport()ConstructorInventoryReport(InventoryReport.InventoryReportStatus status, InventoryReport.InventoryCountType countType, Date reportedDateTime)Constructor
-
Method Summary
-
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
-
-
-
-
Field Detail
-
identifier
protected List<Identifier> identifier
Identifiers for the InventoryReport.
-
status
protected Enumeration<InventoryReport.InventoryReportStatus> 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
protected Enumeration<InventoryReport.InventoryCountType> countType
Whether the report is about the current inventory count (snapshot) or a differential change in inventory (change).
-
operationType
protected CodeableConcept operationType
What type of operation is being performed - addition or subtraction.
-
operationTypeReason
protected CodeableConcept operationTypeReason
The reason for this count - regular count, ad-hoc count, new arrivals, etc.
-
reportedDateTime
protected DateTimeType reportedDateTime
When the report has been submitted.
-
reportingPeriod
protected Period reportingPeriod
The period the report refers to.
-
inventoryListing
protected List<InventoryReport.InventoryReportInventoryListingComponent> inventoryListing
An inventory listing section (grouped by any of the attributes).
-
note
protected Annotation note
A note associated with the InventoryReport.
-
-
Constructor Detail
-
InventoryReport
public InventoryReport()
Constructor
-
InventoryReport
public InventoryReport(InventoryReport.InventoryReportStatus status, InventoryReport.InventoryCountType countType, Date reportedDateTime)
Constructor
-
-
Method Detail
-
getIdentifier
public List<Identifier> getIdentifier()
- Returns:
identifier(Identifiers for the InventoryReport.)
-
setIdentifier
public InventoryReport setIdentifier(List<Identifier> theIdentifier)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasIdentifier
public boolean hasIdentifier()
-
addIdentifier
public Identifier addIdentifier()
-
addIdentifier
public InventoryReport addIdentifier(Identifier t)
-
getIdentifierFirstRep
public Identifier getIdentifierFirstRep()
- Returns:
- The first repetition of repeating field
identifier, creating it if it does not already exist {3}
-
getStatusElement
public Enumeration<InventoryReport.InventoryReportStatus> 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
public boolean hasStatusElement()
-
hasStatus
public boolean hasStatus()
-
setStatusElement
public InventoryReport setStatusElement(Enumeration<InventoryReport.InventoryReportStatus> value)
- 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
public InventoryReport.InventoryReportStatus 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
public InventoryReport setStatus(InventoryReport.InventoryReportStatus value)
- 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
public Enumeration<InventoryReport.InventoryCountType> 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
public boolean hasCountTypeElement()
-
hasCountType
public boolean hasCountType()
-
setCountTypeElement
public InventoryReport setCountTypeElement(Enumeration<InventoryReport.InventoryCountType> value)
- 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
public InventoryReport.InventoryCountType getCountType()
- Returns:
- Whether the report is about the current inventory count (snapshot) or a differential change in inventory (change).
-
setCountType
public InventoryReport setCountType(InventoryReport.InventoryCountType value)
- Parameters:
value- Whether the report is about the current inventory count (snapshot) or a differential change in inventory (change).
-
getOperationType
public CodeableConcept getOperationType()
- Returns:
operationType(What type of operation is being performed - addition or subtraction.)
-
hasOperationType
public boolean hasOperationType()
-
setOperationType
public InventoryReport setOperationType(CodeableConcept value)
- Parameters:
value-operationType(What type of operation is being performed - addition or subtraction.)
-
getOperationTypeReason
public CodeableConcept getOperationTypeReason()
- Returns:
operationTypeReason(The reason for this count - regular count, ad-hoc count, new arrivals, etc.)
-
hasOperationTypeReason
public boolean hasOperationTypeReason()
-
setOperationTypeReason
public InventoryReport setOperationTypeReason(CodeableConcept value)
- Parameters:
value-operationTypeReason(The reason for this count - regular count, ad-hoc count, new arrivals, etc.)
-
getReportedDateTimeElement
public DateTimeType 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
public boolean hasReportedDateTimeElement()
-
hasReportedDateTime
public boolean hasReportedDateTime()
-
setReportedDateTimeElement
public InventoryReport setReportedDateTimeElement(DateTimeType value)
- 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
public Date getReportedDateTime()
- Returns:
- When the report has been submitted.
-
setReportedDateTime
public InventoryReport setReportedDateTime(Date value)
- Parameters:
value- When the report has been submitted.
-
getReporter
public Reference getReporter()
- Returns:
reporter(Who submits the report.)
-
hasReporter
public boolean hasReporter()
-
setReporter
public InventoryReport setReporter(Reference value)
- Parameters:
value-reporter(Who submits the report.)
-
getReportingPeriod
public Period getReportingPeriod()
- Returns:
reportingPeriod(The period the report refers to.)
-
hasReportingPeriod
public boolean hasReportingPeriod()
-
setReportingPeriod
public InventoryReport setReportingPeriod(Period value)
- Parameters:
value-reportingPeriod(The period the report refers to.)
-
getInventoryListing
public List<InventoryReport.InventoryReportInventoryListingComponent> 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
thisfor easy method chaining
-
hasInventoryListing
public boolean hasInventoryListing()
-
addInventoryListing
public InventoryReport.InventoryReportInventoryListingComponent addInventoryListing()
-
addInventoryListing
public InventoryReport addInventoryListing(InventoryReport.InventoryReportInventoryListingComponent t)
-
getInventoryListingFirstRep
public InventoryReport.InventoryReportInventoryListingComponent getInventoryListingFirstRep()
- Returns:
- The first repetition of repeating field
inventoryListing, creating it if it does not already exist {3}
-
getNote
public Annotation getNote()
- Returns:
note(A note associated with the InventoryReport.)
-
hasNote
public boolean hasNote()
-
setNote
public InventoryReport setNote(Annotation value)
- Parameters:
value-note(A note associated with the InventoryReport.)
-
listChildren
protected void listChildren(List<Property> children)
- 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
public Base setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setPropertyin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
makeProperty
public Base makeProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
- 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
public Base addChild(String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
addChildin classDomainResource- Throws:
org.hl7.fhir.exceptions.FHIRException
-
fhirType
public String fhirType()
- Specified by:
fhirTypein interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
fhirTypein classDomainResource
-
copy
public InventoryReport copy()
- Specified by:
copyin classDomainResource
-
copyValues
public void copyValues(InventoryReport dst)
-
typedCopy
protected InventoryReport typedCopy()
-
equalsDeep
public boolean equalsDeep(Base other_)
- Overrides:
equalsDeepin classDomainResource
-
equalsShallow
public boolean equalsShallow(Base other_)
- Overrides:
equalsShallowin classDomainResource
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin interfaceorg.hl7.fhir.instance.model.api.IBase- Overrides:
isEmptyin classDomainResource
-
getResourceType
public ResourceType getResourceType()
- Specified by:
getResourceTypein classResource
-
-