Class KbvErpMedicationRequest
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.MedicationRequest
de.gematik.test.erezept.fhir.r4.kbv.KbvErpMedicationRequest
- 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
public class KbvErpMedicationRequest
extends org.hl7.fhir.r4.model.MedicationRequest
implements ErpFhirResource
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.hl7.fhir.r4.model.MedicationRequest
org.hl7.fhir.r4.model.MedicationRequest.MedicationRequestDispenseRequestComponent, org.hl7.fhir.r4.model.MedicationRequest.MedicationRequestDispenseRequestInitialFillComponent, org.hl7.fhir.r4.model.MedicationRequest.MedicationRequestIntent, org.hl7.fhir.r4.model.MedicationRequest.MedicationRequestIntentEnumFactory, org.hl7.fhir.r4.model.MedicationRequest.MedicationRequestPriority, org.hl7.fhir.r4.model.MedicationRequest.MedicationRequestPriorityEnumFactory, org.hl7.fhir.r4.model.MedicationRequest.MedicationRequestStatus, org.hl7.fhir.r4.model.MedicationRequest.MedicationRequestStatusEnumFactory, org.hl7.fhir.r4.model.MedicationRequest.MedicationRequestSubstitutionComponent -
Field Summary
Fields inherited from class org.hl7.fhir.r4.model.MedicationRequest
authoredOn, AUTHOREDON, basedOn, basedOnTarget, category, CATEGORY, CODE, courseOfTherapyType, DATE, detectedIssue, detectedIssueTarget, dispenseRequest, doNotPerform, dosageInstruction, encounter, ENCOUNTER, encounterTarget, eventHistory, eventHistoryTarget, groupIdentifier, identifier, IDENTIFIER, INCLUDE_ENCOUNTER, INCLUDE_INTENDED_DISPENSER, INCLUDE_INTENDED_PERFORMER, INCLUDE_MEDICATION, INCLUDE_PATIENT, INCLUDE_REQUESTER, INCLUDE_SUBJECT, instantiatesCanonical, instantiatesUri, insurance, insuranceTarget, INTENDED_DISPENSER, INTENDED_PERFORMER, INTENDED_PERFORMERTYPE, intent, INTENT, medication, MEDICATION, note, PATIENT, performer, performerTarget, performerType, priority, PRIORITY, priorPrescription, priorPrescriptionTarget, reasonCode, reasonReference, reasonReferenceTarget, recorder, recorderTarget, reported, requester, REQUESTER, requesterTarget, SP_AUTHOREDON, SP_CATEGORY, SP_CODE, SP_DATE, SP_ENCOUNTER, SP_IDENTIFIER, SP_INTENDED_DISPENSER, SP_INTENDED_PERFORMER, SP_INTENDED_PERFORMERTYPE, SP_INTENT, SP_MEDICATION, SP_PATIENT, SP_PRIORITY, SP_REQUESTER, SP_STATUS, SP_SUBJECT, status, STATUS, statusReason, subject, SUBJECT, subjectTarget, substitution, supportingInformation, supportingInformationTargetFields 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 TypeMethodDescriptionbooleanstatic KbvErpMedicationRequestfromMedicationRequest(org.hl7.fhir.r4.model.MedicationRequest adaptee) static KbvErpMedicationRequestfromMedicationRequest(org.hl7.fhir.r4.model.Resource adaptee) intgetMvoId()Optional<org.hl7.fhir.r4.model.Period>Optional<org.hl7.fhir.r4.model.Ratio>getNoteTextOr(String alternative) booleanbooleanbooleanisBvg()booleancheck if the medicationrequest is a MVObooleanvoidMethods inherited from class org.hl7.fhir.r4.model.MedicationRequest
addBasedOn, addBasedOn, addCategory, addCategory, addChild, addDetectedIssue, addDetectedIssue, addDetectedIssueTarget, addDosageInstruction, addDosageInstruction, addEventHistory, addEventHistory, addEventHistoryTarget, addIdentifier, addIdentifier, addInstantiatesCanonical, addInstantiatesCanonicalElement, addInstantiatesUri, addInstantiatesUriElement, addInsurance, addInsurance, addNote, addNote, addReasonCode, addReasonCode, addReasonReference, addReasonReference, addSupportingInformation, addSupportingInformation, copy, copyValues, equalsDeep, equalsShallow, fhirType, getAuthoredOn, getAuthoredOnElement, getBasedOn, getBasedOnFirstRep, getBasedOnTarget, getCategory, getCategoryFirstRep, getCourseOfTherapyType, getDetectedIssue, getDetectedIssueFirstRep, getDetectedIssueTarget, getDispenseRequest, getDoNotPerform, getDoNotPerformElement, getDosageInstruction, getDosageInstructionFirstRep, getEncounter, getEncounterTarget, getEventHistory, getEventHistoryFirstRep, getEventHistoryTarget, getGroupIdentifier, getIdentifier, getIdentifierFirstRep, getInstantiatesCanonical, getInstantiatesUri, getInsurance, getInsuranceFirstRep, getInsuranceTarget, getIntent, getIntentElement, getMedication, getMedicationCodeableConcept, getMedicationReference, getNamedProperty, getNote, getNoteFirstRep, getPerformer, getPerformerTarget, getPerformerType, getPriority, getPriorityElement, getPriorPrescription, getPriorPrescriptionTarget, getProperty, getReasonCode, getReasonCodeFirstRep, getReasonReference, getReasonReferenceFirstRep, getReasonReferenceTarget, getRecorder, getRecorderTarget, getReported, getReportedBooleanType, getReportedReference, getRequester, getRequesterTarget, getResourceType, getStatus, getStatusElement, getStatusReason, getSubject, getSubjectTarget, getSubstitution, getSupportingInformation, getSupportingInformationFirstRep, getSupportingInformationTarget, getTypesForProperty, hasAuthoredOn, hasAuthoredOnElement, hasBasedOn, hasCategory, hasCourseOfTherapyType, hasDetectedIssue, hasDispenseRequest, hasDoNotPerform, hasDoNotPerformElement, hasDosageInstruction, hasEncounter, hasEventHistory, hasGroupIdentifier, hasIdentifier, hasInstantiatesCanonical, hasInstantiatesCanonical, hasInstantiatesUri, hasInstantiatesUri, hasInsurance, hasIntent, hasIntentElement, hasMedication, hasMedicationCodeableConcept, hasMedicationReference, hasNote, hasPerformer, hasPerformerType, hasPriority, hasPriorityElement, hasPriorPrescription, hasReasonCode, hasReasonReference, hasRecorder, hasReported, hasReportedBooleanType, hasReportedReference, hasRequester, hasStatus, hasStatusElement, hasStatusReason, hasSubject, hasSubstitution, hasSupportingInformation, isEmpty, listChildren, makeProperty, setAuthoredOn, setAuthoredOnElement, setBasedOn, setCategory, setCourseOfTherapyType, setDetectedIssue, setDispenseRequest, setDoNotPerform, setDoNotPerformElement, setDosageInstruction, setEncounter, setEncounterTarget, setEventHistory, setGroupIdentifier, setIdentifier, setInstantiatesCanonical, setInstantiatesUri, setInsurance, setIntent, setIntentElement, setMedication, setNote, setPerformer, setPerformerTarget, setPerformerType, setPriority, setPriorityElement, setPriorPrescription, setPriorPrescriptionTarget, setProperty, setProperty, setReasonCode, setReasonReference, setRecorder, setRecorderTarget, setReported, setRequester, setRequesterTarget, setStatus, setStatusElement, setStatusReason, setSubject, setSubjectTarget, setSubstitution, setSupportingInformation, 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
-
KbvErpMedicationRequest
public KbvErpMedicationRequest()
-
-
Method Details
-
getLogicalId
-
getNoteText
-
getDispenseQuantity
public int getDispenseQuantity() -
hasAccidentExtension
public boolean hasAccidentExtension() -
getAccidentCause
-
getAccidentWorkplace
-
getAccidentDate
-
getAccident
-
isBvg
public boolean isBvg() -
hasEmergencyServiceFee
public boolean hasEmergencyServiceFee() -
isMultiple
public boolean isMultiple()check if the medicationrequest is a MVO- Returns:
- true if MVO, false otherwise
-
getMvoStart
-
getMvoEnd
-
getMvoId
-
getNumerator
-
getDemoninator
-
getMvoRatio
-
updateMvoDates
public void updateMvoDates() -
getMvoPeriod
-
getCoPaymentStatus
-
allowSubstitution
public boolean allowSubstitution() -
isSubstitutionAllowed
public boolean isSubstitutionAllowed() -
getNoteTextOr
-
getNoteTextOrEmpty
-
getDosageInstructionAsText
-
getDescription
- Specified by:
getDescriptionin interfaceErpFhirResource
-
fromMedicationRequest
public static KbvErpMedicationRequest fromMedicationRequest(org.hl7.fhir.r4.model.MedicationRequest adaptee) -
fromMedicationRequest
-