Package org.hl7.fhir.r4.model
Class MedicinalProductUndesirableEffect
- 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.MedicinalProductUndesirableEffect
-
- 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 MedicinalProductUndesirableEffect extends DomainResource
Describe the undesirable effects of the medicinal product.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected CodeableConcept
classification
Classification of the effect.protected CodeableConcept
frequencyOfOccurrence
The frequency of occurrence of the effect.static ca.uhn.fhir.model.api.Include
INCLUDE_SUBJECT
Constant for fluent queries to be used to add include statements.protected List<Population>
population
The population group to which this applies.static String
SP_SUBJECT
Search parameter: subjectprotected List<Reference>
subject
The medication for which this is an indication.static ca.uhn.fhir.rest.gclient.ReferenceClientParam
SUBJECT
Fluent Client search parameter constant for subjectprotected List<Resource>
subjectTarget
The actual objects that are the target of the reference (The medication for which this is an indication.)protected CodeableConcept
symptomConditionEffect
The symptom, condition or undesirable effect.-
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 MedicinalProductUndesirableEffect()
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 an indication.)
-
symptomConditionEffect
protected CodeableConcept symptomConditionEffect
The symptom, condition or undesirable effect.
-
classification
protected CodeableConcept classification
Classification of the effect.
-
frequencyOfOccurrence
protected CodeableConcept frequencyOfOccurrence
The frequency of occurrence of the effect.
-
population
protected List<Population> population
The population group to which this applies.
-
SP_SUBJECT
public static final String SP_SUBJECT
Search parameter: subjectDescription: The medication for which this is an undesirable effect
Type: reference
Path: MedicinalProductUndesirableEffect.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 undesirable effect
Type: reference
Path: MedicinalProductUndesirableEffect.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 "MedicinalProductUndesirableEffect:subject".
-
-
Constructor Detail
-
MedicinalProductUndesirableEffect
public MedicinalProductUndesirableEffect()
Constructor
-
-
Method Detail
-
getSubject
public List<Reference> getSubject()
- Returns:
subject
(The medication for which this is an indication.)
-
setSubject
public MedicinalProductUndesirableEffect setSubject(List<Reference> theSubject)
- Returns:
- Returns a reference to
this
for easy method chaining
-
hasSubject
public boolean hasSubject()
-
addSubject
public Reference addSubject()
-
addSubject
public MedicinalProductUndesirableEffect 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
-
getSymptomConditionEffect
public CodeableConcept getSymptomConditionEffect()
- Returns:
symptomConditionEffect
(The symptom, condition or undesirable effect.)
-
hasSymptomConditionEffect
public boolean hasSymptomConditionEffect()
-
setSymptomConditionEffect
public MedicinalProductUndesirableEffect setSymptomConditionEffect(CodeableConcept value)
- Parameters:
value
-symptomConditionEffect
(The symptom, condition or undesirable effect.)
-
getClassification
public CodeableConcept getClassification()
- Returns:
classification
(Classification of the effect.)
-
hasClassification
public boolean hasClassification()
-
setClassification
public MedicinalProductUndesirableEffect setClassification(CodeableConcept value)
- Parameters:
value
-classification
(Classification of the effect.)
-
getFrequencyOfOccurrence
public CodeableConcept getFrequencyOfOccurrence()
- Returns:
frequencyOfOccurrence
(The frequency of occurrence of the effect.)
-
hasFrequencyOfOccurrence
public boolean hasFrequencyOfOccurrence()
-
setFrequencyOfOccurrence
public MedicinalProductUndesirableEffect setFrequencyOfOccurrence(CodeableConcept value)
- Parameters:
value
-frequencyOfOccurrence
(The frequency of occurrence of the effect.)
-
getPopulation
public List<Population> getPopulation()
- Returns:
population
(The population group to which this applies.)
-
setPopulation
public MedicinalProductUndesirableEffect setPopulation(List<Population> thePopulation)
- Returns:
- Returns a reference to
this
for easy method chaining
-
hasPopulation
public boolean hasPopulation()
-
addPopulation
public Population addPopulation()
-
addPopulation
public MedicinalProductUndesirableEffect addPopulation(Population t)
-
getPopulationFirstRep
public Population getPopulationFirstRep()
- Returns:
- The first repetition of repeating field
population
, creating it if it does not already exist
-
listChildren
protected void listChildren(List<Property> children)
- 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
public Base setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
setProperty
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
makeProperty
public Base makeProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
- 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
public Base addChild(String name) throws org.hl7.fhir.exceptions.FHIRException
- Overrides:
addChild
in classDomainResource
- Throws:
org.hl7.fhir.exceptions.FHIRException
-
fhirType
public String fhirType()
- Specified by:
fhirType
in interfaceorg.hl7.fhir.instance.model.api.IBase
- Overrides:
fhirType
in classDomainResource
-
copy
public MedicinalProductUndesirableEffect copy()
- Specified by:
copy
in classDomainResource
-
copyValues
public void copyValues(MedicinalProductUndesirableEffect dst)
-
typedCopy
protected MedicinalProductUndesirableEffect typedCopy()
-
equalsDeep
public boolean equalsDeep(Base other_)
- Overrides:
equalsDeep
in classDomainResource
-
equalsShallow
public boolean equalsShallow(Base other_)
- Overrides:
equalsShallow
in classDomainResource
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty
in interfaceorg.hl7.fhir.instance.model.api.IBase
- Overrides:
isEmpty
in classDomainResource
-
getResourceType
public ResourceType getResourceType()
- Specified by:
getResourceType
in classResource
-
-