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
The interactions of the medicinal product with other medicinal products, or
other forms of interactions.
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
-
Field Summary
Modifier and TypeFieldDescriptionprotected StringType
The interaction described.protected CodeableConcept
The effect of the interaction, for example "reduced gastric absorption of primary medication".protected CodeableConcept
The incidence of the interaction, e.g.static final ca.uhn.fhir.model.api.Include
Constant for fluent queries to be used to add include statements.The specific medication, food or laboratory test that interacts.protected CodeableConcept
Actions for managing the interaction.static final String
Search parameter: subjectThe medication for which this is a described interaction.static final ca.uhn.fhir.rest.gclient.ReferenceClientParam
Fluent Client search parameter constant for subjectThe actual objects that are the target of the reference (The medication for which this is a described interaction.)protected CodeableConcept
The 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
Fields inherited from interface org.hl7.fhir.instance.model.api.IAnyResource
RES_ID, RES_LAST_UPDATED, RES_PROFILE, RES_SECURITY, RES_TAG, SP_RES_ID, SP_RES_LAST_UPDATED, SP_RES_PROFILE, SP_RES_SECURITY, SP_RES_TAG
Fields inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
INCLUDE_ALL, WILDCARD_ALL_SET
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncopy()
void
boolean
equalsDeep
(Base other_) boolean
equalsShallow
(Base other_) fhirType()
getNamedProperty
(int _hash, String _name, boolean _checkValid) Base[]
getProperty
(int hash, String name, boolean checkValid) Deprecated.Use Reference#setResource(IBaseResource) insteadgetType()
String[]
getTypesForProperty
(int hash, String name) boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
hasType()
boolean
isEmpty()
protected void
listChildren
(List<Property> children) makeProperty
(int hash, String name) void
removeChild
(String name, Base value) setDescription
(String value) setDescriptionElement
(StringType value) setEffect
(CodeableConcept value) setIncidence
(CodeableConcept value) setInteractant
(List<MedicinalProductInteraction.MedicinalProductInteractionInteractantComponent> theInteractant) setManagement
(CodeableConcept value) setProperty
(int hash, String name, Base value) setProperty
(String name, Base value) setSubject
(List<Reference> theSubject) setType
(CodeableConcept value) protected MedicinalProductInteraction
Methods inherited from class org.hl7.fhir.r4.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.r4.model.Resource
copyValues, getId, getIdBase, getIdElement, getIdPart, 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, 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, isDeleted, setId
-
Field Details
-
subject
The medication for which this is a described interaction. -
subjectTarget
The actual objects that are the target of the reference (The medication for which this is a described interaction.) -
description
The interaction described. -
interactant
protected List<MedicinalProductInteraction.MedicinalProductInteractionInteractantComponent> interactantThe specific medication, food or laboratory test that interacts. -
type
The type of the interaction e.g. drug-drug interaction, drug-food interaction, drug-lab test interaction. -
effect
The effect of the interaction, for example "reduced gastric absorption of primary medication". -
incidence
The incidence of the interaction, e.g. theoretical, observed. -
management
Actions for managing the interaction. -
SP_SUBJECT
Search parameter: subjectDescription: The medication for which this is an interaction
Type: reference
Path: MedicinalProductInteraction.subject
- See Also:
-
SUBJECT
Fluent Client search parameter constant for subjectDescription: The medication for which this is an interaction
Type: reference
Path: MedicinalProductInteraction.subject
-
INCLUDE_SUBJECT
Constant for fluent queries to be used to add include statements. Specifies the path value of "MedicinalProductInteraction:subject".
-
-
Constructor Details
-
MedicinalProductInteraction
public MedicinalProductInteraction()Constructor
-
-
Method Details
-
getSubject
- Returns:
subject
(The medication for which this is a described interaction.)
-
setSubject
- Returns:
- Returns a reference to
this
for easy method chaining
-
hasSubject
-
addSubject
-
addSubject
-
getSubjectFirstRep
- Returns:
- The first repetition of repeating field
subject
, creating it if it does not already exist
-
getSubjectTarget
Deprecated.Use Reference#setResource(IBaseResource) instead -
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
-
hasDescription
-
setDescriptionElement
- 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
- Returns:
- The interaction described.
-
setDescription
- 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
this
for easy method chaining
-
hasInteractant
-
addInteractant
-
addInteractant
-
getInteractantFirstRep
public MedicinalProductInteraction.MedicinalProductInteractionInteractantComponent getInteractantFirstRep()- Returns:
- The first repetition of repeating field
interactant
, creating it if it does not already exist
-
getType
- Returns:
type
(The type of the interaction e.g. drug-drug interaction, drug-food interaction, drug-lab test interaction.)
-
hasType
-
setType
- Parameters:
value
-type
(The type of the interaction e.g. drug-drug interaction, drug-food interaction, drug-lab test interaction.)
-
getEffect
- Returns:
effect
(The effect of the interaction, for example "reduced gastric absorption of primary medication".)
-
hasEffect
-
setEffect
- Parameters:
value
-effect
(The effect of the interaction, for example "reduced gastric absorption of primary medication".)
-
getIncidence
- Returns:
incidence
(The incidence of the interaction, e.g. theoretical, observed.)
-
hasIncidence
-
setIncidence
- Parameters:
value
-incidence
(The incidence of the interaction, e.g. theoretical, observed.)
-
getManagement
- Returns:
management
(Actions for managing the interaction.)
-
hasManagement
-
setManagement
- Parameters:
value
-management
(Actions for managing the interaction.)
-
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
-
removeChild
- Overrides:
removeChild
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
-