Package org.hl7.fhir.r4.model
Class MedicinalProductContraindication
- 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.MedicinalProductContraindication
-
- 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 MedicinalProductContraindication extends DomainResource
The clinical particulars - indications, contraindications etc. of a medicinal product, including for regulatory purposes.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMedicinalProductContraindication.MedicinalProductContraindicationOtherTherapyComponent
-
Field Summary
Fields Modifier and Type Field Description protected List<CodeableConcept>comorbidityA comorbidity (concurrent condition) or coinfection.protected CodeableConceptdiseaseThe disease, symptom or procedure for the contraindication.protected CodeableConceptdiseaseStatusThe status of the disease or symptom for the contraindication.static ca.uhn.fhir.model.api.IncludeINCLUDE_SUBJECTConstant for fluent queries to be used to add include statements.protected List<MedicinalProductContraindication.MedicinalProductContraindicationOtherTherapyComponent>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>therapeuticIndicationInformation about the use of the medicinal product in relation to other therapies as part of the indication.protected List<MedicinalProductIndication>therapeuticIndicationTargetThe actual objects that are the target of the reference (Information about the use of the medicinal product in relation to other therapies as part of the indication.)-
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 MedicinalProductContraindication()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.)
-
disease
protected CodeableConcept disease
The disease, symptom or procedure for the contraindication.
-
diseaseStatus
protected CodeableConcept diseaseStatus
The status of the disease or symptom for the contraindication.
-
comorbidity
protected List<CodeableConcept> comorbidity
A comorbidity (concurrent condition) or coinfection.
-
therapeuticIndication
protected List<Reference> therapeuticIndication
Information about the use of the medicinal product in relation to other therapies as part of the indication.
-
therapeuticIndicationTarget
protected List<MedicinalProductIndication> therapeuticIndicationTarget
The actual objects that are the target of the reference (Information about the use of the medicinal product in relation to other therapies as part of the indication.)
-
otherTherapy
protected List<MedicinalProductContraindication.MedicinalProductContraindicationOtherTherapyComponent> otherTherapy
Information about the use of the medicinal product in relation to other therapies described as part of the indication.
-
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 contraindication
Type: reference
Path: MedicinalProductContraindication.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 contraindication
Type: reference
Path: MedicinalProductContraindication.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 "MedicinalProductContraindication:subject".
-
-
Constructor Detail
-
MedicinalProductContraindication
public MedicinalProductContraindication()
Constructor
-
-
Method Detail
-
getSubject
public List<Reference> getSubject()
- Returns:
subject(The medication for which this is an indication.)
-
setSubject
public MedicinalProductContraindication setSubject(List<Reference> theSubject)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasSubject
public boolean hasSubject()
-
addSubject
public Reference addSubject()
-
addSubject
public MedicinalProductContraindication 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
-
getDisease
public CodeableConcept getDisease()
- Returns:
disease(The disease, symptom or procedure for the contraindication.)
-
hasDisease
public boolean hasDisease()
-
setDisease
public MedicinalProductContraindication setDisease(CodeableConcept value)
- Parameters:
value-disease(The disease, symptom or procedure for the contraindication.)
-
getDiseaseStatus
public CodeableConcept getDiseaseStatus()
- Returns:
diseaseStatus(The status of the disease or symptom for the contraindication.)
-
hasDiseaseStatus
public boolean hasDiseaseStatus()
-
setDiseaseStatus
public MedicinalProductContraindication setDiseaseStatus(CodeableConcept value)
- Parameters:
value-diseaseStatus(The status of the disease or symptom for the contraindication.)
-
getComorbidity
public List<CodeableConcept> getComorbidity()
- Returns:
comorbidity(A comorbidity (concurrent condition) or coinfection.)
-
setComorbidity
public MedicinalProductContraindication setComorbidity(List<CodeableConcept> theComorbidity)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasComorbidity
public boolean hasComorbidity()
-
addComorbidity
public CodeableConcept addComorbidity()
-
addComorbidity
public MedicinalProductContraindication addComorbidity(CodeableConcept t)
-
getComorbidityFirstRep
public CodeableConcept getComorbidityFirstRep()
- Returns:
- The first repetition of repeating field
comorbidity, creating it if it does not already exist
-
getTherapeuticIndication
public List<Reference> getTherapeuticIndication()
- Returns:
therapeuticIndication(Information about the use of the medicinal product in relation to other therapies as part of the indication.)
-
setTherapeuticIndication
public MedicinalProductContraindication setTherapeuticIndication(List<Reference> theTherapeuticIndication)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasTherapeuticIndication
public boolean hasTherapeuticIndication()
-
addTherapeuticIndication
public Reference addTherapeuticIndication()
-
addTherapeuticIndication
public MedicinalProductContraindication addTherapeuticIndication(Reference t)
-
getTherapeuticIndicationFirstRep
public Reference getTherapeuticIndicationFirstRep()
- Returns:
- The first repetition of repeating field
therapeuticIndication, creating it if it does not already exist
-
getTherapeuticIndicationTarget
@Deprecated public List<MedicinalProductIndication> getTherapeuticIndicationTarget()
Deprecated.Use Reference#setResource(IBaseResource) instead
-
addTherapeuticIndicationTarget
@Deprecated public MedicinalProductIndication addTherapeuticIndicationTarget()
Deprecated.Use Reference#setResource(IBaseResource) instead
-
getOtherTherapy
public List<MedicinalProductContraindication.MedicinalProductContraindicationOtherTherapyComponent> getOtherTherapy()
- Returns:
otherTherapy(Information about the use of the medicinal product in relation to other therapies described as part of the indication.)
-
setOtherTherapy
public MedicinalProductContraindication setOtherTherapy(List<MedicinalProductContraindication.MedicinalProductContraindicationOtherTherapyComponent> theOtherTherapy)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasOtherTherapy
public boolean hasOtherTherapy()
-
addOtherTherapy
public MedicinalProductContraindication.MedicinalProductContraindicationOtherTherapyComponent addOtherTherapy()
-
addOtherTherapy
public MedicinalProductContraindication addOtherTherapy(MedicinalProductContraindication.MedicinalProductContraindicationOtherTherapyComponent t)
-
getOtherTherapyFirstRep
public MedicinalProductContraindication.MedicinalProductContraindicationOtherTherapyComponent getOtherTherapyFirstRep()
- Returns:
- The first repetition of repeating field
otherTherapy, creating it if it does not already exist
-
getPopulation
public List<Population> getPopulation()
- Returns:
population(The population group to which this applies.)
-
setPopulation
public MedicinalProductContraindication setPopulation(List<Population> thePopulation)
- Returns:
- Returns a reference to
thisfor easy method chaining
-
hasPopulation
public boolean hasPopulation()
-
addPopulation
public Population addPopulation()
-
addPopulation
public MedicinalProductContraindication 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 MedicinalProductContraindication copy()
- Specified by:
copyin classDomainResource
-
copyValues
public void copyValues(MedicinalProductContraindication dst)
-
typedCopy
protected MedicinalProductContraindication 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
-
-