java.lang.Object
org.projecthusky.fhir.emed.ch.epr.model.emediplan.EMediplanRisk
All Implemented Interfaces:
EMediplanObject

public class EMediplanRisk extends Object implements 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 Details

    • category

      protected RiskCategory category
    • code

      protected int code
  • Constructor Details

    • EMediplanRisk

      public EMediplanRisk()
  • Method Details

    • validate

      public ValidationResult validate(@Nullable String basePath)
      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 interface EMediplanObject
      Parameters:
      basePath - The JSON path of this object. If null, 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.