Class IdDt

    • Constructor Detail

      • IdDt

        public IdDt()
        Create a new empty ID
      • IdDt

        public IdDt​(long theId)
        Create a new ID using a long
      • IdDt

        public IdDt​(String theValue)
        Create a new ID using a string. This String may contain a simple ID (e.g. "1234") or it may contain a complete URL (http://example.com/fhir/Patient/1234).

        Description: A whole number in the range 0 to 2^64-1 (optionally represented in hex), a uuid, an oid, or any other combination of lowercase letters, numerals, "-" and ".", with a length limit of 36 characters.

        regex: [a-z0-9\-\.]{1,36}

      • IdDt

        public IdDt​(String theResourceType,
                    BigDecimal theIdPart)
        Constructor
        Parameters:
        theResourceType - The resource type (e.g. "Patient")
        theIdPart - The ID (e.g. "123")
      • IdDt

        public IdDt​(String theResourceType,
                    Long theIdPart)
        Constructor
        Parameters:
        theResourceType - The resource type (e.g. "Patient")
        theIdPart - The ID (e.g. "123")
      • IdDt

        public IdDt​(String theResourceType,
                    String theId)
        Constructor
        Parameters:
        theResourceType - The resource type (e.g. "Patient")
        theId - The ID (e.g. "123")
      • IdDt

        public IdDt​(String theResourceType,
                    String theId,
                    String theVersionId)
        Constructor
        Parameters:
        theResourceType - The resource type (e.g. "Patient")
        theId - The ID (e.g. "123")
        theVersionId - The version ID ("e.g. "456")
      • IdDt

        public IdDt​(String theBaseUrl,
                    String theResourceType,
                    String theId,
                    String theVersionId)
        Constructor
        Parameters:
        theBaseUrl - The server base URL (e.g. "http://example.com/fhir")
        theResourceType - The resource type (e.g. "Patient")
        theId - The ID (e.g. "123")
        theVersionId - The version ID ("e.g. "456")
      • IdDt

        public IdDt​(UriDt theUrl)
        Creates an ID based on a given URL
      • IdDt

        public IdDt​(IdDt theIdDt)
        Copy Constructor