class DhisFhirResourceId implements Serializable {

    public static boolean isValid( @Nullable String value )
    {
        if ( value == null )
        {
            return false;
        }

        try
        {
            parse( value );
        }
        catch ( IllegalArgumentException e )
        {
            return false;
        }

        return true;
    }

    public  DhisFhirResourceId( @Nullable DhisResourceType type, @Nonnull String id, @Nullable UUID ruleId );
    public  DhisFhirResourceId( @Nonnull String id );

}