Class CodingBuilder.Impl

    • Constructor Detail

      • Impl

        public Impl()
        Required fields for Coding
    • Method Detail

      • withId

        public CodingBuilder.Impl withId​(@NonNull
                                         @NonNull java.lang.String id)
        Parameters:
        id - - Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
      • withCode

        public CodingBuilder.Impl withCode​(@NonNull
                                           @NonNull java.lang.String code)
        Parameters:
        code - - A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).
      • withSystem

        public CodingBuilder.Impl withSystem​(@NonNull
                                             @NonNull java.lang.String system)
        Parameters:
        system - - The identification of the code system that defines the meaning of the symbol in the code.
      • withVersion

        public CodingBuilder.Impl withVersion​(@NonNull
                                              @NonNull java.lang.String version)
        Parameters:
        version - - The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.
      • withDisplay

        public CodingBuilder.Impl withDisplay​(@NonNull
                                              @NonNull java.lang.String display)
        Parameters:
        display - - A representation of the meaning of the code in the system, following the rules of the system.
      • withExtension

        public CodingBuilder.Impl withExtension​(@NonNull
                                                @NonNull com.babylonhealth.lit.core.model.Extension... extension)
        Parameters:
        extension - - May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
      • withExtension

        public CodingBuilder.Impl withExtension​(@NonNull
                                                @NonNull java.util.Collection<com.babylonhealth.lit.core.model.Extension> extension)
        Parameters:
        extension - - May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
      • withUserSelected

        public CodingBuilder.Impl withUserSelected​(@NonNull
                                                   @NonNull java.lang.Boolean userSelected)
        Parameters:
        userSelected - - Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays).