Package com.ibm.fhir.model.resource
Class CatalogEntry
- java.lang.Object
-
- com.ibm.fhir.model.visitor.AbstractVisitable
-
- com.ibm.fhir.model.resource.Resource
-
- com.ibm.fhir.model.resource.DomainResource
-
- com.ibm.fhir.model.resource.CatalogEntry
-
- All Implemented Interfaces:
Visitable
@Generated("com.ibm.fhir.tools.CodeGenerator") public class CatalogEntry extends DomainResource
Catalog entries are wrappers that contextualize items included in a catalog.Maturity level: FMM0 (Trial Use)
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCatalogEntry.Builderstatic classCatalogEntry.RelatedEntryUsed for example, to point to a substance, or to a device used to administer a medication.
-
Field Summary
-
Fields inherited from class com.ibm.fhir.model.resource.DomainResource
contained, extension, modifierExtension, text
-
Fields inherited from class com.ibm.fhir.model.resource.Resource
id, implicitRules, language, meta
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(String elementName, int elementIndex, Visitor visitor)Accept a Visitor and invoke the appropriate visit methods.static CatalogEntry.Builderbuilder()booleanequals(Object obj)List<CodeableConcept>getAdditionalCharacteristic()Used for examplefor Out of Formulary, or any specifics.List<CodeableConcept>getAdditionalClassification()User for example for ATC classification, or.List<Identifier>getAdditionalIdentifier()Used in supporting related concepts, e.g.List<CodeableConcept>getClassification()Classes of devices, or ATC for medication.List<Identifier>getIdentifier()Used in supporting different identifiers for the same product, e.g.DateTimegetLastUpdated()Typically date of issue is different from the beginning of the validity.BooleangetOrderable()Whether the entry represents an orderable item.ReferencegetReferencedItem()The item in a catalog or definition.List<CatalogEntry.RelatedEntry>getRelatedEntry()Used for example, to point to a substance, or to a device used to administer a medication.PublicationStatusgetStatus()Used to support catalog exchange even for unsupported products, e.g.CodeableConceptgetType()The type of item - medication, device, service, protocol or other.PeriodgetValidityPeriod()The time period in which this catalog entry is expected to be active.DateTimegetValidTo()The date until which this catalog entry is expected to be active.booleanhasChildren()inthashCode()CatalogEntry.BuildertoBuilder()Create a new Builder from the contents of this Resource-
Methods inherited from class com.ibm.fhir.model.resource.DomainResource
getContained, getExtension, getModifierExtension, getText
-
Methods inherited from class com.ibm.fhir.model.resource.Resource
as, getId, getImplicitRules, getLanguage, getMeta, is
-
-
-
-
Method Detail
-
getIdentifier
public List<Identifier> getIdentifier()
Used in supporting different identifiers for the same product, e.g. manufacturer code and retailer code.- Returns:
- An unmodifiable list containing immutable objects of type
Identifierthat may be empty.
-
getType
public CodeableConcept getType()
The type of item - medication, device, service, protocol or other.- Returns:
- An immutable object of type
CodeableConceptthat may be null.
-
getOrderable
public Boolean getOrderable()
Whether the entry represents an orderable item.- Returns:
- An immutable object of type
Booleanthat is non-null.
-
getReferencedItem
public Reference getReferencedItem()
The item in a catalog or definition.- Returns:
- An immutable object of type
Referencethat is non-null.
-
getAdditionalIdentifier
public List<Identifier> getAdditionalIdentifier()
Used in supporting related concepts, e.g. NDC to RxNorm.- Returns:
- An unmodifiable list containing immutable objects of type
Identifierthat may be empty.
-
getClassification
public List<CodeableConcept> getClassification()
Classes of devices, or ATC for medication.- Returns:
- An unmodifiable list containing immutable objects of type
CodeableConceptthat may be empty.
-
getStatus
public PublicationStatus getStatus()
Used to support catalog exchange even for unsupported products, e.g. getting list of medications even if not prescribable.- Returns:
- An immutable object of type
PublicationStatusthat may be null.
-
getValidityPeriod
public Period getValidityPeriod()
The time period in which this catalog entry is expected to be active.- Returns:
- An immutable object of type
Periodthat may be null.
-
getValidTo
public DateTime getValidTo()
The date until which this catalog entry is expected to be active.- Returns:
- An immutable object of type
DateTimethat may be null.
-
getLastUpdated
public DateTime getLastUpdated()
Typically date of issue is different from the beginning of the validity. This can be used to see when an item was last updated.- Returns:
- An immutable object of type
DateTimethat may be null.
-
getAdditionalCharacteristic
public List<CodeableConcept> getAdditionalCharacteristic()
Used for examplefor Out of Formulary, or any specifics.- Returns:
- An unmodifiable list containing immutable objects of type
CodeableConceptthat may be empty.
-
getAdditionalClassification
public List<CodeableConcept> getAdditionalClassification()
User for example for ATC classification, or.- Returns:
- An unmodifiable list containing immutable objects of type
CodeableConceptthat may be empty.
-
getRelatedEntry
public List<CatalogEntry.RelatedEntry> getRelatedEntry()
Used for example, to point to a substance, or to a device used to administer a medication.- Returns:
- An unmodifiable list containing immutable objects of type
CatalogEntry.RelatedEntrythat may be empty.
-
hasChildren
public boolean hasChildren()
- Overrides:
hasChildrenin classDomainResource
-
accept
public void accept(String elementName, int elementIndex, Visitor visitor)
Description copied from interface:VisitableAccept a Visitor and invoke the appropriate visit methods. A typical implementation would look like this:if (visitor.preVisit(this)) { visitor.visitStart(elementName, elementIndex, this); if (visitor.visit(elementName, elementIndex, this)) { // visit children } visitor.visitEnd(elementName, elementIndex, this); visitor.postVisit(this); }- Specified by:
acceptin interfaceVisitable- Specified by:
acceptin classAbstractVisitable- Parameters:
elementName- the name of the element in the context of this visitelementIndex- the index of the element in a list or -1 if it is not contained within a Listvisitor- the visitor to use
-
toBuilder
public CatalogEntry.Builder toBuilder()
Description copied from class:ResourceCreate a new Builder from the contents of this Resource- Specified by:
toBuilderin classDomainResource
-
builder
public static CatalogEntry.Builder builder()
-
-