Class KbvErpMedication
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.Medication
de.gematik.test.erezept.fhir.r4.kbv.KbvErpMedication
- All Implemented Interfaces:
ca.uhn.fhir.model.api.IElement,ErpFhirResource,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
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.hl7.fhir.r4.model.Medication
org.hl7.fhir.r4.model.Medication.MedicationBatchComponent, org.hl7.fhir.r4.model.Medication.MedicationIngredientComponent, org.hl7.fhir.r4.model.Medication.MedicationStatus, org.hl7.fhir.r4.model.Medication.MedicationStatusEnumFactory -
Field Summary
Fields inherited from class org.hl7.fhir.r4.model.Medication
amount, batch, code, CODE, EXPIRATION_DATE, form, FORM, identifier, IDENTIFIER, INCLUDE_INGREDIENT, INCLUDE_MANUFACTURER, ingredient, INGREDIENT, INGREDIENT_CODE, LOT_NUMBER, manufacturer, MANUFACTURER, manufacturerTarget, SP_CODE, SP_EXPIRATION_DATE, SP_FORM, SP_IDENTIFIER, SP_INGREDIENT, SP_INGREDIENT_CODE, SP_LOT_NUMBER, SP_MANUFACTURER, SP_STATUS, status, STATUSFields inherited from class org.hl7.fhir.r4.model.DomainResource
contained, extension, modifierExtension, textFields inherited from class org.hl7.fhir.r4.model.Resource
id, implicitRules, language, metaFields inherited from interface org.hl7.fhir.instance.model.api.IAnyResource
RES_ID, SP_RES_IDFields inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
INCLUDE_ALL, WILDCARD_ALL_SET -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic KbvErpMedicationfromMedication(org.hl7.fhir.r4.model.Medication adaptee) static KbvErpMedicationfromMedication(org.hl7.fhir.r4.model.Resource adaptee) If an amount is given, format as String such as [VALUE] [UNIT]Deprecated, for removal: This API element is subject to removal in a future version.fetching the free text of the medication this way may result in a NullPointerException because this value is optional.Optional<org.hl7.fhir.r4.model.Ratio>intgetPzn()Optional<de.gematik.bbriccs.fhir.de.value.PZN>booleanMethods inherited from class org.hl7.fhir.r4.model.Medication
addChild, addIdentifier, addIdentifier, addIngredient, addIngredient, copy, copyValues, equalsDeep, equalsShallow, fhirType, getAmount, getBatch, getCode, getForm, getIdentifier, getIdentifierFirstRep, getIngredient, getIngredientFirstRep, getManufacturer, getManufacturerTarget, getNamedProperty, getProperty, getResourceType, getStatus, getStatusElement, getTypesForProperty, hasAmount, hasBatch, hasCode, hasForm, hasIdentifier, hasIngredient, hasManufacturer, hasStatus, hasStatusElement, isEmpty, listChildren, makeProperty, setAmount, setBatch, setCode, setForm, setIdentifier, setIngredient, setManufacturer, setManufacturerTarget, setProperty, setProperty, setStatus, setStatusElement, typedCopyMethods 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, setTextMethods 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, setMetaMethods inherited from class org.hl7.fhir.r4.model.BaseResource
getStructureFhirVersionEnum, isResource, setIdMethods 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, setUserDataINNMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.gematik.test.erezept.fhir.r4.ErpFhirResource
asReferenceMethods inherited from interface org.hl7.fhir.instance.model.api.IAnyResource
getId, getIdElement, getLanguageElement, getUserData, setId, setUserDataMethods inherited from interface org.hl7.fhir.instance.model.api.IBase
fhirType, getFormatCommentsPost, getFormatCommentsPre, hasFormatComment, isEmptyMethods inherited from interface org.hl7.fhir.instance.model.api.IBaseResource
getMeta, getStructureFhirVersionEnum, isDeleted, setId
-
Constructor Details
-
KbvErpMedication
public KbvErpMedication()
-
-
Method Details
-
fromMedication
-
fromMedication
-
getCatagory
-
getCategoryFirstRep
-
getMedicationType
-
getPackagingSize
-
getPackagingSizeOrEmpty
public int getPackagingSizeOrEmpty() -
getPackagingUnit
-
isVaccine
public boolean isVaccine() -
getFreeText
Deprecated, for removal: This API element is subject to removal in a future version.fetching the free text of the medication this way may result in a NullPointerException because this value is optional. UsegetFreeTextOptional()instead.- Returns:
- the free text of the medication or null if not present
-
getFreeTextOptional
-
getIngredientText
-
getManufactoringInstrOptional
-
getAmountNumeratorString
If an amount is given, format as String such as [VALUE] [UNIT]- Returns:
- Amount Numerator with as String with Value and Unit
-
getIngredientStrengthString
-
getIngredientStrengthRatio
-
getIngredientTextOptional
-
getPzn
-
getPznOptional
-
getPznFirstRep
-
getMedicationName
-
getDarreichungsform
-
getTextInFormOptional
-
getStandardSize
-
getDescription
- Specified by:
getDescriptionin interfaceErpFhirResource
-
getVersion
-
getPackagingOptional
-