<OperationDefinition xmlns="http://hl7.org/fhir">
  <url value="https://medico-emr.net/medico/r4/od/ti/ValueSet_UserPermissions_getpermissions" />
  <name value="ValueSet_UserPermissions_GetPermissions" />
  <status value="draft" />
  <kind value="operation" />
  <description value="operation on https://medico-emr.net/medico/r4/vs/ti/ValueSet_UserPermissions_1 to retrieve the permissions for the given user" />
  <affectsState value="false" />
  <code value="getpermissions" />
  <resource value="ValueSet" />
  <system value="false" />
  <type value="true" />
  <instance value="false" />
  <outputProfile value="https://medico-emr.net/medico/r4/vs/ti/ValueSet_UserPermissions_1" />
  <parameter>
    <name value="app" />
    <use value="in" />
    <min value="0" />
    <max value="1" />
    <documentation value="the appid for which the entrypoints are configured for, if this parameter is missing all available entrypoints for the given user are returned" />
    <type value="string" />
  </parameter>
  <parameter>
    <name value="skipdepartmentsandwards" />
    <use value="in" />
    <min value="0" />
    <max value="1" />
    <documentation value="indicates if permission regarding the combinations of department and wards should NOT be included in the expansion of the resulting valueset, default is false if this parameter is not provided" />
    <type value="boolean" />
  </parameter>
  <parameter>
    <name value="skipentrypoints" />
    <use value="in" />
    <min value="0" />
    <max value="1" />
    <documentation value="indicates if permission regarding the entrypoints should NOT be included in the expansion of the resulting valueset, default is false if this parameter is not provided" />
    <type value="boolean" />
  </parameter>
  <parameter>
    <name value="permissions" />
    <use value="out" />
    <min value="1" />
    <max value="1" />
    <documentation value="the valueset containing the permissions of the given user" />
    <type value="ValueSet" />
    <targetProfile value="https://medico-emr.net/medico/r4/vs/ti/ValueSet_UserPermissions_1" />
  </parameter>
</OperationDefinition>