Package org.hl7.fhir.r4.model
Class MedicinalProductIndication
- 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.MedicinalProductIndication
-
- 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 MedicinalProductIndication extends DomainResource
Indication for the Medicinal Product.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMedicinalProductIndication.MedicinalProductIndicationOtherTherapyComponent
-
Field Summary
Fields Modifier and Type Field Description protected List<CodeableConcept>comorbidityComorbidity (concurrent condition) or co-infection as part of the indication.protected CodeableConceptdiseaseStatusThe status of the disease or symptom for which the indication applies.protected CodeableConceptdiseaseSymptomProcedureThe disease, symptom or procedure that is the indication for treatment.protected QuantitydurationTiming or duration information as part of the indication.static ca.uhn.fhir.model.api.IncludeINCLUDE_SUBJECTConstant for fluent queries to be used to add include statements.protected CodeableConceptintendedEffectThe intended effect, aim or strategy to be achieved by the indication.protected List<MedicinalProductIndication.MedicinalProductIndicationOtherTherapyComponent>otherTherapyInformation about the use of the medicinal product in relation to other therapies described as part of the indication.protected List<Population>populationThe population group to which this applies.static StringSP_SUBJECTSearch parameter: subjectprotected List<Reference>subjectThe medication for which this is an indication.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 an indication.)protected List<Reference>undesirableEffectDescribe the undesirable effects of the medicinal product.protected List<MedicinalProductUndesirableEffect>undesirableEffectTargetThe actual objects that are the target of the reference (Describe the undesirable effects of the medicinal product.)-
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 MedicinalProductIndication()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.)
-
diseaseSymptomProcedure
protected CodeableConcept diseaseSymptomProcedure
The disease, symptom or procedure that is the indication for treatment.
-
diseaseStatus
protected CodeableConcept diseaseStatus
The status of the disease or symptom for which the indication applies.
-
comorbidity
protected List<CodeableConcept> comorbidity
Comorbidity (concurrent condition) or co-infection as part of the indication.
-
intendedEffect
protected CodeableConcept intendedEffect
The intended effect, aim or strategy to be achieved by the indication.
-
otherTherapy
protected List<MedicinalProductIndication.MedicinalProductIndicationOtherTherapyComponent> otherTherapy
Information about the use of the medicinal product in relation to other therapies described as part of the indication.
-
undesirableEffect
protected List<Reference> undesirableEffect
Describe the undesirable effects of the medicinal product.
-
undesirableEffectTarget
protected List<MedicinalProductUndesirableEffect> undesirableEffectTarget
The actual objects that are the target of the reference (Describe the undesirable effects of the medicinal product.)
-
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 indication
Type: reference
Path: MedicinalProductIndication.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 indication
Type: reference
Path: MedicinalProductIndication.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 "MedicinalProductIndication:subject".
-
-
Constructor Detail
-
MedicinalProductIndication
public MedicinalProductIndication()
Constructor
-
-
Method Detail
-
getSubject
public List<Reference> getSubject()
- Returns:
subject(The medication for which this is an indication.)
-
setSubject
public MedicinalProductIndication setSubject(List<Reference> theSubject)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasSubject
public boolean hasSubject()
-
addSubject
public Reference addSubject()
-
addSubject
public MedicinalProductIndication 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
-
getDiseaseSymptomProcedure
public CodeableConcept getDiseaseSymptomProcedure()
- Returns:
diseaseSymptomProcedure(The disease, symptom or procedure that is the indication for treatment.)
-
hasDiseaseSymptomProcedure
public boolean hasDiseaseSymptomProcedure()
-
setDiseaseSymptomProcedure
public MedicinalProductIndication setDiseaseSymptomProcedure(CodeableConcept value)
- Parameters:
value-diseaseSymptomProcedure(The disease, symptom or procedure that is the indication for treatment.)
-
getDiseaseStatus
public CodeableConcept getDiseaseStatus()
- Returns:
diseaseStatus(The status of the disease or symptom for which the indication applies.)
-
hasDiseaseStatus
public boolean hasDiseaseStatus()
-
setDiseaseStatus
public MedicinalProductIndication setDiseaseStatus(CodeableConcept value)
- Parameters:
value-diseaseStatus(The status of the disease or symptom for which the indication applies.)
-
getComorbidity
public List<CodeableConcept> getComorbidity()
- Returns:
comorbidity(Comorbidity (concurrent condition) or co-infection as part of the indication.)
-
setComorbidity
public MedicinalProductIndication setComorbidity(List<CodeableConcept> theComorbidity)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasComorbidity
public boolean hasComorbidity()
-
addComorbidity
public CodeableConcept addComorbidity()
-
addComorbidity
public MedicinalProductIndication addComorbidity(CodeableConcept t)
-
getComorbidityFirstRep
public CodeableConcept getComorbidityFirstRep()
- Returns:
- The first repetition of repeating field
comorbidity, creating it if it does not already exist
-
getIntendedEffect
public CodeableConcept getIntendedEffect()
- Returns:
intendedEffect(The intended effect, aim or strategy to be achieved by the indication.)
-
hasIntendedEffect
public boolean hasIntendedEffect()
-
setIntendedEffect
public MedicinalProductIndication setIntendedEffect(CodeableConcept value)
- Parameters:
value-intendedEffect(The intended effect, aim or strategy to be achieved by the indication.)
-
getDuration
public Quantity getDuration()
- Returns:
duration(Timing or duration information as part of the indication.)
-
hasDuration
public boolean hasDuration()
-
setDuration
public MedicinalProductIndication setDuration(Quantity value)
- Parameters:
value-duration(Timing or duration information as part of the indication.)
-
getOtherTherapy
public List<MedicinalProductIndication.MedicinalProductIndicationOtherTherapyComponent> getOtherTherapy()
- Returns:
otherTherapy(Information about the use of the medicinal product in relation to other therapies described as part of the indication.)
-
setOtherTherapy
public MedicinalProductIndication setOtherTherapy(List<MedicinalProductIndication.MedicinalProductIndicationOtherTherapyComponent> theOtherTherapy)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasOtherTherapy
public boolean hasOtherTherapy()
-
addOtherTherapy
public MedicinalProductIndication.MedicinalProductIndicationOtherTherapyComponent addOtherTherapy()
-
addOtherTherapy
public MedicinalProductIndication addOtherTherapy(MedicinalProductIndication.MedicinalProductIndicationOtherTherapyComponent t)
-
getOtherTherapyFirstRep
public MedicinalProductIndication.MedicinalProductIndicationOtherTherapyComponent getOtherTherapyFirstRep()
- Returns:
- The first repetition of repeating field
otherTherapy, creating it if it does not already exist
-
getUndesirableEffect
public List<Reference> getUndesirableEffect()
- Returns:
undesirableEffect(Describe the undesirable effects of the medicinal product.)
-
setUndesirableEffect
public MedicinalProductIndication setUndesirableEffect(List<Reference> theUndesirableEffect)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasUndesirableEffect
public boolean hasUndesirableEffect()
-
addUndesirableEffect
public Reference addUndesirableEffect()
-
addUndesirableEffect
public MedicinalProductIndication addUndesirableEffect(Reference t)
-
getUndesirableEffectFirstRep
public Reference getUndesirableEffectFirstRep()
- Returns:
- The first repetition of repeating field
undesirableEffect, creating it if it does not already exist
-
getUndesirableEffectTarget
@Deprecated public List<MedicinalProductUndesirableEffect> getUndesirableEffectTarget()
Deprecated.Use Reference#setResource(IBaseResource) instead
-
addUndesirableEffectTarget
@Deprecated public MedicinalProductUndesirableEffect addUndesirableEffectTarget()
Deprecated.Use Reference#setResource(IBaseResource) instead
-
getPopulation
public List<Population> getPopulation()
- Returns:
population(The population group to which this applies.)
-
setPopulation
public MedicinalProductIndication setPopulation(List<Population> thePopulation)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasPopulation
public boolean hasPopulation()
-
addPopulation
public Population addPopulation()
-
addPopulation
public MedicinalProductIndication 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:
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 MedicinalProductIndication copy()
- Specified by:
copyin classDomainResource
-
copyValues
public void copyValues(MedicinalProductIndication dst)
-
typedCopy
protected MedicinalProductIndication 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
-
-