java.lang.Object
org.projecthusky.fhir.emed.ch.epr.model.emediplan.chmed23a.ChMed23APatientId
All Implemented Interfaces:
EMediplanIdentifier, EMediplanObject

public class ChMed23APatientId extends Object implements EMediplanIdentifier
  • Field Details

  • Constructor Details

    • ChMed23APatientId

      public ChMed23APatientId()
  • 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.
    • hasExtensions

      public boolean hasExtensions(boolean inDepth)
      Description copied from interface: EMediplanObject
      Whether the eMediplan object has any extension or not.
      Specified by:
      hasExtensions in interface EMediplanObject
      Parameters:
      inDepth - If true, the called object, and all its children objects, are subject to the check. If false, only the called object is checked for extensions.
      Returns:
      true if the object contains any extensions; false otherwise.
    • fromFhirIdentifier

      public static ChMed23APatientId fromFhirIdentifier(org.hl7.fhir.r4.model.Identifier identifier)
    • toFhir

      @ExpectsValidResource public org.hl7.fhir.r4.model.Identifier toFhir()
      Specified by:
      toFhir in interface EMediplanIdentifier