Class NarrativeStatus

  • All Implemented Interfaces:
    Visitable

    @Generated("com.ibm.fhir.tools.CodeGenerator")
    public class NarrativeStatus
    extends Code
    • Field Detail

      • GENERATED

        public static final NarrativeStatus GENERATED
        Generated

        The contents of the narrative are entirely generated from the core elements in the content.

      • EXTENSIONS

        public static final NarrativeStatus EXTENSIONS
        Extensions

        The contents of the narrative are entirely generated from the core elements in the content and some of the content is generated from extensions. The narrative SHALL reflect the impact of all modifier extensions.

      • ADDITIONAL

        public static final NarrativeStatus ADDITIONAL
        Additional

        The contents of the narrative may contain additional information not found in the structured data. Note that there is no computable way to determine what the extra information is, other than by human inspection.

      • EMPTY

        public static final NarrativeStatus EMPTY
        Empty

        The contents of the narrative are some equivalent of "No human-readable text provided in this case".

    • Method Detail

      • of

        public static NarrativeStatus of​(String value)
        Factory method for creating NarrativeStatus objects from a passed string value.
        Parameters:
        value - A string that matches one of the allowed code values
        Throws:
        IllegalArgumentException - If the passed string cannot be parsed into an allowed code value
      • string

        public static String string​(String value)
        Inherited factory method for creating NarrativeStatus objects from a passed string value.
        Parameters:
        value - A string that matches one of the allowed code values
        Throws:
        IllegalArgumentException - If the passed string cannot be parsed into an allowed code value
      • code

        public static Code code​(String value)
        Inherited factory method for creating NarrativeStatus objects from a passed string value.
        Parameters:
        value - A string that matches one of the allowed code values
        Throws:
        IllegalArgumentException - If the passed string cannot be parsed into an allowed code value
      • equals

        public boolean equals​(Object obj)
        Overrides:
        equals in class Code
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Code