Package org.hl7.fhir.r4.model
Class MedicinalProductInteraction
- java.lang.Object
-
- org.hl7.fhir.r4.model.Base
-
- org.hl7.fhir.r4.model.BaseResource
-
- org.hl7.fhir.r4.model.Resource
-
- org.hl7.fhir.r4.model.DomainResource
-
- org.hl7.fhir.r4.model.MedicinalProductInteraction
-
- 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 MedicinalProductInteraction extends DomainResource
The interactions of the medicinal product with other medicinal products, or other forms of interactions.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMedicinalProductInteraction.MedicinalProductInteractionInteractantComponent
-
Field Summary
Fields Modifier and Type Field Description protected StringTypedescriptionThe interaction described.protected CodeableConcepteffectThe effect of the interaction, for example "reduced gastric absorption of primary medication".protected CodeableConceptincidenceThe incidence of the interaction, e.g.static ca.uhn.fhir.model.api.IncludeINCLUDE_SUBJECTConstant for fluent queries to be used to add include statements.protected List<MedicinalProductInteraction.MedicinalProductInteractionInteractantComponent>interactantThe specific medication, food or laboratory test that interacts.protected CodeableConceptmanagementActions for managing the interaction.static StringSP_SUBJECTSearch parameter: subjectprotected List<Reference>subjectThe medication for which this is a described interaction.static ca.uhn.fhir.rest.gclient.ReferenceClientParamSUBJECTFluent Client search parameter constant for subjectprotected List<Resource>subjectTargetThe actual objects that are the target of the reference (The medication for which this is a described interaction.)protected CodeableConcepttypeThe type of the interaction e.g.-
Fields inherited from class org.hl7.fhir.r4.model.DomainResource
contained, extension, modifierExtension, text
-
Fields inherited from class org.hl7.fhir.r4.model.Resource
id, implicitRules, language, meta
-
-
Constructor Summary
Constructors Constructor Description MedicinalProductInteraction()Constructor
-
Method Summary
-
Methods inherited from class org.hl7.fhir.r4.model.DomainResource
addContained, addExtension, addExtension, addExtension, addModifierExtension, addModifierExtension, checkNoModifiers, copyValues, getContained, getExtension, getExtensionByUrl, getExtensionsByUrl, getModifierExtension, getModifierExtensionsByUrl, getText, hasContained, hasExtension, hasExtension, hasModifierExtension, hasText, setContained, setExtension, setModifierExtension, setText
-
Methods inherited from class org.hl7.fhir.r4.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.r4.model.BaseResource
getStructureFhirVersionEnum, isResource, setId
-
Methods inherited from class org.hl7.fhir.r4.model.Base
castToAddress, 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, 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
-
subjectTarget
protected List<Resource> subjectTarget
The actual objects that are the target of the reference (The medication for which this is a described interaction.)
-
description
protected StringType description
The interaction described.
-
interactant
protected List<MedicinalProductInteraction.MedicinalProductInteractionInteractantComponent> interactant
The specific medication, food or laboratory test that interacts.
-
type
protected CodeableConcept type
The type of the interaction e.g. drug-drug interaction, drug-food interaction, drug-lab test interaction.
-
effect
protected CodeableConcept effect
The effect of the interaction, for example "reduced gastric absorption of primary medication".
-
incidence
protected CodeableConcept incidence
The incidence of the interaction, e.g. theoretical, observed.
-
management
protected CodeableConcept management
Actions for managing the interaction.
-
SP_SUBJECT
public static final String SP_SUBJECT
Search parameter: subjectDescription: The medication for which this is an interaction
Type: reference
Path: MedicinalProductInteraction.subject
- See Also:
- Constant Field Values
-
SUBJECT
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SUBJECT
Fluent Client search parameter constant for subjectDescription: The medication for which this is an interaction
Type: reference
Path: MedicinalProductInteraction.subject
-
INCLUDE_SUBJECT
public static final ca.uhn.fhir.model.api.Include INCLUDE_SUBJECT
Constant for fluent queries to be used to add include statements. Specifies the path value of "MedicinalProductInteraction:subject".
-
-
Constructor Detail
-
MedicinalProductInteraction
public MedicinalProductInteraction()
Constructor
-
-
Method Detail
-
getSubject
public List<Reference> getSubject()
- Returns:
subject(The medication for which this is a described interaction.)
-
setSubject
public MedicinalProductInteraction setSubject(List<Reference> theSubject)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasSubject
public boolean hasSubject()
-
addSubject
public Reference addSubject()
-
addSubject
public MedicinalProductInteraction addSubject(Reference t)
-
getSubjectFirstRep
public Reference getSubjectFirstRep()
- Returns:
- The first repetition of repeating field
subject, creating it if it does not already exist
-
getSubjectTarget
@Deprecated public List<Resource> getSubjectTarget()
Deprecated.Use Reference#setResource(IBaseResource) instead
-
getDescriptionElement
public StringType getDescriptionElement()
- Returns:
description(The interaction described.). This is the underlying object with id, value and extensions. The accessor "getDescription" gives direct access to the value
-
hasDescriptionElement
public boolean hasDescriptionElement()
-
hasDescription
public boolean hasDescription()
-
setDescriptionElement
public MedicinalProductInteraction setDescriptionElement(StringType value)
- Parameters:
value-description(The interaction described.). This is the underlying object with id, value and extensions. The accessor "getDescription" gives direct access to the value
-
getDescription
public String getDescription()
- Returns:
- The interaction described.
-
setDescription
public MedicinalProductInteraction setDescription(String value)
- Parameters:
value- The interaction described.
-
getInteractant
public List<MedicinalProductInteraction.MedicinalProductInteractionInteractantComponent> getInteractant()
- Returns:
interactant(The specific medication, food or laboratory test that interacts.)
-
setInteractant
public MedicinalProductInteraction setInteractant(List<MedicinalProductInteraction.MedicinalProductInteractionInteractantComponent> theInteractant)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasInteractant
public boolean hasInteractant()
-
addInteractant
public MedicinalProductInteraction.MedicinalProductInteractionInteractantComponent addInteractant()
-
addInteractant
public MedicinalProductInteraction addInteractant(MedicinalProductInteraction.MedicinalProductInteractionInteractantComponent t)
-
getInteractantFirstRep
public MedicinalProductInteraction.MedicinalProductInteractionInteractantComponent getInteractantFirstRep()
- Returns:
- The first repetition of repeating field
interactant, creating it if it does not already exist
-
getType
public CodeableConcept getType()
- Returns:
type(The type of the interaction e.g. drug-drug interaction, drug-food interaction, drug-lab test interaction.)
-
hasType
public boolean hasType()
-
setType
public MedicinalProductInteraction setType(CodeableConcept value)
- Parameters:
value-type(The type of the interaction e.g. drug-drug interaction, drug-food interaction, drug-lab test interaction.)
-
getEffect
public CodeableConcept getEffect()
- Returns:
effect(The effect of the interaction, for example "reduced gastric absorption of primary medication".)
-
hasEffect
public boolean hasEffect()
-
setEffect
public MedicinalProductInteraction setEffect(CodeableConcept value)
- Parameters:
value-effect(The effect of the interaction, for example "reduced gastric absorption of primary medication".)
-
getIncidence
public CodeableConcept getIncidence()
- Returns:
incidence(The incidence of the interaction, e.g. theoretical, observed.)
-
hasIncidence
public boolean hasIncidence()
-
setIncidence
public MedicinalProductInteraction setIncidence(CodeableConcept value)
- Parameters:
value-incidence(The incidence of the interaction, e.g. theoretical, observed.)
-
getManagement
public CodeableConcept getManagement()
- Returns:
management(Actions for managing the interaction.)
-
hasManagement
public boolean hasManagement()
-
setManagement
public MedicinalProductInteraction setManagement(CodeableConcept value)
- Parameters:
value-management(Actions for managing the interaction.)
-
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 MedicinalProductInteraction copy()
- Specified by:
copyin classDomainResource
-
copyValues
public void copyValues(MedicinalProductInteraction dst)
-
typedCopy
protected MedicinalProductInteraction 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
-
-