Private OptionalcodeMedicationKnowledge.code Element
FHIR Specification
CodeableConceptPrivate ReadonlymedicationknowledgeFHIR CodeSystem: MedicationknowledgeStatus
Private OptionalstatusMedicationKnowledge.status Element
FHIR Specification
codeCodeSystem Enumeration: MedicationknowledgeStatusEnum
Private OptionalmanufacturerMedicationKnowledge.manufacturer Element
FHIR Specification
Reference
Private OptionaldoseMedicationKnowledge.doseForm Element
FHIR Specification
CodeableConceptPrivate OptionalamountMedicationKnowledge.amount Element
FHIR Specification
QuantityPrivate OptionalsynonymMedicationKnowledge.synonym Element
FHIR Specification
stringPrivate OptionalrelatedMedicationKnowledge.relatedMedicationKnowledge Element
Private OptionalassociatedMedicationKnowledge.associatedMedication Element
FHIR Specification
Reference
Private OptionalproductMedicationKnowledge.productType Element
Private OptionalmonographMedicationKnowledge.monograph Element
Private OptionalingredientMedicationKnowledge.ingredient Element
Private OptionalpreparationMedicationKnowledge.preparationInstruction Element
Private OptionalintendedMedicationKnowledge.intendedRoute Element
Private OptionalcostMedicationKnowledge.cost Element
Private OptionalmonitoringMedicationKnowledge.monitoringProgram Element
Private OptionaladministrationMedicationKnowledge.administrationGuidelines Element
Private OptionalmedicineMedicationKnowledge.medicineClassification Element
Private OptionalpackagingMedicationKnowledge.packaging Element
Private OptionaldrugMedicationKnowledge.drugCharacteristic Element
Private OptionalcontraindicationMedicationKnowledge.contraindication Element
FHIR Specification
Reference
Private OptionalregulatoryMedicationKnowledge.regulatory Element
Private OptionalkineticsMedicationKnowledge.kinetics Element
FHIR Specification
BackboneElementStaticparseParse the provided MedicationKnowledge JSON to instantiate the MedicationKnowledge data model.
JSON representing FHIR MedicationKnowledge
OptionaloptSourceField: stringOptional data source field (e.g. <complexTypeName>.<complexTypeFieldName>); defaults to MedicationKnowledge
MedicationKnowledge data model or undefined for MedicationKnowledge
JsonError if the provided JSON is not a valid JSON object
the code property value as a CodeableConcept object if defined; else an empty CodeableConcept object
Assigns the provided Code object value to the code property.
the code object value
this
InvalidTypeError for invalid data types
true if the code property exists and has a value; false otherwise
the status property value as a EnumCodeType if defined; else undefined
CodeSystem Enumeration: MedicationknowledgeStatusEnum
Assigns the provided EnumCodeType value to the status property.
the status value
this
InvalidCodeError for invalid code values
InvalidTypeError for invalid data types
CodeSystem Enumeration: MedicationknowledgeStatusEnum
true if the status property exists and has a value; false otherwise
the status property value as a CodeType if defined; else undefined
CodeSystem Enumeration: MedicationknowledgeStatusEnum
Assigns the provided PrimitiveType value to the status property.
the status value
this
InvalidCodeError for invalid code value
InvalidTypeError for invalid data types
CodeSystem Enumeration: MedicationknowledgeStatusEnum
true if the status property exists and has a value; false otherwise
the status property value as a fhirCode if defined; else undefined
CodeSystem Enumeration: MedicationknowledgeStatusEnum
Assigns the provided primitive value to the status property.
the status value
this
InvalidCodeError for invalid code value
PrimitiveTypeError for invalid primitive types
CodeSystem Enumeration: MedicationknowledgeStatusEnum
true if the status property exists and has a value; false otherwise
the manufacturer property value as a Reference object; else an empty Reference object
Assigns the provided Manufacturer object value to the manufacturer property.
the manufacturer object value
this
InvalidTypeError for invalid data type or reference value
true if the manufacturer property exists and has a value; false otherwise
the doseForm property value as a CodeableConcept object if defined; else an empty CodeableConcept object
Assigns the provided DoseForm object value to the doseForm property.
the doseForm object value
this
InvalidTypeError for invalid data types
true if the doseForm property exists and has a value; false otherwise
the amount property value as a Quantity object if defined; else an empty Quantity object
Assigns the provided Amount object value to the amount property.
the amount object value
this
InvalidTypeError for invalid data types
true if the amount property exists and has a value; false otherwise
the synonym property value as a StringType array
Assigns the provided StringType array value to the synonym property.
the synonym array value
this
InvalidTypeError for invalid data types
PrimitiveTypeError for invalid primitive types
Add the provided StringType value to the synonym array property.
the synonym value
this
InvalidTypeError for invalid data types
PrimitiveTypeError for invalid primitive types
true if the synonym property exists and has a value; false otherwise
the synonym property value as a fhirString array
Assigns the provided primitive value array to the synonym property.
the synonym value array
this
PrimitiveTypeError for invalid primitive types
Add the provided primitive value to the synonym array property.
the synonym value
this
PrimitiveTypeError for invalid primitive types
true if the synonym property exists and has a value; false otherwise
the relatedMedicationKnowledge property value as a MedicationKnowledgeRelatedMedicationKnowledgeComponent array
Assigns the provided MedicationKnowledgeRelatedMedicationKnowledgeComponent array value to the relatedMedicationKnowledge property.
the relatedMedicationKnowledge array value
this
InvalidTypeError for invalid data types
Add the provided MedicationKnowledgeRelatedMedicationKnowledgeComponent value to the relatedMedicationKnowledge array property.
the relatedMedicationKnowledge value
this
InvalidTypeError for invalid data types
true if the relatedMedicationKnowledge property exists and has a value; false otherwise
the associatedMedication property value as a Reference array
Assigns the provided Reference array value to the associatedMedication property.
the associatedMedication array value
this
InvalidTypeError for invalid data type or reference value
Add the provided Reference value to the associatedMedication array property.
the associatedMedication value
this
InvalidTypeError for invalid data type or reference value
true if the associatedMedication property exists and has a value; false otherwise
the productType property value as a CodeableConcept array
Assigns the provided CodeableConcept array value to the productType property.
the productType array value
this
InvalidTypeError for invalid data types
Add the provided CodeableConcept value to the productType array property.
the productType value
this
InvalidTypeError for invalid data types
true if the productType property exists and has a value; false otherwise
the monograph property value as a MedicationKnowledgeMonographComponent array
Assigns the provided MedicationKnowledgeMonographComponent array value to the monograph property.
the monograph array value
this
InvalidTypeError for invalid data types
Add the provided MedicationKnowledgeMonographComponent value to the monograph array property.
the monograph value
this
InvalidTypeError for invalid data types
true if the monograph property exists and has a value; false otherwise
the ingredient property value as a MedicationKnowledgeIngredientComponent array
Assigns the provided MedicationKnowledgeIngredientComponent array value to the ingredient property.
the ingredient array value
this
InvalidTypeError for invalid data types
Add the provided MedicationKnowledgeIngredientComponent value to the ingredient array property.
the ingredient value
this
InvalidTypeError for invalid data types
true if the ingredient property exists and has a value; false otherwise
the preparationInstruction property value as a MarkdownType object if defined; else an empty MarkdownType object
Assigns the provided PrimitiveType value to the preparationInstruction property.
the preparationInstruction value
this
InvalidTypeError for invalid data types
PrimitiveTypeError for invalid primitive types
true if the preparationInstruction property exists and has a value; false otherwise
the preparationInstruction property value as a fhirMarkdown if defined; else undefined
Assigns the provided primitive value to the preparationInstruction property.
the preparationInstruction value
this
PrimitiveTypeError for invalid primitive types
true if the preparationInstruction property exists and has a value; false otherwise
the intendedRoute property value as a CodeableConcept array
Assigns the provided CodeableConcept array value to the intendedRoute property.
the intendedRoute array value
this
InvalidTypeError for invalid data types
Add the provided CodeableConcept value to the intendedRoute array property.
the intendedRoute value
this
InvalidTypeError for invalid data types
true if the intendedRoute property exists and has a value; false otherwise
the cost property value as a MedicationKnowledgeCostComponent array
Assigns the provided MedicationKnowledgeCostComponent array value to the cost property.
the cost array value
this
InvalidTypeError for invalid data types
Add the provided MedicationKnowledgeCostComponent value to the cost array property.
the cost value
this
InvalidTypeError for invalid data types
true if the cost property exists and has a value; false otherwise
the monitoringProgram property value as a MedicationKnowledgeMonitoringProgramComponent array
Assigns the provided MedicationKnowledgeMonitoringProgramComponent array value to the monitoringProgram property.
the monitoringProgram array value
this
InvalidTypeError for invalid data types
Add the provided MedicationKnowledgeMonitoringProgramComponent value to the monitoringProgram array property.
the monitoringProgram value
this
InvalidTypeError for invalid data types
true if the monitoringProgram property exists and has a value; false otherwise
the administrationGuidelines property value as a MedicationKnowledgeAdministrationGuidelinesComponent array
Assigns the provided MedicationKnowledgeAdministrationGuidelinesComponent array value to the administrationGuidelines property.
the administrationGuidelines array value
this
InvalidTypeError for invalid data types
Add the provided MedicationKnowledgeAdministrationGuidelinesComponent value to the administrationGuidelines array property.
the administrationGuidelines value
this
InvalidTypeError for invalid data types
true if the administrationGuidelines property exists and has a value; false otherwise
the medicineClassification property value as a MedicationKnowledgeMedicineClassificationComponent array
Assigns the provided MedicationKnowledgeMedicineClassificationComponent array value to the medicineClassification property.
the medicineClassification array value
this
InvalidTypeError for invalid data types
Add the provided MedicationKnowledgeMedicineClassificationComponent value to the medicineClassification array property.
the medicineClassification value
this
InvalidTypeError for invalid data types
true if the medicineClassification property exists and has a value; false otherwise
the packaging property value as a MedicationKnowledgePackagingComponent object if defined; else an empty MedicationKnowledgePackagingComponent object
Assigns the provided Packaging object value to the packaging property.
the packaging object value
this
InvalidTypeError for invalid data types
true if the packaging property exists and has a value; false otherwise
the drugCharacteristic property value as a MedicationKnowledgeDrugCharacteristicComponent array
Assigns the provided MedicationKnowledgeDrugCharacteristicComponent array value to the drugCharacteristic property.
the drugCharacteristic array value
this
InvalidTypeError for invalid data types
Add the provided MedicationKnowledgeDrugCharacteristicComponent value to the drugCharacteristic array property.
the drugCharacteristic value
this
InvalidTypeError for invalid data types
true if the drugCharacteristic property exists and has a value; false otherwise
the contraindication property value as a Reference array
Assigns the provided Reference array value to the contraindication property.
the contraindication array value
this
InvalidTypeError for invalid data type or reference value
Add the provided Reference value to the contraindication array property.
the contraindication value
this
InvalidTypeError for invalid data type or reference value
true if the contraindication property exists and has a value; false otherwise
the regulatory property value as a MedicationKnowledgeRegulatoryComponent array
Assigns the provided MedicationKnowledgeRegulatoryComponent array value to the regulatory property.
the regulatory array value
this
InvalidTypeError for invalid data types
Add the provided MedicationKnowledgeRegulatoryComponent value to the regulatory array property.
the regulatory value
this
InvalidTypeError for invalid data types
true if the regulatory property exists and has a value; false otherwise
the kinetics property value as a MedicationKnowledgeKineticsComponent array
Assigns the provided MedicationKnowledgeKineticsComponent array value to the kinetics property.
the kinetics array value
this
InvalidTypeError for invalid data types
Add the provided MedicationKnowledgeKineticsComponent value to the kinetics array property.
the kinetics value
this
InvalidTypeError for invalid data types
true if the kinetics property exists and has a value; false otherwise
the FHIR type defined in the FHIR standard
true if the instance is empty; false otherwise
Creates a copy of the current instance.
the a new instance copied from the current instance
the JSON value or undefined if the instance is empty
the text property value as a Narrative
Assigns the provided value to the text property.
the text value
this
true if the text property exists and has a value; false otherwise
the contained property value as a Resource array
Assigns the provided Resource array value to the contained property.
the contained array value
this
Add the provided Resource value to the contained array property.
the contained value
this
true if the contained property exists and has a value; false otherwise
the array of extension values
Assigns the provided array of Extension values to the extension property.
array of Extensions
this
Determines if the extension property exists.
Optionalurl: stringthe url that identifies a specific Extension
true if an Extension has the provided url; false otherwise
If the url is provided, determines if an Extension having
the provided url exists. If the url is not provided, determines
if the extension property exists and has any values.
AssertionError for invalid url
Returns the Extension having the provided url.
the url that identifies a specific Extension
the Extension having the provided url
AssertionError for invalid url
Adds the provided Extension to the extension property array.
the Extension value to add to the extension property array
this
Removes the Extension having the provided url from the extension property array.
the url that identifies a specific Extension to remove
AssertionError for invalid url
the array of modifierExtension values
Assigns the provided array of Extension values to the modifierExtension property.
array of Extensions
this
Determines if the modifierExtension property exists.
Optionalurl: stringthe url that identifies a specific Extension
true if an Extension has the provided url
If the url is provided, determines if an Extension having
the provided url exists. If the url is not provided, determines
if the modifierExtension property exists and has any values.
AssertionError for invalid url
Returns the Extension having the provided url.
the url that identifies a specific Extension
the Extension having the provided url
AssertionError for invalid url
Adds the provided Extension to the modifierExtension property array.
the Extension value to add to the modifierExtension property array
this
Removes the Extension having the provided url from the modifierExtension property array.
the url that identifies a specific Extension to remove
AssertionError for invalid url
the FHIR resource type as defined by the FHIR specification
the id property value as a PrimitiveType
Assigns the provided PrimitiveType value to the id property.
the id value
this
true if the id property exists and has a value; false otherwise
the id property value as a primitive value
Assigns the provided primitive value to the id property.
the id value
this
PrimitiveTypeError for invalid primitive types
true if the id property exists and has a value; false otherwise
the meta property value as a Meta
Assigns the provided value to the meta property.
the meta value
this
true if the meta property exists and has a value; false otherwise
the implicitRules property value as a PrimitiveType
Assigns the provided PrimitiveType value to the implicitRules property.
the implicitRules value
this
true if the implicitRules property exists and has a value; false otherwise
the implicitRules property value as a primitive value
Assigns the provided primitive value to the implicitRules property.
the implicitRules value
this
PrimitiveTypeError for invalid primitive types
true if the system property exists and has a value; false otherwise
the language property value as a PrimitiveType
Assigns the provided PrimitiveType value to the language property.
the language value
this
true if the language property exists and has a value; false otherwise
the language property value as a primitive value
Assigns the provided primitive value to the language property.
the language value
this
PrimitiveTypeError for invalid primitive types
true if the language property exists and has a value; false otherwise
true if the instance is a FHIR resource; false otherwise
true if and only if the data model has required fields (min cardinality > 0)
and at least one of those required fields in the instance is empty; false otherwise
true if the instance is a FHIR complex or primitive datatype; false otherwise
true if the instance is a FHIR complex datatype; false otherwise
true if the instance is a FHIR primitive datatype; false otherwise
true if the instance is a FHIR primitive boolean datatype; false otherwise
true if the instance is a FHIR primitive string-based datatype; false otherwise
true if the instance is a FHIR primitive number-based datatype; false otherwise
true if the instance is a FHIR primitive bigint-based datatype; false otherwise
true if the instance is a FHIR primitive datetime-based datatype; false otherwise
ProtectedcopyProtectedCopies the current instance's elements into the provided object.
the copied instance
PrivateinitInitialize the synonym property
PrivateinitInitialize the relatedMedicationKnowledge property
PrivateinitInitialize the associatedMedication property
PrivateinitInitialize the productType property
PrivateinitInitialize the monograph property
PrivateinitInitialize the ingredient property
PrivateinitInitialize the intendedRoute property
PrivateinitInitialize the cost property
PrivateinitInitialize the monitoringProgram property
PrivateinitInitialize the administrationGuidelines property
PrivateinitInitialize the medicineClassification property
PrivateinitInitialize the drugCharacteristic property
PrivateinitInitialize the contraindication property
PrivateinitInitialize the regulatory property
PrivateinitInitialize the kinetics property
MedicationKnowledge Class
Remarks
Information about a medication that is used to support knowledge.
FHIR Specification
See
FHIR MedicationKnowledge