Class EMediplanRisk
java.lang.Object
org.projecthusky.fhir.emed.ch.epr.model.emediplan.EMediplanRisk
- All Implemented Interfaces:
EMediplanObject
This sould be an enum representation of the CDSCODE table of HCI INDEX used by the
eMediplan specification
paired with
RiskCategory
.
HCI does not provide a translation to/from SNOMED CT codes, as preferred by CH CORE and required by CH Allergy Intolerance in the CH TERM value set.
Given that CH EMED EPR is not explicitly concerned with medical risks or allergies, at least for the time being, that there is no provided mapping by HCI between their own codes and the SNOMED CT ones to be used by the FHIR IGs in both Swiss and international contexts, and the size of this table (more than 700 elements), this will just be a regular class with no code validation or enforcement. Furthermore, the eMediplan own model and validator software neither provides the risk codes (or categories) as an enumeration, nor performs any code validation on them.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionValidates the eMediplan object, without any further context than its JSON path and its own content, against the eMediplan specs.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.projecthusky.fhir.emed.ch.epr.model.emediplan.EMediplanObject
getFieldValidationPath, getFieldValidationPath, getIgnoredFieldValidationIssue, getRequiredFieldValidationIssue, getValidationIssue, trim, validate
-
Field Details
-
category
-
code
protected int code
-
-
Constructor Details
-
EMediplanRisk
public EMediplanRisk()
-
-
Method Details
-
validate
Description copied from interface:EMediplanObject
Validates the eMediplan object, without any further context than its JSON path and its own content, against the eMediplan specs.- Specified by:
validate
in interfaceEMediplanObject
- Parameters:
basePath
- The JSON path of this object. Ifnull
, the object is considered to be root. Any validation issues produced by the validation will use this path as a base for each issue's path.- Returns:
- The validation result containing all the encountered validation issues, if any.
-