Class Scope

    • Constructor Detail

      • Scope

        public Scope​(String scopeString)
        Parameters:
        scopeString - a string of the form (user|patient)/:resourceType.(read|write|*)
    • Method Detail

      • getContextType

        public Scope.ContextType getContextType()
        Returns:
        the contextType
      • getResourceType

        public ResourceType.ValueSet getResourceType()
        Returns:
        the resourceType; "Resource" for all resource types
      • getPermission

        public Scope.Permission getPermission()
        Returns:
        the permission
      • toString

        public String toString()
        Overrides:
        toString in class Object
        Returns:
        a scopeString of the form (user|patient)/:resourceType.(read|write|*)