All Implemented Interfaces:
WithChecksum

public class PZN extends SemanticValue<String,DeBasisProfilCodeSystem> implements WithChecksum
  • Method Details

    • isValid

      public boolean isValid()
      Specified by:
      isValid in interface WithChecksum
    • getChecksum

      public int getChecksum()
      Specified by:
      getChecksum in interface WithChecksum
    • asCoding

      public org.hl7.fhir.r4.model.Coding asCoding()
    • asNamedCodeable

      public org.hl7.fhir.r4.model.CodeableConcept asNamedCodeable(String drugName)
      With this method, the PZN is wrapped up as a CodeableConcept with the given drugName
      Parameters:
      drugName - corresponding to the PZN
      Returns:
      CodeableConcept with PZN and drug drugName
    • asNamedCodeable

      public org.hl7.fhir.r4.model.CodeableConcept asNamedCodeable()
      With this method, the PZN is wrapped up as a CodeableConcept with a randomly generated name
      Returns:
      CodeableConcept with PZN and a random drug name
    • from

      public static PZN from(org.hl7.fhir.r4.model.Coding coding)
    • from

      public static PZN from(String value)
    • random

      public static PZN random()
    • calcChecksum

      protected static int calcChecksum(String pzn)